
PS4501-1100
Page 17 of 36
Advanced Hardware Architectures, Inc.
3.8
STATUS, ADDRESS 0x06 - READ ONLY
This register is initialized to 0x00 after hard reset, unchanged after soft reset.
NOTE: This register must not be written.
NITER[4:0] - Number of iterations. The actual number of iterations performed in the last block decoded.
This value is updated each time the COMPL interrupt bit is set. Note that if the STITER bit is
cleared, this value will always be equal to the programmed ITER[4:0] value.
The internal iteration value is incremented after a y-axis iteration is completed for 2D codes or
after a z-axis iteration is completed for 3D codes. If the STITER bit is set, the iterations may
finish after an axis iteration rather than a full iteration. In this case, the NITER[4:0] value will
be the number of full iterations completed.
CFLOW - Correction Overflow. Set if the CORRECTIONS[9:0] count exceeded the value of 1024
corrections. When set, the CORRECTIONS[9:0] count value is invalid.
CORRECT[9:8] - The two most significant bits of the number of hard decision corrections made over the
entire set of iterations. This value is updated each time the COMPL interrupt bit is set. Invalid
when encoding.
3.9
CONTROL/INTERRUPT, ADDRESS 0x07 - READ/WRITE
This register is initialized to 0x00 after hard reset. The interrupt bits [2:0] are reset, but all other register
contents are unchanged after soft reset.
Note:
All interrupts and bits 0, 1, 2 are cleared when this register is read.
DECODE (R/W) - When set, the module performs decoding on the input data. The DECODE bit must not
be set with the ENCODE bit. If both bits are cleared, the module is idle and does not accept
input data. The SRESET bit should be written with or after clearing the DECODE bit to ensure
proper operation. The DECODE bit should not be set within 5 clocks of SRESET.
ENCODE (R/W) - When set, the module performs encoding on the input data. The output data is a serial bit
stream of both data and ECC code bits. The ENCODE bit must not be set with the DECODE
bit. If both bits are cleared, the module is idle, and does not accept input data. The SRESET bit
should be written with or after clearing the ENCODE bit to ensure proper operation. The
ENCODE bit should not be set within 5 clocks of SRESET.
CORINCM (R/W) - Correction Incomplete Mask. When cleared, the MINTN_INTR interrupt signal is
asserted when the CORINC interrupt bit is asserted. When set, the interrupt signal is not
asserted with CORINC.
SMMISM (R/W) - Sync Mark Mismatch Mask. When cleared, the MINTN_INTR interrupt signal is
asserted when the SMMIS interrupt bit is asserted. When set, the interrupt signal is not asserted
with SMMIS.
COMPLM (R/W) - Block Decode Complete Mask. When cleared, the MINTN_INTR interrupt signal is
asserted when the COMPL interrupt bit is asserted. When set, the interrupt signal is not asserted
with COMPL.
Address
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
0x06
NITER[4:0]
CFLOW
CORRECT[9:8]
RD/WR
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Read
DECODE ENCODE CORINCM SMMISM COMPLM
CORINC
SMMIS
COMPL
Write
SRESET
RESYNC
DUMP