...
Field | Description | Unit | Bits | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MM2S (from memory to AXI-Stream) | |||||||||||
Control register (0x00) | |||||||||||
Start | Core starts transfer when this bit transitions from 0 to 1 | 0 | |||||||||
Blockwise mode | Cube is read in blocks of specified size | 2 | |||||||||
Planewise mode | Cube is read plane by plane | 3 | |||||||||
Error IRQ enable | Trigger IRQ when error condition arises | 4 | |||||||||
Completion IRQ enable | Trigger IRQ when transfer is complete | 5 | |||||||||
Length | Length of transfer Note: Only lower 8 bits used if TinyMover is used (C_TINYMOVER is true) | c | 31-12 | ||||||||
Status register (0x04) | |||||||||||
Transfer done | Indicates that transfer has completed | 0 | |||||||||
Error code | Indicates error condition(s) that occured during transfer
| 3-1 | |||||||||
Error IRQ flag | Read: 1 when IRQ triggered due to error | 4 | |||||||||
Completion IRQ flag | Read: 1 when IRQ triggered due to completion | 5 | |||||||||
Number of plane transfers | How many plane transfers needed. | 15-8 | |||||||||
Start offset | Start offset in number of components | c | 23-16 | ||||||||
Base address register (0x08) | |||||||||||
Base address | Address of the first component in the HSI cube | b | 31-0 | ||||||||
Width Cube dimension register (0x0C) | |||||||||||
Width | The width of the HSI cube in number of components, | c | 19-0 | ||||||||
Block dimension register (0x10) | |||||||||||
p | Block width | The width of each block minus one | t | 11-0 | |||||||
Block heightHeight | The height of each block minus onethe HSI cube | pt | 23-12 | ||||||||
Depth | The depth of each block/ number of planes of the HSI cube | c | 31-24 | ||||||||
Block skip dimension register (0x140x10) | |||||||||||
Block skipwidth | Number of components to skip from first pixel in current block to first pixel in next block | c | 15-0 | ||||||||
Last block skip | Number of components to skip from first pixel in current block to first | c | 31-16 | ||||||||
Number of blocks register (0x18) | |||||||||||
Blocks Y | Number of blocks in Y direction minus one | 8-0 | |||||||||
Blocks X | Number of blocks in X direction minus one | 17-9 | |||||||||
Offset register (0x1C) | |||||||||||
log2 of block width in pixels | 3-0 | ||||||||||
Block height | log2 of block height in pixels Constraints: between 1 and 12 | 7-4 | |||||||||
Last block row size | Size of one row in the last block in each row of blocks | c | 31-12 | ||||||||
Row size register (0x14) | |||||||||||
Row size | Number of components in one row of the cube | c | 19 | Offset | Number of components to skip from start of HSI cube | c | 31-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 enable | Trigger IRQ when error condition arises | 4 | |||||||||
Completion IRQ enable | Trigger IRQ when transfer is complete | 5 | |||||||||
Status register (0x24) | |||||||||||
Transfer done | Indicates that transfer has completed | 0 | |||||||||
Error code | Indicates error condition that occured during transfer
| 3-1 | |||||||||
Error IRQ flag | Read: 1 when IRQ triggered due to error | 4 | |||||||||
Completion IRQ flag | Read: 1 when IRQ triggered due to completion | 5 | |||||||||
Length | The number of bytes received during the transfer | b | 31-6 | ||||||||
Base address register (0x28) | |||||||||||
Base address | Address of where to store data from accelerator | b | 31-0 |