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
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
<whitequark> gah. just spend more than an hour with the precedence of If(rd & x == 0
<whitequark> sb0: how do I make a 3'b000 ?
<whitequark> C(0)[0:4] didn't do it
<sb0> something like C(0, 3)
<whitequark> that worked
GitHub183 has joined #m-labs
<GitHub183> [si5324_test] whitequark pushed 1 new commit to master: https://github.com/m-labs/si5324_test/commit/e4c9ef22691de4aa9695d1a699fc5148e23085e4
<GitHub183> si5324_test/master e4c9ef2 whitequark: Use synchronous feedback for Wishbone.
GitHub183 has left #m-labs [#m-labs]
FelixVi has quit [Quit: Leaving]
<whitequark> sb0: ERROR: [Common 17-345] A valid license was not found for feature 'Synthesis' and/or device 'xc7k325t'. Please run the Vivado License Manager for assistance in determining
<whitequark> this worked just a few days ago..
<whitequark> oh, I copied your license and it's fine now
<sb0> yes, the new vivado version requires a new license. and before i got the kc705 code from you, i had generated a 30-day eval license
<sb0> that probably expired
<whitequark> wtf, is vivado even slower than ise?..
<sb0> about as slow
<whitequark> four minutes and counting
<whitequark> on basically the same thing ise did in 30 seconds, with six more buffers for the si5324 stuff
<whitequark> I guess "vivado for kc705's kintex7 chip" and "ise for pipistrello's spartan6 chip"
<sb0> you can compile with ise for the kc705 as well, if you have vivado problems
<whitequark> hm, I can try that...
<sb0> it's just kc705.Platform(toolchain="ise") iirc
<whitequark> ok, testing it now.
GitHub177 has joined #m-labs
<GitHub177> [si5324_test] whitequark pushed 1 new commit to master: https://github.com/m-labs/si5324_test/commit/cbecf89a3a64e44ea8dda70d2b42203b51dc1bbd
<GitHub177> si5324_test/master cbecf89 whitequark: Use gateware to initialize Si5324 (WIP).
GitHub177 has left #m-labs [#m-labs]
<whitequark> or rather going to the lab to test.
<whitequark> hm. doesn't work.
<whitequark> I wonder why.
<whitequark> sb0: oh, looks like the reason vivado was that slow is because I've been driving cd_sys.rst without a BUFG
<sb0> well you should not
<whitequark> it didn't even emit a warning.
<sb0> it may insert a BUFG automatically on the reset wire, but that's normally not required explicitly
<whitequark> hm
<whitequark> dunno then. well. i'm more interested in why this is broken rather than why vivado doesn't add a BUFG or whatever.
<whitequark> the I2C multiplexer ACKs but Si5324 doesn't.
<whitequark> oh, it works now!
<whitequark> sb0: how do I tell your scope to measure ch2?
<sb0> I don't remember exactly, but I think you should press the measure button and then there's a "source" menu that appears, select ch2 there
<whitequark> that worked
fengling has quit [Ping timeout: 240 seconds]
GitHub40 has joined #m-labs
<GitHub40> [si5324_test] whitequark pushed 2 new commits to master: https://github.com/m-labs/si5324_test/compare/cbecf89a3a64...f46502530e2d
<GitHub40> si5324_test/master 85a4448 whitequark: Expose the I2C bus on XADC GPIOs, not just I2C master output.
<GitHub40> si5324_test/master f465025 whitequark: Fix PCA9548 control word.
GitHub40 has left #m-labs [#m-labs]
sandeepkr_ has joined #m-labs
kuldeep has quit [Ping timeout: 265 seconds]
sandeepkr has quit [Ping timeout: 240 seconds]
sandeepkr__ has joined #m-labs
kuldeep has joined #m-labs
<whitequark> sb0: it's done.
GitHub137 has joined #m-labs
<GitHub137> [si5324_test] whitequark pushed 1 new commit to master: https://github.com/m-labs/si5324_test/commit/ac3dc5ea593fc3f4831c525e0e534ff9b3dca5cd
<GitHub137> si5324_test/master ac3dc5e whitequark: Reconfigure for 62.5MHz.
GitHub137 has left #m-labs [#m-labs]
sandeepkr_ has quit [Ping timeout: 260 seconds]
<sb0> whitequark, thanks. i'll have a look shortly.
<sb0> did you sort out the vivado compilation issue (if any)?
<whitequark> well it's fast now
<whitequark> """""fast"""""
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
<sb0> whitequark, can you update the sequencer unittest?
<whitequark> it's not really a unittest
<whitequark> wait, update? there isn't anything, not even a testbench
<whitequark> sb0: do you want me to write a testbench for the sequencer (i.e. something to output the .vcd)? or do you want me to write a unittest (i.e. something programmatically check the result)?
<whitequark> that's a weirdly written test
<sb0> what's wrong with it?
<whitequark> no check of IP
<sb0> IP?
<whitequark> instruction pointer
<whitequark> ah well.
GitHub182 has joined #m-labs
<GitHub182> [si5324_test] whitequark pushed 1 new commit to master: https://github.com/m-labs/si5324_test/commit/3fd390582e22fa7897c3d23bfc62a71f59eb71a2
<GitHub182> si5324_test/master 3fd3905 whitequark: Add test for Sequencer.
GitHub182 has left #m-labs [#m-labs]
<sb0> if IP is wrong, the produced bus transactions are going to be wrong as well...
<sb0> and the design is simple enough that there aren't so many ways to get IP wrong
<whitequark> yes. i'm saying it's weirdly written because "IP is wrong" is way easier to start debugging than "bus transactions are wrong"
fengling has joined #m-labs
<whitequark> sb0: is that all for now?
<whitequark> i'm going to do some merge work on solvespace then
fengling has quit [Ping timeout: 240 seconds]
<sb0> kill l.190
<sb0> bus.dat_r is don't care outside transactions
<sb0> so the only thing it should depend on is the address
<whitequark> then you couldn't read the divisor..
<whitequark> you mean 182?
<sb0> you can just organize the ifs as: If(bus.cyc & bus.stb & ~bus.ack, bus.ack.eq(1), If(bus.we, ...).Else(...))
<sb0> well without the .Else(), I guess
<whitequark> I don't see how that works
<sb0> it should simply be: sync += If(adr == 0, bus.dat_r.eq(...)), If(adr == 1, bus.dat_r.eq(...))
<sb0> so you remove the control signals from the dat_r generation, where they are not needed
<whitequark> bus.cyc=0 bus.stb=0 bus.we=1
<whitequark> then that would count as a write but it shouldn't
<sb0> no, the If(bus.we, ...) is inside the If(bus.cyc ...)
<whitequark> oh
<whitequark> nah, that won't work because of how i strobe read/write/etc
GitHub78 has joined #m-labs
<GitHub78> [si5324_test] whitequark pushed 1 new commit to master: https://github.com/m-labs/si5324_test/commit/9662c9222504e5d367d0f26839efaf6480b27d0e
<GitHub78> si5324_test/master 9662c92 whitequark: I2CMaster: simplify wishbone read logic.
GitHub78 has left #m-labs [#m-labs]
<whitequark> sb0: fixed dat_r
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
<GitHub87> [artiq] jordens pushed 1 new commit to master: https://git.io/v6e4V
<GitHub87> artiq/master 92f3757 Robert Jordens: spi: give wb-reads a register level
<bb-m-labs> build #572 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/572
rohitksingh1 has joined #m-labs
<bb-m-labs> build #285 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/285
rohitksingh1 has quit [Read error: Connection reset by peer]
rohitksingh has quit [Ping timeout: 250 seconds]
<bb-m-labs> build #847 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/847
fengling has joined #m-labs
rohitksingh has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
rohitksingh has quit [Read error: Connection reset by peer]
rohitksingh has joined #m-labs
rohitksingh has quit [Read error: Connection reset by peer]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
<cr1901_modern> sb0: Can we turn off the synthesis on/off directives in migen?
<sb0> why?
<cr1901_modern> sb0: Because yosys complains anytime they're there, and clifford won't add an option to suppress them
<cr1901_modern> it's for the IceStorm backend only that I would want to turn them off, or replace them with `ifdef whatever
<sb0> why not actually *support* them? even though they're hacky, they're pretty much a de-facto standard
<cr1901_modern> yosys DOES support them, it just complains when they're there :P.
<cr1901_modern> I just wanted a way to suppress the messages as in "I know what I'm doing, leave me alone"
<larsc> run the files through sed as a preprocessor ;)
rohitksingh1 has joined #m-labs
fengling has joined #m-labs
rohitksingh has quit [Ping timeout: 258 seconds]
fengling has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
rohitksingh1 has quit [Ping timeout: 258 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
awallin__ has quit [Ping timeout: 250 seconds]
awallin__ has joined #m-labs
awallin__ has quit [Ping timeout: 258 seconds]
awallin__ has joined #m-labs
sandeepkr__ has quit [Quit: Leaving]
fengling has joined #m-labs
sandeepkr has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
awallin__ has quit [Quit: No Ping reply in 180 seconds.]
awallin has joined #m-labs
fengling has joined #m-labs
mumptai has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
<GitHub78> [artiq] jordens pushed 1 new commit to master: https://git.io/v6eyu
<GitHub78> artiq/master e7d6ad2 Robert Jordens: browser: cleanup dir/file restore, closes #527
<bb-m-labs> build #573 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/573
<bb-m-labs> build #286 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/286
<bb-m-labs> build #848 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/848
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
flaviusb has left #m-labs [#m-labs]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
FelixVi has joined #m-labs