Skip to content

Move running disparity out of Sgmii core - #69

Draft
jvnknvlgl wants to merge 2 commits into
clash-lang:mainfrom
jvnknvlgl:8b10b-rework
Draft

Move running disparity out of Sgmii core#69
jvnknvlgl wants to merge 2 commits into
clash-lang:mainfrom
jvnknvlgl:8b10b-rework

Conversation

@jvnknvlgl

@jvnknvlgl jvnknvlgl commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

This PR adds variants of the 8b10b line coder that have a state variable to store the running disparity instead of storing the running disparity in the Sgmii core, and also attempts to port the Sgmii core to use this variant of the line coder. This currently does not work, and getting this to work is the problem I have been stuck on for the last few months.

The reason I want to move to this setup is because in order to combine the 3b4b and 5b6b encoder (see #68) into a hopefully simpler 8b10b encoder, it needs to know the current running disparity as part of its state. This combination is the last phase, which I have not yet worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant