Skip to content

Commit

Permalink
core/LiteJESD204BCoreRX/register_jsync: Fix default polarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Dec 6, 2022
1 parent 64ef96c commit ec6bf78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litejesd204b/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def __init__(self, phys, jesd_settings, converter_data_width, scrambling=True, i
),
]

def register_jsync(self, jsync, polarity=0b1):
def register_jsync(self, jsync, polarity=0b0):
self.jsync_registered = True
_jsync = Signal()
self.comb += _jsync.eq({0b0: self.jsync, 0b1:~self.jsync}[polarity])
Expand Down

0 comments on commit ec6bf78

Please sign in to comment.