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
<cr1901_modern> q3k: https://twitter.com/q3k/status/965009852719394816 Why does the uname contain "xilinx"?
<q3k> it's xilinx linux fork for zynq
<cr1901_modern> Oh so scopes have Zynqs in them nowadays?
<q3k> yep, the new siglents do
<q3k> zynq 7020 + HMCAD1511-7
<q3k> we have our own bitstream for it that boots linux and should be able to capture samples to DDR3 soon (tm)
<q3k> not sure if I should prioritize getting samples or running doom :D
* cr1901_modern wouldn't know. ENOSCOPE, ENOSPACE, ENOMONEY
<q3k> the 1202x-e is $400 iirc
<q3k> so it's not super expensive - and it's pretty oomphy for that price tag
<q3k> but once we have our own code for it it should be evne oomphier :D
<q3k> G33KatWork is also working on getting the 1104x-e/1204x-e supported - they're the 4-channel versions
<q3k> they're also 7020/HMCAD1511-7 based, but a totally different board layout and a lot of the peripherals are changes
<cr1901_modern> Hmmm... _maybe_ within my price range if it comes w/ a good probe
<q3k> comes with two meh-grade 200MHz probes
<q3k> single-ended
<q3k> it'd be really nice if the scopes had 50ohm termination, but that's unfortunately not the case
<cr1901_modern> It's 1Mega term?
<cr1901_modern> 1megaohm*
<q3k> yeah
<q3k> 1Mohm, 15pf, 400V
<cr1901_modern> Somehow I don't see myself giving a crap about 15pf for my use case lol
<GitHub40> [smoltcp] hjr3 commented on pull request #168 03c3f55: I made a single `set_reserved` function that sets both reserved fields to `0`. https://github.com/m-labs/smoltcp/pull/168#discussion_r168937617
hozer has joined #m-labs
<sb0> rjo, ah, right. it's the same error I reported in the misoc issue
<sb0> whitequark, how is the camera driver?
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<GitHub130> [misoc] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/3072d7944e8dd663a63857ad8c3b0e756eb53b0c
<GitHub130> misoc/master 3072d79 Sebastien Bourdeauducq: sayma: use recommended IOSERDES clocking (AR 67885)
<bb-m-labs> build #387 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/387
<sb0> _florent_, I don't understand why you need a 20x (!) clock for serwb
<sb0> IMO there should be only 2 clocks in addition to the system one: a 2x clock and a 10x clock
<sb0> and those should be generated in the system CRG, just like it's done for SDRAM, without a second PLL
<sb0> this also solves the problem of the PLL being in the platform-independent phy.py while it is actually platform-dependent (ultrascale needs bufgce_div, a7 bufg)
<sb0> for operating at half-rate (625Mbps) you need a 5x clock instead
<sb0> well you may need a second PLL since the clock ratios don't work out
<sb0> also I'd focus on half-rate only to simplify things
<sb0> _florent_, have you noticed that Sayma has the -1 speed grade with a maximum MMCM VCO frequency of 1200MHz, and so your 1250 is out of specs?
mumptai_ has joined #m-labs
<GitHub166> [smoltcp] dlrobertson commented on pull request #167 ee77812: I was hesitant to include this, because we are beginning to test the packet is well formed if we use `==` here. We do need to do additional checks based on the type. Otherwise `check_len` will not return `Error::Truncated` for a option with `data[field::LENGTH] == 1` and `data[field::TYPE] == Type::PrefixInformation`, which could panic later if the pr
<GitHub73> [smoltcp] dlrobertson commented on pull request #167 ee77812: Used impl block docs :smile: As a whole I did not prefix type specific methods with the option type name. Let me know if this would be a good addition. https://github.com/m-labs/smoltcp/pull/167#discussion_r168939174
<GitHub189> [smoltcp] dlrobertson commented on pull request #167 ee77812: Wasn't sure how to break up the groupings of constants. If this is not readable, I'm more than happy to iterate on this. https://github.com/m-labs/smoltcp/pull/167#discussion_r168939163
mumptai has quit [Ping timeout: 256 seconds]
<sb0> oh I see, this 20x clock is because the serdes only has ratios of 4 and 8
<sb0> well, in that case, there is no way around non-integer gearboxes
<sb0> this is dumb
<sb0> _florent_, in this case, what about operating at 1000Mbps? then we can simply recycle the sys4x clock from the sdram.
<sb0> uses less fpga resources, plus fewer clocks = fewer things that can go wrong
<sb0> cr1901_modern, 15pF is a lot even with relatively simple circuits
<GitHub175> [smoltcp] dlrobertson commented on pull request #168 03c3f55: `data[3] & 0x7` if you want to maintain the reserved bits. If you don't want to maintain the reserved bits `0x1` should be fine right? https://github.com/m-labs/smoltcp/pull/168#discussion_r168939471
<GitHub130> [smoltcp] dlrobertson commented on pull request #168 03c3f55: nit: I think `clear_reserved` is more readable. https://github.com/m-labs/smoltcp/pull/168#discussion_r168939220
<GitHub122> [smoltcp] dlrobertson commented on pull request #168 03c3f55: nit: section 4.5 https://tools.ietf.org/html/rfc8200#section-4.5 https://github.com/m-labs/smoltcp/pull/168#discussion_r168939329
<GitHub81> [smoltcp] dlrobertson commented on pull request #168 03c3f55: super super tiny nit:... https://github.com/m-labs/smoltcp/pull/168#discussion_r168939236
<GitHub116> [smoltcp] dlrobertson commented on pull request #168 03c3f55: `let raw = data[3] & 0xf9` should be sufficient. https://github.com/m-labs/smoltcp/pull/168#discussion_r168939412
futarisIRCcloud has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh1 has joined #m-labs
<GitHub149> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/6ae1cc20aac57abb9fbfdb9e32f06a2a8fb1b92f
<GitHub149> artiq/master 6ae1cc2 Sebastien Bourdeauducq: conda: bump misoc (#908)
<GitHub89> [artiq] sbourdeauducq commented on issue #908: Done. Everything seems to be working now, both with and without SAWG. Please test on your boards.... https://github.com/m-labs/artiq/issues/908#issuecomment-366492097
rohitksingh has quit [Read error: Connection reset by peer]
rohitksingh1 has quit [Read error: Connection reset by peer]
rohitksingh has joined #m-labs
rohitksingh1 has joined #m-labs
<bb-m-labs> build #1219 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1219
<bb-m-labs> build #732 of artiq-win64-test is complete: Warnings [warnings python_unittest] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/732 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<bb-m-labs> build #2062 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2062
rohitksingh has quit [Quit: Leaving.]
mumptai_ has quit [Quit: Verlassend]
<GitHub91> [artiq] hartytp commented on issue #908: Thanks! Will test on Monday. https://github.com/m-labs/artiq/issues/908#issuecomment-366502901
rohitksingh1 has quit [Quit: Leaving.]
rohitksingh has joined #m-labs
<GitHub177> [artiq] jordens pushed 3 new commits to master: https://github.com/m-labs/artiq/compare/6ae1cc20aac5...c87636ed2bbf
<GitHub177> artiq/master c87636e Robert Jordens: si5324: fix cfb21ca
<GitHub177> artiq/master caedcd5 Robert Jordens: ad9912: cleanup, document init()
<GitHub177> artiq/master 75c8942 Robert Jordens: ad991[02]: sysclk can be 1 GHz
<bb-m-labs> build #1220 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1220
<bb-m-labs> build #2063 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2063 blamelist: Robert Jordens <jordens@gmail.com>
rohitksingh1 has joined #m-labs
rohitksingh has quit [Ping timeout: 265 seconds]
attie has quit [Ping timeout: 256 seconds]
attie has joined #m-labs
rohitksingh has joined #m-labs
<GitHub3> [artiq] hartytp commented on issue #908: @enjoy-digital Not sure what your current priorities are, but it would really help me if you could prioritise fixing the serwb issues that @sbourdeauducq highlighted this week. https://github.com/m-labs/artiq/issues/908#issuecomment-366519864
<GitHub15> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/83abdd283a93f968947753acd6672f0172b1eab8
<GitHub15> artiq/master 83abdd2 Sebastien Bourdeauducq: drtio: signal stable clock input to transceiver
rohitksingh has quit [Quit: Leaving.]
<_florent_> sb0: on sayma, for serwb, VCO is not running at 1250MHz but 625MHz
<_florent_> sb0:https://github.com/m-labs/artiq/blob/master/artiq/gateware/targets/sayma_amc.py#L168
<_florent_> sb0: vco_div = 2
<bb-m-labs> build #1221 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1221
<bb-m-labs> build #2064 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2064 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
<sb0> _florent_, I thought that was just setting some divider at the output of the VCO itself
<sb0> let me check
<sb0> you're right, that's in the clkin input path
<sb0> okay, so there isn't the vco out of specs problem, but still - the clocking is overly complicated, and doesn't allow the use of the recommended BUFGCE_DIV
sb0 has quit [Read error: Connection reset by peer]
sb0 has joined #m-labs
<cr1901_modern> sb0: Since mithro and I were talking about this in #openfpga, what do you think about something like this for adding assertion support to migen? https://github.com/cr1901/misoc-spi-tb
<cr1901_modern> I tried adding it directly to migen, but I ran into too many issues trying to get it to work w/ modifying migen directly
<cr1901_modern> In the linked repo, you write your asserts in Verilog, but I provide some macros using pyexpander which will automatically convert the equivalent signal to its verilog name
<sb0> okay, we have DRTIO on kasli
<sb0> the GTP PLL is another piece of trash, if you send it anything other than 0 or a valid clock, even when it is in reset/power-down state, it enters fucked-up mode where it indicates lock but makes sure that nothing in the rest of the transceiver works
<sb0> typ
<sb0> ical xilinx design
<cr1901_modern> it's prob written in the manual somewhere that it's UB if you do anything other than send 0 or valid (not that this justifies the behavior)
<sb0> while you assert the reset pin of something, you don't want it to look at any other pin
<sb0> speaking of things that are trash, systemd-coredump is also worth a mention
<sb0> it's hosing my computer right now, because it coredumps a process, crashes while doing that, then starts another systemd-coredump that also crashes, etc. etc.
* cr1901_modern inserts uninspired "systemd and trash is redundant" quip
attie has quit [Ping timeout: 252 seconds]
attie has joined #m-labs
<sb0> you can't even disable this thing entirely, the best you can do is tell it not to store the output it has generated (while driving the load average to 30+)
sb0 has quit [Quit: Leaving]
sb0 has joined #m-labs
Gurty has quit [Ping timeout: 256 seconds]
<GitHub82> [artiq] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/83abdd283a93...a93decdef2ea
<GitHub82> artiq/master a93decd Sebastien Bourdeauducq: kasli: disable DRTIO IBUFDS_GTE2 until Si5324 is initialized
<GitHub82> artiq/master 94c20df Sebastien Bourdeauducq: drtio: fix misleading GenericRXSynchronizer comment
Gurty has joined #m-labs
<GitHub162> [smoltcp] hjr3 commented on pull request #168 f74752b: Yup, too many `3`'s in this line of code. Fixed. https://github.com/m-labs/smoltcp/pull/168#discussion_r168958667
<GitHub99> [smoltcp] hjr3 commented on pull request #168 f74752b: Sure, fixed. https://github.com/m-labs/smoltcp/pull/168#discussion_r168958673
<GitHub194> [smoltcp] hjr3 commented on pull request #168 f74752b: Oops, fixed. https://github.com/m-labs/smoltcp/pull/168#discussion_r168958678
<GitHub43> [smoltcp] hjr3 commented on pull request #168 f74752b: fixed https://github.com/m-labs/smoltcp/pull/168#discussion_r168958685
rohitksingh has joined #m-labs
<bb-m-labs> build #1222 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1222
<bb-m-labs> build #2065 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2065 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
rohitksingh1 has quit [Quit: Leaving.]
rohitksingh has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
AceChen has joined #m-labs
<GitHub46> [artiq] hartytp commented on issue #854: >> I cannot find it; but I just tried with another RJ45 transceiver that I had planned to use for Kasli, and I got a link.... https://github.com/m-labs/artiq/issues/854#issuecomment-366543265
<GitHub70> [artiq] hartytp commented on issue #854: @gkasprow @marmeladapk Can you make this the absolute top priority for this week, please? Ethernet and a small number of other issues have stopped us from getting Sayma working for way too long now, and I'd love to see them resolved so I can start testing Sayma properly! https://github.com/m-labs/artiq/issues/854#issuecomment-366543437
mumptai has joined #m-labs
attie has quit [Ping timeout: 256 seconds]
attie has joined #m-labs
<rjo> there is still something wrong with the clock constraints. rtio_internal <-> rtio_external and derivatives should be false paths.
<rjo> *derivates
mumptai has quit [Quit: Verlassend]