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

Functions

AxiStreamMasterType   axiStreamMasterInit ( constant config: in AxiStreamConfigType )
integer   getSlvSize ( c: in AxiStreamConfigType )
slv   toSlv ( din: in AxiStreamMasterType , c: in AxiStreamConfigType )
AxiStreamMasterType   toAxiStreamMaster (
din: in slv
valid: in sl
c: in AxiStreamConfigType
)
boolean   axiStreamPacked ( constant CONFIG_C: in AxiStreamConfigType , axisMaster: in AxiStreamMasterType )
integer   axiStreamGetUserPos (
axisConfig: in AxiStreamConfigType
axisMaster: in AxiStreamMasterType
bytePos: in integer - 1
)
slv   axiStreamGetUserField (
axisConfig: in AxiStreamConfigType
axisMaster: in AxiStreamMasterType
bytePos: in integer - 1
)
sl   axiStreamGetUserBit (
axisConfig: in AxiStreamConfigType
axisMaster: in AxiStreamMasterType
bitPos: in integer
bytePos: in integer - 1
)
AxiStreamConfigType   ite (
i: in boolean
t: in AxiStreamConfigType
e: in AxiStreamConfigType
)
AxiStreamMasterType   ite (
i: in boolean
t: in AxiStreamMasterType
e: in AxiStreamMasterType
)
AxiStreamSlaveType   ite (
i: in boolean
t: in AxiStreamSlaveType
e: in AxiStreamSlaveType
)
AxiStreamCtrlType   ite (
i: in boolean
t: in AxiStreamCtrlType
e: in AxiStreamCtrlType
)
TUserModeType   ite (
i: in boolean
t: in TUserModeType
e: in TUserModeType
)
TKeepModeType   ite (
i: in boolean
t: in TKeepModeType
e: in TKeepModeType
)
slv   genTKeep ( bytes: in natural range 0 to AXI_STREAM_MAX_TKEEP_WIDTH_C )
slv   genTKeep ( constant config: in AxiStreamConfigType )
natural   getTKeep ( tKeep: in slv , axisConfig: in AxiStreamConfigType )
AxiStreamMasterType   axiStreamMasterInit ( constant config: in AxiStreamConfigType )
integer   getSlvSize ( c: in AxiStreamConfigType )
slv   toSlv ( din: in AxiStreamMasterType , c: in AxiStreamConfigType )
AxiStreamMasterType   toAxiStreamMaster (
din: in slv
valid: in sl
c: in AxiStreamConfigType
)
boolean   axiStreamPacked ( constant CONFIG_C: in AxiStreamConfigType , axisMaster: in AxiStreamMasterType )
integer   axiStreamGetUserPos (
axisConfig: in AxiStreamConfigType
axisMaster: in AxiStreamMasterType
bytePos: in integer - 1
)
slv   axiStreamGetUserField (
axisConfig: in AxiStreamConfigType
axisMaster: in AxiStreamMasterType
bytePos: in integer - 1
)
sl   axiStreamGetUserBit (
axisConfig: in AxiStreamConfigType
axisMaster: in AxiStreamMasterType
bitPos: in integer
bytePos: in integer - 1
)
AxiStreamConfigType   ite (
i: in boolean
t: in AxiStreamConfigType
e: in AxiStreamConfigType
)
AxiStreamMasterType   ite (
i: in boolean
t: in AxiStreamMasterType
e: in AxiStreamMasterType
)
AxiStreamSlaveType   ite (
i: in boolean
t: in AxiStreamSlaveType
e: in AxiStreamSlaveType
)
AxiStreamCtrlType   ite (
i: in boolean
t: in AxiStreamCtrlType
e: in AxiStreamCtrlType
)
TUserModeType   ite (
i: in boolean
t: in TUserModeType
e: in TUserModeType
)
TKeepModeType   ite (
i: in boolean
t: in TKeepModeType
e: in TKeepModeType
)
slv   genTKeep ( bytes: in natural range 0 to AXI_STREAM_MAX_TKEEP_WIDTH_C )
slv   genTKeep ( constant config: in AxiStreamConfigType )
natural   getTKeep ( tKeep: in slv , axisConfig: in AxiStreamConfigType )

Procedures

  axiStreamSetUserField(
axisConfig: in AxiStreamConfigType
axisMaster: inout AxiStreamMasterType
fieldValue: in slv
bytePos: in integer - 1
)
  axiStreamSetUserBit(
axisConfig: in AxiStreamConfigType
axisMaster: inout AxiStreamMasterType
bitPos: in integer
bitValue: in sl
bytePos: in integer - 1
)
  axiStreamSetUserField(
axisConfig: in AxiStreamConfigType
axisMaster: inout AxiStreamMasterType
fieldValue: in slv
bytePos: in integer - 1
)
  axiStreamSetUserBit(
axisConfig: in AxiStreamConfigType
axisMaster: inout AxiStreamMasterType
bitPos: in integer
bitValue: in sl
bytePos: in integer - 1
)

Libraries

ieee 
surf 

Use Clauses

std_logic_1164 
std_logic_unsigned 
std_logic_arith 
StdRtlPkg  Package <StdRtlPkg>

Constants

AXI_STREAM_MAX_TDATA_WIDTH_C  positive := 1024
AXI_STREAM_MAX_TKEEP_WIDTH_C  positive := ( AXI_STREAM_MAX_TDATA_WIDTH_C/ 8 )
AXI_STREAM_MASTER_INIT_C  AxiStreamMasterType := ( tValid = > ' 0 ' , tData = > ( others = > ' 0 ' ) , tStrb = > ( others = > ' 1 ' ) , tKeep = > ( others = > ' 1 ' ) , tLast = > ' 0 ' , tDest = > ( others = > ' 0 ' ) , tId = > ( others = > ' 0 ' ) , tUser = > ( others = > ' 0 ' ) )
AXI_STREAM_SLAVE_INIT_C  AxiStreamSlaveType := ( tReady = > ' 0 ' )
AXI_STREAM_SLAVE_FORCE_C  AxiStreamSlaveType := ( tReady = > ' 1 ' )
AXI_STREAM_CONFIG_INIT_C  AxiStreamConfigType := ( TSTRB_EN_C = > false , TDATA_BYTES_C = > 16 , TDEST_BITS_C = > 4 , TID_BITS_C = > 0 , TKEEP_MODE_C = > TKEEP_NORMAL_C , TUSER_BITS_C = > 4 , TUSER_MODE_C = > TUSER_NORMAL_C )
AXI_STREAM_CTRL_INIT_C  AxiStreamCtrlType := ( pause = > ' 1 ' , overflow = > ' 0 ' , idle = > ' 0 ' )
AXI_STREAM_CTRL_UNUSED_C  AxiStreamCtrlType := ( pause = > ' 0 ' , overflow = > ' 0 ' , idle = > ' 1 ' )

Types

AxiStreamMasterVectorArray  array ( natural range <> , natural range <> ) of AxiStreamMasterType
AxiStreamDualMasterArray  array ( natural range <> ) of AxiStreamMasterArray ( 1 downto 0 )
AxiStreamQuadMasterArray  array ( natural range <> ) of AxiStreamMasterArray ( 3 downto 0 )
AxiStreamOctalMasterArray  array ( natural range <> ) of AxiStreamMasterArray ( 7 downto 0 )
AxiStreamSlaveVectorArray  array ( natural range <> , natural range <> ) of AxiStreamSlaveType
AxiStreamDualSlaveArray  array ( natural range <> ) of AxiStreamSlaveArray ( 1 downto 0 )
AxiStreamQuadSlaveArray  array ( natural range <> ) of AxiStreamSlaveArray ( 3 downto 0 )
AxiStreamOctalSlaveArray  array ( natural range <> ) of AxiStreamSlaveArray ( 7 downto 0 )
TUserModeType  ( TUSER_NORMAL_C , TUSER_FIRST_LAST_C , TUSER_LAST_C , TUSER_NONE_C )
TKeepModeType  ( TKEEP_NORMAL_C , TKEEP_COMP_C , TKEEP_FIXED_C , TKEEP_COUNT_C )
AxiStreamConfigArray  array ( natural range <> ) of AxiStreamConfigType
AxiStreamConfigVectorArray  array ( natural range <> , natural range <> ) of AxiStreamConfigType
AxiStreamCtrlVectorArray  array ( natural range <> , natural range <> ) of AxiStreamCtrlType
AxiStreamDualCtrlArray  array ( natural range <> ) of AxiStreamCtrlArray ( 1 downto 0 )
AxiStreamQuadCtrlArray  array ( natural range <> ) of AxiStreamCtrlArray ( 3 downto 0 )
AxiStreamOctalCtrlArray  array ( natural range <> ) of AxiStreamCtrlArray ( 7 downto 0 )

Subtypes

AxiStreamMasterArray  array ( natural range <> ) of AxiStreamMasterType
AxiStreamDualMasterType  AxiStreamMasterArray ( 1 downto 0 )
AxiStreamQuadMasterType  AxiStreamMasterArray ( 3 downto 0 )
AxiStreamOctalMasterType  AxiStreamMasterArray ( 7 downto 0 )
AxiStreamSlaveArray  array ( natural range <> ) of AxiStreamSlaveType
AxiStreamDualSlaveType  AxiStreamSlaveArray ( 1 downto 0 )
AxiStreamQuadSlaveType  AxiStreamSlaveArray ( 3 downto 0 )
AxiStreamOctalSlaveType  AxiStreamSlaveArray ( 7 downto 0 )
AxiStreamCtrlArray  array ( natural range <> ) of AxiStreamCtrlType
AxiStreamDualCtrlType  AxiStreamCtrlArray ( 1 downto 0 )
AxiStreamQuadCtrlType  AxiStreamCtrlArray ( 3 downto 0 )
AxiStreamOctalCtrlType  AxiStreamCtrlArray ( 7 downto 0 )

Records

AxiStreamMasterType 
AxiStreamSlaveType 
AxiStreamConfigType 
AxiStreamCtrlType 

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