~ruther/jesd204b-vhdl

ref: 27b552703118f7a38e72f49bc7e37265efb7c67f jesd204b-vhdl/src/data_link/data_link_pkg.vhd -rw-r--r-- 657 bytes
27b55270 — František Boháček feat(link): add lane alignment 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
library ieee;
use ieee.std_logic_1164.all;

package data_link_pkg is

  type character_vector is record
    kout            : std_logic;  -- Whether the character is a control character
    disparity_error : std_logic;  -- Whether there was a disparity error (if this is true, the character will still be correct)
    missing_error   : std_logic;  -- Whether the character was not found in the table
    d8b             : std_logic_vector(7 downto 0);  -- The decoded data
  end record character_vector;

  type link_state is (
    INIT,
    CGS,
    ILAS,
    DATA,
    ERR);                               -- States of the link

end package data_link_pkg;
Do not follow this link