SURF
Loading...
Searching...
No Matches
AxiStreamResizeTb.testbed Architecture Reference
Architecture >> AxiStreamResizeTb::testbed

Processes

PROCESS_13  ( clk )
PROCESS_94  ( clk )

Constants

CLK_PERIOD_C  time := 10 ns
TPD_C  time := CLK_PERIOD_C/ 4
PACKET_LENGTH_C  slv ( 31 downto 0 ) := toSlv ( 32 , 32 )
NUMBER_PACKET_C  slv ( 31 downto 0 ) := toSlv ( 4096 , 32 )
PRBS_SSI_CONFIG_C  AxiStreamConfigType := ( TSTRB_EN_C = > false , TDATA_BYTES_C = > 8 , TDEST_BITS_C = > 8 , TID_BITS_C = > 8 , TKEEP_MODE_C = > TKEEP_COMP_C , TUSER_BITS_C = > 2 , TUSER_MODE_C = > TUSER_FIRST_LAST_C )
CONFIG_SIZE_C  natural := 8
AXI_STREAM_CONFIG_C  AxiStreamConfigArray ( CONFIG_SIZE_C- 1 downto 0 ) := ( 0 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > PRBS_SSI_CONFIG_C.TDEST_BITS_C , TID_BITS_C = > PRBS_SSI_CONFIG_C.TID_BITS_C , TUSER_BITS_C = > PRBS_SSI_CONFIG_C.TUSER_BITS_C ) , 1 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > 0 , TID_BITS_C = > PRBS_SSI_CONFIG_C.TID_BITS_C , TUSER_BITS_C = > PRBS_SSI_CONFIG_C.TUSER_BITS_C ) , 2 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > PRBS_SSI_CONFIG_C.TDEST_BITS_C , TID_BITS_C = > 0 , TUSER_BITS_C = > PRBS_SSI_CONFIG_C.TUSER_BITS_C ) , 3 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > 0 , TID_BITS_C = > 0 , TUSER_BITS_C = > PRBS_SSI_CONFIG_C.TUSER_BITS_C ) , 4 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > PRBS_SSI_CONFIG_C.TDEST_BITS_C , TID_BITS_C = > PRBS_SSI_CONFIG_C.TID_BITS_C , TUSER_BITS_C = > 0 ) , 5 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > 0 , TID_BITS_C = > PRBS_SSI_CONFIG_C.TID_BITS_C , TUSER_BITS_C = > 0 ) , 6 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > PRBS_SSI_CONFIG_C.TDEST_BITS_C , TID_BITS_C = > 0 , TUSER_BITS_C = > 0 ) , 7 = > ( TSTRB_EN_C = > PRBS_SSI_CONFIG_C.TSTRB_EN_C , TKEEP_MODE_C = > PRBS_SSI_CONFIG_C.TKEEP_MODE_C , TUSER_MODE_C = > PRBS_SSI_CONFIG_C.TUSER_MODE_C , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > 0 , TID_BITS_C = > 0 , TUSER_BITS_C = > 0 ) )

Signals

clk  sl := ' 0 '
rst  sl := ' 1 '
dropWrite  sl := ' 0 '
dropFrame  sl := ' 0 '
passed  slv ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > ' 0 ' )
failed  sl := ' 0 '
updated  slv ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > ' 0 ' )
errorDet  slv ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > ' 0 ' )
errLength  sl := ' 0 '
errDataBus  sl := ' 0 '
errEofe  sl := ' 0 '
errWordCnt  slv ( 31 downto 0 ) := ( others = > ' 0 ' )
errbitCnt  slv ( 31 downto 0 ) := ( others = > ' 0 ' )
cnt  Slv32Array ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > ( others = > ' 0 ' ) )
packetLengths  Slv32Array ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > ( others = > ' 0 ' ) )
txMasters  AxiStreamMasterArray ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > AXI_STREAM_MASTER_INIT_C )
txSlaves  AxiStreamSlaveArray ( CONFIG_SIZE_C- 1 downto 0 )
resizeMasters  AxiStreamMasterArray ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > AXI_STREAM_MASTER_INIT_C )
resizeSlaves  AxiStreamSlaveArray ( CONFIG_SIZE_C- 1 downto 0 )
sofMasters  AxiStreamMasterArray ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > AXI_STREAM_MASTER_INIT_C )
sofSlaves  AxiStreamSlaveArray ( CONFIG_SIZE_C- 1 downto 0 )
rxMasters  AxiStreamMasterArray ( CONFIG_SIZE_C- 1 downto 0 ) := ( others = > AXI_STREAM_MASTER_INIT_C )
rxSlaves  AxiStreamSlaveArray ( CONFIG_SIZE_C- 1 downto 0 )

Instantiations

u_clkrst  ClkRst <Entity ClkRst>
u_ssiprbstx  SsiPrbsTx <Entity SsiPrbsTx>
u_resizeup  AxiStreamFifoV2 <Entity AxiStreamFifoV2>
u_sof  SsiInsertSof <Entity SsiInsertSof>
u_ssiprbsrx  SsiPrbsRx <Entity SsiPrbsRx>
u_clkrst  ClkRst <Entity ClkRst>
u_ssiprbstx  SsiPrbsTx <Entity SsiPrbsTx>
u_resizeup  AxiStreamFifoV2 <Entity AxiStreamFifoV2>
u_sof  SsiInsertSof <Entity SsiInsertSof>
u_ssiprbsrx  SsiPrbsRx <Entity SsiPrbsRx>

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