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
futarisIRCcloud has joined #m-labs
kyak has quit [Ping timeout: 268 seconds]
kyak has joined #m-labs
kyak has joined #m-labs
sb000 has joined #m-labs
<sb000> they are unportable (just like the rest of the clock generator) but I disagree with the other points
<sb000> why would the fpga be more prone to failure when things are placed by LOC and not by the heuristic placer, assuming static timing analysis passes?
<sb000> the ethernet loc doesn't interfere with uart, and the rest is under STA
sb000 has quit [Ping timeout: 260 seconds]
kaolpr has quit [Ping timeout: 260 seconds]
kaolpr has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
rohitksingh_work has joined #m-labs
hjr3 has joined #m-labs
hartytp has joined #m-labs
<hartytp> sb0, rjo: how do we debug the lockups on Sayma?
<hartytp> in any case, I found that building with _florent_'s latest comit worked fine for me. So, shall we use that to debug the sawg issues? Maybe attach microscope probes to sawg to confirm what the issue is?
<hartytp> if you give me some advice about how to do that, I can probably have a look at it today...
<hartytp> ?
<rjo> hartytp: i'll base my work on that ccommit as well.
<rjo> hartytp: looking at the a1 amplitude would be one useful check. you'll only need one channel (both sawg and probe). that will speed up compilation.
<hartytp> well, is it useful for me to hook microscope probes up to the sawg amplitudes
<hartytp> ack
<hartytp> rjo: is this a helpful thing for me to do?
<hartytp> if not, I'm more than happy to leave it to you guys!
<rjo> hartytp: it is useful for someone to do that. if you can spare the time, that would be great. meanwhile i'll review code and do some other checks. with on the sayma in hk.
<hartytp> okay, will do
<rjo> too bad that nobody fixed that one to have working ethernet.
<hartytp> okay, after a few small fixes, that's building
<hartytp> I'll have a play with it once it's ready
<hartytp> hmm that's not working
<hartytp> rjo: can you give me a pointer as to what I'm doing wrong? https://github.com/hartytp/artiq/tree/sawg_probes
<rjo> hartytp: i have never used microscope.
<hartytp> ack
<hartytp> sbo:^
<rjo> hartytp: what's "wrong"?
<rjo> hartytp: does that not compile?
<hartytp> assert(min<max) fails here
<rjo> i think you may want to reverse the add_probe_async and the Microscope() creation.
<hartytp> aah
<hartytp> right
<hartytp> nope
<rjo> hartytp: this will speed up the compilation: https://hastebin.com/rebefadosa.rb
<hartytp> well, doesn't fix the error
<hartytp> thanks
<hartytp> sb0: any pointers
<hartytp> ?
<hartytp> aah, microscope is out of date
<rjo> i just had another serwb init failure.
<hartytp> yes, they are very common with the low line rate
<rjo> ok.
<hartytp> (I think they're expected, since the low line rate serwb has some known corner cases)
<hartytp> sb0: can you bump microscope at some point
<rjo> hartytp: i think we are cool with giving you commit access. if that helps.
<hartytp> sounds good
<rjo> bb-m-labs: force build --props=package=microscope conda-lin64
<bb-m-labs> build forced [ETA 1m43s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #408 of conda-lin64 is complete: Failure [failed anaconda_upload] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/408
<rjo> bb-m-labs: force build --props=package=microscope conda-lin64
<bb-m-labs> build forced [ETA 1m43s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #409 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/409
<rjo> hartytp: the microscope dependency in artiq-dev is un-versioned. you'll need to reinstall the microscope package. i didn't bother increasing its version.
<hartytp> that's fine, I scrapped the conda version and pulled the latests from git
<GitHub-m-labs> [artiq] enjoy-digital pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/7296a76f180a742682ddcd63892e3db0379b7efd
<GitHub-m-labs> artiq/master 7296a76 Florent Kermarrec: serwb: move common datapath code to datapath.py, simplify flow control
<hartytp> rjo, to check: sawg.phys_named['a1'].rtlink.o.data is a fine thing to probe, right?
<rjo> hartytp: probe that one on the first sawg channel. and a few more while we are at it and since compilation takes a while:
<rjo> ... sawg.a1.xo and sawg.a1.yo
hartytp_ has joined #m-labs
<hartytp_> ack...
<rjo> sawg.b.xi and sawg.b.yi
<rjo> b.xi and b.yi are lists of multiple signals.
<rjo> this would be an intriguing bug if it wasn't so annoying. a single bit in the amplitude is enough to break it.
<rjo> hartytp_: and the test case is #1039 for probing
<hartytp_> why the del xi, yi?
<rjo> because they don't form part of the module's interface. i wanted to prevent accidental driving of them.
<hartytp_> ack
<hartytp_> will comment that out and then probe
<rjo> hartytp_: good. add directly the probe in that code. and leave it.
<rjo> s/ add/ instead don't comment it out and add/
<rjo> as microscope probes are supposed to be free when not used.
<rjo> can i log to the uart from kernels?
<hartytp_> "free when not used"?
<hartytp_> what determines use?
<hartytp_> if I add them directly to dsp.sawg, how do I determine a name for them?
<rjo> used == Microscope submodule exists
<rjo> i think microscope should figure that out. but this is uncharted territory for me. and microscope is not really documented or has seen a lot of testing in corner cases.
<hartytp_> right
<hartytp_> well, I think I'll comment the dels out and hack it
<rjo> _florent_: before you touch the sayma, please check whether it's is locked by me.
hartytp has quit [Quit: Page closed]
<rjo> i am narrowing in on the hbf. bypassing it now.
<hartytp_> good. well, you may have this figured out before I've finished building saym a:(
<rjo> nope.
<hartytp_> flashing
<hartytp_> cool, microscope intersts live
<hartytp_> now need to flash startup kernel after lunch
<bb-m-labs> build #1632 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1632
<rjo> hartytp_: you also don't have working ethernet?
<hartytp_> who do i need it?
<hartytp_> i don't
<rjo> it is easier than flashing startup kernels.
<hartytp_> yes
<hartytp_> but I don't have it
<hartytp_> :(
<rjo> well. i think i have narrowed the issue down to the limiting/saturating adder before the hbf. but i have no idea yeat how that breaks.
<rjo> and especially not in the weird way it does.
<hartytp_> okay, so are the microscope tests still useful?
<bb-m-labs> build #2435 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2435 blamelist: Florent Kermarrec <florent@enjoy-digital.fr>
<rjo> hartytp_: yes. if you are about to get them. the exact numbers are.
<hartytp_> just need to flash a kernel, but lunch first
<rjo> hartytp_: sure.
rohitksingh_work has quit [Read error: Connection reset by peer]
<GitHub-m-labs> [artiq] jbqubit commented on issue #794: That’s great! https://github.com/m-labs/artiq/issues/794#issuecomment-395752864
<GitHub-m-labs> [artiq] hartytp commented on issue #1039: Does this work for all sawgs? e.g. can I use `sawg0`? https://github.com/m-labs/artiq/issues/1039#issuecomment-395754340
<GitHub-m-labs> [artiq] jordens commented on issue #1039: @hartytp any channel https://github.com/m-labs/artiq/issues/1039#issuecomment-395755163
<GitHub-m-labs> [artiq] hartytp commented on issue #1039: Flashed this to the startup kernel:... https://github.com/m-labs/artiq/issues/1039#issuecomment-395755814
<GitHub-m-labs> [artiq] hartytp commented on issue #1039: Flashed this to the startup kernel:... https://github.com/m-labs/artiq/issues/1039#issuecomment-395755814
<rjo> hartytp_: could you commit the exact code you used? there are some commits missing.
<hartytp_> sorry
<hartytp_> done
<GitHub-m-labs> [artiq] hartytp commented on issue #1039: amplitude to 0.5 gives a good sine and... https://github.com/m-labs/artiq/issues/1039#issuecomment-395757204
<hartytp_> is that what you wanted?
<rjo> hartytp_: yes. i think i got enough.
<rjo> thanks.
<hartytp_> np
<hartytp_> will shut that down for now, but let me know if there is anything else you need from me
hartytp_ has quit [Quit: Page closed]
jbqubit_ has joined #m-labs
<jbqubit_> rjo you're welcome to use Sayma at UMD which has Ethernet working and a nice web-accessible 6 GSPS scope.
<rjo> _florent_: do you need the sayma right now?
<_florent_> rjo: no, in 30/1hour it would be useful, i release the lock
<_florent_> rjo: ok you can use it
<_florent_> rjo: *30min/1hour
<_florent_> rjo: can you tell me when you are done with it?
<rjo> _florent_: thanks. will do.
<GitHub-m-labs> [artiq] enjoy-digital pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/53e9e475d0af5e137d6551ea0fac78d64cdffb90
<GitHub-m-labs> artiq/master 53e9e47 Florent Kermarrec: serwb: transmit zeroes when nothing to transmit (for prbs), improve rx idle detection
<GitHub-m-labs> [misoc] jordens pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/2436a68dcb24ef6624a6c9f86bdccb2f2632c158
<GitHub-m-labs> misoc/master 2436a68 Robert Jördens: cordic: don't use Mux() with signed args...
<rjo> _florent_: it's yours. i could use it in about 50 minutes again for a short test if that's ok.
<_florent_> rjo: ok thanks, i just need to test a bistream on it
<_florent_> rjo: ok done for today
<_florent_> the initialization issue with low speed serwb should not be resolved (i'm no longer able to reproduce it)
<rjo> _florent_: thanks
hartytp has joined #m-labs
<hartytp> _florent_: great, thanks
<hartytp> will give that a spin
hartytp has quit [Client Quit]
<_florent_> hartyp: ok thanks
<bb-m-labs> build #1633 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1633
<bb-m-labs> build #2436 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2436 blamelist: Florent Kermarrec <florent@enjoy-digital.fr>
hartytp has joined #m-labs
<hartytp> _florent_: looking at [ 0.003881s] INFO(runtime): software version 4.0.dev+1128.g53e9e475 [ 0.010232s] INFO(runtime): gateware version 4.0.dev+1128.g53e9e475
<hartytp> 6 inits, 3 lots of getting stuck in a AMC/RTM serwb init loop
<hartytp> :(
<_florent_> hartytp: ah, you regenerated both AMC/RTM?
<bb-m-labs> build #439 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/439
<hartytp> [ 5.012804s] INFO(board_artiq::serwb): RTM gateware version 4.0.dev+1128.g53e9e475
<hartytp> [ 0.003881s] INFO(runtime): software version 4.0.dev+1128.g53e9e475
<hartytp> [ 0.010232s] INFO(runtime): gateware version 4.0.dev+1128.g53e9e475
<hartytp> yes
<GitHub-m-labs> [artiq] jordens closed issue #1039: Sayma SAWG produces distorted output at certain amplitudes https://github.com/m-labs/artiq/issues/1039
<jbqubit_> Awesome! I'll build and give it a run through.
<jbqubit_> rjo Are you closing all these because you've tested those cases or because you presume that they all have the same root cause?
<jbqubit_> closes #1039 closes #1040 closes #1022 closes #1058 closes #1044
<hartytp> so, it seems like it's just serwb on the bugs list for Sayma
<hartytp> well, that and the fact that and the inexplicable UART silence for some builds
<hartytp> sb0, re LOCs: I'm not saying that they're responsible for any particular issue we have/have had with Sayma
<hartytp> but, they do make Vivado complain
<hartytp> and removing them gets Sayma to pass timing on other Vivado versions
<hartytp> so, I was just interested to ask if there might be another way of doing this, which might be better?
<hartytp> I'm curious
<hartytp> also, how did you choose where to LOC them? Did you just look at where Vivado happened to place them for one particular build and fix them there
<hartytp> which would be quite fragile
<hartytp> or is there a good reason for their locations?
hartytp has quit [Quit: Page closed]
<GitHub-m-labs> [artiq] jordens opened issue #1063: tools should not emit a traceback when exiting cleanly on KeyboardInterrupt https://github.com/m-labs/artiq/issues/1063
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1063: How to exit cleanly on KeyboardInterrupt? Python asynchronous exceptions are broken by design (there is a race condition).... https://github.com/m-labs/artiq/issues/1063#issuecomment-395811726
<bb-m-labs> build #1634 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1634
<bb-m-labs> build #2437 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2437 blamelist: Robert J?rdens <rj@m-labs.hk>, Robert J?rdens <rj@quartiq.de>
<GitHub-m-labs> [artiq] jordens commented on issue #1063: Maybe we don't always exit cleanly on `KeyboardInterrupt`. But even in that case I feel that the harm done by not printing the traceback would be smaller than the annoyance caused by printing it (all the time).... https://github.com/m-labs/artiq/issues/1063#issuecomment-395816730
cjbe__ has joined #m-labs
cjbe_ has quit [Ping timeout: 264 seconds]
<GitHub-m-labs> [artiq] jbqubit commented on issue #1022: Running 4.0.dev+1132.g5b73dd86. Glitches still present. Not out of the woods yet. ... https://github.com/m-labs/artiq/issues/1022#issuecomment-395895632
<GitHub-m-labs> [artiq] jbqubit commented on issue #1040: @jordens Still broken using 4.0.dev+1132.g5b73dd86. Garbage output and kernel halt. ... https://github.com/m-labs/artiq/issues/1040#issuecomment-395898702
<GitHub-m-labs> [artiq] jbqubit commented on issue #1044: @jordens Still broken using 5b73dd86. https://github.com/m-labs/artiq/issues/1044#issuecomment-395899390
<GitHub-m-labs> [artiq] jbqubit commented on commit 6a7983c: [11:46] <jbqubit_> Awesome! I'll build and give it a run through.... https://github.com/m-labs/artiq/commit/6a7983cf89a239706f0ebacd04e6b7ac8a82620b#commitcomment-29302990
jbqubit_ has quit [Ping timeout: 260 seconds]
<GitHub1> [smoltcp] barskern commented on issue #225: @whitequark @pothos I have now implemented a suggestion which I think will resolve #224 and also improve the detection of duplicate ACKs. Now it should reset the counter when it encounters an ACK which contains data or that changes the send window. Further I implemented more tests to vertify this. https://github.com/m-labs/smoltcp/pull/225#issuecomment-395921670