00:55
[X-Scale] has joined #m-labs
00:57
X-Scale has quit [Ping timeout: 264 seconds]
00:57
[X-Scale] is now known as X-Scale
02:04
kaolpr has quit [Ping timeout: 245 seconds]
02:04
kaolpr has joined #m-labs
02:04
<
GitHub-m-labs >
misoc/master 7f63aff Sebastien Bourdeauducq: cpu_interface: define consts with group lengths in Rust
02:27
<
GitHub-m-labs >
artiq/master 5608893 Sebastien Bourdeauducq: firmware: grabber support
02:37
felix[m]1 has quit [*.net *.split]
02:37
felix[m]1 has joined #m-labs
02:40
felix[m]1 has quit [Ping timeout: 240 seconds]
02:41
jfng has quit [Ping timeout: 260 seconds]
02:41
X-Scale has quit [*.net *.split]
02:42
marbler has quit [Ping timeout: 277 seconds]
02:42
X-Scale has joined #m-labs
02:44
kaolpr has quit [*.net *.split]
02:44
Gurty has quit [*.net *.split]
02:44
dlrobertson has quit [*.net *.split]
02:45
kaolpr has joined #m-labs
02:45
Gurty has joined #m-labs
02:45
dlrobertson has joined #m-labs
02:45
X-Scale has quit [Ping timeout: 240 seconds]
02:46
sb0 has quit [*.net *.split]
02:46
cyrozap has quit [*.net *.split]
02:46
balrog has quit [*.net *.split]
02:46
cr1901_modern has quit [*.net *.split]
02:46
attie has quit [*.net *.split]
02:47
balrog has joined #m-labs
02:47
cyrozap has joined #m-labs
02:47
sb0 has joined #m-labs
02:47
balrog has quit [Max SendQ exceeded]
02:47
cr1901_modern has joined #m-labs
02:47
attie has joined #m-labs
02:47
balrog_ has joined #m-labs
02:49
balrog_ is now known as balrog
02:50
ChanServ has quit [*.net *.split]
02:50
swivel has quit [*.net *.split]
02:50
cr1901_modern has quit [*.net *.split]
02:50
attie has quit [*.net *.split]
02:50
sb0 has quit [*.net *.split]
02:50
cyrozap has quit [*.net *.split]
02:50
kaolpr has quit [*.net *.split]
02:50
Gurty has quit [*.net *.split]
02:50
dlrobertson has quit [*.net *.split]
02:50
mithro has quit [*.net *.split]
02:50
_florent_ has quit [*.net *.split]
02:50
Ishan_Bansal has quit [*.net *.split]
02:50
Ultrasauce has quit [*.net *.split]
02:50
bb-m-labs has quit [*.net *.split]
02:50
kuldeep has quit [*.net *.split]
02:50
ohsix has quit [*.net *.split]
02:50
acathla has quit [*.net *.split]
02:50
rjo has quit [*.net *.split]
02:50
gric has quit [*.net *.split]
02:50
balrog has quit [*.net *.split]
02:50
siruf has quit [*.net *.split]
02:50
stekern has quit [*.net *.split]
02:50
Astro- has quit [*.net *.split]
02:50
rqou has quit [*.net *.split]
02:50
kristianpaul has quit [*.net *.split]
02:50
edef has quit [*.net *.split]
02:51
attie has joined #m-labs
02:51
Gurty has joined #m-labs
02:51
ChanServ has joined #m-labs
02:51
reportingsjr has joined #m-labs
02:51
jaeckel has joined #m-labs
02:51
q3k has joined #m-labs
02:51
whitequark has joined #m-labs
02:57
_whitelogger has joined #m-labs
03:03
rohitksingh has joined #m-labs
03:12
rohitksingh has quit [Quit: Leaving.]
03:17
<
whitequark >
cjbe: fixed, sorry about that
03:17
<
GitHub-m-labs >
artiq/master 2e09307 whitequark: firmware: use writeln instead of write in UART logger.
03:20
felix[m] has joined #m-labs
03:33
X-Scale has joined #m-labs
04:22
jfng has joined #m-labs
04:22
marbler has joined #m-labs
04:29
rohitksingh_work has joined #m-labs
05:36
mumptai has joined #m-labs
06:04
FabM has joined #m-labs
06:04
kaolpr has quit [Ping timeout: 245 seconds]
06:07
FabM is now known as FabM_cave
06:46
mumptai has quit [Remote host closed the connection]
07:19
cjbe__ has joined #m-labs
07:55
cjbe__ has quit [Ping timeout: 256 seconds]
08:37
kaolpr has joined #m-labs
09:21
tpw_rules has joined #m-labs
09:22
<
tpw_rules >
hey whitequark
10:08
<
GitHub-m-labs >
artiq/release-3 1afcf8b Sebastien Bourdeauducq: monkey_patches: work around Python issue 33678. Closes #1016
10:43
Gurty has quit [Ping timeout: 245 seconds]
10:55
Gurty has joined #m-labs
11:09
<
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
11:26
<
sb0 >
tpw_rules, set(m.led) isn't doing what you think it does
11:26
<
sb0 >
tpw_rules, {m.led}
11:27
<
tpw_rules >
guh you're right. that always catches me with bytes()
11:27
<
tpw_rules >
s/that/a similar thing/
12:02
rohitksingh_work has quit [Read error: Connection reset by peer]
14:01
<
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
14:07
rohitksingh has joined #m-labs
14:13
balrog has quit [Quit: Bye]
14:22
balrog has joined #m-labs
14:23
<
sb0 >
whitequark, any progress on fixing the compiler?
14:37
<
GitHub-m-labs >
artiq/master 8fd57e6 Sebastien Bourdeauducq: kasli_tester: add Sampler and Zotino support
14:45
rohitksingh has quit [Quit: Leaving.]
14:48
balrog has quit [Quit: Bye]
14:50
balrog has joined #m-labs
14:54
<
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
14:54
<
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
15:00
mumptai has joined #m-labs
15:55
<
whitequark >
sb0: yes
15:55
<
whitequark >
I'm comparing the new implementation to the old one now
16:04
rohitksingh has joined #m-labs
16:19
<
whitequark >
that's just myhdl
16:19
<
whitequark >
I really don't like the magic `is` and `next_state =` though
16:20
<
tpw_rules >
oh it is?
16:22
<
tpw_rules >
i more just wanted a way to use python if statements
16:22
<
tpw_rules >
and i think .eq is really really clunky. but that's me
16:25
<
tpw_rules >
maybe we can discuss design reasoning cause i don't understand why it works like it does
16:30
<
whitequark >
elaborate?
16:31
<
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
16:31
mumptai has quit [Quit: Verlassend]
16:31
<
tpw_rules >
like i don't understand the division between comb and sync if sync logic also has a lot of comb in it
16:31
<
whitequark >
it's the other way around
16:32
<
tpw_rules >
i mean in the code
16:32
<
whitequark >
comb is for combinatorial assignment to signals, sync is for synchronous assignment -with a specific clock domain-
16:32
<
whitequark >
(but it uses sys as the default domain)
16:33
<
sb0 >
.eq() can be replaced with context managers and "signal.next = ..."
16:34
<
sb0 >
while keeping the same principles, no touching the Python AST
16:34
<
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)
16:36
<
whitequark >
a python variable is just a variable in the interpreter, a Signal corresponds to a wire or reg in the generated HDL
16:36
<
tpw_rules >
if x and y are Signals, is x & y a Signal too? or is it just some expression type
16:36
<
whitequark >
it is a signal
16:37
<
tpw_rules >
so it's not a signal it's an operator
16:37
<
whitequark >
right, s/signal/migen value/
16:37
<
whitequark >
signals are migen values, operators are too
16:37
<
whitequark >
x & y translates to x & y in HDL
16:38
<
tpw_rules >
what if you say z = x & y; v.eq(z & w). does that come out v = (x & y) & w?
16:39
<
whitequark >
assign v = (x & y) & w;
16:39
<
whitequark >
try it
16:40
<
tpw_rules >
i guess the distinction between Signals and python vars is the difference between migen and myhdl?
16:40
<
whitequark >
that's a strange way to put it
16:40
<
whitequark >
if you write something like
16:41
<
whitequark >
z = x & y; v.eq(z & w); t.eq(z & q);
16:41
<
whitequark >
you get two assign statements like
16:41
<
whitequark >
assign v = (x & y) & w; assign t = (x & y) & q;
16:41
<
tpw_rules >
well yes.
16:41
<
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.
16:42
<
whitequark >
it doens't make a semantic difference
16:48
<
tpw_rules >
you prefer the NextValue hack to using `is`?
16:49
<
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
16:50
<
tpw_rules >
why not split FSMs into comb and sync too
16:50
<
tpw_rules >
so you're like fsm.comb["READY"] += something
16:51
mumptai has joined #m-labs
16:56
FabM_cave has quit [Quit: ChatZilla 0.9.93 [Firefox 52.8.0/20180509233012]]
17:01
<
tpw_rules >
i think i'm going to try that context manager idea for the main code though
17:01
<
tpw_rules >
for migen itself*
17:17
rohitksingh has quit [Quit: Leaving.]
18:54
cjbe__ has joined #m-labs
20:50
<
tpw_rules >
context manager support. it needs a look over and some documentation but hopefully it fits with migen
20:50
<
tpw_rules >
i'm gonna tweak my pigen thing to work with this also in case that's interesting
20:58
jbqubit has joined #m-labs
20:59
<
jbqubit >
Running latest master (4.0.dev+1085.g8fd57e6c) on Sayma. Getting repeated lockups of coms uP. Is anybody else seeing this?
21:10
cjbe__ has quit [Ping timeout: 240 seconds]
21:26
<
jbqubit >
Also see on serial terminal... WARN(runtime::session): wrong magic from *:0
22:02
mumptai has quit [Remote host closed the connection]
22:44
<
jbqubit >
When running the same program as startup/idle kernel it runs without error.
22:52
<
jbqubit >
But the idle kernel completes instantly with no LED flashing. Is the idle kernel timebase is broken? 1 sec delays are <<< 1 sec
23:10
<
jbqubit >
The startup kernel also completes instantly. The startup kernel I've loaded ought to run for 40 seconds.
23:28
<
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/
23:33
<
jbqubit >
scratch [19:28]