Functional Description (Continued)
TABLE II. Parity Algorithm
32-Bit Data Word
Check Word
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
X
X
7
6
X
X
5
4
X
X
X
3
2
1
X
X
0
X
X
X
X
CB
0
CB
1
CB
2
CB
3
CB
4
CB
5
CB
6
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
The seven check bits are parity bits derived from the matrix of data bits as indicated by X for each bit.
TABLE III. Error Function
Total Number of Errors
Error Flags
Data Correction
32-Bit Data Word
7-Bit Check Word
ERR
MERR
0
1
0
1
2
0
0
0
1
1
0
2
H
L
L
L
L
L
H
H
H
L
Not Applicable
Correction
Correction
Interrupt
L
Interrupt
L
Interrupt
e
e
H
L
HIGH Voltage Level
LOW Voltage Level
If the parity of one or more of the check groups is incorrect,
an error has occurred and the proper error flag or flags will
be set LOW. Any single error in the 32-bit data word will
change the state of either three or five bits of the 7-bit
check word. Any single error in the 7-bit check word chang-
es the state of only that one bit. In either case, the single
error flag (ERR) will be set LOW while the dual error flag
(MERR) will remain HIGH.
Byte control can now be employed on the data word
through the OEB through OEB controls. OEB controls
0
3
DB –DB (byte 0), OEB controls DB –DB
0
(byte 1),
(byte 2), and OEB controls
0
7
1
8
15
OEB controls DB –DB
16
2
23
3
DB –DB (byte 3). Placing a HIGH on the byte control will
24 31
disable the output and the user can modify the byte. If a
LOW is placed on the byte control, then the original byte is
allowed to pass onto the data bus unchanged. If the original
data word is altered through byte control, a new check word
must be generated before it is written back into memory.
Any 2-bit error will change the state of an even number of
check bits. The 2-bit error is not correctable since the parity
tree can only identify single-bit errors. Both error flags are
set LOW when any 2-bit error is detected.
This is easily accomplished by taking controls S and S
1
0
LOW. Table VI lists the read-modify-write functions.
Three or more simultaneous bit errors can cause the EDAC
to believe that no error, a correctable error, or an uncorrect-
able error has occurred and will produce erroneous results
in all three cases. It should be noted that the gross-error
conditions of all LOWs and all HIGHs will be detected.
DIAGNOSTIC OPERATIONS
The ’F632 is capable of diagnostics that allow the user to
determine whether the EDAC or the memory is failing. The
diagnostic function tables will help the user to see the possi-
bilities for diagnostic control. In the diagnostic mode
e
e
H), the check word is latched into the input
As the corrected word is made available on the data I/O
port (DB through DB ), the check word I/O port (CB
(S
L, S
1
0
latch while the data input latch remains transparent. This
lets the user apply various data words against a fixed known
check word. If the user applies a diagnostic data word with
an error in any bit location, the ERR flag should be LOW. If a
diagnostic data word with two errors in any bit location is
applied, the MERR flag should be LOW. After the check
word is latched into the input latch, it can be verified by
taking OECB LOW. This outputs the latched check word.
The diagnostic data word can be latched into the output
data latch and verified. By changing from the diagnostic
0
31
0
through CB ) presents a 7-bit syndrome error code. This
6
syndrome error code can be used to locate the bad memory
chip. See Table V for syndrome decoding.
READ-MODIFY-WRITE (BYTE CONTROL) OPERATIONS
The ’F632 device is capable of byte-write operations. The
39-bit word from memory must first be latched into the Data
Bit and Check Bit input latches. This is easily accomplished
e
e
by switching from the read and flag mode (S
H, S
L)
e
H). The EDAC will
1
0
e
to the latch input mode (S
H, S
0
1
e
e
e
H) to the correction mode (S H, S
1
mode (S
e
L, S
1
0
0
then make any corrections, if necessary, to the data word
and place it at the input of the output data latch. This data
word must then be latched into the output data latch by
taking LEDBO from a LOW to a HIGH.
H), the user can verify that the EDAC will correct the
diagnostic data word. Also, the syndrome bits can be pro-
duced to verify that the EDAC pinpoints the error location.
Table VII lists the diagnostic functions.
4