![Intel 81341 Developer'S Manual Download Page 694](http://html1.mh-extra.com/html/intel/81341/81341_developers-manual_2071568694.webp)
Intel
®
81341 and 81342—SRAM Memory Controller
Intel
®
81341 and 81342 I/O Processors
Developer’s Manual
December 2007
694
Order Number: 315037-002US
8.3.4.2
Parity Checking
The direct memory port interface of the SMCU only checks data parity while receiving
data. The direct memory port interface verifies data parity on the port interface, and
then generates ECC before writing the data to memory.
lists the data bits
that are used for the parity calculation. The parity bits are calculated by bit XORing the
. As an example, the parity calculation for the lowest
order byte of the data bus D[7:0] is calculated as follows:
Note:
The direct memory port does not support address parity.
Equation 33.DATA_PARITY_RESULT = D_PARITY0 XOR D[0] XOR D[1] XOR D[2] XOR D[3]
XOR D[4] XOR D[5] XOR D[6] XOR D[7] XOR BE[0]
A non-zero result from the above operation indicates a parity error.
The parity logic uses the following algorithm, and this algorithm logs the error if an
error is detected.
check data parity
if data parity result is good
done
else {error}
create an error log
Interrupt the core (if enabled)
8.3.4.3
Parity Disabled
If software disables parity, the SMCU would generate data parity as explained above,
but would not check and report data parity on the interface.
8.3.4.4
Parity Testing
The System Controller provides the ability for the programmer to test error handling
software by forcing address or data parity error. Refer to the
Controller (SC) and Internal Bus Bridge”
for more details.