xiangfu has joined #m-labs
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #m-labs
xiangfu has quit [Remote host closed the connection]
lars has joined #m-labs
xiangfu has joined #m-labs
Alain has joined #m-labs
sb0 has joined #m-labs
lars is now known as larsc
sb0 has quit [Quit: Leaving]
xiangfu has quit [Quit: leaving]
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
sb0 has joined #m-labs
Alain has quit [Ping timeout: 240 seconds]
<
sb0>
have you made progress with your board def files?
<
FabM>
I hope I will find some times in this month to finish it
<
ysionneau>
sb0: you are using the papilio pro board to test ARTIQ?
<
sb0>
not sure yet what board we'll use in the end
<
ysionneau>
planning on switching to another board in the near future? or waiting for a full custom board to be made?
<
sb0>
I don't think a full custom board makes a lot of sense. it'll probably be COTS board + FMC add-on
<
ysionneau>
right ok
<
ysionneau>
in the mean time I can buy a papilio pro as it's quite inexpensive
<
sb0>
the gateware should be portable
<
ysionneau>
kc705 that's another story
<
sb0>
you can probably run it on the m1
<
ysionneau>
I guess I would need to tweak the DDR controller setup to match the m1?
<
sb0>
I think it will run as-is if you build misoc with -Ot cpu_type or1k -p m1
<
ysionneau>
wow, ok
<
sb0>
you don't need to use the artiq target
<
sb0>
there isn't any custom core yet
<
ysionneau>
ah ok the artiq target is to target the papilio pro but so far it's still "generic"
<
ysionneau>
so I can just use the m1 target
<
sb0>
and when there is, you could probably run it on the m1 by using mlabs_video/minisoc as a base
<
ysionneau>
yes I'm looking at this file right now
<
sb0>
it's the same as simplesoc, with a gpio on the led and or1k as default cpu
<
ysionneau>
it seems lasmicon geometry settings are a bit different between papilio pro and m1
<
ysionneau>
but yes I can use mlabs_video as a base
<
sb0>
yeah, it's very different sdram
<
ysionneau>
or just add some if () to use different sdram settings if target is m1 in the artiq file
<
sb0>
I don't want to maintain artiq on m1...
<
ysionneau>
ok right
<
sb0>
I think the easiest route is to inherit from mlabs_video.MiniSoC and add the ARTIQ cores
<
ysionneau>
shouldn't we put sdram settings in the migen/mibuild/platform files as well?
<
sb0>
the latter are pretty simple
<
ysionneau>
so that you can just do -p <some_target> and then voila, it takes the correct sdram stuff
<
ysionneau>
instead of putting the sdram info in the design, so that the design can be further board agnostic
<
sb0>
it's not that simple, there are timing settings too and they depend on how the whole design is clocked
<
sb0>
and what the selected CAS latency is
<
sb0>
sdram_geom could be platform-supplied, yes
<
ysionneau>
humm ok
<
sb0>
both are pretty useless on the M1 without the corresponding hardware...
<
sb0>
and there aren't enough IO pins to run them
<
ysionneau>
yea sure I understand that in fact it does not make that much sense to support other boards
<
ysionneau>
except for testing some basic features
<
sb0>
and really testing those cores requires a mid-range oscilloscope, at least
sh4rm4 has quit [Remote host closed the connection]
<
ysionneau>
the kind of equipement Electrolab has I guess :)
<
ysionneau>
I will ask Zenos about what kind of scope they have but it would surprise me if they didn't have a crazy GHz scope
sh4rm4 has joined #m-labs
<
ysionneau>
so any write to 0-63 will trigger the FSM to forward the write to the DDS chip
<
ysionneau>
same for read
<
ysionneau>
wa, read seems to take lots of cycles
<
sb0>
yeah, that chip interface is primarily made for writing (as explained in its datasheet)
<
sb0>
reading is for debug purposes
<
ysionneau>
you already have samples of the chip? or so far only testing via simulation to see if your core respects the waveforms of the datasheet
<
sb0>
that chip is already used in some equipment, and there's an adapter for the ppro that connects to it (and the ppro uses this core)
<
sb0>
ARTIQ is mostly software...
<
ysionneau>
yes and a bit of gateware glue to speak to the outside world (equipments)
<
sb0>
the gateware does the fine io timing (via dtc/tdc cores), and real-time control (when a low response time is desired)
<
sb0>
it also programs some dds chips (the actual dds triggering is via dtc pulses) as it's faster to do it that way
<
larsc>
so what is artiq?
Alain has joined #m-labs
mumptai has joined #m-labs
kilae has joined #m-labs
sb0 has quit [Ping timeout: 255 seconds]
sb0 has joined #m-labs
kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
Alain has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
sh[4]rm4 has joined #m-labs
sh4rm4 has quit [Ping timeout: 252 seconds]
mumptai has quit [Quit: Verlassend]
sb0 has quit [Ping timeout: 264 seconds]
rjo_ is now known as rjo