Code Monkey home page Code Monkey logo

encdec8b10b's People

Contributors

dependabot[bot] avatar olagrottvik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

robin329

encdec8b10b's Issues

Undefined codes

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

Doesn't encode or decode correctly

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.