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
[X-Scale] has joined #m-labs
X-Scale has quit [Ping timeout: 264 seconds]
[X-Scale] is now known as X-Scale
kaolpr has quit [Ping timeout: 245 seconds]
kaolpr has joined #m-labs
<GitHub-m-labs> [misoc] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/7f63aff531a62aa5979a115e06c2ffc39d405588
<GitHub-m-labs> misoc/master 7f63aff Sebastien Bourdeauducq: cpu_interface: define consts with group lengths in Rust
<bb-m-labs> build #434 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/434
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/560889372f3dc0e5ad8bca42dea78bed6e94f376
<GitHub-m-labs> artiq/master 5608893 Sebastien Bourdeauducq: firmware: grabber support
felix[m]1 has quit [*.net *.split]
felix[m]1 has joined #m-labs
felix[m]1 has quit [Ping timeout: 240 seconds]
jfng has quit [Ping timeout: 260 seconds]
X-Scale has quit [*.net *.split]
marbler has quit [Ping timeout: 277 seconds]
X-Scale has joined #m-labs
kaolpr has quit [*.net *.split]
Gurty has quit [*.net *.split]
dlrobertson has quit [*.net *.split]
kaolpr has joined #m-labs
Gurty has joined #m-labs
dlrobertson has joined #m-labs
X-Scale has quit [Ping timeout: 240 seconds]
sb0 has quit [*.net *.split]
cyrozap has quit [*.net *.split]
balrog has quit [*.net *.split]
cr1901_modern has quit [*.net *.split]
attie has quit [*.net *.split]
balrog has joined #m-labs
cyrozap has joined #m-labs
sb0 has joined #m-labs
balrog has quit [Max SendQ exceeded]
cr1901_modern has joined #m-labs
attie has joined #m-labs
balrog_ has joined #m-labs
balrog_ is now known as balrog
ChanServ has quit [*.net *.split]
swivel has quit [*.net *.split]
cr1901_modern has quit [*.net *.split]
attie has quit [*.net *.split]
sb0 has quit [*.net *.split]
cyrozap has quit [*.net *.split]
kaolpr has quit [*.net *.split]
Gurty has quit [*.net *.split]
dlrobertson has quit [*.net *.split]
mithro has quit [*.net *.split]
_florent_ has quit [*.net *.split]
Ishan_Bansal has quit [*.net *.split]
Ultrasauce has quit [*.net *.split]
bb-m-labs has quit [*.net *.split]
kuldeep has quit [*.net *.split]
ohsix has quit [*.net *.split]
acathla has quit [*.net *.split]
rjo has quit [*.net *.split]
gric has quit [*.net *.split]
balrog has quit [*.net *.split]
siruf has quit [*.net *.split]
stekern has quit [*.net *.split]
Astro- has quit [*.net *.split]
rqou has quit [*.net *.split]
kristianpaul has quit [*.net *.split]
edef has quit [*.net *.split]
attie has joined #m-labs
Gurty has joined #m-labs
ChanServ has joined #m-labs
reportingsjr has joined #m-labs
jaeckel has joined #m-labs
q3k has joined #m-labs
whitequark has joined #m-labs
_whitelogger has joined #m-labs
rohitksingh has joined #m-labs
<bb-m-labs> build #1582 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1582
rohitksingh has quit [Quit: Leaving.]
<bb-m-labs> build #2398 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2398 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<whitequark> cjbe: fixed, sorry about that
<GitHub-m-labs> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/2e09307d8d4b0b60294f5c72c202d3021f86d3fa
<GitHub-m-labs> artiq/master 2e09307 whitequark: firmware: use writeln instead of write in UART logger.
felix[m] has joined #m-labs
X-Scale has joined #m-labs
<bb-m-labs> build #1583 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1583
<bb-m-labs> build #2399 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2399 blamelist: whitequark <whitequark@whitequark.org>
jfng has joined #m-labs
marbler has joined #m-labs
rohitksingh_work has joined #m-labs
mumptai has joined #m-labs
FabM has joined #m-labs
kaolpr has quit [Ping timeout: 245 seconds]
FabM is now known as FabM_cave
mumptai has quit [Remote host closed the connection]
cjbe__ has joined #m-labs
<bb-m-labs> build #1584 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1584
cjbe__ has quit [Ping timeout: 256 seconds]
kaolpr has joined #m-labs
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1016: At some point the asyncio is calling:... https://github.com/m-labs/artiq/issues/1016#issuecomment-392704472
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1016: i.e. asyncio is asking for a stream UDP (proto=17) address, which is obviously not possible. Without the patch, the error is masked, as ``_ipaddr_info`` disregards the type/proto combination. https://github.com/m-labs/artiq/issues/1016#issuecomment-392706068
tpw_rules has joined #m-labs
<tpw_rules> hey whitequark
<GitHub-m-labs> [artiq] sbourdeauducq closed issue #1016: _ipaddr_info monkey_patch breaks UDP https://github.com/m-labs/artiq/issues/1016
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to release-3: https://github.com/m-labs/artiq/commit/1afcf8b459c180400b0200bced6b90adfde80b4d
<GitHub-m-labs> artiq/release-3 1afcf8b Sebastien Bourdeauducq: monkey_patches: work around Python issue 33678. Closes #1016
<bb-m-labs> build #1585 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1585
<bb-m-labs> build #2400 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2400 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
Gurty has quit [Ping timeout: 245 seconds]
Gurty has joined #m-labs
<tpw_rules> so i'm trying to convert a real basic design to verilog and i must be missing something. https://pastebin.com/gcM7uGZd is this usage not supported yet? i just kinda extrapolated from reading the source
<bb-m-labs> build #1586 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1586
<bb-m-labs> build #2401 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2401 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<sb0> tpw_rules, set(m.led) isn't doing what you think it does
<sb0> tpw_rules, {m.led}
<tpw_rules> guh you're right. that always catches me with bytes()
<tpw_rules> s/that/a similar thing/
rohitksingh_work has quit [Read error: Connection reset by peer]
<GitHub69> [smoltcp] dlrobertson opened issue #222: [RFC]: Break out the core modules into cargo workspaces https://github.com/m-labs/smoltcp/issues/222
<GitHub138> [smoltcp] whitequark commented on issue #222: I personally don't think this is worth it. The compilation time of smoltcp is less than a second last time I checked, there is no global data involved, and all functionality that can bloat unrelated codepaths is gated with feature flags.... https://github.com/m-labs/smoltcp/issues/222#issuecomment-392787569
rohitksingh has joined #m-labs
balrog has quit [Quit: Bye]
<GitHub146> [smoltcp] dlrobertson commented on issue #222: `iface` is compiled regardless. Yes you can disable all the socket types, but IIRC `Interface` etc is still compiled in.... https://github.com/m-labs/smoltcp/issues/222#issuecomment-392793688
<GitHub16> [smoltcp] dlrobertson commented on issue #222: Primarily your comment [here](https://github.com/m-labs/smoltcp/issues/54#issuecomment-339172433) made me think this could be a possibility now.... https://github.com/m-labs/smoltcp/issues/222#issuecomment-392794567
balrog has joined #m-labs
<sb0> whitequark, any progress on fixing the compiler?
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/8fd57e6ccb6e5070d3dc988a9d5550b295621d72
<GitHub-m-labs> artiq/master 8fd57e6 Sebastien Bourdeauducq: kasli_tester: add Sampler and Zotino support
rohitksingh has quit [Quit: Leaving.]
balrog has quit [Quit: Bye]
balrog has joined #m-labs
<tpw_rules> https://github.com/tpwrules/pigen is this useful to anybody
<GitHub171> [smoltcp] batonius commented on issue #219: Looks good to me, I would only suggest adding a trivial caching mechanism, for example, to remember the last IP and the path found and to check each query against it first before doing a full search, but that could be done later as a separate PR. https://github.com/m-labs/smoltcp/pull/219#issuecomment-392806552
<GitHub118> [smoltcp] batonius commented on issue #219: Looks good to me, I would only suggest adding a trivial caching mechanism, for example, to store the last IP and the path found and to check each query against it first before doing a full search, but that could be done later as a separate PR. https://github.com/m-labs/smoltcp/pull/219#issuecomment-392806552
mumptai has joined #m-labs
<bb-m-labs> build #1587 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1587
<bb-m-labs> build #2402 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2402 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<whitequark> sb0: yes
<whitequark> I'm comparing the new implementation to the old one now
<tpw_rules> whitequark: https://github.com/tpwrules/pigen this was today's little project. i'm not sure if it fits your vision
rohitksingh has joined #m-labs
<whitequark> that's just myhdl
<whitequark> I really don't like the magic `is` and `next_state =` though
<tpw_rules> oh it is?
<tpw_rules> i more just wanted a way to use python if statements
<tpw_rules> and i think .eq is really really clunky. but that's me
<tpw_rules> maybe we can discuss design reasoning cause i don't understand why it works like it does
<whitequark> elaborate?
<whitequark> the main bad thing about .eq is how it changes meaning based on whether it's in comb or sync and so you have the NextValue hack in FSMs
mumptai has quit [Quit: Verlassend]
<tpw_rules> like i don't understand the division between comb and sync if sync logic also has a lot of comb in it
<whitequark> it's the other way around
<tpw_rules> i mean in the code
<whitequark> comb is for combinatorial assignment to signals, sync is for synchronous assignment -with a specific clock domain-
<whitequark> (but it uses sys as the default domain)
<sb0> .eq() can be replaced with context managers and "signal.next = ..."
<sb0> while keeping the same principles, no touching the Python AST
<tpw_rules> i guess i don't really understand the difference between a python variable and a Signal. like x = y + 1 vs x.eq(y+1)
<whitequark> a python variable is just a variable in the interpreter, a Signal corresponds to a wire or reg in the generated HDL
<tpw_rules> if x and y are Signals, is x & y a Signal too? or is it just some expression type
<whitequark> it is a signal
<whitequark> this sugar is described in the manual here: https://m-labs.hk/migen/manual/fhdl.html#operators
<tpw_rules> so it's not a signal it's an operator
<whitequark> right, s/signal/migen value/
<whitequark> signals are migen values, operators are too
<whitequark> x & y translates to x & y in HDL
<tpw_rules> what if you say z = x & y; v.eq(z & w). does that come out v = (x & y) & w?
<whitequark> assign v = (x & y) & w;
<whitequark> try it
<tpw_rules> i guess the distinction between Signals and python vars is the difference between migen and myhdl?
<whitequark> that's a strange way to put it
<whitequark> if you write something like
<whitequark> z = x & y; v.eq(z & w); t.eq(z & q);
<whitequark> you get two assign statements like
<whitequark> assign v = (x & y) & w; assign t = (x & y) & q;
<tpw_rules> well yes.
<whitequark> if you make z a signal then you'll have assign z and then z will be used instead of duplicating x & y everywhere.
<whitequark> it doens't make a semantic difference
<GitHub78> [smoltcp] whitequark commented on issue #222: > iface is compiled regardless. Yes you can disable all the socket types, but IIRC Interface etc is still compiled in.... https://github.com/m-labs/smoltcp/issues/222#issuecomment-392846443
<tpw_rules> you prefer the NextValue hack to using `is`?
<GitHub-m-labs> [artiq] jordens commented on issue #1016: thanks! https://github.com/m-labs/artiq/issues/1016#issuecomment-392848795
<GitHub43> [smoltcp] whitequark commented on pull request #219 ced197f: I think `^` is the default operator. https://github.com/m-labs/smoltcp/pull/219#discussion_r191495133
<GitHub80> [smoltcp] whitequark commented on pull request #219 ced197f: This should just be `update`. https://github.com/m-labs/smoltcp/pull/219#discussion_r191495961
<GitHub75> [smoltcp] whitequark commented on pull request #219 ced197f: This adds a default IPv4 *route* (i.e. a single route is added), not *gateway* (which would imply that other routes might use the same gateway if none is specified). Also docstring and IPv6 needs to be changed. https://github.com/m-labs/smoltcp/pull/219#discussion_r191496271
<GitHub57> [smoltcp] whitequark commented on pull request #219 ced197f: Nit: `[None; 1]` here and `[None; 2]` in the other example as a demonstration that you don't have to list every item explicitly. https://github.com/m-labs/smoltcp/pull/219#discussion_r191495400
<GitHub103> [smoltcp] whitequark commented on pull request #219 ced197f: I think this can be an `assert!` or even `debug_assert!` since this is not a user-accessible API. https://github.com/m-labs/smoltcp/pull/219#discussion_r191496540
<tpw_rules> why not split FSMs into comb and sync too
<tpw_rules> so you're like fsm.comb["READY"] += something
mumptai has joined #m-labs
FabM_cave has quit [Quit: ChatZilla 0.9.93 [Firefox 52.8.0/20180509233012]]
<tpw_rules> i think i'm going to try that context manager idea for the main code though
<tpw_rules> for migen itself*
rohitksingh has quit [Quit: Leaving.]
cjbe__ has joined #m-labs
<tpw_rules> context manager support. it needs a look over and some documentation but hopefully it fits with migen
<tpw_rules> i'm gonna tweak my pigen thing to work with this also in case that's interesting
jbqubit has joined #m-labs
<jbqubit> Running latest master (4.0.dev+1085.g8fd57e6c) on Sayma. Getting repeated lockups of coms uP. Is anybody else seeing this?
cjbe__ has quit [Ping timeout: 240 seconds]
<jbqubit> Also see on serial terminal... WARN(runtime::session): wrong magic from *:0
mumptai has quit [Remote host closed the connection]
<jbqubit> When running the same program as startup/idle kernel it runs without error.
<jbqubit> But the idle kernel completes instantly with no LED flashing. Is the idle kernel timebase is broken? 1 sec delays are <<< 1 sec
<jbqubit> The startup kernel also completes instantly. The startup kernel I've loaded ought to run for 40 seconds.
<jbqubit> Unrelated issue... $ artiq_coreconfig Traceback (most recent call last): File "/home/britton/.local/bin/artiq_coreconfig", line 11, in <module> load_entry_point('artiq', 'console_scripts', 'artiq_coreconfig')() File "/home/britton/miniconda3/envs/artiq-dev/lib/python3.5/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/britton/
<jbqubit> scratch [19:28]