SURF  1.0
Code8b10bPkg Package Reference
Package Body >> Code8b10bPkg

Procedures

  encode8b10b(
dataIn: in slv ( 7 downto 0 )
dataKIn: in sl
dispIn: in sl
dataOut: out slv ( 9 downto 0 )
dispOut: out sl
)
  decode8b10b(
dataIn: in slv ( 9 downto 0 )
dispIn: in sl
dataOut: out slv ( 7 downto 0 )
dataKOut: out sl
dispOut: out sl
codeErr: out sl
dispErr: out sl
)

Libraries

ieee 

Use Clauses

std_logic_1164 
numeric_std 
StdRtlPkg  Package <StdRtlPkg>

Constants

K_28_0_C  slv ( 7 downto 0 ) := " 00011100 "
K_28_1_C  slv ( 7 downto 0 ) := " 00111100 "
K_28_2_C  slv ( 7 downto 0 ) := " 01011100 "
K_28_3_C  slv ( 7 downto 0 ) := " 01111100 "
K_28_4_C  slv ( 7 downto 0 ) := " 10011100 "
K_28_5_C  slv ( 7 downto 0 ) := " 10111100 "
K_28_6_C  slv ( 7 downto 0 ) := " 11011100 "
K_28_7_C  slv ( 7 downto 0 ) := " 11111100 "
K_23_7_C  slv ( 7 downto 0 ) := " 11110111 "
K_27_7_C  slv ( 7 downto 0 ) := " 11111011 "
K_29_7_C  slv ( 7 downto 0 ) := " 11111101 "
K_30_7_C  slv ( 7 downto 0 ) := " 11111110 "
D_10_2_C  slv ( 7 downto 0 ) := " 01001010 "
D_21_5_C  slv ( 7 downto 0 ) := " 10110101 "

Detailed Description

Definition at line 23 of file Code8b10bPkg.vhd.

Member Function Documentation

◆ encode8b10b()

encode8b10b (   dataIn in slv ( 7 downto 0 ) ,
  dataKIn in sl ,
  dispIn in sl ,
  dataOut out slv ( 9 downto 0 ) ,
  dispOut out sl  
)
Procedure

Definition at line 46 of file Code8b10bPkg.vhd.

◆ decode8b10b()

decode8b10b (   dataIn in slv ( 9 downto 0 ) ,
  dispIn in sl ,
  dataOut out slv ( 7 downto 0 ) ,
  dataKOut out sl ,
  dispOut out sl ,
  codeErr out sl ,
  dispErr out sl  
)
Procedure

Definition at line 53 of file Code8b10bPkg.vhd.

Member Data Documentation

◆ ieee

ieee
Library

Definition at line 18 of file Code8b10bPkg.vhd.

◆ std_logic_1164

std_logic_1164
Package

Definition at line 19 of file Code8b10bPkg.vhd.

◆ numeric_std

numeric_std
Package

Definition at line 20 of file Code8b10bPkg.vhd.

◆ StdRtlPkg

StdRtlPkg
Package

Definition at line 21 of file Code8b10bPkg.vhd.

◆ K_28_0_C

K_28_0_C slv ( 7 downto 0 ) := " 00011100 "
Constant

Definition at line 30 of file Code8b10bPkg.vhd.

◆ K_28_1_C

K_28_1_C slv ( 7 downto 0 ) := " 00111100 "
Constant

Definition at line 31 of file Code8b10bPkg.vhd.

◆ K_28_2_C

K_28_2_C slv ( 7 downto 0 ) := " 01011100 "
Constant

Definition at line 32 of file Code8b10bPkg.vhd.

◆ K_28_3_C

K_28_3_C slv ( 7 downto 0 ) := " 01111100 "
Constant

Definition at line 33 of file Code8b10bPkg.vhd.

◆ K_28_4_C

K_28_4_C slv ( 7 downto 0 ) := " 10011100 "
Constant

Definition at line 34 of file Code8b10bPkg.vhd.

◆ K_28_5_C

K_28_5_C slv ( 7 downto 0 ) := " 10111100 "
Constant

Definition at line 35 of file Code8b10bPkg.vhd.

◆ K_28_6_C

K_28_6_C slv ( 7 downto 0 ) := " 11011100 "
Constant

Definition at line 36 of file Code8b10bPkg.vhd.

◆ K_28_7_C

K_28_7_C slv ( 7 downto 0 ) := " 11111100 "
Constant

Definition at line 37 of file Code8b10bPkg.vhd.

◆ K_23_7_C

K_23_7_C slv ( 7 downto 0 ) := " 11110111 "
Constant

Definition at line 38 of file Code8b10bPkg.vhd.

◆ K_27_7_C

K_27_7_C slv ( 7 downto 0 ) := " 11111011 "
Constant

Definition at line 39 of file Code8b10bPkg.vhd.

◆ K_29_7_C

K_29_7_C slv ( 7 downto 0 ) := " 11111101 "
Constant

Definition at line 40 of file Code8b10bPkg.vhd.

◆ K_30_7_C

K_30_7_C slv ( 7 downto 0 ) := " 11111110 "
Constant

Definition at line 41 of file Code8b10bPkg.vhd.

◆ D_10_2_C

D_10_2_C slv ( 7 downto 0 ) := " 01001010 "
Constant

Definition at line 43 of file Code8b10bPkg.vhd.

◆ D_21_5_C

D_21_5_C slv ( 7 downto 0 ) := " 10110101 "
Constant

Definition at line 44 of file Code8b10bPkg.vhd.


The documentation for this class was generated from the following file: