cr1901_modern has quit [Ping timeout: 240 seconds]
cr1901_modern1 has quit [Client Quit]
cr1901_modern has joined #m-labs
rohitksingh_work has joined #m-labs
cr1901_modern1 has joined #m-labs
cr1901_modern has quit [Ping timeout: 245 seconds]
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
cr1901_modern1 has joined #m-labs
kuldeep has joined #m-labs
cr1901_modern has quit [Ping timeout: 245 seconds]
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
kuldeep has quit [Ping timeout: 252 seconds]
kuldeep has joined #m-labs
kuldeep has quit [Ping timeout: 244 seconds]
kuldeep has joined #m-labs
cr1901_modern has quit [Read error: Connection reset by peer]
cr1901_modern has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
int3214 has joined #m-labs
int3214 has quit [Remote host closed the connection]
<xobs>
Hey guys, simple question: in migen, how do I create a reg? I have a Signal(32) that I feed from a Wishbone bus (self.output.eq(bus.dat_w)), but the synthesized verilog keeps dfineing output as a wire and not a reg.
<xobs>
...and as a result I keep getting a synthesis error "procedural assignment to a non-register outputs is not permitted"
<whitequark>
assign a signal in a sync block
<xobs>
This is in a sync block. Specifically, "self.sync += self.gpio_outputs.eq(self.gpio_outputs_buf)".
<xobs>
It's going to an IOBUF, which is instantiated with self.specials += Instance("IOBUF"). Does that IOBUF also need to be in a sync block?
<xobs>
I'm trying to work around the issue by first buffering gpio_outputs into gpio_outputs_buf.
<whitequark>
gpio_outputs is assigned in both the instance and the sync block
<whitequark>
i think
<xobs>
You're right there... the "I" line is FPGA output, and the "O" line is FPGA input (i.e. it's swapped -- it's from the perspective of FPGA fabric.) I need to swap that in my Verilog.
<xobs>
Is it possible to instantiate a special inside a clock domain, then?
<whitequark>
nope
<sb0>
xobs: if you drive a signal from both an instance and a synchronous block, what do you expect to happen other than such an error?
<sb0>
xobs: what do you mean by "instantiate a special inside a clock domain"?
<attie>
uh, don't you give the clock signal explicitly when you have an Instance
<attie>
other specials (like Memory) can be inside a clock domain I think
<xobs>
I see, sorry for the noise. The issue appears to be that for a Xilinx IOBUF, the "O" line is FPGA input, and the "I" line is FPGA output. Vivado was picking up on this and failing.
<xobs>
And now it successfully synthesizes and works as intended. Amazing. Thank you for the help.
gpiero4 has joined #m-labs
gpiero4 has quit [Remote host closed the connection]
mauz555 has joined #m-labs
rohitksingh_work has quit [Read error: Connection reset by peer]
<GitHub-m-labs>
[artiq] klickverbot commented on issue #1150: Looking at the log, that does seem to happen. However, instead of the keepalive ACK, a RST/ACK is sent, presumably due to "timeout exceeded":... https://github.com/m-labs/artiq/issues/1150#issuecomment-421370769
<GitHub-m-labs>
[artiq] klickverbot commented on issue #1150: Looking at the log, that does seem to happen. However, in addition to the keepalive ACK, a RST/ACK is sent, presumably due to "timeout exceeded":... https://github.com/m-labs/artiq/issues/1150#issuecomment-421370769
mrus25 has quit [Remote host closed the connection]
<GitHub-m-labs>
[artiq] klickverbot commented on issue #1150: It seems like either the keepalive timeout needs to be adjusted to larger than the 3 s ARP discovery dead time, or the latter replaced by an actual rate limit (i.e. only delaying the ARP request if another was indeed sent in the last 3 s, rather than always waiting). https://github.com/m-labs/artiq/issues/1150#issuecomment-421410466
rohitksingh has quit [Quit: Leaving.]
Thom115 has joined #m-labs
Thom115 has quit [Remote host closed the connection]
mauz555 has joined #m-labs
<GitHub-m-labs>
[artiq] klickverbot commented on issue #1150: I've locally changed our Kasli masters to use a BTreeMap-backed neighbor cache (with default GC threshold of 1024), which should work around the issue by avoiding ARP table entries being evicted in the first place. If I don't succeed in provoking a crash, I'll post a PR. (It would still be good to have a more principled fix.) https://github.com/m-labs/artiq/issu
mauz555 has left #m-labs ["Leaving"]
little-dude has joined #m-labs
kuldeep has quit [Ping timeout: 240 seconds]
kuldeep has joined #m-labs
kuldeep has quit [Ping timeout: 250 seconds]
kuldeep has joined #m-labs
kuldeep has quit [Ping timeout: 252 seconds]
drayer3414 has joined #m-labs
drayer3414 has quit [Remote host closed the connection]
varesa11 has joined #m-labs
varesa11 has quit [Remote host closed the connection]
hassoon29 has joined #m-labs
hassoon29 has quit [Remote host closed the connection]
kuldeep has joined #m-labs
Lense21 has joined #m-labs
Lense21 has quit [Remote host closed the connection]
W--20 has quit [Remote host closed the connection]
<GitHub-m-labs>
[artiq] klickverbot commented on issue #1151: The ARTIQ timeline `with` statements are more or less implemented on a syntactic level. `with parallel` resets the timeline cursor before each statement in its body – but `for` is one statement (the body doesn't matter), so the `parallel` block is effectively trivial.... https://github.com/m-labs/artiq/issues/1151#issuecomment-421507068