SURF
Loading...
Searching...
No Matches
Pgp3Pkg Package Reference
Package >> Pgp3Pkg

Functions

slv   pgp3MakeLinkInfo ( locRxFifoCtrl: in AxiStreamCtrlArray , locRxLinkReady: in sl )
slv   pgp3OpCodeChecksum ( opCodeData: in slv( 47 downto 0) )
slv   pgp3MakeLinkInfo ( locRxFifoCtrl: in AxiStreamCtrlArray , locRxLinkReady: in sl )
slv   pgp3OpCodeChecksum ( opCodeData: in slv( 47 downto 0) )

Procedures

  pgp3ExtractLinkInfo(
linkInfo: in slv ( 39 downto 0 )
remRxFifoCtrl: inout AxiStreamCtrlArray
remRxLinkReady: inout sl
version: inout slv ( 2 downto 0 )
)
  pgp3ExtractLinkInfo(
linkInfo: in slv ( 39 downto 0 )
remRxFifoCtrl: inout AxiStreamCtrlArray
remRxLinkReady: inout sl
version: inout slv ( 2 downto 0 )
)

Libraries

ieee 
surf 

Use Clauses

std_logic_1164 
std_logic_unsigned 
std_logic_arith 
StdRtlPkg  Package <StdRtlPkg>
AxiStreamPkg  Package <AxiStreamPkg>
SsiPkg  Package <SsiPkg>

Constants

PGP3_VERSION_C  slv ( 2 downto 0 ) := " 011 "
PGP3_DEFAULT_TX_CELL_WORDS_MAX_C  positive := 128
PGP3_AXIS_CONFIG_C  AxiStreamConfigType := ssiAxiStreamConfig ( dataBytes = > 8 , tKeepMode = > TKEEP_COMP_C , tUserMode = > TUSER_FIRST_LAST_C , tDestBits = > 4 , tUserBits = > 2 )
PGP3_IDLE_C  slv ( 7 downto 0 ) := X " 99 "
PGP3_SOF_C  slv ( 7 downto 0 ) := X " AA "
PGP3_EOF_C  slv ( 7 downto 0 ) := X " 55 "
PGP3_SOC_C  slv ( 7 downto 0 ) := X " CC "
PGP3_EOC_C  slv ( 7 downto 0 ) := X " 33 "
PGP3_SKP_C  slv ( 7 downto 0 ) := X " 66 "
PGP3_USER_C  Slv8Array ( 0 to 7 ) := ( X " 78 " , X " 87 " , X " 2D " , X " D2 " , X " 1E " , X " E1 " , X " B4 " , X " 4B " )
PGP3_VALID_BTF_ARRAY_C  Slv8Array := ( 0 = > PGP3_IDLE_C , 1 = > PGP3_SOF_C , 2 = > PGP3_EOF_C , 3 = > PGP3_SOC_C , 4 = > PGP3_EOC_C , 5 = > PGP3_SKP_C , 6 = > PGP3_USER_C ( 0 ) , 7 = > PGP3_USER_C ( 1 ) , 8 = > PGP3_USER_C ( 2 ) , 9 = > PGP3_USER_C ( 3 ) , 10 = > PGP3_USER_C ( 4 ) , 11 = > PGP3_USER_C ( 5 ) , 12 = > PGP3_USER_C ( 6 ) , 13 = > PGP3_USER_C ( 7 ) )
PGP3_D_HEADER_C  slv ( 1 downto 0 ) := " 01 "
PGP3_K_HEADER_C  slv ( 1 downto 0 ) := " 10 "
PGP3_SCRAMBLER_TAPS_C  IntegerArray ( 0 to 1 ) := ( 0 = > 39 , 1 = > 58 )
PGP3_CRC_POLY_C  slv ( 31 downto 0 ) := X " 04C11DB7 "
PGP3_TX_IN_INIT_C  Pgp3TxInType := ( disable = > ' 0 ' , flowCntlDis = > ' 0 ' , resetTx = > ' 0 ' , skpInterval = > toSlv ( 5000 , 32 ) , opCodeEn = > ' 0 ' , opCodeNumber = > ( others = > ' 0 ' ) , opCodeData = > ( others = > ' 0 ' ) , locData = > ( others = > ' 0 ' ) )
PGP3_TX_OUT_INIT_C  Pgp3TxOutType := ( locOverflow = > ( others = > ' 0 ' ) , locPause = > ( others = > ' 0 ' ) , phyTxActive = > ' 0 ' , linkReady = > ' 0 ' , opCodeReady = > ' 0 ' , frameTx = > ' 0 ' , frameTxErr = > ' 0 ' )
PGP3_RX_IN_INIT_C  Pgp3RxInType := ( loopback = > ( others = > ' 0 ' ) , resetRx = > ' 0 ' )
PGP3_RX_OUT_INIT_C  Pgp3RxOutType := ( phyRxActive = > ' 0 ' , linkReady = > ' 0 ' , frameRx = > ' 0 ' , frameRxErr = > ' 0 ' , cellError = > ' 0 ' , linkDown = > ' 0 ' , linkError = > ' 0 ' , opCodeEn = > ' 0 ' , opCodeNumber = > ( others = > ' 0 ' ) , opCodeData = > ( others = > ' 0 ' ) , remLinkData = > ( others = > ' 0 ' ) , remRxLinkReady = > ' 0 ' , remRxOverflow = > ( others = > ' 0 ' ) , remRxPause = > ( others = > ' 0 ' ) , phyRxData = > ( others = > ' 0 ' ) , phyRxHeader = > ( others = > ' 0 ' ) , phyRxValid = > ' 0 ' , phyRxInit = > ' 0 ' , gearboxAligned = > ' 0 ' , ebData = > ( others = > ' 0 ' ) , ebHeader = > ( others = > ' 0 ' ) , ebValid = > ' 0 ' , ebOverflow = > ' 0 ' , ebStatus = > ( others = > ' 0 ' ) )

Types

Pgp3TxInArray  array ( natural range <> ) of Pgp3TxInType
Pgp3TxOutArray  array ( natural range <> ) of Pgp3TxOutType
Pgp3RxInArray  array ( natural range <> ) of Pgp3RxInType
Pgp3RxOutArray  array ( natural range <> ) of Pgp3RxOutType

Subtypes

PGP3_BTF_FIELD_C  natural range 63 downto 56
PGP3_LINKINFO_FIELD_C  natural range 39 downto 0
PGP3_SOFC_VC_FIELD_C  natural range 43 downto 40
PGP3_SOFC_SEQ_FIELD_C  natural range 55 downto 44
PGP3_EOFC_TUSER_FIELD_C  natural range 7 downto 0
PGP3_EOFC_BYTES_LAST_FIELD_C  natural range 19 downto 16
PGP3_EOFC_CRC_FIELD_C  natural range 55 downto 24
PGP3_USER_CHECKSUM_FIELD_C  natural range 55 downto 48
PGP3_USER_OPCODE_FIELD_C  natural range 47 downto 0
PGP3_SKIP_DATA_FIELD_C  natural range 55 downto 0

Records

Pgp3TxInType 
Pgp3TxOutType 
Pgp3RxInType 
Pgp3RxOutType 

The documentation for this design unit was generated from the following files: