Versions Compared

Key

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

...

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

Start

Core starts transfer when this bit transitions from 0 to 1 0
Blockwise modeCube is read in blocks of specified size 2
Planewise modeCube is read planewise, with C_MM2S_NUM_COMP planes in parallel 3
Error IRQ enableTrigger IRQ when error condition arises 4
Completion IRQ enableTrigger IRQ when transfer is complete 5
Number of plane transfers

How many plane transfers needed.
ceil(depth / C_MM2S_NUM_COMP)

 15-8
Start offsetStart offset in number of componentsc23-16
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

 4
Completion IRQ flag

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

 5
Base address register (0x08)
Base addressAddress of the first component in the HSI cubeb31-0
Cube dimension Dimension register 1 (0x0C)
Width

The width of the HSI cube

p11-0
HeightThe height of the HSI cubep23-12
Depth (low)Lower 8 bits of the The depth / number of planes of the HSI cubec31-24
Block dimension Dimension register 2 (0x10)
Block width

log2 of block width in pixels
Constraints: between 1 and 12

 3-0
Block heightlog2 of block height in pixels
Constraints: between 1 and 12
 7-4
Depth (high)High 4 bits of the depth / number of planes of the HSI cubec11-8
Last block row sizeSize of one row in the last block in each row of blocksc31-12
Row size register (0x14)
Row sizeNumber of components in one row of the cubec19-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

 4
Completion IRQ flag

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

 5LengthThe number of bytes received during the transferb
Base address register (0x28)
Base addressAddress of where to store datab31-0
Rceived length register (0x2C)
Received lengthNumber of bytes received from start of transfer until TLAST was assertedb31-0

 

Units:

c - components

p - pixels

b - bytes