SURF  1.0
SsiPkg Package Reference
Package Body >> SsiPkg

Functions

AxiStreamConfigType   ssiAxiStreamConfig (
dataBytes: in natural
tKeepMode: in TKeepModeType TKEEP_COMP_C
tUserMode: in TUserModeType TUSER_FIRST_LAST_C
tDestBits: in integer range 0 to 8 4
tUserBits: in integer range 2 to 8 2
)
AxiStreamMasterType   ssi2AxisMaster ( axisConfig: in AxiStreamConfigType , ssiMaster: in SsiMasterType )
AxiStreamSlaveType   ssi2AxisSlave ( ssiSlave: in SsiSlaveType )
AxiStreamCtrlType   ssi2AxisCtrl ( ssiSlave: in SsiSlaveType )
SsiMasterType   axis2SsiMaster ( axisConfig: in AxiStreamConfigType , axisMaster: in AxiStreamMasterType )
SsiSlaveType   axis2SsiSlave (
axisConfig: in AxiStreamConfigType
axisSlave: in AxiStreamSlaveType AXI_STREAM_SLAVE_INIT_C
axisCtrl: in AxiStreamCtrlType AXI_STREAM_CTRL_UNUSED_C
)
SsiMasterType   ssiMasterInit ( axisConfig: in AxiStreamConfigType )
SsiSlaveType   ssiSlaveInit ( axisConfig: in AxiStreamConfigType )
sl   ssiGetUserEofe ( axisConfig: in AxiStreamConfigType , axisMaster: in AxiStreamMasterType )
sl   ssiGetUserSof ( axisConfig: in AxiStreamConfigType , axisMaster: in AxiStreamMasterType )

Procedures

  ssiSetUserEofe(
axisConfig: in AxiStreamConfigType
axisMaster: inout AxiStreamMasterType
eofe: in sl
)
  ssiSetUserSof(
axisConfig: in AxiStreamConfigType
axisMaster: inout AxiStreamMasterType
sof: in sl
)
  ssiResetFlags( axisMaster: inout AxiStreamMasterType )

Libraries

ieee 

Use Clauses

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

Constants

SSI_EOFE_C  integer := 0
SSI_SOF_C  integer := 1
SSI_TUSER_BITS_C  integer := 2
SSI_TDEST_BITS_C  integer := 4
SSI_TID_BITS_C  integer := 0
SSI_TSTRB_EN_C  boolean := false
SSI_MASTER_FORCE_EOFE_C  AxiStreamMasterType := ( tValid = > ' 1 ' , tData = > ( others = > ' 0 ' ) , tStrb = > ( others = > ' 1 ' ) , tKeep = > ( others = > ' 1 ' ) , tLast = > ' 1 ' , tDest = > ( others = > ' 0 ' ) , tId = > ( others = > ' 0 ' ) , tUser = > x " 01010101010101010101010101010101 " )
SSI_CONFIG_INIT_C  AxiStreamConfigType := ssiAxiStreamConfig ( 16 )

Records

SsiMasterType  
valid  sl
data  slv ( 127 downto 0 )
strb  slv ( 15 downto 0 )
keep  slv ( 15 downto 0 )
dest  slv ( SSI_TDEST_BITS_C - 1 downto 0 )
packed  sl
sof  sl
eof  sl
eofe  sl
SsiSlaveType  
ready  sl
pause  sl
overflow  sl

Detailed Description

Definition at line 26 of file SsiPkg.vhd.

Member Function Documentation

◆ ssiAxiStreamConfig()

AxiStreamConfigType ssiAxiStreamConfig (   dataBytes in natural ,
  tKeepMode in TKeepModeType TKEEP_COMP_C ,
  tUserMode in TUserModeType TUSER_FIRST_LAST_C ,
  tDestBits in integer range 0 to 8 4 ,
  tUserBits in integer range 2 to 8 2  
)
Function

Definition at line 51 of file SsiPkg.vhd.

◆ ssi2AxisMaster()

AxiStreamMasterType ssi2AxisMaster (   axisConfig in AxiStreamConfigType ,
  ssiMaster in SsiMasterType  
)
Function

Definition at line 83 of file SsiPkg.vhd.

◆ ssi2AxisSlave()

AxiStreamSlaveType ssi2AxisSlave (   ssiSlave in SsiSlaveType  
)
Function

Definition at line 88 of file SsiPkg.vhd.

◆ ssi2AxisCtrl()

AxiStreamCtrlType ssi2AxisCtrl (   ssiSlave in SsiSlaveType  
)
Function

Definition at line 92 of file SsiPkg.vhd.

◆ axis2SsiMaster()

SsiMasterType axis2SsiMaster (   axisConfig in AxiStreamConfigType ,
  axisMaster in AxiStreamMasterType  
)
Function

Definition at line 96 of file SsiPkg.vhd.

◆ axis2SsiSlave()

SsiSlaveType axis2SsiSlave (   axisConfig in AxiStreamConfigType ,
  axisSlave in AxiStreamSlaveType AXI_STREAM_SLAVE_INIT_C ,
  axisCtrl in AxiStreamCtrlType AXI_STREAM_CTRL_UNUSED_C  
)
Function

Definition at line 101 of file SsiPkg.vhd.

◆ ssiMasterInit()

SsiMasterType ssiMasterInit (   axisConfig in AxiStreamConfigType  
)
Function

Definition at line 107 of file SsiPkg.vhd.

◆ ssiSlaveInit()

SsiSlaveType ssiSlaveInit (   axisConfig in AxiStreamConfigType  
)
Function

Definition at line 111 of file SsiPkg.vhd.

◆ ssiGetUserEofe()

sl ssiGetUserEofe (   axisConfig in AxiStreamConfigType ,
  axisMaster in AxiStreamMasterType  
)
Function

Definition at line 122 of file SsiPkg.vhd.

◆ ssiSetUserEofe()

ssiSetUserEofe (   axisConfig in AxiStreamConfigType ,
  axisMaster inout AxiStreamMasterType ,
  eofe in sl  
)
Procedure

Definition at line 127 of file SsiPkg.vhd.

◆ ssiGetUserSof()

sl ssiGetUserSof (   axisConfig in AxiStreamConfigType ,
  axisMaster in AxiStreamMasterType  
)
Function

Definition at line 132 of file SsiPkg.vhd.

◆ ssiSetUserSof()

ssiSetUserSof (   axisConfig in AxiStreamConfigType ,
  axisMaster inout AxiStreamMasterType ,
  sof in sl  
)
Procedure

Definition at line 137 of file SsiPkg.vhd.

◆ ssiResetFlags()

ssiResetFlags (   axisMaster inout AxiStreamMasterType  
)
Procedure

Definition at line 142 of file SsiPkg.vhd.

Member Data Documentation

◆ ieee

ieee
Library

Definition at line 18 of file SsiPkg.vhd.

◆ std_logic_1164

std_logic_1164
Package

Definition at line 19 of file SsiPkg.vhd.

◆ std_logic_unsigned

Definition at line 20 of file SsiPkg.vhd.

◆ std_logic_arith

std_logic_arith
Package

Definition at line 21 of file SsiPkg.vhd.

◆ StdRtlPkg

StdRtlPkg
Package

Definition at line 23 of file SsiPkg.vhd.

◆ AxiStreamPkg

AxiStreamPkg
Package

Definition at line 24 of file SsiPkg.vhd.

◆ SSI_EOFE_C

SSI_EOFE_C integer := 0
Constant

Definition at line 30 of file SsiPkg.vhd.

◆ SSI_SOF_C

SSI_SOF_C integer := 1
Constant

Definition at line 31 of file SsiPkg.vhd.

◆ SSI_TUSER_BITS_C

SSI_TUSER_BITS_C integer := 2
Constant

Definition at line 33 of file SsiPkg.vhd.

◆ SSI_TDEST_BITS_C

SSI_TDEST_BITS_C integer := 4
Constant

Definition at line 34 of file SsiPkg.vhd.

◆ SSI_TID_BITS_C

SSI_TID_BITS_C integer := 0
Constant

Definition at line 35 of file SsiPkg.vhd.

◆ SSI_TSTRB_EN_C

SSI_TSTRB_EN_C boolean := false
Constant

Definition at line 36 of file SsiPkg.vhd.

◆ SSI_MASTER_FORCE_EOFE_C

SSI_MASTER_FORCE_EOFE_C AxiStreamMasterType := ( tValid = > ' 1 ' , tData = > ( others = > ' 0 ' ) , tStrb = > ( others = > ' 1 ' ) , tKeep = > ( others = > ' 1 ' ) , tLast = > ' 1 ' , tDest = > ( others = > ' 0 ' ) , tId = > ( others = > ' 0 ' ) , tUser = > x " 01010101010101010101010101010101 " )
Constant

Definition at line 38 of file SsiPkg.vhd.

◆ SSI_CONFIG_INIT_C

SSI_CONFIG_INIT_C AxiStreamConfigType := ssiAxiStreamConfig ( 16 )
Constant

Definition at line 60 of file SsiPkg.vhd.

◆ SsiMasterType

SsiMasterType
Record

Definition at line 65 of file SsiPkg.vhd.

◆ valid

valid sl
Record

Definition at line 66 of file SsiPkg.vhd.

◆ data

data slv ( 127 downto 0 )
Record

Definition at line 67 of file SsiPkg.vhd.

◆ strb

strb slv ( 15 downto 0 )
Record

Definition at line 68 of file SsiPkg.vhd.

◆ keep

keep slv ( 15 downto 0 )
Record

Definition at line 69 of file SsiPkg.vhd.

◆ dest

dest slv ( SSI_TDEST_BITS_C - 1 downto 0 )
Record

Definition at line 70 of file SsiPkg.vhd.

◆ packed

packed sl
Record

Definition at line 71 of file SsiPkg.vhd.

◆ sof

sof sl
Record

Definition at line 72 of file SsiPkg.vhd.

◆ eof

eof sl
Record

Definition at line 73 of file SsiPkg.vhd.

◆ eofe

eofe sl
Record

Definition at line 74 of file SsiPkg.vhd.

◆ SsiSlaveType

SsiSlaveType
Record

Definition at line 77 of file SsiPkg.vhd.

◆ ready

ready sl
Record

Definition at line 78 of file SsiPkg.vhd.

◆ pause

pause sl
Record

Definition at line 79 of file SsiPkg.vhd.

◆ overflow

overflow sl
Record

Definition at line 80 of file SsiPkg.vhd.


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