Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Generic parameters

NameDescriptionConstraints
C_MM2S_DATA_WIDTHWidth of the AXI-Stream from memoryMust be large enough to fit the selected number of components
C_MM2S_COMP_WIDTHThe width of each component from memoryMust be an even number larger than 8
C_MM2S_NUM_COMPHow many components from memory to output in parallelMust 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_WIDTHThe width of each component from acceleratorMust be an even number larger than 8
C_S2MM_NUM_COMPHow many components from accelerator in parallelMust 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 is set to 1 0
Error IRQ enableTrigger IRQ when error condition arises 4
Completion IRQ enableTrigger IRQ when transfer is complete 5
LengthLength of transferc31-12
Status register (0x04)
Transfer doneIndicates that transfer has completed 0
Error codeIndicates error condition that occured during transfer 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 is set 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 codeIndicates error condition that occured during transfer 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 the first component in the HSI cubeb31-0