SURF  1.0
Jesd204bPkg Package Reference
Package Body >> Jesd204bPkg

Functions

std_logic   detKcharFunc (
data_slv: in slv
charisk_slv: in slv
bytes_int: in positive
)
std_logic   varIndexOutFunc ( shft_slv: in slv , index_slv: in slv )
std_logic_vector   detectPosFuncSwap (
data_slv: in slv
charisk_slv: in slv
bytes_int: in positive
)
std_logic_vector   detectPosFunc (
data_slv: in slv
charisk_slv: in slv
bytes_int: in positive
)
std_logic_vector   byteSwapSlv ( data_slv: in slv , bytes_int: in positive )
std_logic_vector   endianSwapSlv ( data_slv: in slv , bytes_int: in positive )
std_logic_vector   JesdDataAlign (
data_slv: in slv
position_slv: in slv
bytes_int: in positive
)
std_logic_vector   JesdCharAlign (
char_slv: in slv
position_slv: in slv
bytes_int: in positive
)
integer   slvToInt ( data_slv: in slv )
std_logic_vector   intToSlv ( data_int: in integer , bytes_int: in positive )
std_logic_vector   outSampleZero ( F_int: in positive , bytes_int: in positive )
std_logic_vector   invSigned ( input: in slv )
std_logic_vector   invData (
data: in slv
F_int: in positive
bytes_int: in positive
)

Procedures

  jesdScrambler(
dataIn: in slv ( 15 downto 0 )
lfsrIn: in slv ( 14 downto 0 )
dataOut: inout slv ( 15 downto 0 )
lfsrOut: inout slv ( 14 downto 0 )
)

Libraries

ieee 

Use Clauses

std_logic_1164 
numeric_std 
StdRtlPkg  Package <StdRtlPkg>

Constants

GT_WORD_SIZE_C  positive := 4
K_CHAR_C  slv ( 7 downto 0 ) := x " BC "
R_CHAR_C  slv ( 7 downto 0 ) := x " 1C "
A_CHAR_C  slv ( 7 downto 0 ) := x " 7C "
F_CHAR_C  slv ( 7 downto 0 ) := x " FC "
SYSRF_DLY_WIDTH_C  positive := 5
RX_STAT_WIDTH_C  positive := 19 + 2 * GT_WORD_SIZE_C
TX_STAT_WIDTH_C  positive := 6
AXI_PACKET_SIZE_DEFAULT_C  slv ( 23 downto 0 ) := x " 00_01_00 "
PER_STEP_WIDTH_C  positive := 16
JESD_PRBS_TAPS_C  NaturalArray := ( 0 = > 14 , 1 = > 15 )
JESD_GT_RX_LANE_INIT_C  jesdGtRxLaneType := ( data = > ( others = > ' 0 ' ) , dataK = > ( others = > ' 0 ' ) , dispErr = > ( others = > ' 0 ' ) , decErr = > ( others = > ' 0 ' ) , rstDone = > ' 0 ' , cdrStable = > ' 0 ' )
JESD_GT_TX_LANE_INIT_C  jesdGtTxLaneType := ( data = > ( others = > ' 0 ' ) , dataK = > ( others = > ' 0 ' ) )

Types

jesdGtRxLaneTypeArray array ( natural range <> ) of jesdGtRxLaneType
jesdGtTxLaneTypeArray array ( natural range <> ) of jesdGtTxLaneType
fixLatDataArray array ( natural range <> ) of slv ( ( GT_WORD_SIZE_C * 8 + GT_WORD_SIZE_C * 2 ) - 1 downto 0 )
sampleDataArray array ( natural range <> ) of slv ( ( GT_WORD_SIZE_C * 8 ) - 1 downto 0 )
sampleDataVectorArray array ( natural range <> , natural range <> ) of slv ( ( GT_WORD_SIZE_C * 8 ) - 1 downto 0 )
rxStatuRegisterArray array ( natural range <> ) of slv ( ( RX_STAT_WIDTH_C ) - 1 downto 0 )
txStatuRegisterArray array ( natural range <> ) of slv ( ( TX_STAT_WIDTH_C ) - 1 downto 0 )
alignTxArray array ( natural range <> ) of slv ( ( GT_WORD_SIZE_C ) - 1 downto 0 )

Records

jesdGtRxLaneType  
data  slv ( ( GT_WORD_SIZE_C * 8 ) - 1 downto 0 )
dataK  slv ( GT_WORD_SIZE_C - 1 downto 0 )
dispErr  slv ( GT_WORD_SIZE_C - 1 downto 0 )
decErr  slv ( GT_WORD_SIZE_C - 1 downto 0 )
rstDone  sl
cdrStable  sl
jesdGtTxLaneType  

Detailed Description

Definition at line 24 of file Jesd204bPkg.vhd.

Member Function Documentation

◆ detKcharFunc()

std_logic detKcharFunc (   data_slv in slv ,
  charisk_slv in slv ,
  bytes_int in positive  
)
Function

Definition at line 100 of file Jesd204bPkg.vhd.

◆ varIndexOutFunc()

std_logic varIndexOutFunc (   shft_slv in slv ,
  index_slv in slv  
)
Function

Definition at line 103 of file Jesd204bPkg.vhd.

◆ detectPosFuncSwap()

std_logic_vector detectPosFuncSwap (   data_slv in slv ,
  charisk_slv in slv ,
  bytes_int in positive  
)
Function

Definition at line 106 of file Jesd204bPkg.vhd.

◆ detectPosFunc()

std_logic_vector detectPosFunc (   data_slv in slv ,
  charisk_slv in slv ,
  bytes_int in positive  
)
Function

Definition at line 109 of file Jesd204bPkg.vhd.

◆ byteSwapSlv()

std_logic_vector byteSwapSlv (   data_slv in slv ,
  bytes_int in positive  
)
Function

Definition at line 112 of file Jesd204bPkg.vhd.

◆ endianSwapSlv()

std_logic_vector endianSwapSlv (   data_slv in slv ,
  bytes_int in positive  
)
Function

Definition at line 115 of file Jesd204bPkg.vhd.

◆ JesdDataAlign()

std_logic_vector JesdDataAlign (   data_slv in slv ,
  position_slv in slv ,
  bytes_int in positive  
)
Function

Definition at line 118 of file Jesd204bPkg.vhd.

◆ JesdCharAlign()

std_logic_vector JesdCharAlign (   char_slv in slv ,
  position_slv in slv ,
  bytes_int in positive  
)
Function

Definition at line 121 of file Jesd204bPkg.vhd.

◆ slvToInt()

integer slvToInt (   data_slv in slv  
)
Function

Definition at line 124 of file Jesd204bPkg.vhd.

◆ intToSlv()

std_logic_vector intToSlv (   data_int in integer ,
  bytes_int in positive  
)
Function

Definition at line 127 of file Jesd204bPkg.vhd.

◆ outSampleZero()

std_logic_vector outSampleZero (   F_int in positive ,
  bytes_int in positive  
)
Function

Definition at line 130 of file Jesd204bPkg.vhd.

◆ invSigned()

std_logic_vector invSigned (   input in slv  
)
Function

Definition at line 135 of file Jesd204bPkg.vhd.

◆ invData()

std_logic_vector invData (   data in slv ,
  F_int in positive ,
  bytes_int in positive  
)
Function

Definition at line 136 of file Jesd204bPkg.vhd.

◆ jesdScrambler()

jesdScrambler (   dataIn in slv ( 15 downto 0 ) ,
  lfsrIn in slv ( 14 downto 0 ) ,
  dataOut inout slv ( 15 downto 0 ) ,
  lfsrOut inout slv ( 14 downto 0 )  
)
Procedure

Definition at line 138 of file Jesd204bPkg.vhd.

Member Data Documentation

◆ ieee

ieee
Library

Definition at line 18 of file Jesd204bPkg.vhd.

◆ std_logic_1164

std_logic_1164
Package

Definition at line 19 of file Jesd204bPkg.vhd.

◆ numeric_std

numeric_std
Package

Definition at line 21 of file Jesd204bPkg.vhd.

◆ StdRtlPkg

StdRtlPkg
Package

Definition at line 22 of file Jesd204bPkg.vhd.

◆ GT_WORD_SIZE_C

GT_WORD_SIZE_C positive := 4
Constant

Definition at line 31 of file Jesd204bPkg.vhd.

◆ K_CHAR_C

K_CHAR_C slv ( 7 downto 0 ) := x " BC "
Constant

Definition at line 35 of file Jesd204bPkg.vhd.

◆ R_CHAR_C

R_CHAR_C slv ( 7 downto 0 ) := x " 1C "
Constant

Definition at line 37 of file Jesd204bPkg.vhd.

◆ A_CHAR_C

A_CHAR_C slv ( 7 downto 0 ) := x " 7C "
Constant

Definition at line 39 of file Jesd204bPkg.vhd.

◆ F_CHAR_C

F_CHAR_C slv ( 7 downto 0 ) := x " FC "
Constant

Definition at line 41 of file Jesd204bPkg.vhd.

◆ SYSRF_DLY_WIDTH_C

SYSRF_DLY_WIDTH_C positive := 5
Constant

Definition at line 44 of file Jesd204bPkg.vhd.

◆ RX_STAT_WIDTH_C

RX_STAT_WIDTH_C positive := 19 + 2 * GT_WORD_SIZE_C
Constant

Definition at line 45 of file Jesd204bPkg.vhd.

◆ TX_STAT_WIDTH_C

TX_STAT_WIDTH_C positive := 6
Constant

Definition at line 46 of file Jesd204bPkg.vhd.

◆ AXI_PACKET_SIZE_DEFAULT_C

AXI_PACKET_SIZE_DEFAULT_C slv ( 23 downto 0 ) := x " 00_01_00 "
Constant

Definition at line 49 of file Jesd204bPkg.vhd.

◆ PER_STEP_WIDTH_C

PER_STEP_WIDTH_C positive := 16
Constant

Definition at line 54 of file Jesd204bPkg.vhd.

◆ JESD_PRBS_TAPS_C

JESD_PRBS_TAPS_C NaturalArray := ( 0 = > 14 , 1 = > 15 )
Constant

Definition at line 57 of file Jesd204bPkg.vhd.

◆ jesdGtRxLaneType

Definition at line 61 of file Jesd204bPkg.vhd.

◆ data

data slv ( ( GT_WORD_SIZE_C * 8 ) - 1 downto 0 )
Record

Definition at line 62 of file Jesd204bPkg.vhd.

◆ dataK

dataK slv ( GT_WORD_SIZE_C - 1 downto 0 )
Record

Definition at line 63 of file Jesd204bPkg.vhd.

◆ dispErr

dispErr slv ( GT_WORD_SIZE_C - 1 downto 0 )
Record

Definition at line 64 of file Jesd204bPkg.vhd.

◆ decErr

decErr slv ( GT_WORD_SIZE_C - 1 downto 0 )
Record

Definition at line 65 of file Jesd204bPkg.vhd.

◆ rstDone

rstDone sl
Record

Definition at line 66 of file Jesd204bPkg.vhd.

◆ cdrStable

cdrStable sl
Record

Definition at line 67 of file Jesd204bPkg.vhd.

◆ JESD_GT_RX_LANE_INIT_C

JESD_GT_RX_LANE_INIT_C jesdGtRxLaneType := ( data = > ( others = > ' 0 ' ) , dataK = > ( others = > ' 0 ' ) , dispErr = > ( others = > ' 0 ' ) , decErr = > ( others = > ' 0 ' ) , rstDone = > ' 0 ' , cdrStable = > ' 0 ' )
Constant

Definition at line 70 of file Jesd204bPkg.vhd.

◆ jesdGtTxLaneType

Definition at line 79 of file Jesd204bPkg.vhd.

◆ JESD_GT_TX_LANE_INIT_C

JESD_GT_TX_LANE_INIT_C jesdGtTxLaneType := ( data = > ( others = > ' 0 ' ) , dataK = > ( others = > ' 0 ' ) )
Constant

Definition at line 83 of file Jesd204bPkg.vhd.

◆ jesdGtRxLaneTypeArray

jesdGtRxLaneTypeArray array ( natural range <> ) of jesdGtRxLaneType
Type

Definition at line 88 of file Jesd204bPkg.vhd.

◆ jesdGtTxLaneTypeArray

jesdGtTxLaneTypeArray array ( natural range <> ) of jesdGtTxLaneType
Type

Definition at line 89 of file Jesd204bPkg.vhd.

◆ fixLatDataArray

fixLatDataArray array ( natural range <> ) of slv ( ( GT_WORD_SIZE_C * 8 + GT_WORD_SIZE_C * 2 ) - 1 downto 0 )
Type

Definition at line 90 of file Jesd204bPkg.vhd.

◆ sampleDataArray

sampleDataArray array ( natural range <> ) of slv ( ( GT_WORD_SIZE_C * 8 ) - 1 downto 0 )
Type

Definition at line 91 of file Jesd204bPkg.vhd.

◆ sampleDataVectorArray

sampleDataVectorArray array ( natural range <> , natural range <> ) of slv ( ( GT_WORD_SIZE_C * 8 ) - 1 downto 0 )
Type

Definition at line 92 of file Jesd204bPkg.vhd.

◆ rxStatuRegisterArray

rxStatuRegisterArray array ( natural range <> ) of slv ( ( RX_STAT_WIDTH_C ) - 1 downto 0 )
Type

Definition at line 93 of file Jesd204bPkg.vhd.

◆ txStatuRegisterArray

txStatuRegisterArray array ( natural range <> ) of slv ( ( TX_STAT_WIDTH_C ) - 1 downto 0 )
Type

Definition at line 94 of file Jesd204bPkg.vhd.

◆ alignTxArray

alignTxArray array ( natural range <> ) of slv ( ( GT_WORD_SIZE_C ) - 1 downto 0 )
Type

Definition at line 95 of file Jesd204bPkg.vhd.


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