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
Gurty has quit [Read error: Connection reset by peer]
<GitHub> [artiq] dleibrandt opened issue #672: SPI intermittent output failure https://github.com/m-labs/artiq/issues/672
Gurty has joined #m-labs
<GitHub> [artiq] sbourdeauducq commented on issue #671: This is coming from python asyncio. How large is too large? https://github.com/m-labs/artiq/issues/671#issuecomment-280530194
<GitHub> [artiq] sbourdeauducq commented on issue #672: Can you post kernel code that produces this issue? https://github.com/m-labs/artiq/issues/672#issuecomment-280530430
<sb0> larsc, sure. i already expressed what I think of the PCS.
<sb0> larsc, the comma-align I'm doing is probabilistic only because the xilinx garbage does not let me shift the parallel clock divider in a deterministic way. all I can do is reset it and get another random phase.
<sb0> and I need to touch the clock divider because I want precisely fixed latency. if you don't care too much about latency, you can comma-align with a barrel shifter, deterministically and without hacks
<sb0> that comma aligner will also tell you by how much the transceiver clock needs to be shifted to achieve a given latency. but doing it isn't easy.
<GitHub> [artiq] whitequark commented on issue #671: I investigated this a bit, the default limit in asyncio is 64k (https://github.com/python/cpython/blob/master/Lib/asyncio/streams.py#L22); calling `open_connection(limit=...)` will fix the issue. https://github.com/m-labs/artiq/issues/671#issuecomment-280531591
<GitHub> [artiq] sbourdeauducq commented on issue #671: Yes, we're already doing that, but the current value is apparently too small - hence my question. https://github.com/m-labs/artiq/issues/671#issuecomment-280531773
deepbook5broo has joined #m-labs
deepbook5broo has left #m-labs [#m-labs]
<cr1901_modern> Huh... wonder why the SPI core is refusing to send the last few bits...
<whitequark> is the SPI bug still not fixed?
<cr1901_modern> It's a new one it seems
<cr1901_modern> I'd have to see the code used, but if the same input works < 2MHz xfer but fails > 2 MHz xfer, I don't think simulation is going to help me
<sb0> whitequark, different one, see the new issue
<sb0> but we need to confirm first that this is indeed a spi core issue.
<sb0> rjo, we don't actually need two loop timings on RTM. we can use RTM_MASTER_AUX_CLK_N for the DRTIO link.
<sb0> this is driven by the HMC clock chip. it is unfortunately not connected to a transceiver clock input, so it'll have to go through the fabric and GTGREFCLK
<sb0> this is what xilinx has to say about GTGTREFCLK: https://www.xilinx.com/support/answers/53500.html
<sb0> I would bet this is not a problem at 1Gbps, since the regular IOSERDES are fine with that "noisy" clock
<sb0> we can also just use the IOSERDES if the transceiver acts up when we touch GTGREFCLK.
<sb0> hmm, RTM_MASTER_AUX_CLK may have some phase uncertainty though, depending how we end up clocking the whole thing
<sb0> whitequark, yesterday you asked me what the next tasks should be after DMA.
<sb0> #669 "Dashboard prevents connection to coredevice" and #662 keepalive are certainly blocking for 3.0
<sb0> larsc, this paper is a good find
<sb0> so even if we get RXSLIDEMODE=PMA to work, the xilinx garbage will still produce an uncertainty of one UI
<sb0> "Their experimental results indicate that the internal alignment circuit of the GTX/GTP transceiver can perform only the even-UI phase-shifts of RX_CLK."
<sb0> "For the odd-UI phase differences between TX_CLK and RX_CLK, their solution was to reset the transceiver"
<sb0> _florent_, so we shouldn't look into RXSLIDEMODE=PMA I think. the slow link startup time is OK.
<sb0> _florent_, partial transceiver resets may help if link startup time becomes a problem
<sb0> "The excessive jitter of RX_CLK may cause the DCM and PLL to lose lock," xilinx shit is always so poorly designed. can't make PLLs that would work with their transceiver's recovered clock, no. they prefer spending their time on irrelevant stuff like the PCS
<sb0> or stupid transceiver wizard GUIs
<_florent_> sb0: ok, I'm going to read the paper
<whitequark> sb0: unfortunately I have to worry.
<whitequark> in my laptop the keyboard is inseparable from the topcase
<whitequark> and it's the part that has broken, at this point, four times already...
<GitHub> [artiq] cjbe commented on issue #671: I don't know how large is too large, but several colleagues of mine have hit the ~400k double limit doing things that do not seem like an abuse of the broadcasting system. For example broadcasting a long scope trace or a vector of photon time-stamps.... https://github.com/m-labs/artiq/issues/671#issuecomment-280606113
<larsc> the paper seems to use a virtex5, so not all restrictions must apply to series7 as well
<sb0> larsc, the 7-series datasheet also mention something about even/odd UIs for rxslide, so it's probably the same horseshit
rohitksingh has joined #m-labs
<GitHub> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/bd55436668bb8649b85a5ec9c50cd315109b8cc1
<GitHub> artiq/master bd55436 Sebastien Bourdeauducq: protocols: increase asyncio line limit. Closes #671
<GitHub> [artiq] sbourdeauducq pushed 1 new commit to release-2: https://github.com/m-labs/artiq/commit/c777ae8ae990dbd66d260e646296738aa0cdf1ac
<GitHub> artiq/release-2 c777ae8 Sebastien Bourdeauducq: protocols: increase asyncio line limit. Closes #671
tmbinc___ has quit [Remote host closed the connection]
mumptai has joined #m-labs
mumptai_ has joined #m-labs
mumptai has quit [Ping timeout: 260 seconds]
<GitHub> [artiq] dleibrandt commented on issue #672: Something like this:... https://github.com/m-labs/artiq/issues/672#issuecomment-280699456
<GitHub> [artiq] jordens commented on issue #672: I am worried about that `core.reset()`.... https://github.com/m-labs/artiq/issues/672#issuecomment-280703305
<GitHub> [artiq] jordens commented on issue #672: Something like this:... https://github.com/m-labs/artiq/issues/672#issuecomment-280699456
<GitHub> [artiq] sbourdeauducq commented on issue #672: There will be in the raw dump but decoding into VCD is not supported. @dleibrandt please provide the raw dump. https://github.com/m-labs/artiq/issues/672#issuecomment-280713749
<GitHub> [artiq] dleibrandt commented on issue #672: I've attached both below.... https://github.com/m-labs/artiq/issues/672#issuecomment-280717843
rohitksingh has quit [Quit: Leaving.]
mumptai_ has quit [Quit: Verlassend]