forked from M-Labs/artiq
1
0
Fork 0

gateware/rtio/analyzer: suppress spurious initial reset messages

This commit is contained in:
Sebastien Bourdeauducq 2015-12-21 18:32:08 +08:00
parent e87436fc03
commit 8691f69a3c
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class MessageEncoder(Module, AutoCSR):
getattr(ExceptionType, ename).value) getattr(ExceptionType, ename).value)
) )
for rname in "reset", "reset_phy": for rname in "reset", "reset_phy":
r_d = Signal() r_d = Signal(reset=1)
r = getattr(kcsrs, rname).storage r = getattr(kcsrs, rname).storage
self.sync += r_d.eq(r) self.sync += r_d.eq(r)
self.comb += [ self.comb += [