olagrottvik / encdec8b10b Goto Github PK
View Code? Open in Web Editor NEWPython module for 8B10B encoding and decoding
License: MIT License
Python module for 8B10B encoding and decoding
License: MIT License
Hey,
I'm currently trying to debug an 8b10b receiver and found your code.
Looking at your code, I see many 10b symbols that are defined as valid codes in your library, but are invalid in any 8b10b encoding documentation I could find. I looked at documents from Xilinx, Altera, and Lattice (as well as wikipedia)
The following Control symbols from your library are not defined in any of these documentation and should yield a code error:
0x053 -- K.19.7
0x055 -- K.21.7
0x056 -- K.22.7
0x059 -- K.25.7
0x05a -- K.26.7
0x063 -- K.3.7
0x065 -- K.5.7
0x066 -- K.6.7
0x067 -- K.8.7
0x069 -- K.9.7
0x06a -- K.10.7
0x06b -- K.4.7
0x06c -- K.12.7
0x06d -- K.2.7
0x06e -- K.1.7
0x071 -- K.17.7
0x072 -- K.18.7
0x073 -- K.24.7
0x074 -- K.20.7
0x075 -- K.31.7
0x076 -- K.16.7
0x078 -- K.7.7
0x079 -- K.0.7
0x07a -- K.15.7
0x385 -- K.15.7
0x386 -- K.0.7
0x387 -- K.7.7
0x389 -- K.16.7
0x38a -- K.31.7
0x38b -- K.11.7
0x38c -- K.24.7
0x38d -- K.13.7
0x38e -- K.14.7
0x391 -- K.1.7
0x392 -- K.2.7
0x393 -- K.19.7
0x394 -- K.4.7
0x395 -- K.21.7
0x396 -- K.22.7
0x398 -- K.8.7
0x399 -- K.25.7
0x39a -- K.26.7
0x3a3 -- K.3.7
0x3a5 -- K.5.7
0x3a6 -- K.6.7
0x3a9 -- K.9.7
0x3aa -- K.10.7
0x3ac -- K.12.7
Why did you include them in your decoder?
For reference: https://docs.xilinx.com/r/en-US/am002-versal-gty-transceivers/8B/10B-Valid-Characters
The sequences encoded by this python 8b10b encoder are not recognized by the firmware - 8b10b decoder won't align. Known valid sequences that are generated by the hardware (and are decoded in firmware correctly) are not recognized by this python module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.