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
_whitelogger has joined #m-labs
<sb0> _florent_, did you try running the firmware clocking code? does it work?
_whitelogger has joined #m-labs
<sb0> rjo, I'm a bit worried about combinatorial logic used to generate the SPI clock output -- (spi.cg.clk & spi.cs) ^ config.clk_polarity
<sb0> in theory there is nothing that prevents the synthesizer to generate something that produces glitches. it is better practice to connect the IO to a register output directly.
<sb0> also, when IOs are connected to register outputs, normally the dedicated registers inside the IOB are used, so the board timing becomes deterministic
<_florent_> sb0: sorry for the delay, i'm on it. I try to get that working today.
<sb0> okay, any questions just ask me
<_florent_> ok will do, thanks
<cr1901_modern> "the synthesizer to generate something that produces glitches" When would a glitch be generated? Isn't only spi.cg.clk changing during an xfer?
<sb0> consider a comb circuit with multiple LUTs
<sb0> and different routing delays
_whitelogger has joined #m-labs
<cr1901_modern> I glossed over the "in theory" part. In this case, either the beginning or end of an xfer could have a glitch (IIRC cs/clk_polarity stay stable during the xfer).
<rjo> sb0: those glitches specifically are fine. they change at different edges. but yes. i guess one could rewrite that.
<sb0> yes this is unlikely to cause practical problems
<rjo> sb0: i.e. in this case there won't be glitches.
<sb0> well you can always make up a circuit that will glitch even if the other inputs aren't changing, but the synthesizer shouldn't do that
<rjo> sure. it could even do that with a single input. since we are trusting the synthesizer to correctly infer IOBs, it seems reasonable to trust it with not doing that as well.
<GitHub40> [artiq] sbourdeauducq pushed 1 new commit to release-3: https://github.com/m-labs/artiq/commit/52e331204ef4ab974045c60e196168d5ea1db77c
<GitHub40> artiq/release-3 52e3312 Sebastien Bourdeauducq: examples: fix first_dds_bus_channel in device database
<GitHub125> [artiq] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/9d356ed93bc7...5803ac9998ae
<GitHub125> artiq/master 4fa823b Sebastien Bourdeauducq: gateware: add support for SPI-over-LVDS
<GitHub125> artiq/master 5803ac9 Sebastien Bourdeauducq: gateware: add Zotino SPI to NIST CLOCK target
<bb-m-labs> build #839 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/839 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<bb-m-labs> build #1722 of artiq is complete: Failure [failed anaconda_upload anaconda_upload_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1722 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<sb0> bb-m-labs, force build artiq
<bb-m-labs> build forced [ETA 8h32m20s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #840 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/840
<bb-m-labs> build #1723 of artiq is complete: Failure [failed anaconda_upload anaconda_upload_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1723
<sb0> bb-m-labs, force build artiq
<bb-m-labs> build forced [ETA 8h32m20s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #841 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/841
<bb-m-labs> build #1724 of artiq is complete: Failure [failed anaconda_upload anaconda_upload_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1724
<sb0> bb-m-labs, force build artiq
<bb-m-labs> build forced [ETA 8h32m20s]
<bb-m-labs> I'll give a shout when the build finishes
<sb0> of course, opening the token file with a text editor and having a newline in it makes conda break. what else could i expect.
<sb0> rjo, where do we have binary-encoded (i.e. not one-hot) CS_N on SPI?
<sb0> bb-m-labs, stop build artiq
<bb-m-labs> try 'stop build WHICH <REASON>'
<sb0> bb-m-labs, stop build artiq conda token
<bb-m-labs> build 1725 interrupted
<sb0> bb-m-labs, force build artiq
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<bb-m-labs> build #1725 of artiq is complete: Exception [exception anaconda_upload interrupted] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1725
<bb-m-labs> build forced [ETA 8h32m20s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> sb0: on urukul
<rjo> bb-m-labs: force build --props=package=openocd conda-lin64
<bb-m-labs> build #331 forced
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #331 of conda-lin64 is complete: Failure [failed anaconda_upload] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/331
<sb0> rjo, let me update that token on the lin64 vm too
<sb0> bb-m-labs: force build --props=package=openocd conda-lin64
<bb-m-labs> build #332 forced
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #332 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/332
<bb-m-labs> build #842 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/842
<bb-m-labs> build #1726 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1726
<sb0> bb-m-labs, force build --branch=master artiq
<bb-m-labs> build forced [ETA 8h32m20s]
<bb-m-labs> I'll give a shout when the build finishes
<sb0> rjo, is the LDAC line always dedicated to _one_ DAC chip?
<bb-m-labs> build #843 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/843
<bb-m-labs> build #1727 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1727
<sb0> bb-m-labs, force build --branch=release-3 artiq
<bb-m-labs> build forced [ETA 8h32m20s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> sb0: on Zotino? isn't there just one DAC chip?
<sb0> yes. but I was asking if there were any plans to share a LDAC with multiple Zotino or anything like that.
<rjo> sb0: thx for the token. was about to do that myself sat/sun but ran out of time.
<sb0> anyway I found a way to organize the monitoring gateware so that any sharing won't be a problem
<rjo> sb0: do you mean when designing the bitstream-builder to allow for such sharing of resources?
<sb0> mostly the small module that snoops on SPI commands for now
<rjo> i'd hope we don't need that. to me the overhead of doing multiple rtio ldac pulses if there are multiple zotinos seems acceptable.
<bb-m-labs> build #844 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/844
<rjo> sb0: also, I removed all the 2.0.dev and 3.0.dev artiq and artiq-nist_clock packages from anaconda. and a few old llvm/rustc packages. that freed up 1.5 GB there and sped up "conda install" significantly.
<sb0> ok
<sb0> did you write a script for that? or manual removal?
<GitHub171> [nu-servo] jordens pushed 9 new commits to master: https://github.com/m-labs/nu-servo/compare/d7808afdf11b...5facbee773e9
<GitHub171> nu-servo/master 63cc362 Robert Jordens: dds: split dut from tb
<GitHub171> nu-servo/master a8a0493 Robert Jordens: iir: clear delays when updating profile/en_out/en_iir
<GitHub171> nu-servo/master baadf8c Robert Jordens: adc: split dut from tb
<rjo> sb0: manual.
<bb-m-labs> build #591 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/591
<bb-m-labs> build #1728 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1728
<rjo> sb0: how do i debug migen's naming algorithm? i have "__main__" appearing due to seemingly random changes. can't seem to find the root cause.
<sb0> rjo, you can get a SVG of the tree of the name bits that it identified, and which ones it selected. how large is your design that causes the problem?
<sb0> see _display_tree in fhdl.namer
<sb0> and _debug
<rjo> sb0: so is the gist that the namer will not include a object hierarchy level in the names if it is not necessary to disambiguate names?
<sb0> yes
<GitHub17> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/a6b45caefa35e5379486d69e253c7b9bb500a855
<GitHub17> artiq/master a6b45ca Robert Jordens: conda: new openocd...
<GitHub36> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/a9798ae2b16e39a89e29e15dac957d349183ea26
<GitHub36> artiq/master a9798ae Sebastien Bourdeauducq: gateware/spi: style
<rjo> oh, we have enumerate() in artiq-python? nice!
<sb0> hm, I shouldn't have committed that
<sb0> enumerate is doable though
<sb0> bb-m-labs, stop build artiq
<bb-m-labs> try 'stop build WHICH <REASON>'
<sb0> bb-m-labs, stop build artiq xxxx
<bb-m-labs> build 1729 interrupted
<bb-m-labs> build #1729 of artiq is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1729 blamelist: Robert Jordens <rj@m-labs.hk>
<GitHub184> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/42aca0d64a305a13e78738a181b990bbe8e972cd
<GitHub184> artiq/master 42aca0d Sebastien Bourdeauducq: ad5360: revert incorrect part of a9798ae2...
<rjo> sb0: shouldn't the artiq packages be named 4.0.dev...? the buildbot is making 3.0-py_12 etc
<sb0> from master? huh
<sb0> well they are mostly correctly named 4.0.dev, except one
<sb0> ...and that one is from release-3. where is the problem?
<rjo> ack. then it's all good. i thought that was from master.
<bb-m-labs> build #845 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/845
<bb-m-labs> build #1730 of artiq is complete: Failure [failed artiq_flash] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1730 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub136> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/3329d8990d80419fae6e72a264b7a4cffb0916f8
<GitHub136> artiq/master 3329d89 Robert Jordens: conda/artiq: also bump openocd
<GitHub38> [artiq] jordens opened issue #841: ship proxy bitstreams with openocd https://github.com/m-labs/artiq/issues/841
<rjo> bb-m-labs: force build --props=package=openocd conda-win32
<bb-m-labs> build #175 forced
<bb-m-labs> I'll give a shout when the build finishes
<rjo> bb-m-labs: force build --props=package=openocd conda-win64
<bb-m-labs> build #180 forced
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #175 of conda-win32 is complete: Failure [failed conda_clean_lock] Build details are at http://buildbot.m-labs.hk/builders/conda-win32/builds/175
<bb-m-labs> build #846 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/846
<bb-m-labs> build #180 of conda-win64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-win64/builds/180
<bb-m-labs> build #1731 of artiq is complete: Failure [failed artiq_flash] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1731 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub174> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/412548a86cb28260cc028c97cbc6fa8f410ca016
<GitHub174> artiq/master 412548a Sebastien Bourdeauducq: gateware: add AD5360 monitor (untested)
<bb-m-labs> build #847 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/847
<bb-m-labs> build #1732 of artiq is complete: Failure [failed artiq_flash] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1732 blamelist: Robert Jordens <rj@m-labs.hk>
<GitHub90> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/22d58598760c8071ef0afe47ec662764b525bb09
<GitHub90> artiq/master 22d5859 Robert Jordens: conda: pin openocd dependency
<bb-m-labs> build #848 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/848
<bb-m-labs> build #1733 of artiq is complete: Failure [failed artiq_flash] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1733 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub> [conda-recipes] jordens pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/8e639926fbc2905b8a0d0883f4f9a9e3ebcdd2b4
<GitHub> conda-recipes/master 8e63992 Robert Jordens: bscan-spi-bitstreams: add
<rjo> bb-m-labs: force build --props=package=bscan-spi-bitstreams conda-lin64
<bb-m-labs> build forced [ETA 2m09s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #333 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/333
<GitHub> [conda-recipes] jordens pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/2e08df75635467866eee42ffc29792cfa7da78a5
<GitHub> conda-recipes/master 2e08df7 Robert Jordens: openocd: depend on bscan-spi-bitstream
<rjo> bb-m-labs: force build --props=package=openocd conda-lin64
<bb-m-labs> build forced [ETA 1m18s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> bb-m-labs: force build --props=package=openocd conda-win64
<bb-m-labs> build forced [ETA 12m25s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #334 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/334
<bb-m-labs> build #849 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/849
<bb-m-labs> build #181 of conda-win64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-win64/builds/181
<GitHub58> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/7edff48b6d1eb9a7ce078753aeec6d9e59dc6427
<GitHub58> artiq/master 7edff48 Robert Jordens: conda/artiq_flash: use proxy bitstream package...
<GitHub135> [artiq] jordens closed issue #841: ship proxy bitstreams with openocd https://github.com/m-labs/artiq/issues/841
<bb-m-labs> build #592 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/592
<bb-m-labs> build #1734 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1734
<rjo> whitequark: how is the ethernet debugging going? (#840 #837)
<bb-m-labs> build #850 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/850
<bb-m-labs> build #593 of artiq-win64-test is complete: Failure [failed conda_install] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/593 blamelist: Robert Jordens <rj@m-labs.hk>
<bb-m-labs> build #1735 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1735 blamelist: Robert Jordens <rj@m-labs.hk>
<rjo> bb-m-labs: force build --props=package=openocd conda-lin64
<bb-m-labs> build forced [ETA 1m50s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> bb-m-labs: force build --props=package=openocd conda-win64
<bb-m-labs> build forced [ETA 11m54s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #335 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/335
<bb-m-labs> build #182 of conda-win64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-win64/builds/182
<GitHub140> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/70e6f77d4d928f2fe15f08350837e73e5a57002f
<GitHub140> artiq/master 70e6f77 Robert Jordens: conda: bump openocd to simplify pinning
<bb-m-labs> build #851 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/851
<bb-m-labs> build #594 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/594
<bb-m-labs> build #1736 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1736
Gurty has quit [Excess Flood]
Gurty has joined #m-labs
Gurty has quit [Changing host]
Gurty has joined #m-labs
rohitksingh has joined #m-labs
mumptai has joined #m-labs
rohitksingh has quit [Ping timeout: 240 seconds]
<GitHub165> [artiq] dhslichter commented on issue #711: Getting pre-link warnings again today with a fresh install on a new Windows machine. I made sure to update conda, running 4.3.27 py27hcd9d231_0. The only wrinkle I can think of here is that my root environment from which I am creating the new environment to install ARTIQ is a Python 2 environment, but my impression was that conda ought to be able to handle this. Full output is below.... https://g
<GitHub15> [artiq] dhslichter commented on issue #711: Getting pre-link warnings again today with a fresh install on a Windows 7 machine. I made sure to update conda, running 4.3.27 py27hcd9d231_0. The only wrinkle I can think of here is that my root environment from which I am creating the new environment to install ARTIQ is a Python 2 environment, but my impression was that conda ought to be able to handle this. Full output is below.... https://githu
<GitHub111> [artiq] dhslichter commented on issue #711: Getting pre-link warnings again today with a fresh install on a Windows 7 machine. I made sure to update conda first, running 4.3.27 py27hcd9d231_0. The only wrinkle I can think of here is that my root environment from which I am creating the new environment to install ARTIQ is a Python 2 environment, but my impression was that conda ought to be able to handle this. Full output is below.... https
<GitHub24> [artiq] klickverbot commented on issue #837: > A frame counter in both the PHY and the MAC should be sufficient, and is very simple to implement. I can do that, I think.... https://github.com/m-labs/artiq/issues/837#issuecomment-338794997
mumptai has quit [Quit: Verlassend]
<GitHub116> [artiq] whitequark commented on issue #837: @klickverbot Sure, let me implement it. https://github.com/m-labs/artiq/issues/837#issuecomment-338820948