SURF  1.0
AxiDmaPkg Package Reference
Package Body >> AxiDmaPkg

Functions

slv   toSlv ( r: in AxiWriteDmaDescReqType )
AxiWriteDmaDescReqType   toAxiWriteDmaDescReq ( din: in slv , valid: in sl )
slv   toSlv ( r: in AxiWriteDmaDescAckType )
AxiWriteDmaDescAckType   toAxiWriteDmaDescAck ( din: in slv , valid: in sl )
slv   toSlv ( r: in AxiWriteDmaDescRetType )
AxiWriteDmaDescRetType   toAxiWriteDmaDescRet ( din: in slv , valid: in sl )
slv   toSlv ( r: in AxiWriteDmaTrackType )
AxiWriteDmaTrackType   toAxiWriteDmaTrack ( din: in slv )
slv   toSlv ( r: in AxiReadDmaDescReqType )
AxiReadDmaDescReqType   toAxiReadDmaDescReq ( din: in slv , valid: in sl )
slv   toSlv ( r: in AxiReadDmaDescRetType )
AxiReadDmaDescRetType   toAxiReadDmaDescRet ( din: in slv , valid: in sl )

Libraries

ieee 

Use Clauses

std_logic_1164 
StdRtlPkg  Package <StdRtlPkg>
AxiStreamPkg  Package <AxiStreamPkg>

Constants

AXIS_WRITE_DMA_CONFIG_C  AxiStreamConfigType := ( TSTRB_EN_C = > false , TDATA_BYTES_C = > 8 , TDEST_BITS_C = > 8 , TID_BITS_C = > 0 , TKEEP_MODE_C = > TKEEP_COMP_C , TUSER_BITS_C = > 8 , TUSER_MODE_C = > TUSER_FIRST_LAST_C )
AXI_WRITE_DMA_REQ_INIT_C  AxiWriteDmaReqType := ( request = > ' 0 ' , drop = > ' 0 ' , address = > ( others = > ' 0 ' ) , maxSize = > ( others = > ' 0 ' ) )
AXI_WRITE_DMA_ACK_INIT_C  AxiWriteDmaAckType := ( idle = > ' 1 ' , done = > ' 0 ' , size = > ( others = > ' 0 ' ) , overflow = > ' 0 ' , writeError = > ' 0 ' , errorValue = > " 00 " , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) , id = > ( others = > ' 0 ' ) )
AXI_READ_DMA_REQ_INIT_C  AxiReadDmaReqType := ( request = > ' 0 ' , address = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) , id = > ( others = > ' 0 ' ) )
AXI_READ_DMA_ACK_INIT_C  AxiReadDmaAckType := ( idle = > ' 1 ' , done = > ' 0 ' , readError = > ' 0 ' , errorValue = > " 00 " )
AXI_WRITE_DMA_DESC_REQ_INIT_C  AxiWriteDmaDescReqType := ( valid = > ' 0 ' , dest = > ( others = > ' 0 ' ) )
AXI_WRITE_DMA_DESC_REQ_SIZE_C  integer := 8
AXI_WRITE_DMA_DESC_ACK_INIT_C  AxiWriteDmaDescAckType := ( valid = > ' 0 ' , address = > ( others = > ' 0 ' ) , dropEn = > ' 0 ' , maxSize = > ( others = > ' 0 ' ) , contEn = > ' 0 ' , buffId = > ( others = > ' 0 ' ) )
AXI_WRITE_DMA_DESC_ACK_SIZE_C  integer := 114
AXI_WRITE_DMA_DESC_RET_INIT_C  AxiWriteDmaDescRetType := ( valid = > ' 0 ' , buffId = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , continue = > ' 0 ' , result = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) , id = > ( others = > ' 0 ' ) )
AXI_WRITE_DMA_DESC_RET_SIZE_C  integer := 84
AXI_WRITE_DMA_TRACK_INIT_C  AxiWriteDmaTrackType := ( dest = > ( others = > ' 0 ' ) , inUse = > ' 0 ' , address = > ( others = > ' 0 ' ) , maxSize = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , contEn = > ' 0 ' , dropEn = > ' 0 ' , id = > ( others = > ' 0 ' ) , buffId = > ( others = > ' 0 ' ) , overflow = > ' 0 ' )
AXI_WRITE_DMA_TRACK_SIZE_C  integer := 172
AXI_READ_DMA_DESC_REQ_INIT_C  AxiReadDmaDescReqType := ( valid = > ' 0 ' , address = > ( others = > ' 0 ' ) , buffId = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , continue = > ' 0 ' , id = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) )
AXI_READ_DMA_DESC_REQ_SIZE_C  integer := 145
AXI_READ_DMA_DESC_RET_INIT_C  AxiReadDmaDescRetType := ( valid = > ' 0 ' , buffId = > ( others = > ' 0 ' ) , result = > ( others = > ' 0 ' ) )
AXI_READ_DMA_DESC_RET_SIZE_C  integer := 19

Types

AxiWriteDmaReqArray array ( natural range <> ) of AxiWriteDmaReqType
AxiWriteDmaAckArray array ( natural range <> ) of AxiWriteDmaAckType
AxiReadDmaReqArray array ( natural range <> ) of AxiReadDmaReqType
AxiReadDmaAckArray array ( natural range <> ) of AxiReadDmaAckType
AxiWriteDmaDescReqArray array ( natural range <> ) of AxiWriteDmaDescReqType
AxiWriteDmaDescAckArray array ( natural range <> ) of AxiWriteDmaDescAckType
AxiWriteDmaDescRetArray array ( natural range <> ) of AxiWriteDmaDescRetType
AxiWriteDmaTrackArray array ( natural range <> ) of AxiWriteDmaTrackType
AxiReadDmaDescReqArray array ( natural range <> ) of AxiReadDmaDescReqType
AxiReadDmaDescRetArray array ( natural range <> ) of AxiReadDmaDescRetType

Records

AxiWriteDmaReqType  
request  sl
drop  sl
address  slv ( 63 downto 0 )
maxSize  slv ( 31 downto 0 )
AxiWriteDmaAckType  
idle  sl
done  sl
size  slv ( 31 downto 0 )
overflow  sl
writeError  sl
errorValue  slv ( 1 downto 0 )
firstUser  slv ( 7 downto 0 )
lastUser  slv ( 7 downto 0 )
dest  slv ( 7 downto 0 )
id  slv ( 7 downto 0 )
AxiReadDmaReqType  
AxiReadDmaAckType  
readError  sl
AxiWriteDmaDescReqType  
valid  sl
AxiWriteDmaDescAckType  
dropEn  sl
contEn  sl
buffId  slv ( 15 downto 0 )
AxiWriteDmaDescRetType  
continue  sl
result  slv ( 2 downto 0 )
AxiWriteDmaTrackType  
inUse  sl
AxiReadDmaDescReqType  
AxiReadDmaDescRetType  

Detailed Description

Definition at line 25 of file AxiDmaPkg.vhd.

Member Function Documentation

◆ toSlv() [1/6]

slv toSlv (   r in AxiWriteDmaDescReqType  
)
Function

Definition at line 172 of file AxiDmaPkg.vhd.

◆ toAxiWriteDmaDescReq()

AxiWriteDmaDescReqType toAxiWriteDmaDescReq (   din in slv ,
  valid in sl  
)
Function

Definition at line 173 of file AxiDmaPkg.vhd.

◆ toSlv() [2/6]

slv toSlv (   r in AxiWriteDmaDescAckType  
)
Function

Definition at line 204 of file AxiDmaPkg.vhd.

◆ toAxiWriteDmaDescAck()

AxiWriteDmaDescAckType toAxiWriteDmaDescAck (   din in slv ,
  valid in sl  
)
Function

Definition at line 205 of file AxiDmaPkg.vhd.

◆ toSlv() [3/6]

slv toSlv (   r in AxiWriteDmaDescRetType  
)
Function

Definition at line 240 of file AxiDmaPkg.vhd.

◆ toAxiWriteDmaDescRet()

AxiWriteDmaDescRetType toAxiWriteDmaDescRet (   din in slv ,
  valid in sl  
)
Function

Definition at line 241 of file AxiDmaPkg.vhd.

◆ toSlv() [4/6]

slv toSlv (   r in AxiWriteDmaTrackType  
)
Function

Definition at line 280 of file AxiDmaPkg.vhd.

◆ toAxiWriteDmaTrack()

AxiWriteDmaTrackType toAxiWriteDmaTrack (   din in slv  
)
Function

Definition at line 281 of file AxiDmaPkg.vhd.

◆ toSlv() [5/6]

slv toSlv (   r in AxiReadDmaDescReqType  
)
Function

Definition at line 316 of file AxiDmaPkg.vhd.

◆ toAxiReadDmaDescReq()

AxiReadDmaDescReqType toAxiReadDmaDescReq (   din in slv ,
  valid in sl  
)
Function

Definition at line 317 of file AxiDmaPkg.vhd.

◆ toSlv() [6/6]

slv toSlv (   r in AxiReadDmaDescRetType  
)
Function

Definition at line 340 of file AxiDmaPkg.vhd.

◆ toAxiReadDmaDescRet()

AxiReadDmaDescRetType toAxiReadDmaDescRet (   din in slv ,
  valid in sl  
)
Function

Definition at line 341 of file AxiDmaPkg.vhd.

Member Data Documentation

◆ ieee

ieee
Library

Definition at line 19 of file AxiDmaPkg.vhd.

◆ std_logic_1164

std_logic_1164
Package

Definition at line 20 of file AxiDmaPkg.vhd.

◆ StdRtlPkg

StdRtlPkg
Package

Definition at line 22 of file AxiDmaPkg.vhd.

◆ AxiStreamPkg

AxiStreamPkg
Package

Definition at line 23 of file AxiDmaPkg.vhd.

◆ AXIS_WRITE_DMA_CONFIG_C

AXIS_WRITE_DMA_CONFIG_C AxiStreamConfigType := ( TSTRB_EN_C = > false , TDATA_BYTES_C = > 8 , TDEST_BITS_C = > 8 , TID_BITS_C = > 0 , TKEEP_MODE_C = > TKEEP_COMP_C , TUSER_BITS_C = > 8 , TUSER_MODE_C = > TUSER_FIRST_LAST_C )
Constant

Definition at line 32 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaReqType

Definition at line 46 of file AxiDmaPkg.vhd.

◆ request

request sl
Record

Definition at line 47 of file AxiDmaPkg.vhd.

◆ drop

drop sl
Record

Definition at line 48 of file AxiDmaPkg.vhd.

◆ address

address slv ( 63 downto 0 )
Record

Definition at line 49 of file AxiDmaPkg.vhd.

◆ maxSize

maxSize slv ( 31 downto 0 )
Record

Definition at line 50 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_REQ_INIT_C

AXI_WRITE_DMA_REQ_INIT_C AxiWriteDmaReqType := ( request = > ' 0 ' , drop = > ' 0 ' , address = > ( others = > ' 0 ' ) , maxSize = > ( others = > ' 0 ' ) )
Constant

Definition at line 54 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaReqArray

AxiWriteDmaReqArray array ( natural range <> ) of AxiWriteDmaReqType
Type

Definition at line 62 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaAckType

Definition at line 69 of file AxiDmaPkg.vhd.

◆ idle

idle sl
Record

Definition at line 70 of file AxiDmaPkg.vhd.

◆ done

done sl
Record

Definition at line 71 of file AxiDmaPkg.vhd.

◆ size

size slv ( 31 downto 0 )
Record

Definition at line 72 of file AxiDmaPkg.vhd.

◆ overflow

overflow sl
Record

Definition at line 73 of file AxiDmaPkg.vhd.

◆ writeError

writeError sl
Record

Definition at line 74 of file AxiDmaPkg.vhd.

◆ errorValue

errorValue slv ( 1 downto 0 )
Record

Definition at line 75 of file AxiDmaPkg.vhd.

◆ firstUser

firstUser slv ( 7 downto 0 )
Record

Definition at line 76 of file AxiDmaPkg.vhd.

◆ lastUser

lastUser slv ( 7 downto 0 )
Record

Definition at line 77 of file AxiDmaPkg.vhd.

◆ dest

dest slv ( 7 downto 0 )
Record

Definition at line 78 of file AxiDmaPkg.vhd.

◆ id

id slv ( 7 downto 0 )
Record

Definition at line 79 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_ACK_INIT_C

AXI_WRITE_DMA_ACK_INIT_C AxiWriteDmaAckType := ( idle = > ' 1 ' , done = > ' 0 ' , size = > ( others = > ' 0 ' ) , overflow = > ' 0 ' , writeError = > ' 0 ' , errorValue = > " 00 " , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) , id = > ( others = > ' 0 ' ) )
Constant

Definition at line 83 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaAckArray

AxiWriteDmaAckArray array ( natural range <> ) of AxiWriteDmaAckType
Type

Definition at line 97 of file AxiDmaPkg.vhd.

◆ AxiReadDmaReqType

Definition at line 104 of file AxiDmaPkg.vhd.

◆ AXI_READ_DMA_REQ_INIT_C

AXI_READ_DMA_REQ_INIT_C AxiReadDmaReqType := ( request = > ' 0 ' , address = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) , id = > ( others = > ' 0 ' ) )
Constant

Definition at line 115 of file AxiDmaPkg.vhd.

◆ AxiReadDmaReqArray

AxiReadDmaReqArray array ( natural range <> ) of AxiReadDmaReqType
Type

Definition at line 126 of file AxiDmaPkg.vhd.

◆ AxiReadDmaAckType

Definition at line 133 of file AxiDmaPkg.vhd.

◆ readError

readError sl
Record

Definition at line 136 of file AxiDmaPkg.vhd.

◆ AXI_READ_DMA_ACK_INIT_C

AXI_READ_DMA_ACK_INIT_C AxiReadDmaAckType := ( idle = > ' 1 ' , done = > ' 0 ' , readError = > ' 0 ' , errorValue = > " 00 " )
Constant

Definition at line 141 of file AxiDmaPkg.vhd.

◆ AxiReadDmaAckArray

AxiReadDmaAckArray array ( natural range <> ) of AxiReadDmaAckType
Type

Definition at line 149 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaDescReqType

Definition at line 158 of file AxiDmaPkg.vhd.

◆ valid

valid sl
Record

Definition at line 159 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_DESC_REQ_INIT_C

AXI_WRITE_DMA_DESC_REQ_INIT_C AxiWriteDmaDescReqType := ( valid = > ' 0 ' , dest = > ( others = > ' 0 ' ) )
Constant

Definition at line 163 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaDescReqArray

AxiWriteDmaDescReqArray array ( natural range <> ) of AxiWriteDmaDescReqType
Type

Definition at line 168 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_DESC_REQ_SIZE_C

AXI_WRITE_DMA_DESC_REQ_SIZE_C integer := 8
Constant

Definition at line 170 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaDescAckType

Definition at line 182 of file AxiDmaPkg.vhd.

◆ dropEn

dropEn sl
Record

Definition at line 185 of file AxiDmaPkg.vhd.

◆ contEn

contEn sl
Record

Definition at line 187 of file AxiDmaPkg.vhd.

◆ buffId

buffId slv ( 15 downto 0 )
Record

Definition at line 188 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_DESC_ACK_INIT_C

AXI_WRITE_DMA_DESC_ACK_INIT_C AxiWriteDmaDescAckType := ( valid = > ' 0 ' , address = > ( others = > ' 0 ' ) , dropEn = > ' 0 ' , maxSize = > ( others = > ' 0 ' ) , contEn = > ' 0 ' , buffId = > ( others = > ' 0 ' ) )
Constant

Definition at line 191 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaDescAckArray

AxiWriteDmaDescAckArray array ( natural range <> ) of AxiWriteDmaDescAckType
Type

Definition at line 200 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_DESC_ACK_SIZE_C

AXI_WRITE_DMA_DESC_ACK_SIZE_C integer := 114
Constant

Definition at line 202 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaDescRetType

Definition at line 212 of file AxiDmaPkg.vhd.

◆ continue

continue sl
Record

Definition at line 218 of file AxiDmaPkg.vhd.

◆ result

result slv ( 2 downto 0 )
Record

Definition at line 219 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_DESC_RET_INIT_C

AXI_WRITE_DMA_DESC_RET_INIT_C AxiWriteDmaDescRetType := ( valid = > ' 0 ' , buffId = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , continue = > ' 0 ' , result = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) , id = > ( others = > ' 0 ' ) )
Constant

Definition at line 224 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaDescRetArray

AxiWriteDmaDescRetArray array ( natural range <> ) of AxiWriteDmaDescRetType
Type

Definition at line 236 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_DESC_RET_SIZE_C

AXI_WRITE_DMA_DESC_RET_SIZE_C integer := 84
Constant

Definition at line 238 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaTrackType

Definition at line 248 of file AxiDmaPkg.vhd.

◆ inUse

inUse sl
Record

Definition at line 250 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_TRACK_INIT_C

AXI_WRITE_DMA_TRACK_INIT_C AxiWriteDmaTrackType := ( dest = > ( others = > ' 0 ' ) , inUse = > ' 0 ' , address = > ( others = > ' 0 ' ) , maxSize = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , contEn = > ' 0 ' , dropEn = > ' 0 ' , id = > ( others = > ' 0 ' ) , buffId = > ( others = > ' 0 ' ) , overflow = > ' 0 ' )
Constant

Definition at line 262 of file AxiDmaPkg.vhd.

◆ AxiWriteDmaTrackArray

AxiWriteDmaTrackArray array ( natural range <> ) of AxiWriteDmaTrackType
Type

Definition at line 276 of file AxiDmaPkg.vhd.

◆ AXI_WRITE_DMA_TRACK_SIZE_C

AXI_WRITE_DMA_TRACK_SIZE_C integer := 172
Constant

Definition at line 278 of file AxiDmaPkg.vhd.

◆ AxiReadDmaDescReqType

Definition at line 288 of file AxiDmaPkg.vhd.

◆ AXI_READ_DMA_DESC_REQ_INIT_C

AXI_READ_DMA_DESC_REQ_INIT_C AxiReadDmaDescReqType := ( valid = > ' 0 ' , address = > ( others = > ' 0 ' ) , buffId = > ( others = > ' 0 ' ) , firstUser = > ( others = > ' 0 ' ) , lastUser = > ( others = > ' 0 ' ) , size = > ( others = > ' 0 ' ) , continue = > ' 0 ' , id = > ( others = > ' 0 ' ) , dest = > ( others = > ' 0 ' ) )
Constant

Definition at line 300 of file AxiDmaPkg.vhd.

◆ AxiReadDmaDescReqArray

AxiReadDmaDescReqArray array ( natural range <> ) of AxiReadDmaDescReqType
Type

Definition at line 312 of file AxiDmaPkg.vhd.

◆ AXI_READ_DMA_DESC_REQ_SIZE_C

AXI_READ_DMA_DESC_REQ_SIZE_C integer := 145
Constant

Definition at line 314 of file AxiDmaPkg.vhd.

◆ AxiReadDmaDescRetType

Definition at line 324 of file AxiDmaPkg.vhd.

◆ AXI_READ_DMA_DESC_RET_INIT_C

AXI_READ_DMA_DESC_RET_INIT_C AxiReadDmaDescRetType := ( valid = > ' 0 ' , buffId = > ( others = > ' 0 ' ) , result = > ( others = > ' 0 ' ) )
Constant

Definition at line 330 of file AxiDmaPkg.vhd.

◆ AxiReadDmaDescRetArray

AxiReadDmaDescRetArray array ( natural range <> ) of AxiReadDmaDescRetType
Type

Definition at line 336 of file AxiDmaPkg.vhd.

◆ AXI_READ_DMA_DESC_RET_SIZE_C

AXI_READ_DMA_DESC_RET_SIZE_C integer := 19
Constant

Definition at line 338 of file AxiDmaPkg.vhd.


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