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

Functions

AxiConfigType   axiConfig (
constant ADDR_WIDTH_C: in in positive range 12 to 64 32
constant DATA_BYTES_C: in in positive range 1 to 128 4
constant ID_BITS_C: in in positive range 1 to 32 12
constant LEN_BITS_C: in in natural range 0 to 8 4
)
AxiWriteMasterType   axiWriteMasterInit (
constant AXI_CONFIG_C: in in AxiConfigType
bready: in in sl '0'
constant AXI_BURST_C: in in slv( 1 downto 0) "01"
constant AXI_CACHE_C: in in slv( 3 downto 0) "1111"
)
AxiReadMasterType   axiReadMasterInit (
constant AXI_CONFIG_C: in in AxiConfigType
constant AXI_BURST_C: in in slv( 1 downto 0) "01"
constant AXI_CACHE_C: in in slv( 3 downto 0) "1111"
)
AxiConfigType   ite (
i: in boolean
t: in AxiConfigType
e: in AxiConfigType
)
slv   getAxiLen ( axiConfig: in AxiConfigType , burstBytes: in integer range 1 to 4096 4096 )
slv   getAxiLen (
axiConfig: in AxiConfigType
burstBytes: in integer range 1 to 4096 4096
totalBytes: in slv
address: in slv
)
slv   getAxiReadBytes ( axiConfig: in AxiConfigType , axiRead: in AxiReadMasterType )
AxiConfigType   axiConfig (
constant ADDR_WIDTH_C: in in positive range 12 to 64 32
constant DATA_BYTES_C: in in positive range 1 to 128 4
constant ID_BITS_C: in in positive range 1 to 32 12
constant LEN_BITS_C: in in natural range 0 to 8 4
)
AxiWriteMasterType   axiWriteMasterInit (
constant AXI_CONFIG_C: in in AxiConfigType
bready: in in sl '0'
constant AXI_BURST_C: in in slv( 1 downto 0) "01"
constant AXI_CACHE_C: in in slv( 3 downto 0) "1111"
)
AxiReadMasterType   axiReadMasterInit (
constant AXI_CONFIG_C: in in AxiConfigType
constant AXI_BURST_C: in in slv( 1 downto 0) "01"
constant AXI_CACHE_C: in in slv( 3 downto 0) "1111"
)
AxiConfigType   ite (
i: in boolean
t: in AxiConfigType
e: in AxiConfigType
)
slv   getAxiLen ( axiConfig: in AxiConfigType , burstBytes: in integer range 1 to 4096 4096 )
slv   getAxiLen (
axiConfig: in AxiConfigType
burstBytes: in integer range 1 to 4096 4096
totalBytes: in slv
address: in slv
)
slv   getAxiReadBytes ( axiConfig: in AxiConfigType , axiRead: in AxiReadMasterType )

Procedures

  getAxiLenProc(
axiConfig: in AxiConfigType
burstBytes: in integer range 1 to 4096 4096
totalBytes: in slv
address: in slv
r: in AxiLenType
v: inout AxiLenType
)
  getAxiLenProc(
axiConfig: in AxiConfigType
burstBytes: in integer range 1 to 4096 4096
totalBytes: in slv
address: in slv
r: in AxiLenType
v: inout AxiLenType
)

Libraries

ieee 
surf 

Use Clauses

std_logic_1164 
std_logic_arith 
std_logic_unsigned 
StdRtlPkg  Package <StdRtlPkg>

Constants

AXI_READ_MASTER_INIT_C  AxiReadMasterType := ( arvalid = > ' 0 ' , araddr = > ( others = > ' 0 ' ) , arid = > ( others = > ' 0 ' ) , arlen = > ( others = > ' 0 ' ) , arsize = > ( others = > ' 0 ' ) , arburst = > ( others = > ' 0 ' ) , arlock = > ( others = > ' 0 ' ) , arprot = > ( others = > ' 0 ' ) , arcache = > ( others = > ' 0 ' ) , arqos = > ( others = > ' 0 ' ) , arregion = > ( others = > ' 0 ' ) , rready = > ' 0 ' )
AXI_READ_MASTER_FORCE_C  AxiReadMasterType := ( arvalid = > ' 0 ' , araddr = > ( others = > ' 0 ' ) , arid = > ( others = > ' 0 ' ) , arlen = > ( others = > ' 0 ' ) , arsize = > ( others = > ' 0 ' ) , arburst = > ( others = > ' 0 ' ) , arlock = > ( others = > ' 0 ' ) , arprot = > ( others = > ' 0 ' ) , arcache = > ( others = > ' 0 ' ) , arqos = > ( others = > ' 0 ' ) , arregion = > ( others = > ' 0 ' ) , rready = > ' 1 ' )
AXI_READ_SLAVE_INIT_C  AxiReadSlaveType := ( arready = > ' 0 ' , rdata = > ( others = > ' 0 ' ) , rlast = > ' 0 ' , rvalid = > ' 0 ' , rid = > ( others = > ' 0 ' ) , rresp = > ( others = > ' 0 ' ) )
AXI_READ_SLAVE_FORCE_C  AxiReadSlaveType := ( arready = > ' 1 ' , rdata = > ( others = > ' 0 ' ) , rlast = > ' 0 ' , rvalid = > ' 0 ' , rid = > ( others = > ' 0 ' ) , rresp = > ( others = > ' 0 ' ) )
AXI_WRITE_MASTER_INIT_C  AxiWriteMasterType := ( awvalid = > ' 0 ' , awaddr = > ( others = > ' 0 ' ) , awid = > ( others = > ' 0 ' ) , awlen = > ( others = > ' 0 ' ) , awsize = > ( others = > ' 0 ' ) , awburst = > ( others = > ' 0 ' ) , awlock = > ( others = > ' 0 ' ) , awprot = > ( others = > ' 0 ' ) , awcache = > ( others = > ' 0 ' ) , awqos = > ( others = > ' 0 ' ) , awregion = > ( others = > ' 0 ' ) , wdata = > ( others = > ' 0 ' ) , wlast = > ' 0 ' , wvalid = > ' 0 ' , wid = > ( others = > ' 0 ' ) , wstrb = > ( others = > ' 0 ' ) , bready = > ' 0 ' )
AXI_WRITE_MASTER_FORCE_C  AxiWriteMasterType := ( awvalid = > ' 0 ' , awaddr = > ( others = > ' 0 ' ) , awid = > ( others = > ' 0 ' ) , awlen = > ( others = > ' 0 ' ) , awsize = > ( others = > ' 0 ' ) , awburst = > ( others = > ' 0 ' ) , awlock = > ( others = > ' 0 ' ) , awprot = > ( others = > ' 0 ' ) , awcache = > ( others = > ' 0 ' ) , awqos = > ( others = > ' 0 ' ) , awregion = > ( others = > ' 0 ' ) , wdata = > ( others = > ' 0 ' ) , wlast = > ' 0 ' , wvalid = > ' 0 ' , wid = > ( others = > ' 0 ' ) , wstrb = > ( others = > ' 0 ' ) , bready = > ' 1 ' )
AXI_WRITE_SLAVE_INIT_C  AxiWriteSlaveType := ( awready = > ' 0 ' , wready = > ' 0 ' , bresp = > ( others = > ' 0 ' ) , bvalid = > ' 0 ' , bid = > ( others = > ' 0 ' ) )
AXI_WRITE_SLAVE_FORCE_C  AxiWriteSlaveType := ( awready = > ' 1 ' , wready = > ' 1 ' , bresp = > ( others = > ' 0 ' ) , bvalid = > ' 0 ' , bid = > ( others = > ' 0 ' ) )
AXI_CTRL_INIT_C  AxiCtrlType := ( pause = > ' 1 ' , overflow = > ' 0 ' )
AXI_CTRL_UNUSED_C  AxiCtrlType := ( pause = > ' 0 ' , overflow = > ' 0 ' )
AXI_CONFIG_INIT_C  AxiConfigType := axiConfig ( ADDR_WIDTH_C = > 32 , DATA_BYTES_C = > 4 , ID_BITS_C = > 12 , LEN_BITS_C = > 4 )
AXI_LEN_INIT_C  AxiLenType := ( valid = > " 00 " , value = > ( others = > ' 0 ' ) , max = > 0 , req = > 0 )

Types

AxiReadMasterArray  array ( natural range <> ) of AxiReadMasterType
AxiReadSlaveArray  array ( natural range <> ) of AxiReadSlaveType
AxiWriteMasterArray  array ( natural range <> ) of AxiWriteMasterType
AxiWriteSlaveArray  array ( natural range <> ) of AxiWriteSlaveType
AxiCtrlArray  array ( natural range <> ) of AxiCtrlType

Records

AxiReadMasterType 
AxiReadSlaveType 
AxiWriteMasterType 
AxiWriteSlaveType 
AxiCtrlType 
AxiConfigType 
AxiLenType 

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