You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

 

Generic parameters

NameDescriptionConstraints
C_MM2S_DATA_WIDTHWidth in bits of the AXI-Stream from memoryMust be large enough to fit the selected number of components
C_MM2S_COMP_WIDTHWidth in bits of each component from memoryMust be an even number greater than or equal to 8
C_MM2S_NUM_COMPNumber of components to output in parallel on AXI-StreamMust be 1 or larger. Logic elements utilization will increase proportionally
C_TINYMOVERUse TinyMover instead of DataMover as data moving IP
to fetch data from memory
Individual transfers can only be a maximum of 256 bytes
C_S2MM_DATA_WIDTHWidth of the AXI-Stream from acceleratorMust be large enough to fit the selected number of components
C_S2MM_COMP_WIDTHWidth in bits of each component from acceleratorMust be an even number greater than or equal to 8
C_S2MM_NUM_COMPNumber of components output in parallel by acceleratorMust be 1 or larger. Logic elements utilization will increase proportionally

Register map

FieldDescriptionUnitBits
MM2S (from memory to AXI-Stream)
Control register (0x00)

Start

Core starts transfer when this bit transitions from 0 to 1 0
Error IRQ enableTrigger IRQ when error condition arises 4
Completion IRQ enableTrigger IRQ when transfer is complete 5
LengthLength of transfer
Note: Only lower 8 bits used if TinyMover is used (C_TINYMOVER
is true)
c31-12
Status register (0x04)
Transfer doneIndicates that transfer has completed 0
Error code

Indicates error condition(s) that occured during transfer

ValueDescription
xx1

Internal error (DataMover cannot perform operation,
typically transfer length is 0)

x1xDecode error (invalid source address)
1xxSlave error (slave cannot perform read operation at
given address)
 3-1
Error IRQ flag

Read: 1 when IRQ triggered due to error
Write: Writing 1 clears the IRQ flag

 8
Completion IRQ flag

Read: 1 when IRQ triggered due to completion
Write: Writing 1 clears the IRQ flag

 9
Base address register (0x08)
Base addressAddress of the first component in the HSI cubeb31-0
Width register (0x0C)
Width

The width of the HSI cube in number of components,
meaning the number of components from the start of one
row to the start of the next row

c19-0
Block dimension register (0x10)
Block widthThe width of each block minus onet11-0
Block heightThe height of each block minus onet23-12
DepthThe depth of each blockc31-24
Block skip register (0x14)
Block skipNumber of components to skip from first pixel in current block to first
pixel in next block
c15-0
Last block skip

Number of components to skip from first pixel in current block to first
pixel in next block, when current block is the last block

c31-16
Number of blocks register (0x18)
Blocks YNumber of blocks in Y direction minus one 8-0
Blocks XNumber of blocks in X direction minus one 17-9
Offset register (0x1C)
OffsetNumber of components to skip from start of HSI cubec31-0
S2MM (from AXI-Stream to memory)
Control register (0x20)

Start

Core starts transfer when this bit transitions from 0 to 1 0
Error IRQ enableTrigger IRQ when error condition arises 4
Completion IRQ enableTrigger IRQ when transfer is complete 5
Status register (0x24)
Transfer doneIndicates that transfer has completed 0
Error code

Indicates error condition that occured during transfer

ValueDescription
xx1

Internal error (DataMover cannot perform operation,
typically transfer length is 0)

x1xDecode error (invalid destination address)
1xxSlave error (slave cannot perform write operation at
given address)
 3-1
Error IRQ flag

Read: 1 when IRQ triggered due to error
Write: Writing 1 clears the IRQ flag

 8
Completion IRQ flag

Read: 1 when IRQ triggered due to completion
Write: Writing 1 clears the IRQ flag

 9
Base address register (0x28)
Base addressAddress of where to store data from acceleratorb31-0
  • No labels