sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
sb0 has quit [Quit: Leaving]
rohitksingh_work has joined #m-labs
FabM has joined #m-labs
rohitksingh_work has quit [Ping timeout: 240 seconds]
rohitksingh_work has joined #m-labs
ohama has joined #m-labs
Ultrasauce has quit [Ping timeout: 264 seconds]
mumptai has joined #m-labs
Gurty has quit [Quit: Kooll ~o~ datalove <3³\infty]
Gurty has joined #m-labs
Gurty has joined #m-labs
Gurty has quit [Changing host]
rohitksingh_work has quit [Read error: Connection reset by peer]
<GitHub149> [smoltcp] whitequark pushed 3 new commits to master: https://git.io/v5Jum
<GitHub149> smoltcp/master 974bad1 whitequark: Fix a file descriptor leak in TapInterfaceDesc::interface_mtu.
<GitHub149> smoltcp/master 2773fa7 whitequark: utils::Dispose → io::Sink.
<GitHub149> smoltcp/master 53df308 whitequark: README.md: cleanup.
<GitHub151> [smoltcp] whitequark pushed 3 new commits to master: https://git.io/v5Ju8
<GitHub151> smoltcp/master 56ee8e5 whitequark: Listening TCP sockets should reject, not drop, ACKs.
<GitHub151> smoltcp/master 3864b49 whitequark: Add TcpSocket::{peek,peek_slice}.
<GitHub151> smoltcp/master 77ffe7c whitequark: Simplify ARP handling code in EthernetInterface.
<travis-ci> m-labs/smoltcp#171 (master - 56ee8e5 : whitequark): The build passed.
Gurty has quit [Ping timeout: 240 seconds]
Gurty has joined #m-labs
Gurty has joined #m-labs
Gurty has quit [Changing host]
sb0 has joined #m-labs
<rjo> whitequark: great to have you back!
<sb0> _florent_, "AMC/RTM" link is not a good name (I think I mentioned this already)
<sb0> this can be used outside MicroTCA
<_florent_> sb0: what do you suggest?
<sb0> something along the lines of "serial wishbone bridge"
<sb0> maybe "serwb"
<sb0> _florent_, what do you think?
<_florent_> sb0, why not
<_florent_> what about wblink
<_florent_> ?
<sb0> it doesn't say anything about what the "link" is. that could be a regular on-chip wishbone interface
<_florent_> wisbone serial link
<_florent_> I can use serwb, not sure I have better suggestions
<sb0> okay. I will integrate it under that name under the "sinara" branch of ARTIQ
<sb0> after the integration please make any modifications to that branch directly
<_florent_> ok
<_florent_> btw, I change init to use phase detector, it's working in my master branch, but I still have to get it working with misoc
<_florent_> with the manual delay finding it was working with misoc, that's probably something stupid to fix
<sb0> _florent_, do you have any test benches?
<sb0> (simulation)
<_florent_> sb0: but that's not using unittest yet with autochecks
<_florent_> sb0: and that's just a simulation of the protocol
<_florent_> sb0: I have ISIM simulation for the lower layer: https://github.com/enjoy-digital/sayma_test/blob/master/sim/amc_rtm_link.py
<sb0> thanks
<sb0> _florent_, the sim doesn't pass here, the writes pass but then it freezes at the first read
<_florent_> sb0, ok I'll look at that
<GitHub143> [artiq] sbourdeauducq pushed 3 new commits to sinara: https://github.com/m-labs/artiq/compare/d6b624dfbe7a...dac3a78b7544
<GitHub143> artiq/sinara da90a0f Florent Kermarrec: Add test for Etherbone...
<GitHub143> artiq/sinara dac3a78 Sebastien Bourdeauducq: serwb: style, use migen, fix imports
<GitHub143> artiq/sinara 44dc76e Florent Kermarrec: Add serial Wishbone bridge...
<sb0> ^ my files are those
<_florent_> ok
<sb0> _florent_, btw, if you have time, two pesky problems we are having right now is a) ethernet doesn't work b) flash writing with openocd doesn't work (the write enable latch bit is stuck at 0)
<sb0> this breaks all existing mechanisms for loading artiq kernels into the boards
<_florent_> sb0: I need a special cable to ethernet right?
<sb0> _florent_, you need a media converter SFP to RJ45
<whitequark> sb0: did you want peeking at incoming data in smoltcp? I implemented that recently
<whitequark> let me rebase and push a few more things...
<sb0> whitequark, yea, the current solution in ionpak is good enough
<sb0> *but the
<sb0> the first priority is to fix the bugs that make artiq and ionpak look really bad atm
<whitequark> yes, I know, it was just something I noticed I could do while rewriting buffer handling
<whitequark> zero effort
<sb0> whitequark, so there was peeking, and also getting a zero-copy slice for transmitting without knowing its length before
<sb0> smoltcp would give you the maximum possible slice, you fill all or parts of it, then trigger the transmission at the same time as you tell smoltcp how many bytes you wrote
<whitequark> oh yeah I actually implemented that one too earlier, just forgot to expose
<whitequark> it's already used internally during dispatch
<whitequark> the combinatorial explosion of methods is a bit annoying but sure that's easy now too
<sb0> I think you can remove the current zero-copy send method, the requirement to fill the whole slice makes it unusable for all practical purposes AFAICS
<sb0> and it's a special case of the one I propose anyway
<sb0> but unless you are writing a DoS bot, I don't see why you'd do that
<whitequark> um, I don't think it's useless
<whitequark> it's usable in any case where you know the length beforehand, e.g. in all cases of buffered writing
<whitequark> and the method you want will have to take a closure
<whitequark> that leads to nightmarish borrow checker issues in complex code, see also: the reason TxBuffer is sent on Drop
<whitequark> I tried to write it with closures and I don't think that's possible at all
<sb0> no LEDs on Sayma RTM?
<GitHub19> [artiq] jbqubit opened issue #814: update developing.rst to reflect existence of artiq-dev conda package https://github.com/m-labs/artiq/issues/814
<sb0> _florent_, can serwb operate without any CPU intervention on the slave side?
<sb0> i.e. can I ignore its CSR interface completely?
<GitHub6> [artiq] jbqubit opened issue #815: update README_PHASER.rst https://github.com/m-labs/artiq/issues/815
<sb0> _florent_, also, can all the various connections be pushed into a single module? the user doesn't need to know about this "core <--> etherbone" connection, for example
<sb0> or instantiate FIFOs themselves
<sb0> SerdesSlaveInit can also likely be pushed into S7Serdes, or a module be provided with both of them inside
<GitHub51> [migen] sbourdeauducq pushed 1 new commit to master: https://git.io/v5Umz
<GitHub51> migen/master daa1ab3 Sebastien Bourdeauducq: platforms: introduce Sayma RTM definition file
<GitHub169> [artiq] sbourdeauducq pushed 2 new commits to sinara: https://github.com/m-labs/artiq/compare/dac3a78b7544...bfea29727933
<GitHub169> artiq/sinara bfea297 Sebastien Bourdeauducq: targets: add Sayma RTM
<GitHub169> artiq/sinara 53c7f92 Sebastien Bourdeauducq: serwb: add __init__.py and expose submodules
<bb-m-labs> build #180 of migen is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/migen/builds/180
<GitHub1> [artiq] sbourdeauducq pushed 2 new commits to sinara: https://github.com/m-labs/artiq/compare/bfea29727933...0459a70cf694
<GitHub1> artiq/sinara 0459a70 Sebastien Bourdeauducq: sayma_amc: cleanup, fix RTM UART forwarding
<GitHub1> artiq/sinara 1f2b373 Sebastien Bourdeauducq: sayma_rtm: remove unnecessary serwb_control
<sb0> rjo, ^
<GitHub130> [migen] sbourdeauducq pushed 1 new commit to master: https://git.io/v5UWi
<GitHub130> migen/master a0dbce7 Sebastien Bourdeauducq: sayma_amc: add AMC/RTM serwb pins
<bb-m-labs> build #181 of migen is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/migen/builds/181
<GitHub90> [misoc] sbourdeauducq pushed 2 new commits to master: https://git.io/v5UWh
<GitHub90> misoc/master 99564af Sebastien Bourdeauducq: sayma_amc: do not use integrated ROM by default
<GitHub90> misoc/master 857ddcc Sebastien Bourdeauducq: sayma_amc: fix spiflash
<bb-m-labs> build #240 of misoc is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/240 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub188> [misoc] sbourdeauducq pushed 1 new commit to master: https://git.io/v5U86
<GitHub188> misoc/master c092887 Sebastien Bourdeauducq: sayma_amc: add period constraint on self.crg.cd_sys.clk
<bb-m-labs> build #241 of misoc is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/241 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub0> [artiq] sbourdeauducq commented on issue #800: > pld device virtex2... https://github.com/m-labs/artiq/issues/800#issuecomment-323862242
<GitHub116> [artiq] jordens commented on issue #800: Sure. File a bug with openocd. https://github.com/m-labs/artiq/issues/800#issuecomment-323863546
<sb0> "Productivity Skyrockets with Xilinx's UltraScale Architecture", well IME the only thing that skyrockets with ultrascale is vivado RAM usage and CPU time
<GitHub88> [artiq] sbourdeauducq pushed 1 new commit to sinara: https://github.com/m-labs/artiq/commit/668450db2649c5f8da578ac6c67eaf5fa96d7a27
<GitHub88> artiq/sinara 668450d Sebastien Bourdeauducq: sayma_amc: add serwb
<sb0> _florent_, nope. the bridge doesn't work.
<sb0> behavior on the board is consistent with the simulation result, writes complete (though i have no way to check if the rtm correctly received them), reads crash the CPU
<sb0> also after integrating the bridge, SDRAM became fucked, probably thanks to some vivado magic
<sb0> _florent_, why does it need a reset? can't it just keep scanning the phase detector?
<sb0> and link going down can be detected e.g. by the correct framing character not being received in some period of time
<sb0> what i see on the board is probably unrelated to the simulation. i have ready=0 and error=1 on the rtm, and reset doesn't change this
<sb0> *on the amc
<sb0> _florent_, can the AMC and RTM FPGAs be loaded in any order?
mumptai has quit [Remote host closed the connection]
<sb0> seems so. well i don't know why it doesn't work, then
<GitHub62> [migen] jordens pushed 2 new commits to master: https://git.io/v5Uaw
<GitHub62> migen/master 746e4bc Robert Jordens: sayma_amc: style
<GitHub62> migen/master 63d32fb Robert Jordens: sayma_amc: add fmc...
<sb0> # Since we are always incrementing delay,
<sb0> # transitions from too_early to too_late
<sb0> # ideal sampling is found when phase detector
<sb0> hmm, really?
<bb-m-labs> build #182 of migen is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/migen/builds/182
sb0 has quit [Quit: Leaving]