Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From: Florent Kermarrec <florent@enjoy-digital.fr>
- Date: Sun, 3 Feb 2019 11:11:58 +0100
- Subject: [PATCH] link: add MultiReg on jsync
- ---
- jesd204b/link.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/jesd204b/link.py b/jesd204b/link.py
- index d3e9ef3..5d8dd5c 100644
- --- a/jesd204b/link.py
- +++ b/jesd204b/link.py
- @@ -275,10 +275,10 @@ class JESD204BLinkTX(Module):
- jref_d = Signal()
- jref_rising = Signal()
- self.sync += [
- - jsync.eq(self.jsync),
- jref.eq(self.jref),
- jref_d.eq(jref)
- ]
- + self.specials += MultiReg(self.jsync, jsync)
- self.comb += jref_rising.eq(jref & ~jref_d)
- # FSM
- --
- 2.17.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement