Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistake in libsv/libsv/coders/encoder_8b10b.sv #151

Closed
jvnknvlgl opened this issue May 22, 2024 · 2 comments · Fixed by #153
Closed

Mistake in libsv/libsv/coders/encoder_8b10b.sv #151

jvnknvlgl opened this issue May 22, 2024 · 2 comments · Fixed by #153
Assignees
Labels
bug Something isn't working

Comments

@jvnknvlgl
Copy link

jvnknvlgl commented May 22, 2024

Hello!

I am working on implementing 8b/10b encoding in a different project, and I stumbled upon the lookup table for encoding in this project. After writing my tests, I think I have found a mistake in your code in encoder_8b10b.sv: for all code groups D28.X, the last 6 bits are 001110 while they should actually be 011100 according to the table in IEEE 802.3. Could this be possible?

@bensampson5 bensampson5 self-assigned this May 26, 2024
Copy link

@bensampson5 bensampson5 added the bug Something isn't working label May 26, 2024
@bensampson5
Copy link
Owner

Nice find! It is a bug and I fixed it on main. Thanks for leaving feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants