Skip to content

Commit

Permalink
Fix incorrect revert-merge-situation
Browse files Browse the repository at this point in the history
  • Loading branch information
jvnknvlgl committed Jul 8, 2024
1 parent 246b717 commit 7b9f919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clash-cores/src/Clash/Cores/Sgmii/BitSlip.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ bitSlipT BSFail{..} (cg, _)

n = elemIndex True $ map f _hist
where
f a = a == 0b1111100 || a == 0b0000011
f a = a == 0b0011111 || a == 0b1100000
bitSlipT BSOk{..} (cg, syncStatus)
| failTimer >= timeout (Proxy @dom) = BSFail s (repeat 0) (repeat 0)
| otherwise = BSOk s _n failTimer
Expand Down

0 comments on commit 7b9f919

Please sign in to comment.