forked from M-Labs/artiq
1
0
Fork 0

grabber: prevent glitches in last_x/last_y cdc

This commit is contained in:
Sebastien Bourdeauducq 2018-07-10 12:56:37 +08:00
parent c4e3c66265
commit 208dc7c218
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ class Parser(Module, AutoCSR):
)
]
last_x.attr.add("no_retiming")
last_y.attr.add("no_retiming")
self.specials += [
MultiReg(last_x, self.last_x.status),
MultiReg(last_y, self.last_y.status)