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
kuldeep has quit [Ping timeout: 260 seconds]
ChanServ has quit [*.net *.split]
ChanServ has joined #m-labs
marbler has quit [Ping timeout: 245 seconds]
jfng has quit [Ping timeout: 277 seconds]
felix[m] has quit [Ping timeout: 260 seconds]
kuldeep has joined #m-labs
felix[m] has joined #m-labs
jfng has joined #m-labs
marbler has joined #m-labs
kaolpr has quit [Ping timeout: 268 seconds]
kaolpr has joined #m-labs
<sb0> jbqubit, all this can be explained by flaky network + misunderstanding of rtio timeline vs. cpu timeline
<sb0> jbqubit, what is the source code of that kernel that is supposed to take 10s of seconds?
<whitequark> tpw_rules: because in an FSM you often want both comb and sync statement inside some condition
<whitequark> fsm.act("STATE", If(stb, wr.eq(1), NextValue(addr, addr + 1)))
<whitequark> so now we have *both* s.next = 1 and NextValue(s, 1)? I'm not sure what the improvement is, this is exactly as complex but now there's one more way to do FSMs
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #m-labs
sb0 has quit [Quit: Leaving]
<tpw_rules> whitequark: yeah that's what i wanted to do the AST manipulation for. to turn that into a python If where you could say s.next = 1 inside
<tpw_rules> but i wasn't sure if you wanted that as a migen feature
<tpw_rules> i'll toy with that a little but i was implementing it like sb0 suggested
attie has quit [Ping timeout: 264 seconds]
attie has joined #m-labs
marmelada has joined #m-labs
kuldeep has quit [Ping timeout: 240 seconds]
kuldeep has joined #m-labs
FabM_cave has joined #m-labs
FabM_cave is now known as FabM
<whitequark> tpw_rules: I think Glasgow should stay just plain migen to make it easier to contribute, having two different kinds of syntax impedes that
<whitequark> but your project has value on its own
<tpw_rules> that's a valid point. i gather then you would rather see the AST and context manager stuff as a separate project that builds on top of Migen instead of something that will be merged into it?
<whitequark> that's up to sb0 really, I don't feel like I have the authority to make such changes to migen
kuldeep has quit [Ping timeout: 276 seconds]
<tpw_rules> okay. i'll try and talk to them later
<tpw_rules> thanks for the input
<GitHub-m-labs> [migen] whitequark pushed 1 new commit to master: https://github.com/m-labs/migen/commit/48f2b9233d630fb7065909b924ada5f8edfc394b
<GitHub-m-labs> migen/master 48f2b92 whitequark: doc/fhdl: use correct syntax for code block.
<tpw_rules> by the way does migen have support for the verilog ternary operator?
<bb-m-labs> build #275 of migen is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/migen/builds/275
<marmelada> hey, did someone here use kasli master & satellite?
kuldeep has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
<whitequark> tpw_rules: yes, the Mux construct
rohitksingh_work has joined #m-labs
sb0 has joined #m-labs
<marmelada> sb0: did you use kasli master and satelite?
<sb0> marmelada, yes
<sb0> cjbe did too
<sb0> whitequark, what is the latest on the compiler?
<whitequark> sb0: i was leeping
<whitequark> *sleeping
<marmelada> how do I connect them? sfp1 of master to sfp0 of slave?
<sb0> marmelada, on the master sfp0 is ethernet, and both sfp1 and sfp2 can control a satellite (possibly at the same time)
<sb0> satellite uses sfp0 only
<marmelada> sb0: do we have somehwere sample experiment?
<sb0> look at sayma_drtio in the examples
<marmelada> ok
<marmelada> thanks
cjbe__ has joined #m-labs
<marmelada> sb0: do I need to connect clock from master to slave?
<sb0> marmelada, no.
<sb0> the clock goes over the sfp as well
<marmelada> great :)
cjbe__ has quit [Ping timeout: 256 seconds]
<GitHub-m-labs> [artiq] cjbe commented on issue #979: @whitequark I have not managed to reproduce this since the fix for #986 - if I do see this again, I will capture a profile. https://github.com/m-labs/artiq/issues/979#issuecomment-393103956
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1014: Can you clarify what you mean by "explorer" and "experiment"? https://github.com/m-labs/artiq/issues/1014#issuecomment-393111566
sb0 has quit [Quit: Leaving]
<marmelada> ok, I got two dio bnc, one from master one from satellite
attie is now known as attie\ito
<marmelada> and signal on satellite is delayed around 226 ns to signal from master
<marmelada> it seems to be much more than hartytp measured if I recall correctly
<marmelada> what values did you get sb0?
cjbe has joined #m-labs
<cjbe> marmelada: with between Kasli DRTIO master-satellite and a short fibre I see about 230ns, so this agrees with what you see.
<cjbe> For a given set of hardware / fibres this latency is constant to within ~20ps
kuldeep has quit [Ping timeout: 245 seconds]
kuldeep has joined #m-labs
kuldeep has quit [Ping timeout: 256 seconds]
<GitHub-m-labs> [artiq] marmeladapk opened pull request #1018: Added second argument to DIO.add_STD in master and satellite variant … (master...for_merge) https://github.com/m-labs/artiq/pull/1018
kuldeep has joined #m-labs
kuldeep has quit [Ping timeout: 240 seconds]
kuldeep has joined #m-labs
cjbe__ has joined #m-labs
hartytp has joined #m-labs
<hartytp> rjo: playing with the servo
<hartytp> want to check I understand your terminology for the gains
<hartytp> I think of something like H=kp + ki/s=(kp*s+ki)/s=ki*(1+kp/ki)/s
<hartytp> looking at your tf with g=0, I'd identify "K" with the integrator gain
<hartytp> and the zero (w0) as Kp/ki
<hartytp> (w0=ki/kp)
hartytp_ has joined #m-labs
<hartytp_> ki*(1+kp/ki)/s should have been ki*(1+s*kp/ki)/s
<hartytp_> also, the way you have written the expression there, it looks like H(s, K=0)=0
hartytp has quit [Ping timeout: 260 seconds]
rohitksingh_work has quit [Read error: Connection reset by peer]
<hartytp_> and, indeed, in your code you use: k = gain*corner=Kp*Ki/kp=ki
<hartytp_> (at, least in the way I would normally use those terms)
<hartytp_> nope, sorry, misread your expression... k/w0=ki
<GitHub-m-labs> [artiq] jbqubit opened issue #1019: Sayma AD9154 config attempt failed https://github.com/m-labs/artiq/issues/1019
<GitHub-m-labs> [artiq] jbqubit opened issue #1020: Sayma boot hangs at hmc7043 https://github.com/m-labs/artiq/issues/1020
cjbe__ has quit [Ping timeout: 245 seconds]
FabM has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
<GitHub-m-labs> [artiq] jbqubit commented on issue #1019: Similar behavior from 8fd57e6ccb6e5070d3dc988a9d5550b295621d72 which is yesterday's master. https://github.com/m-labs/artiq/issues/1019#issuecomment-393174062
kristianpaul has quit [Quit: leaving]
kristianpaul has joined #m-labs
<hartytp_> rjo: so, the above was a misreading of your maths...oops. But, am I right in thinking that for a P/PI loop, corner = Ki/Kp. But, for a I loop you set w=ki
<hartytp_> ?
<hartytp_> I find that a bit unintuitive personally
<hartytp_> for an I-only loop, I think it's easier to just specify Ki. corner is a bit misleading anyway, since it's only f0dB for the LF, not for the overall loop.
FabM has joined #m-labs
<GitHub-m-labs> [artiq] jbqubit opened issue #1021: Sayma ConnectionResetError, ~50% packet loss https://github.com/m-labs/artiq/issues/1021
jbqubit has quit [Ping timeout: 260 seconds]
<GitHub-m-labs> [artiq] sbourdeauducq closed issue #1019: Sayma AD9154 config attempt failed https://github.com/m-labs/artiq/issues/1019
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1021: Apply TRST rework (@gkasprow) and/or use another switch. https://github.com/m-labs/artiq/issues/1021#issuecomment-393189750
<GitHub-m-labs> [artiq] jbqubit commented on issue #1021: Switched to using Netgear GS608 v4. This is same switch [used at M-Labs](https://github.com/m-labs/artiq/issues/854#issuecomment-380708051). @trxw points out that this switch is currently selling in two version v3 and v4. What version did M-Labs use? Only two hosts attached to the switch. ARTIQ Master PC and Sayma. Still see packet loss. ... https://github.com/m-la
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1020: Can you add some log calls to the hmc7043 routine and pinpoint where exactly it hangs? https://github.com/m-labs/artiq/issues/1020#issuecomment-393190437
<GitHub-m-labs> [artiq] jbqubit commented on issue #1021: OK. I'll apply the TRST rework as described [here](https://github.com/m-labs/artiq/issues/854#issuecomment-389831508). https://github.com/m-labs/artiq/issues/1021#issuecomment-393190704
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/44c7a028cb0bc35b881467d88eb1b05fdc19f7a6
<GitHub-m-labs> artiq/master 44c7a02 Paweł: Added second argument to DIO.add_STD in master and satellite variant of kasli (now builds properly)
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1018: Thanks https://github.com/m-labs/artiq/pull/1018#issuecomment-393191944
<GitHub-m-labs> [artiq] hartytp commented on issue #1020: @jbqubit do you see it hang silently, or do you get garbage out of the UART or illegal instruction errors? cf https://github.com/sinara-hw/sinara/issues/472#issuecomment-388870588... https://github.com/m-labs/artiq/issues/1020#issuecomment-393193700
<GitHub-m-labs> [artiq] whitequark closed issue #979: Device slowdown after extended run time https://github.com/m-labs/artiq/issues/979
<GitHub-m-labs> [artiq] jordens commented on issue #1014: With "explorer" I meant the `FilesDock` on the left side... https://github.com/m-labs/artiq/issues/1014#issuecomment-393196907
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1021: > Only two hosts attached to the switch... https://github.com/m-labs/artiq/issues/1021#issuecomment-393197959
sb0 has joined #m-labs
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1021: Anyway, with that level of packet loss it is expected that you get that error when running kernels.... https://github.com/m-labs/artiq/issues/1021#issuecomment-393200563
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1021: Anyway, with that level of packet loss it is expected that you get that error when running kernels.... https://github.com/m-labs/artiq/issues/1021#issuecomment-393200563
<GitHub-m-labs> [artiq] enjoy-digital commented on issue #1020: @hartytp: when you'll receive your board, that will be interesting to see if you are reproducing it or not. If... https://github.com/m-labs/artiq/issues/1020#issuecomment-393205325
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1019: Actually @jbqubit are you using the latest jesd204b core source? https://github.com/m-labs/artiq/issues/1019#issuecomment-393207233
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1019: Before https://github.com/m-labs/jesd204b/commit/03718be2f697ea928766342d16952916c20ee1e6 JESD was intermittently failing to initialize on all boards. https://github.com/m-labs/artiq/issues/1019#issuecomment-393207857
<bb-m-labs> build #1588 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1588
<GitHub> [conda-recipes] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/68296ee0f9ab1a550d997bb17eed91985f476330
<GitHub> conda-recipes/master 68296ee Sebastien Bourdeauducq: jesd204b: bump
<sb0> bb-m-labs: force build --props=package=jesd204b conda-lin64
<bb-m-labs> build #406 forced
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #2403 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2403 blamelist: Pawe? <marmeladapk@users.noreply.github.com>
<bb-m-labs> build #406 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/406
marmelada has quit [Ping timeout: 260 seconds]
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/38b51282226f9feb74805312abcde9b8f17fd693
<GitHub-m-labs> artiq/master 38b5128 Sebastien Bourdeauducq: conda: bump jesd204
<GitHub-m-labs> [artiq] gkasprow commented on issue #1021: the ping time is very high. I'd expect below 10ms.... https://github.com/m-labs/artiq/issues/1021#issuecomment-393216911
<kaolpr> does anyone know if RT2WB is supposed to work properly? I'm trying to get any data from WB bus using RT2WB but it fails with RTIO busy error. https://hastebin.com/ahusedekar.rb
<sb0> kaolpr, it's used for the ad9914 dds and works there
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #m-labs
<kaolpr> sb0, thanks, just wanted to be sure nothing was dropped during development
<bb-m-labs> build #1589 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1589
<bb-m-labs> build #2404 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2404 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
cjbe__ has joined #m-labs
mumptai has joined #m-labs
<GitHub-m-labs> [artiq] jbqubit closed issue #1021: Sayma Ethernet high packet losses https://github.com/m-labs/artiq/issues/1021
<tpw_rules> sb0: are you around?
rohitksingh has quit [Quit: Leaving.]
<tpw_rules> i want to discuss the syntax changes i've made to fhdl with you and see if you would like to upstrema them
<GitHub-m-labs> [artiq] jbqubit commented on issue #1019: This is the JESD I'm using.... https://github.com/m-labs/artiq/issues/1019#issuecomment-393275565
<GitHub-m-labs> [artiq] jbqubit commented on issue #1019: Building master with jesd204b=0.6 now. https://github.com/m-labs/artiq/issues/1019#issuecomment-393275870
<GitHub-m-labs> [artiq] jbqubit commented on issue #998: OK. Confirmed that delays work. https://github.com/m-labs/artiq/issues/998#issuecomment-393280433
jbqubit has joined #m-labs
<jbqubit> On output of Sayma RTM DAC SMPs I see digital wavetrain not sinusoid as commanded. Looking for USB stick do post Issue. Running yesterday's master.
<GitHub-m-labs> [artiq] jbqubit opened issue #1022: Sayma DACs not generating sinusoids https://github.com/m-labs/artiq/issues/1022
<GitHub-m-labs> [artiq] jbqubit opened issue #1023: slow RTIO support for BaseMod https://github.com/m-labs/artiq/issues/1023
<GitHub-m-labs> [artiq] jbqubit commented on issue #1022: Will next build a version of gateware with ```--without-sawg``` option. Will look for sawtooth pattern. https://github.com/m-labs/artiq/issues/1022#issuecomment-393294843
<GitHub-m-labs> [artiq] jbqubit commented on issue #1021: Ping time is often < 1 ms. But on occasion I see that it jumps to > 10 ms. Any idea why @sbourdeauducq ? https://github.com/m-labs/artiq/issues/1021#issuecomment-393315725
<GitHub-m-labs> [artiq] jbqubit opened issue #1024: Sayma stand alone setup instructions https://github.com/m-labs/artiq/issues/1024
<GitHub-m-labs> [artiq] jbqubit commented on issue #1015: > IMHO, it's not worth documenting that a clock is required for Urkul... https://github.com/m-labs/artiq/issues/1015#issuecomment-393320327
<GitHub-m-labs> [artiq] jbqubit commented on issue #1019: We updated JESD and built from master 38b51282226f9. We reloaded RTM AMC .bit and observed successful booting each time. This looks resolved. https://github.com/m-labs/artiq/issues/1019#issuecomment-393330329
cjbe_ has joined #m-labs
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1021: No, I've only seen low ping times. https://github.com/m-labs/artiq/issues/1021#issuecomment-393335133
<GitHub-m-labs> [artiq] jbqubit commented on issue #1022: We built using --without-sawg option from master 38b51282226f9feb. We see sawtooth pattern. https://github.com/m-labs/artiq/issues/1022#issuecomment-393335230
cjbe__ has quit [Ping timeout: 260 seconds]
<GitHub-m-labs> [artiq] jbqubit opened issue #1025: Sayma ping >> 30 ms https://github.com/m-labs/artiq/issues/1025
mumptai has quit [Remote host closed the connection]
cjbe_ has quit [Ping timeout: 256 seconds]
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1022: Is that the original sines example or did you modify it?... https://github.com/m-labs/artiq/issues/1022#issuecomment-393340028
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1020: The JESD core does not touch the HMC7043. This looks like typical Sayma insane behavior. https://github.com/m-labs/artiq/issues/1020#issuecomment-393340443
<GitHub-m-labs> [artiq] jbqubit commented on issue #1019: But spoke too soon. Built with 8fd57e6ccb6e (and JESD update) and find that the same error happens. ''' AD9154-0 initializing...''' https://github.com/m-labs/artiq/issues/1019#issuecomment-393343394
<GitHub-m-labs> [artiq] gkasprow commented on issue #1019: Unfortunately we have a holidays and the university is closed. Would be able to check it on Monday... https://github.com/m-labs/artiq/issues/1019#issuecomment-393344599
<GitHub-m-labs> [artiq] jbqubit commented on issue #1019: Ignore that post from five minutes ago. I accidentally used a build of the gateware from this morning that predated the JESD204B upgrade to v0.6. Just now I repeated test again using JESD204B=0.6 with SAWG and HMC830 build 38b51282226f9. Boot was successful four times in succession. https://github.com/m-labs/artiq/issues/1019#issuecomment-393345128
<GitHub-m-labs> [artiq] jbqubit commented on issue #1022: OK. Here's a clue. If ``` sawg.amplitude1.set(.8) ``` there is sinusoidal output. If ``` sawg.amplitude1.set(.9) ``` there is garbage like in screenshot above. ... https://github.com/m-labs/artiq/issues/1022#issuecomment-393347342
<GitHub-m-labs> [artiq] jbqubit opened issue #1026: sayma panic IllegalInsn at PC 0x4003c9a8 https://github.com/m-labs/artiq/issues/1026
futarisIRCcloud has joined #m-labs
cjbe_ has joined #m-labs
cjbe_ has quit [Ping timeout: 256 seconds]
cr1901_modern has quit [Read error: Connection reset by peer]