2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 19:04:02 +08:00

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

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)