SURF  1.0
AxiStreamDmaRingPkg Package Reference
Package Body >> AxiStreamDmaRingPkg

Functions

slv   getBufferAddr (
baseAddr: in slv( 31 downto 0)
busIndex: in integer range 0 to 7
buf: in slv( 5 downto 0) ( others => '0')
high: in sl '0'
)
slv   getBufferAddr (
baseAddr: in slv( 31 downto 0)
busIndex: in integer range 0 to 7
buf: in integer range 0 to 63 0
high: in sl '0'
)

Libraries

ieee 

Use Clauses

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

Constants

AXIL_MASTERS_C  integer := 6
START_AXIL_C  integer := 0
END_AXIL_C  integer := 1
NEXT_AXIL_C  integer := 2
TRIG_AXIL_C  integer := 3
MODE_AXIL_C  integer := 4
STATUS_AXIL_C  integer := 5
EMPTY_C  integer := 0
FULL_C  integer := 1
DONE_C  integer := 2
TRIGGERED_C  integer := 3
ERROR_C  integer := 4
ENABLED_C  integer := 0
DONE_WHEN_FULL_C  integer := 1
INIT_C  integer := 2
SOFT_TRIGGER_C  integer := 3
INIT_BYTE_C  integer := INIT_C / 8
BUFFER_CLEAR_OFFSET_C  slv ( 7 downto 0 ) := X " 18 "
DMA_RING_STATUS_CONFIG_C  AxiStreamConfigType := ( TSTRB_EN_C = > false , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > 0 , TID_BITS_C = > 0 , TKEEP_MODE_C = > TKEEP_FIXED_C , TUSER_BITS_C = > 1 , TUSER_MODE_C = > TUSER_NONE_C )

Subtypes

BURST_SIZE_C  integer range 11 downto 8
FST_C  integer range 31 downto 16
STATUS_TDEST_C  integer range 7 downto 4
FAT_C  integer range 31 downto 16

Detailed Description

Definition at line 26 of file AxiStreamDmaRingPkg.vhd.

Member Function Documentation

◆ getBufferAddr() [1/2]

slv getBufferAddr (   baseAddr in slv ( 31 downto 0 ) ,
  busIndex in integer range 0 to 7 ,
  buf in slv ( 5 downto 0 ) ( others => ' 0 ') ,
  high in sl ' 0 '  
)
Function

Definition at line 59 of file AxiStreamDmaRingPkg.vhd.

◆ getBufferAddr() [2/2]

slv getBufferAddr (   baseAddr in slv ( 31 downto 0 ) ,
  busIndex in integer range 0 to 7 ,
  buf in integer range 0 to 63 0 ,
  high in sl ' 0 '  
)
Function

Definition at line 66 of file AxiStreamDmaRingPkg.vhd.

Member Data Documentation

◆ ieee

ieee
Library

Definition at line 18 of file AxiStreamDmaRingPkg.vhd.

◆ std_logic_1164

std_logic_1164
Package

Definition at line 19 of file AxiStreamDmaRingPkg.vhd.

◆ std_logic_arith

std_logic_arith
Package

Definition at line 20 of file AxiStreamDmaRingPkg.vhd.

◆ std_logic_unsigned

Definition at line 21 of file AxiStreamDmaRingPkg.vhd.

◆ StdRtlPkg

StdRtlPkg
Package

Definition at line 23 of file AxiStreamDmaRingPkg.vhd.

◆ AxiStreamPkg

AxiStreamPkg
Package

Definition at line 24 of file AxiStreamDmaRingPkg.vhd.

◆ AXIL_MASTERS_C

AXIL_MASTERS_C integer := 6
Constant

Definition at line 30 of file AxiStreamDmaRingPkg.vhd.

◆ START_AXIL_C

START_AXIL_C integer := 0
Constant

Definition at line 31 of file AxiStreamDmaRingPkg.vhd.

◆ END_AXIL_C

END_AXIL_C integer := 1
Constant

Definition at line 32 of file AxiStreamDmaRingPkg.vhd.

◆ NEXT_AXIL_C

NEXT_AXIL_C integer := 2
Constant

Definition at line 33 of file AxiStreamDmaRingPkg.vhd.

◆ TRIG_AXIL_C

TRIG_AXIL_C integer := 3
Constant

Definition at line 34 of file AxiStreamDmaRingPkg.vhd.

◆ MODE_AXIL_C

MODE_AXIL_C integer := 4
Constant

Definition at line 35 of file AxiStreamDmaRingPkg.vhd.

◆ STATUS_AXIL_C

STATUS_AXIL_C integer := 5
Constant

Definition at line 36 of file AxiStreamDmaRingPkg.vhd.

◆ EMPTY_C

EMPTY_C integer := 0
Constant

Definition at line 39 of file AxiStreamDmaRingPkg.vhd.

◆ FULL_C

FULL_C integer := 1
Constant

Definition at line 40 of file AxiStreamDmaRingPkg.vhd.

◆ DONE_C

DONE_C integer := 2
Constant

Definition at line 41 of file AxiStreamDmaRingPkg.vhd.

◆ TRIGGERED_C

TRIGGERED_C integer := 3
Constant

Definition at line 42 of file AxiStreamDmaRingPkg.vhd.

◆ ERROR_C

ERROR_C integer := 4
Constant

Definition at line 43 of file AxiStreamDmaRingPkg.vhd.

◆ BURST_SIZE_C

BURST_SIZE_C integer range 11 downto 8
Subtype

Definition at line 44 of file AxiStreamDmaRingPkg.vhd.

◆ FST_C

FST_C integer range 31 downto 16
Subtype

Definition at line 45 of file AxiStreamDmaRingPkg.vhd.

◆ ENABLED_C

ENABLED_C integer := 0
Constant

Definition at line 48 of file AxiStreamDmaRingPkg.vhd.

◆ DONE_WHEN_FULL_C

DONE_WHEN_FULL_C integer := 1
Constant

Definition at line 49 of file AxiStreamDmaRingPkg.vhd.

◆ INIT_C

INIT_C integer := 2
Constant

Definition at line 50 of file AxiStreamDmaRingPkg.vhd.

◆ SOFT_TRIGGER_C

SOFT_TRIGGER_C integer := 3
Constant

Definition at line 51 of file AxiStreamDmaRingPkg.vhd.

◆ STATUS_TDEST_C

STATUS_TDEST_C integer range 7 downto 4
Subtype

Definition at line 52 of file AxiStreamDmaRingPkg.vhd.

◆ FAT_C

FAT_C integer range 31 downto 16
Subtype

Definition at line 53 of file AxiStreamDmaRingPkg.vhd.

◆ INIT_BYTE_C

INIT_BYTE_C integer := INIT_C / 8
Constant

Definition at line 55 of file AxiStreamDmaRingPkg.vhd.

◆ BUFFER_CLEAR_OFFSET_C

BUFFER_CLEAR_OFFSET_C slv ( 7 downto 0 ) := X " 18 "
Constant

Definition at line 57 of file AxiStreamDmaRingPkg.vhd.

◆ DMA_RING_STATUS_CONFIG_C

DMA_RING_STATUS_CONFIG_C AxiStreamConfigType := ( TSTRB_EN_C = > false , TDATA_BYTES_C = > 1 , TDEST_BITS_C = > 0 , TID_BITS_C = > 0 , TKEEP_MODE_C = > TKEEP_FIXED_C , TUSER_BITS_C = > 1 , TUSER_MODE_C = > TUSER_NONE_C )
Constant

Definition at line 73 of file AxiStreamDmaRingPkg.vhd.


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