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
sandeepkr has joined #m-labs
kuldeep has quit [Read error: Connection reset by peer]
kuldeep has joined #m-labs
<sb0> larsc, you can use the preprocessor, it's ugly though
<sb0> and wont work if you have two instances with different params
<sb0> cr1901_modern, rtfs
<whitequark> sb0: btw, I suggest making github notify IRC of new comments in the repos
<sb0> ok
<whitequark> let me show you how to do it
<whitequark> sb0: run this: curl -u sbourdeauducq -XPOST https://api.github.com/repos/m-labs/$REPO/hooks/$hookId -d '{"events":["push", "pull_request", "pull_request_review_comment", "issues", "issue_comment", "commit_comment"]}'
<whitequark> where $REPO is obvious and $hookId is...
<whitequark> the field "id" from the JSON returned by curl -u sbourdeauducq https://api.github.com/repos/m-labs/$REPO/hooks
<whitequark> for the IRC hook.
<whitequark> it's ridiculous that they do not have the UI for it, I even complained to support but no
<GitHub181> [artiq] sbourdeauducq commented on commit c7844d5: test IRC hook https://git.io/vX72g
<whitequark> sb0: can you also configure GH to send a notice?
<whitequark> and I'll do the same with travis
<whitequark> er, with buildbot
<sb0> done
<whitequark> thanks
<whitequark> much easier to follow the conversations then...
sandeepkr__ has quit [Remote host closed the connection]
sandeepkr has quit [Remote host closed the connection]
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub159> [buildbot-config] whitequark pushed 1 new commit to master: https://github.com/m-labs/buildbot-config/commit/569fe8d4e6cbc5406ce26407e5311a8ddb3ecd85
<GitHub159> buildbot-config/master 569fe8d whitequark: Use notice on IRC.
bb-m-labs has joined #m-labs
<sb0> apparently the onchipUIS guys are doing a USB 3.0 PHY
<sb0> if that works, there would be a radical solution to the GTX issues
<cr1901_modern> I wonder how much more difficult it is than a 2.0 PHY (in a paper about bit stuffing, I've read a 2.0 PHY can be done in 1-2KLOCs. The hard part is digesting the spec)?
<sb0> and the "we want a hard CPU" people could also get one that doesn't stink
<sb0> cr1901_modern, USB 3.0 is 10Gbps, so you have more analog issues
<sb0> and KLOCs of what?
<cr1901_modern> sb0: Erm, I amend my prev comment. The paper was most likely discussing only the Serial Interface Engine part of the PHY
<cr1901_modern> and lines of verilog code
<cr1901_modern> USB's physical layer is differential pairs, correct? So the analog bits (i.e. the part that onchip is making) are "just" sophisticated differential transceivers?
rohitksingh_work has joined #m-labs
<cr1901_modern> Ahhh, *here's* the answer to rtfs-ing... https://github.com/m-labs/misoc/blob/master/misoc/cores/liteeth_mini/mac/wishbone.py#L35-L44. Looks like what I want to do can be done, but the addr decoding is now my responsibility.
<cr1901_modern> And that I'll have to generate all memory location registers (except the base address, provided by mem.h) myself.
rohitksingh has joined #m-labs
kaaliakahn has quit [Remote host closed the connection]
bentley` has quit [Remote host closed the connection]
sb0 has quit [Ping timeout: 248 seconds]
bentley` has joined #m-labs
FabM has joined #m-labs
mumptai has joined #m-labs
sb0 has joined #m-labs
kuldeep has quit [Ping timeout: 256 seconds]
kuldeep has joined #m-labs
<sb0> omg, chromium... loading https://m-labs.hk/solvespace/index.html uses almost half a gigabyte of RAM
<whitequark> 326M over here, but yeah
<whitequark> there is about 100M of JavaScript heap stuff there, and the rest is Chromium itself
<whitequark> Three.js is many things but efficient it is not very much
<sb0> whitequark, should the artiq-3.8 branch still be used for rust llvm?
<GitHub140> [artiq] sbourdeauducq pushed 2 new commits to drtio: https://git.io/vX5ec
<GitHub140> artiq/drtio 4d07974 Sebastien Bourdeauducq: drtio: reset link from CPU
<GitHub140> artiq/drtio f040e27 Sebastien Bourdeauducq: drtio: add timeout on FIFO get space request
<whitequark> sb0: nope
mumptai has quit [Remote host closed the connection]
<sb0> okay, then the doc needs an update
<GitHub96> [artiq] whitequark pushed 1 new commit to master: https://git.io/vX5T9
<GitHub96> artiq/master 2015fe9 whitequark: doc: update installing_from_source for LLVM 3.9 transitionl
kuldeep has quit [Ping timeout: 245 seconds]
kuldeep has joined #m-labs
kuldeep has quit [Max SendQ exceeded]
kuldeep has joined #m-labs
<bb-m-labs> build #196 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/196
rohitksingh has quit [Quit: Leaving.]
<bb-m-labs> build #386 of artiq-win64-test is complete: Warnings [warnings coveralls_upload] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/386 blamelist: whitequark <whitequark@whitequark.org>
<bb-m-labs> build #1096 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1096
<cr1901_modern> sb0: Did you check using Chrome's Task Manager? That same webpage for me requires- the tab alone- 150MB of RAM.
rohitksingh_work has quit [Ping timeout: 248 seconds]
rohitksingh_wor1 has joined #m-labs
rohitksingh_wor1 has quit [Ping timeout: 268 seconds]
rohitksingh_work has joined #m-labs
rohitksingh_work has quit [Read error: Connection reset by peer]
<GitHub141> [artiq] jordens commented on issue #553: https://github.com/m-labs/artiq/wiki/DMA https://git.io/vX52n
<rjo> sb0, whitequark: ^ i collected that from the issue and what i remembered from our discussion. please feel free to rip apart.
<GitHub191> [artiq] jordens pushed 1 new commit to phaser2: https://git.io/vX5aE
<GitHub191> artiq/phaser2 d678bb3 Robert Jordens: phaser: update sawg tests
<bb-m-labs> build #197 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/197
<GitHub192> [artiq] jordens pushed 1 new commit to phaser2: https://git.io/vX5aD
<GitHub192> artiq/phaser2 14ddcd2 Robert Jordens: Revert "dsp/Delay: reset_less"...
<bb-m-labs> build #198 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/198
<whitequark> rjo: i see nothing troublesome at all
<whitequark> there is a somewhat weird aspect of the design that rtio_output/rtio_input etc will gain a branch
<whitequark> if(record_mode) etc
<whitequark> however this is probably unaviodable if we want an ergonomic API
<GitHub58> [conda-recipes] jordens pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/56c35453480ea3a45982c2ddd42045a02000cc31
<GitHub58> conda-recipes/master 56c3545 Robert Jordens: jesd204b: bump
<rjo> whitequark: i was thinking we could push that branching into the gateware. the gateware would serialize the rtio events received from the register interface and either send them downstream (drtio) or record them locally in the DMA sequence.
<rjo> it needs to do that serialization anyway for DRTIO.
<whitequark> rjo: perfect
<whitequark> and it needs bidirectional DMA anyway
<whitequark> to record inputs
<bb-m-labs> build #249 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/249
<rjo> yes.
<rjo> whitequark: when we have the rust coroutines exposed as a better "with parallel", do you handle locks on e.g. the RTIO register API in software?
<whitequark> rjo: i'm not sure i see the analogy between rust coroutines and "with parallel"
<rjo> whitequark: iirc some time ago we wanted to (re-) implement "with parallel" so that each stmt is executed in a coroutine, i.e. without the starvation issue that the current implementation can suffer from.
<rjo> was that all in my head?
<whitequark> rjo: imo that plan is somewhere between "unnecessarily complicated" and "unrealistic"
<GitHub73> artiq/phaser2 342b9e9 Robert Jordens: phaser: cap phy data width to 64 temporarily
<GitHub73> artiq/phaser2 7664b22 Robert Jordens: phaser/conda: bump jesd204b
<GitHub73> [artiq] jordens pushed 2 new commits to phaser2: https://git.io/vX5Ka
<whitequark> I *think* the new LLVM coroutine support (which isn't even in 3.9 yet) will make that possible
<whitequark> but it's very complicated, and it's not yet clear how it interacts with our memory management scheme
<sb0> I don't think it's very complicated, but it's certainly slow
<sb0> for each event the CPU would have to iterate a list, select the soonest one
<sb0> plus the context switches
<rjo> i am ok with not doing it. i think the starvation issue is less likely to be an actual problem.
<whitequark> each event?
<whitequark> why would you need to do it for each event?!
<whitequark> oh wait, I realize why
<sb0> well you can have heuristics to not do it for each event
<whitequark> yeah, this is even worse than I thought
<sb0> but I think they'll still be slow
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
<sb0> sfps are fun, they really output all sorts of random data when the link is dying
<sb0> this is of course spiced up by the xilinx cdrs that can't tell you when they're locked
<sb0> and the garbage data output lasts for a good second
<sb0> sfp and/or gtx, I don't know what the culprit is...
<sb0> let me see if "no run length error for the past couple milliseconds" is a reliable test
<rjo> sure. those are limiting amplifiers. they crank up the gain until they think they see something.
<rjo> the SFPs at least.
<rjo> whitequark: can i pass a TList(TInt32) to a syscall by reference?
<rjo> whitequark: oh. struct artiq_list?
<whitequark> yep
<rjo> which was removed...
<whitequark> hrm, just recreate it
<rjo> sure.
FabM has quit [Quit: ChatZilla 0.9.93 [Firefox 45.5.0/20161115214506]]
FabM has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
sandeepkr has joined #m-labs
<bb-m-labs> build #199 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/199
<GitHub198> [artiq] sbourdeauducq pushed 1 new commit to drtio: https://git.io/vX55T
<GitHub198> artiq/drtio ba94ed8 Sebastien Bourdeauducq: drtio: check for absence of disparity errors before claiming RX ready
sandeepkr_ has joined #m-labs
<sb0> okay that works fine
<GitHub18> [artiq] jordens pushed 3 new commits to phaser2: https://git.io/vX5FE
<GitHub18> artiq/phaser2 0ee47e7 Robert Jordens: phaser: fix widths
<GitHub18> artiq/phaser2 bcde26f Robert Jordens: Revert "phaser: cap phy data width to 64 temporarily"...
<GitHub18> artiq/phaser2 641f071 Robert Jordens: runtime: support rtio data wider than 64 bit
sandeepkr has quit [Remote host closed the connection]
sandeepkr_ has quit [Remote host closed the connection]
<bb-m-labs> build #200 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/200
<GitHub102> [artiq] dleibrandt opened issue #623: Increase RTIO FIFO depths in class NIST_CLOCK https://git.io/vXdJy
<GitHub190> [artiq] dleibrandt commented on issue #622: @sbourdeauducq 's suggestion sounds good to me.... https://git.io/vXdTa
mumptai has joined #m-labs
<cr1901_modern> So TIL that one *can* treat two clocks of integers multiples from a Xilinx PLL as synchronous and in-phase*, but the process of making sure setup/hold times are satisifed is involved: https://forums.xilinx.com/t5/Spartan-Family-FPGAs/PLL-CLK-Signals-Synchronous-and-in-Phase-Clock-Crossing-Safe/td-p/261756 Anyone else ever need to do this?
<cr1901_modern> *(Synchronous if any crossings ensure data going to the slower domain is held for the correct number of cycles in the fast domain)
jaeckel has quit [Ping timeout: 250 seconds]
jaeckel has joined #m-labs
jaeckel has quit [Changing host]
jaeckel has joined #m-labs
<GitHub198> [artiq] jordens commented on issue #622: maybe also affected by #591 https://git.io/vXd98
mumptai has quit [Remote host closed the connection]
cr1901_modern1 has joined #m-labs
cr1901_modern has quit [Ping timeout: 256 seconds]