sb0 changed the topic of #m-labs to: https://m-labs.hk :: Logs http://irclog.whitequark.org/m-labs :: Due to spam bots, only registered users can talk. See: https://freenode.net/kb/answer/registration
siruf has quit [*.net *.split]
tpw_rules has quit [*.net *.split]
tpw_rules has joined #m-labs
siruf_ has joined #m-labs
siruf_ has quit [Changing host]
siruf_ has joined #m-labs
siruf_ is now known as siruf
kuldeep has quit [Ping timeout: 252 seconds]
qinfengling has quit [*.net *.split]
cr1901_modern1 has joined #m-labs
qinfengling has joined #m-labs
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?
<whitequark> what's the complete code?
<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] sbourdeauducq pushed 3 new commits to switching: https://github.com/m-labs/artiq/compare/1ef39a98a7ae...65da1fee4a22
<GitHub-m-labs> artiq/switching ae72e3a Sebastien Bourdeauducq: firmware: add support for moninj and kern_hwreq over DRTIO switching
<GitHub-m-labs> artiq/switching 65da1fe Sebastien Bourdeauducq: firmware: fix build without DRTIO
<GitHub-m-labs> artiq/switching d19550d Sebastien Bourdeauducq: firmware: simplify drtioaux function names
mauz555 has quit [Ping timeout: 252 seconds]
ysionneau has quit [Quit: leaving]
ysionneau has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
cr1901_modern has quit [Read error: Connection reset by peer]
vup has quit [Quit: Ping timeout (120 seconds)]
vup has joined #m-labs
cr1901_modern has joined #m-labs
<GitHub-m-labs> [artiq] klickverbot commented on issue #1150: Even with the ARP cache being limited, shouldn't the mapping just be re-learnt?... https://github.com/m-labs/artiq/issues/1150#issuecomment-421366641
<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
rohitksingh has joined #m-labs
<GitHub-m-labs> [artiq] klickverbot commented on issue #1150: Ah, right, there is this:... https://github.com/m-labs/artiq/issues/1150#issuecomment-421376324
rohitksingh has quit [Client Quit]
rohitksingh has joined #m-labs
rohitksingh has quit [Client Quit]
rohitksingh1 has joined #m-labs
rohitksingh1 has quit [Quit: Leaving.]
rohitksingh has joined #m-labs
d4n3sh15 has joined #m-labs
d4n3sh15 has quit [Ping timeout: 272 seconds]
mrus25 has joined #m-labs
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]
mauz555 has joined #m-labs
omniuwo9 has joined #m-labs
omniuwo9 has quit [Ping timeout: 252 seconds]
<GitHub-m-labs> [artiq] Justin318 opened issue #1151: with parallel becomes serial if called with for-loop https://github.com/m-labs/artiq/issues/1151
W--20 has joined #m-labs
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
mauz555 has quit [Ping timeout: 245 seconds]
<GitHub-m-labs> [artiq] Justin318 commented on issue #1151: Thanks David. Your suggestion work. https://github.com/m-labs/artiq/issues/1151#issuecomment-421508631
<GitHub-m-labs> [artiq] Justin318 commented on issue #1151: Thanks David. Your suggestion works. https://github.com/m-labs/artiq/issues/1151#issuecomment-421508631
SunTsu20 has joined #m-labs
mauz555 has joined #m-labs
SunTsu20 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
mauz555 has quit [Ping timeout: 252 seconds]