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

Functions

slv   crcStrToSlv ( CRC_MODE_C: in string )
AxiStreamMasterType   makePacketizer2Header (
CRC_MODE_C: in string
valid: in sl '0'
sof: in sl '1'
tuser: in slv( 7 downto 0) ( others => '0')
tdest: in slv( 7 downto 0) ( others => '0')
tid: in slv( 7 downto 0) ( others => '0')
seq: in slv( 15 downto 0) ( others => '0')
)
slv   makePacketizer2TailTdata (
CRC_MODE_C: in string
eof: in sl '1'
tuser: in slv( 7 downto 0) ( others => '0')
bytes: in slv( 3 downto 0) "1000"
crc: in slv( 31 downto 0) ( others => '0')
)
axiStreamMasterType   makePacketizer2Tail (
CRC_MODE_C: in string
valid: in sl '0'
eof: in sl '1'
tuser: in slv( 7 downto 0) ( others => '0')
bytes: in slv( 3 downto 0) "1000"
crc: in slv( 31 downto 0) ( others => '0')
)
slv   crcStrToSlv ( CRC_MODE_C: in string )
AxiStreamMasterType   makePacketizer2Header (
CRC_MODE_C: in string
valid: in sl '0'
sof: in sl '1'
tuser: in slv( 7 downto 0) ( others => '0')
tdest: in slv( 7 downto 0) ( others => '0')
tid: in slv( 7 downto 0) ( others => '0')
seq: in slv( 15 downto 0) ( others => '0')
)
slv   makePacketizer2TailTdata (
CRC_MODE_C: in string
eof: in sl '1'
tuser: in slv( 7 downto 0) ( others => '0')
bytes: in slv( 3 downto 0) "1000"
crc: in slv( 31 downto 0) ( others => '0')
)
axiStreamMasterType   makePacketizer2Tail (
CRC_MODE_C: in string
valid: in sl '0'
eof: in sl '1'
tuser: in slv( 7 downto 0) ( others => '0')
bytes: in slv( 3 downto 0) "1000"
crc: in slv( 31 downto 0) ( others => '0')
)

Libraries

ieee 
surf 

Use Clauses

std_logic_1164 
StdRtlPkg  Package <StdRtlPkg>
AxiStreamPkg  Package <AxiStreamPkg>
SsiPkg  Package <SsiPkg>

Constants

PACKETIZER2_VERSION_C  slv ( 3 downto 0 ) := x " 2 "
PACKETIZER2_CRC_MODE_NONE_C  slv ( 3 downto 0 ) := x " 0 "
PACKETIZER2_CRC_MODE_DATA_C  slv ( 3 downto 0 ) := x " 1 "
PACKETIZER2_CRC_MODE_FULL_C  slv ( 3 downto 0 ) := x " 2 "
PACKETIZER2_CRC_MODE_INVALID_C  slv ( 3 downto 0 ) := x " F "
PACKETIZER2_HDR_TDEST_BIT_C  integer := 16
PACKETIZER2_HDR_SOF_BIT_C  integer := 63
PACKETIZER2_TAIL_EOF_BIT_C  integer := 8
PACKETIZER2_AXIS_CFG_C  AxiStreamConfigType := ( TSTRB_EN_C = > false , TDATA_BYTES_C = > 8 , TDEST_BITS_C = > 8 , TID_BITS_C = > 8 , TKEEP_MODE_C = > TKEEP_NORMAL_C , TUSER_BITS_C = > 2 , TUSER_MODE_C = > TUSER_FIRST_LAST_C )
PACKETIZER2_DEBUG_INIT_C  Packetizer2DebugType := ( initDone = > ' 0 ' , sof = > ' 0 ' , eof = > ' 0 ' , eofe = > ' 0 ' , sop = > ' 0 ' , eop = > ' 0 ' , packetError = > ' 0 ' , sofError = > ' 0 ' , seqError = > ' 0 ' , versionError = > ' 0 ' , crcModeError = > ' 0 ' , eofeError = > ' 0 ' , crcError = > ' 0 ' )

Types

Packetizer2DebugArray  array ( natural range <> ) of Packetizer2DebugType

Subtypes

PACKETIZER2_HDR_VERSION_FIELD_C  natural range 3 downto 0
PACKETIZER2_HDR_CRC_TYPE_FIELD_C  natural range 7 downto 4
PACKETIZER2_HDR_TUSER_FIELD_C  natural range 15 downto 8
PACKETIZER2_HDR_TDEST_FIELD_C  natural range 23 downto PACKETIZER2_HDR_TDEST_BIT_C
PACKETIZER2_HDR_TID_FIELD_C  natural range 31 downto 24
PACKETIZER2_HDR_SEQ_FIELD_C  natural range 47 downto 32
PACKETIZER2_TAIL_TUSER_FIELD_C  natural range 7 downto 0
PACKETIZER2_TAIL_BYTES_FIELD_C  natural range 19 downto 16
PACKETIZER2_TAIL_CRC_FIELD_C  natural range 63 downto 32

Records

Packetizer2DebugType 

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