
Page 6 of 24
PS4011C-0200
Advanced Hardware Architectures, Inc.
2.6.1
INITIALIZATION REGISTERS
BYTE 1, ERASURE MULTIPLIER:
[7:0]
Multiplier value that must be programmed
as shown in Appendix A. The table shows a
value to be programmed corresponding to
the block length selected.
BYTE 2, ERROR THRESHOLD:
[4:0]
The threshold for determining
uncorrectability of a data block, and the
number of check bytes allocated for
correction only purposes. When not using
erasures, set to the same value as BYTE 3,
CHECK BYTES. Minimum value of 0x02
sets the Threshold to 2 and 0x14 sets to the
maximum, 20.
[6:5]
Reserved. Set to 0.
[7]
Not used. Don't care.
BYTE 3, CHECK BYTES:
[4:0]
Number of check bytes in RS code, R.
Minimum setting of 0x02 indicates two
check bytes for R = 2 and 0x14 indicates the
maximum of 20.
[6:5]
Reserved. Set to 0.
[7]
Not used. Don't care.
BYTE 4, MESSAGE BYTES:
[7:0]
Number of message bytes in code, K.
Minimum setting of 0x01 indicates 1 byte,
setting to 0xFD indicates the maximum 253
message bytes.
BYTE 5, BLOCK LENGTH:
[7:0]
Number of bytes in block, N. Setting to
0x03 indicates 3 bytes, setting to 0xFF
indicates 255 bytes.
BYTE 6, CONTROL BYTE:
[0]
RES
[1]
NOPAR
0
Reserved. Set to 0.
Parity Symbol Control
Check bytes are output
following the message bytes.
Check bytes are not output
following the message bytes.
Correction will be done
regardless depending upon the
bit 4, RAW, setting.
Correction Control
Outputs correction vectors; to
obtain corrected data,
externally XOR the correction
vector with the corresponding
message or check byte.
Outputs corrected data
1
[2]
CRCTS
0
1
[3]
FOR
Forward Order Control
Outputs the block in reverse
order
Outputs the block in forward
order
Raw Data
Outputs corrections or
corrected data per the CRCTS
bit
Outputs uncorrected, raw input
data or 0's depending upon the
CRCTS bit setting (See table
below). NOPAR bit and
CHECK BYTE register
settings are ignored.
Erasure Rejection Control.
This bit is only used by the
device when the Erasures
exceed the ERROR
THRESHOLD or R settings.
This bit is ignored when the
Erasures are less than or equal
to ERROR THRESHOLD or
R.
If Erasures are greater than the
ERROR THRESHOLD or R
then erasures are discarded and
full correction is performed.
The block is flagged
uncorrectable and the output
CRTN will be high during the
last output byte of the block.
If Erasures are greater than
ERROR THRESHOLD or R
then erasures are discarded and
full correction is performed.
The output CRTN will be high
only when the block is
uncorrectable.
Reserved, Set to 0.
0
1
[4]
RAW
0
1
[5]
ERC
0
1
[7:6]
RAW
0
0
1
1
CRCTS
0
1
0
1
Output
Correction vectors
Corrected data
Zero
Uncorrected raw input data