Package: Pgp3Pkg

Constants

Name Type Value Description
PGP3_VERSION_C slv(2 downto 0) "011"
PGP3_DEFAULT_TX_CELL_WORDS_MAX_C positive 128 Number of 64-bit words per cell
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" Define K code BTFs
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

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

Functions