lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
JewFro297 has left #m-labs [#m-labs]
fengling has joined #m-labs
elaforest has quit [Ping timeout: 260 seconds]
<sb0> ysionneau, because the CPU, not the gateware (wishbone to CSR bridge) does the width conversion
<sb0> maybe we could change that, it shouldn't use a lot of resources and would make the csr a bit faster (for e.g. rtio) and easier to use in the bios
sj_mackenzie has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
stekern_ has joined #m-labs
mithro_ has joined #m-labs
rjo_ has joined #m-labs
<sb0> sj_mackenzie, are you going to dsl tonight?
<sj_mackenzie> sb0: yes I'll be there about 8pm. drinks?
mithro has quit [*.net *.split]
clever has quit [*.net *.split]
rjo has quit [*.net *.split]
balrog has quit [*.net *.split]
stekern has quit [*.net *.split]
<sb0> yes!
clever has joined #m-labs
mithro_ is now known as mithro
balrog has joined #m-labs
<sj_mackenzie> sb0: see you - btw I've thought a bit about that project. Would prefer to print the nand2tetris cpu aka the Hack CPU (http://nand2tetris.org/05.php). This feels more approachable for me :
<sj_mackenzie> )
fengling has joined #m-labs
<sb0> sj_mackenzie, how do you synthesize that to hw?
<sb0> and chances are it's larger than the 6502 =]
fengling has quit [Ping timeout: 246 seconds]
<sj_mackenzie> sb0: I have no idea, it's just I'm more familiar with it :)
<sj_mackenzie> Never created hardware before.
<sj_mackenzie> interesting if it's larger then maybe the 6502 would be a better experience
<sb0> or even 4004... but I think the 6502 is better documented
FabM has quit [Ping timeout: 258 seconds]
fengling has joined #m-labs
<stekern_> I think the 4004 has a fair bit of documentation too, e.g. http://www.4004.com/
stekern_ is now known as stekern
fengling has quit [Read error: Connection reset by peer]
FabM has joined #m-labs
nengel has quit [Ping timeout: 244 seconds]
nengel has joined #m-labs
FabM has quit [Ping timeout: 272 seconds]
sj_mackenzie has quit [Ping timeout: 240 seconds]
FabM has joined #m-labs
<GitHub19> [artiq] sbourdeauducq pushed 3 new commits to master: http://git.io/ENFnNw
<GitHub19> artiq/master 594b3dd Sebastien Bourdeauducq: py2llvm/ast_body: pep8
<GitHub19> artiq/master 2449348 Sebastien Bourdeauducq: devices/runtime: allow 1ms for all initial DDS programming
<GitHub19> artiq/master 7d48ef2 Sebastien Bourdeauducq: soc/runtime: fix RTIO sequence error detection on FUD
<sb0> rjo_, btw we can do bd.pulse(100*MHz, 20*ns); bd.pulse(200*MHz, 30*ns) if the channel was off for enough time before (and the current driver does this)
<sb0> the first FUD will be soft-timed during the off period, then the sw prepares the registers for 200MHz, and sends a hard-timed FUD 20ns after the rf switch is turned on
FabM has quit [*.net *.split]
felix_ has quit [*.net *.split]
aeris has quit [*.net *.split]
nicksydney has quit [*.net *.split]
FabM has joined #m-labs
felix_ has joined #m-labs
nicksydney has joined #m-labs
aeris has joined #m-labs
sj_mackenzie has joined #m-labs
mumptai has joined #m-labs
<GitHub11> [artiq] sbourdeauducq pushed 2 new commits to master: http://git.io/it_eIQ
<GitHub11> artiq/master b6ac4bd Sebastien Bourdeauducq: transforms/tools: support NameConstant
<GitHub11> artiq/master 754a06c Sebastien Bourdeauducq: transforms/fold_constants: support BoolOp
mumptai has quit [Ping timeout: 260 seconds]
<ysionneau> 23:24 < rjo> ysionneau: did you also physically move to .hk? < nop, still in Paris :)
<GitHub76> [artiq] sbourdeauducq pushed 2 new commits to master: http://git.io/ly4LbA
<GitHub76> artiq/master d22c306 Sebastien Bourdeauducq: rtio: add timestamp function
<GitHub76> artiq/master 5e99407 Sebastien Bourdeauducq: examples: add RTIO skew
nengel has quit [Ping timeout: 260 seconds]
nengel has joined #m-labs
nengel has quit [Ping timeout: 260 seconds]
nengel has joined #m-labs
<GitHub178> [artiq] sbourdeauducq pushed 2 new commits to master: http://git.io/9ey7Sg
<GitHub178> artiq/master ea0773c Sebastien Bourdeauducq: pdq2: split CLI
<GitHub178> artiq/master de158e0 Robert Jordens: artiq/devices: add pdq2.py
_florent_ has joined #m-labs
_florent_ has quit [Ping timeout: 246 seconds]
nengel has quit [Ping timeout: 250 seconds]
<GitHub22> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/FkWrxA
<GitHub22> artiq/master 88ad4fb Sebastien Bourdeauducq: pdq2: pep8
nengel has joined #m-labs
_florent_ has joined #m-labs
sj_mackenzie has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
_florent_ has quit [Ping timeout: 246 seconds]
<ysionneau> first try at bitbanging commands to spiflash : http://i.imgur.com/QlLUQ7w.png
<ysionneau> 0x6 = Write Enable (WREN) command
<ysionneau> 0x2 = Page Program (PP) command
<ysionneau> 0x4 = Write Disable (WRDI) command
<ysionneau> funny to see the looong first clock tick, which I think must come from the fact that the for loop isn't in the CPU Instruction Cache yet
<ysionneau> :)
<sb0> good :)
<sb0> and yeah, the sdram access from the CPU is suboptimal
elaforest has joined #m-labs
_florent_ has joined #m-labs
elaforest has quit [Ping timeout: 272 seconds]
FabM has quit [Quit: ChatZilla 0.9.91 [Iceweasel 31.1.0/20140903072827]]
bentley` has quit [Ping timeout: 255 seconds]
FabM has joined #m-labs
FabM has quit [Remote host closed the connection]
<mwalle> ysionneau: what board is that? artiq stuff?
<mwalle> sb0: ysionneau: and why not use a small 8-bit based spi controller?
<ysionneau> I'm using the papilio pro board
<mwalle> ysionneau: for what? misoc stuff?
<ysionneau> for artiq yes
<ysionneau> no need to redesign the board just to write a few configuration data in the flash
<mwalle> nah, i've meant as a core in the fpga
<mwalle> byte access to some registers, which results in serial output (MOSI/SCK) and serial input (MISO)
<ysionneau> that would be nice also indeed
<ysionneau> but as I understood there is no need for that here since slow access through bit banging is enough here
<ysionneau> the erase/write will be very rare (or not much data)
<ysionneau> reads keep being generated by hardware though
<mwalle> is this the configuration flash?
<ysionneau> I'm just adding a simple bit banging access in order to provide slow access to the flash for whatever command is possible (erase/write, OTP etc)
<ysionneau> yes it's the flash used for bitstream+bios+app
<_florent_> hi
<ysionneau> hi _florent_ :)
<ysionneau> _florent_: thanks for your answer to my lat email!
<ysionneau> last*
<_florent_> ysionneau, I've done something similar last week
<mwalle> mh, and the fpga reads bios and app in hardware?
<ysionneau> mwalle: yes, like it's done right now
<ysionneau> wishbone read are translated to SPI read
<ysionneau> 2READ command for papilio
<_florent_> and the driver: http://pastebin.com/CB1QRtva
<_florent_> maybe it will be interesting for what you are doing
<ysionneau> thanks!
<mwalle> ysionneau: but the bios and app is read by some kind of hand-written core
<mwalle> ie it is not within the (hardcoded) fpga logic itself
<ysionneau> yes the bios is read using the spiflash core : https://github.com/m-labs/misoc/blob/master/misoclib/spiflash/__init__.py
<mwalle> (maybe i should have a look at the migen sources)
<mwalle> ;)
<ysionneau> it's not using a closed source hardIP
<mwalle> ok hardip is the term ;)
<mwalle> well for the bitstream it is
<ysionneau> yes for fetching bitstream, the fpga internal stuff is doing it
<mwalle> have to go, climbing ;)
<mwalle> actually, i just wanted to join #notmuch here, but ysionneau and sb0 were too noisy, and i've had to read it ;)
<ysionneau> héhé ;)
<ysionneau> enjoy climbing!
<ysionneau> see you!
<mwalle> this krste seems like a poser to me
<mwalle> from what ive read in this channel
<ysionneau> that's possible yes, I met him but I cannot tell
<ysionneau> we'll see soon what he answers to questions on the risc-v mailing list :)
mumptai has joined #m-labs
_florent_ has quit [Quit: Page closed]
elaforest has joined #m-labs
elaforest has quit [Read error: Connection timed out]
elaforest has joined #m-labs
elaforest has quit [Read error: Connection timed out]
elaforest has joined #m-labs
elaforest has quit [Ping timeout: 255 seconds]
<ysionneau> gn8
mumptai has quit [Quit: Verlassend]