Code Monkey home page Code Monkey logo

jesd204b-vhdl's Introduction

This is a part of my bachelor thesis I did on Czech Technical University in Prague. See here: https://dspace.cvut.cz/handle/10467/108692, the thesis may be opened by clicking on the url "PLNY_TEXT" (meaning full text) More information about this code may be found in the thesis itself for now. But at some point, I will update this readme with more information.

JESD204B Receiver

This repository contains implementation of JESD204B standard (https://www.jedec.org/sites/default/files/docs/JESD204B.pdf) receiver in VHDL-2008. It contains implementation of data link layer and transport layer. It expects data from a transceivers at its input and outputs samples. As application layer is application specific, it's not included here. Care has been taken to allow resetting the link from application layer as well as passing some errors to the application layer so that it can decide whether to request resynchronization.

There are entities that may be used for multipoint links as well as entities for single link.

The receiver supports subclass 0 and 1. It generates LMFC from SYSREF using a counter, if subclass 1 is used.

jesd204b-vhdl's People

Contributors

rutherther avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mfkiwl

jesd204b-vhdl's Issues

Split sample outputs

Samples including control bits are currently inside do_samples. Only VHDL 2008 supports specifying std logic vector size inside vectors. VHDL 2008 is not fully supported by Quartus and the project must be compiled and synthesized by Quartus. Thus it's necessary to split samples into the sample itself and control bits, ie. do_samples, do_control_bits.

Add support for Subclass 1

  • Clock generator generating multiframe clk from device clk
  • Support for phase adjusting clocks, mainly the multiframe clk, frame clk should be based off of that
  • Support for SYSREF, phase adjusting multiframe clk when SYSREF ticks
  • Support for enabling SYSREF phase adjustment only before synchronziation
  • Support for phase adjusting multiframe clock to x ticks after SYSREF.
  • Deassign sync only on multiframe clock
  • Adjust buffer size of lane_alignment according to rules set
  • Implement specific RBD (buffer delay)
  • Make RBD configurable for multipoint link

Support should be implemented to work with multipoint links.

Consider processing more characters in data link layer

Currently data link layer input is one 10-bit character. It could be useful to accept N characters at once. That would decrease the frequency needed. The implementation of that should not be that hard. The only differences are:

  • ILAS_parser will need to check all N characters instead of just one
  • 8b10b decoder will decode 4 characters at once. Use multiple 8b10b decoder blocks for that.
  • lane_alignment will save multiple characters to the buffer, it will detect /R/ in any one of them.
  • frame_alignment will save multiple character to the buffer

I think that implementing generic N could be done, but making it a specific number such as 4 will be easier, probably.

Allow external error indication and

Data link layer must support receiving an indication of error to request synchronization.

The current error handling component must be changed to work with multiframes instead of frames. That is mainly because frames may be too small. Maybe allow setting an arbitrary number of octets to check

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.