A method and apparatus for storing data in which the data is checked for an error without requiring the data to include an error correction code. Included in the system is a logic circuit for dividing a data word by a polynomial during the time the data word is being written into the primary memory unit resulting in the generation of a remainder which is stored in an auxiliary memory unit. When reading the data word from the primary memory unit, the data word is again divided by the same polynomial and the remainder compared with the remainder stored in the auxiliary memory unit. If the remainders match, no error was introduced during the storing of the data in the main memory unit. If the remainders do not match, an error is indicated. This system allows a data word to be stored in a main or primary memory unit without requiring the word to include error correction bytes.

Patent
   4513420
Priority
Nov 22 1982
Filed
Nov 22 1982
Issued
Apr 23 1985
Expiry
Nov 22 2002
Assg.orig
Entity
Large
6
10
EXPIRED
1. A computer memory system comprising;
a main processor device for receiving a plurality of data words to be stored in memory;
a large capacity dynamic random access memory with a refresh cycle for storing a plurality of data words received from said main processor device;
a small capacity static random access memory separate from said large capacity memory for storing a plurality of 15 bit error correction codes;
battery means connected to said static random access memory for operating said static memory when a system power failure occurs;
a control processor connected to said main processor and said large capacity memory for transferring data words between the main processor and the large memory;
a dynamic shift register circuit including a plurality of exclusive or circuits representing the terms of a polynomial which is divided into a data word shifted into said circuit to generate a multi-bit remainder comprising an error correction code for the data word;
a dma controller connected to said control processor and said shift register circuit for simultaneously loading the same data word being written into and read from said large capacity memory into said shift register circuit enabling said register circuit to generate a first 15 bit error correction code for each data word being written into the large capacity memory and a second error correction code for the same data word when read from the large capacity memory, said first error correction code being stored in said small capacity memory at the same address as the address of its corresponding data word is stored in the large capacity memory;
address generating means connected to said large capacity memory and said small capacity memory for generating an address used in storing a data word in said large capacity memory and its corresponding error correcting code in said small capacity memory;
and said control processor being further connected to said small capacity memory and said shift register circuit for comparing the first and second error correction codes for each data word stored in said large capacity memory for detecting an error in a data word when the error correction codes do not match.

Error Correction System, co-pending application Ser. No. 443,835, filed on even date herewith, invented by Donald A. Collins, Jr., and assigned to the NCR Corporation.

The present invention is directed to a data processing system in general and more particularly to a memory control system for a data processor enabling the storage of data words to occur which do not include an error correction code.

In the field of data processing, memory units associated with data processors are constructed on well-defined data block lengths or sectors such as 256 bytes, 512 bytes, etc. Normally, a data word stored in each of the sectors includes two bytes of an error correction code for use in validating the data word. If the bit length of a data word to be stored requires the entire length of the sector to be utilized, a second sector is required to be used to store the error correction code, thereby limiting the amount of data that can be stored in the memory unit. It is therefore a principal object of this invention to provide a system for storing data words in a memory unit which does not include an error correction code as part of the data word stored in the same sector and which provides a method for checking the presence of a error in the stored data. It is another object of this invention to provide a system for storing data in a memory unit in which the data is validated, i.e. checked for errors, when reading the data from the memory unit. It is a further object of this invention to provide a system for storing data in a memory unit which is simple in construction and therefore low in cost.

These and other objects of this invention are fulfilled by providing a data processing system having a dynamic RAM main memory unit and a static RAM memory unit and which includes a logic circuit for dividing each data word being written into the dynamic RAM memory by a polynomial. The remainder derived by the division of the data word by the polynomial and representing an error correction code is then stored in the static RAM memory unit. When the same data word is being read out of the dynamic RAM memory unit by the processor, the data word is again divided by the polynomial. The remainder generated as a result of the second division is compared with the remainer stored in the static RAM memory unit to determine if an error has occurred in the storage of or accessing of the data word in the dynamic RAM memory unit.

The foregoing and various other objects, advantages and meritorious features of the present invention will be apparent from the following detailed description and appended claims when read in conjunction with the drawings, wherein like numerals identify corresponding elements.

FIGS. 1A and 1B taken together define a block diagram of a portion of the data processing system in the present invention;

FIGS. 2A and 2B taken together define a block diagram of the remaining portion of the data processing system of the present invention;

FIG. 3 is a block diagram of the dynamic RAM controller showing its connection to the dynamic RAM main memory unit;

FIGS. 4A and 4B taken together disclose the logic circuit of the error correction polynomial block of the dynamic RAM controller;

FIG. 5 is a block diagram of the circuits which controls access to the dynamic RAM memory unit by the dynamic RAM controller;

FIG. 6 is a more detailed block diagram of the timing generating logic block of the dynamic RAM controller;

FIG. 7 is a schematic representation of the timing signals used in transferring data between the dynamic RAM memory unit and the DMA controller;

FIG. 8 is a flowchart of a write operation of the present invention;

FIG. 9 is a flowchart of a read operation of the present invention.

Referring now to FIGS. 1A, 1B, 2A and 2B, there is disclosed a block diagram of the data processing system which incorporates the present invention. The data processing system includes a main processor board and an auxiliary memory board which includes a dynamic random access memory (DRAM) unit for increasing the memory capacity of the main processor board. The main processor board includes a main processor 20 (FIG. 1A) which communicates with the auxiliary memory board over a number of bus lines and control lines in a manner that is well-known in the art. The main processor 20 may consist of an Intel 8085 microprocessor which includes internal registers, counters, pointers and associated logic circuits well-known in the art. The processor 20 outputs and receives over a bi-directional 8-bit bus 22 the low level Address-Data bits AD0 -AD7 inclusive; outputs over line 24 the active low Hold Acknowledge control signal HLDA; outputs over the 8-bit bus 26 the Read and Write control signals RD, WR respectively and the high order Address signals A8, A12 -A15 inclusive; receives over the input line 28 the Restart signal RST5.5 outputs over line 30 the Master Reset signal MRST, outputs over line 32 the Low Power Fail Detect signal LPFD; outputs over line 34 the Internal Reset signal IRS and outputs over the 2-bit bus 36 the 5 volt Power Supply signal and the ground connection GRD. The data bits appearing on the bus 22 are stored in a 74LS373 buffer 38 prior to transfer to either the main processor 20 or to an Intel 8155 I/O controller unit 40 which controls the orderly flow of the data bits between the main processor 20 and an Intel 8085 memory processor unit 62 (FIG. 1B). The control signals appearing on the bus 26 are inputted into a 74LS138 decoder 44 which in response to receiving the signals stated above outputs the Status Strobe signal STB over line 46 to a 74LS367 bus driver 48 functioning as a status port unit which also receives over the 8-bit bus 50 the high order Address-Data signals AD4 -AD7 inclusive from the I/O controller 40, which signals are then transmitted over the 4-bit bus 52 to the 8-bit bi-directional bus 22 connection between the buffer 38 and the main processor 20 under the control of the strobe signal STB. The decoder 44 also outputs over line 56 the Receive Status Strobe signal ASTB to the controller 40 and over line 58 the Write Status Strobe signal DSTB, which signals strobe the data signals out of the controller 40.

The I/O controller 40 outputs the Address-Data signals AD0 -AD7 inclusive over the 8-bit bi-directional bus 60 (FIGS. 1A and 1B) to the memory processor 62 which controls the transfer of data between the main processor 20 (FIG. 1A) and an auxiliary dynamic random access memory (DRAM) unit 64 (FIG. 2B). Other signals transmitted between the I/O controller 40 and the memory processor 62 include the Clock Out signal CLK OUT, the Read and Write signals RD, WR, the Address Latch Enable signal ALE, and the I/O Memory Write signal I/O/M/ . These signals are transmitted between the I/O controller 40 and the processor unit 62 over the 5-bit bi-directional bus 66. Appearing on the 3-bit bus 68 is the Interrupt signal INTR while the Timing signals TIMER OUT appears on line 70 and the Reset signal RESET OUT appears on line 72. All of these signals control the transfer of the data bits between the I/O controller 40 (FIG. 1A) and the memory processor 62 in a manner that is well-known in the art.

As shown in FIG. 1B, the memory processor unit 62 will transmit/receive the data bits D0 -D7 inclusive over the bi-directional bus 74 and the low order address bits A0 -A7 inclusive over the 8-bit bidirectional bus 76 to a latch member 78 which, upon the Latch Enable signal ALE appearing on line 80 becoming active, will output the address signals A0 -A7 inclusive over the 8-bit bus 82. These signals are transmitted to a ROM memory unit 84 (FIG. 1B) and a static RAM (SRAM) memory unit 86 in which the address bits are used in addressing data locations in the memory units 84 and 86 for storing the data bits D0 -D7 in the memory unit 86 prior to a write operation of the memory unit 64 (FIG. 2B). During a read operation, the data bits read from the memory unit 64 are stored in the memory unit 86 prior to transfer over bus 74 to the processor unit 62.

Appearing on the output line 88 of the memory processor unit 62 is the Hold Acknowledge signal HLDA while the high order address bits A8 -A15 inclusive appear on the 8-bit bi-directional bus 90 for transmission to a SN74LS138 three to eight decoder unit 92 and also to the ROM memory unit 84 and the SRAM memory unit 86 for addressing data locations in the memory. The decoder 92 which receives the low order address bits A0 -A7 inclusive over the bus 82 will also output memory enabling signals over lines 94 and 96 to the memory units 84 and 86 respectively. The decoder 92 will also output an enabling signal over line 98 to the I/O controller 40 (FIG. 1A) and over line 100 to a flip-flop 102 (FIG. 1A) which outputs an enabling signal over line 104 to the status port unit 48 enabling its operation. The flip-flop 102 is reset by the Master Reset signal MRST appearing on line 30. The decoder 92 (FIG. 1B) further outputs the Chip Select signals CS0 and CS1 on lines 106 and 108 respectively which are used in addressing the DRAM memory unit 64 (FIG. 2B) in a manner that is well-known in the art. The decoder 92 further outputs Error Correction Clock signals ECC1 -ECC8 inclusive over line 109 and ECC9 -ECC15 inclusive over line 111 which are used in enabling the reading of signals representing the remainder of a division operation generated during the transfer of data bits between the DRAM memory unit 64 and the SRAM memory unit 86 as will be described more fully hereinafter. Further included in the data processing system is a battery back-up unit 110 (FIG. 1B) which supplies power over line 112 to the SRAM memory unit 86 in case of a power failure in the system.

Referring now to FIGS. 2A and 2B, which illustrate in block form the remaining portion of the data processing system incorporating the present invention, there is shown a direct memory access (DMA) controller 114 used in transferring data between the memory processor unit 62 (FIG. 1B) and the DRAM memory unit 64 (FIG. 2B). The DMA controller 114 receives the Hold Acknowledge signal HLDA over line 88 (FIG. 1B) enabling the controller to transfer data bits from the DRAM memory unit 64 to the SRAM memory unit 86 and then to the memory processor unit 62 (FIG. 1B) which then in turn transfers the data bits to the main processor 20. The controller 114 further outputs the low order Address bits A0 -A7 inclusive over the 8-bit bi-directional bus 82 and receives the Chip Select signal CS0 over line 106, the clock signals CLK OUT which are transmitted over the 4-bit bus 66 and inverted by the inverters 116 before being received by the controller 114 over bus 117 and the reset signal RESET OUT over line 72. In response to receiving the signal HOLD, the 8085 memory processor 62 will output the signal HLDA over line 88 to the DMA controller 114 (FIG. 1B) notifying the DMA controller of the completion of the transfer of the data bits from the DRAM memory unit 64. The raising of the Interrupt signal TRAP over line 120 notifies the memory processor 62 of the starting or stopping of a data transfer operation by the DMA controller 114.

The DMA controller 114 further outputs in a multiplex arrangement the data and address signals required in accessing the DRAM memory unit 64 over an 8-bit bi-directional bus 122 in which the high order address bits A8 -A15 inclusive are stored in a latch 124 (FIG. 2A) under the control of the Address Strobe signal ADSTB appearing on line 126. The address bits are then outputted over the 8-bit bus 90 for use in addressing the storage locations in the DRAM memory unit 64 (FIG. 2B) and the SRAM memory unit 86 upon the generation of the Address Enable signal AEN which appears on line 127. The data signals D0 -D7 inclusive appearing on the 8-bit bi-directional bus 74 are transmitted during a write operation of the DRAM memory unit 64 from the SRAM memory unit 86 (FIG. 1B) to a DRAM controller 128 (FIG. 2A) whose construction will be described more fully hereinafter.

After the data bits D0 -D7 inclusive appear on the bi-directional bus 74 during a read or write operation, the DMA controller 114 outputs the Acknowledge signal DACK over line 130 to the DRAM controller 128. As will be explained more fully hereinafter, the DRAM controller 128 during a write operation generates an error correction code word for each data word being written into the DRAM memory unit 64. This error correction code word is then stored in the SRAM memory unit 86 (FIG. 1B). When the same data word is again read from the DRAM memory unit 64, a second error correction code word is generated which, if no error is present in the data word being read from the DRAM memory unit 64, will be the same as the first error correction code word. This construction allows the data words which do not contain error correction code bytes to be stored in the DRAM memory unit 64, thereby allowing more data words to be stored in the DRAM memory unit.

During a data transfer operation, the memory processor 62 (FIG. 1B) transmits the sector address signals over the data bus 74 and strobes these signals into the DRAM controller 128 with the Chip Select signals CS1 appearing on line 108 (FIG. 2A). The DRAM controller 128 outputs the Memory Read control signals MEMR over line 132 and the Memory Write control signal MEMW over line 134 for transferring data between the SRAM memory unit 86 (FIG. 1B) and the DRAM memory unit 64 (FIG. 2B). The controller 128 further outputs the Column Refresh signals CAS0-CAS2 inclusive over lines 136-140 inclusive to a SN74LS138 three to eight decoder 142 (FIG. 2B) and the Row Refresh control signals RAS0-RAS2 over lines 144-148 inclusive to a second SN74LS138 three to eight decoder 152. The decoders 142 and 152 output the appropriate column and row refresh signals over lines 154 and 156 to the DRAM memory unit 64 for refreshing the cells in the dynamic memory unit in a manner that is well-known in the art.

The data signals DIN, DOUT stored in the memory unit 64 are serially transmitted over the 2-bit bus 180 to the DRAM controller 128. The address signals RA0 -RA8 inclusive, used in addressing the storage sectors of the memory unit 64 during a read or write operation, are transmitted in parallel over the 9-bit bus 160 to a buffer unit 162 for storage therein which in turn is connected to the memory unit 64 over the 9-bit buses 164 (FIG. 2B). The DRAM memory unit 64 is provided with up to 128 64K dynamic RAM chips or 128 256K×1 dynamic RAM chips providing a memory capacity of 4 megabytes. When addressing the memory unit 64, the signal WE is transmitted from the controller 128 over line 166 for enabling the access operation of the memory unit 64 to occur. During the initialization of the system, the switches 168a and 168b (FIG. 2A) notify the controller 128 of the system configuration.

Referring now to FIG. 3, there is shown in dotted outline a block diagram of the DRAM controller 128 (FIG. 2A) which includes a DRAM address generator 170 which receives over the 8-bit bi-directional bus 74 the address bits used for addressing the storage sectors of the DRAM memory unit 64 during a read or write operation. The address bits appearing on the bus 74 are multiplexed by an address multiplexing circuit 172 under the timing control of thirteen timing signals generated by a timing generation logic unit 174 and transmitted over the 13-bit bus 175. The logic unit 174 also outputs timing signals over a 3-bit bus 176 to a refresh multiplexer 179, comprising the three to eight decoder 142 (FIG. 2B), and a Clock signal CLOCK over line 177 to an error correction polynomial unit 182. The multiplexed address signals are transmitted by the multiplexing circuit 172 over a 9-bit bus 173 to the DRAM memory unit 64. The data signals appearing on the 8-bit bus 74 are also transmitted to a serial-to-parallel/parallel-to-serial converter 178 which converts the data from parallel to serial when the data is being written into the memory 64 and from serial-to-parallel when the data is read from the memory 64. The serial data signals are outputted from the converter 178 over line 180 to an error correction polynomial unit 182 which divides the serial data signals appearing on line 180 by a polynomial to generate a remainder comprising the error correction code word in a manner to be described more fully hereinafter. The serial data signals DIN, DOUT are also transmitted over line 180 to the memory unit 64 during a write operation and are outputted over line 180 during a read operation.

Further included in the DRAM controller unit 128 is a control unit 184 which receives over bus 186 the control signals WR, RD, HOLD and will output the Acknowledge signal DACK over the same bus. In response to receiving these control signals, the control unit 184 will output the appropriate control signals over line 188 for controlling the transfer of the address signals between the read/write multiplexer 189, comprising the three to eight decoder 152 (FIG. 2B), and the memory unit 64. The decoder 152 receives over a 4-bit bus 190 a portion of the address signals for use in addressing the memory unit 64. During the time the memory unit 64 is being accessed, the decoders 142 and 152 output the column and row refresh signals CAS, RAS over the 8-bit buses 154 and 156 to the memory unit 64 enabling the cells in the memory unit to be refreshed.

Referring now to FIGS. 4A and 4B, there is shown details of the error correction polynomial unit 182 (FIG. 3) which includes a plurality of 74LS74 flip-flops 192a-192o inclusive forming a dynamic shift register generally indicated by the numeral 193 (FIG. 4A). As disclosed on page 360 of the publication "Error Correction Codes" by W. W. Wesley Peterson and E. J. Weldon, Jr., MIT Press, 1972, the method for deriving the polynomial for a 256 byte word length is described in corollary 11.2. Utilizing the irreducible polynomial of degree 9 from the Tables found on page 476 of the reference, we derive the following equation:

g(x)=(x9 +x4 +1)(x6 +1) which gives

g(x)=x15 +x10 +x9 +x4 +1. (1)

To find the maximum number of binary bits that can pass through the polynomial and still correct a one bit error in a bit length series of 9 is found by the following equation.

nmax =6(x9 -1).

If x is equal to 2, then nmax is equal to 3066.

Subtracting the term 15 which is equal to the number of flip-flop stages in the polynomial logic unit 182 from the above figure, we find that n is equal to 3051.

Since the actual bit length word of the memory unit 64 is 256 bytes or 2048 bits, the error correction code is shortened by the insertion of a number of zeros into the polynomial unit 182 which is equal to the difference between the actual bit length of the word stored in the memory unit 64 and the maximum number of bits that can be corrected. In the present example, this difference is 1003.

The data being inputted into the polynomial unit 182 appears on line 180 (FIGS. 3 and 4A) and is inputted into one input of an Exclusive OR gate 194 which also receives at its other input the output signal of the last 74LS74 flip-flop 192o (FIG. 4B) of the shift register 193 appearing on the feedback line 196. The Exclusive OR gate 194 will complement the binary input signal appearing on line 180 if the binary signal on line 196 is a 1. The output signal of the Exclusive OR gate 194 will output a signal over line 198 to the D input of the first flip-flop 192a of the shift register 193 and also over line 200 to the input of each of a number of Exclusive OR gates 202-208 inclusive. By examining FIGS. 4A and 4B, it will be seen that the Exclusive OR gate 194 receiving the output of the flip-flop 190o will correspond to the term x15 in the polynomial equation (1) disclosed previously. In a similar manner, the Exclusive OR gate 202 corresponds to the term x4, the gate 204 to the term x6, the gate 206 to the term x9 and the gate 208 to the term x10. As the binary data bits appearing on line 180 are shifted through the flip-flops 190a-192o inclusive under the control of the clock signals CLOCK appearing on line 177 (FIGS. 3 and 4A), the Exclusive OR gates 194 and 202-208 inclusive will perform successive additions in modulo 2 arithmetic of the binary bits resulting in the binary bit word being divided by the polynomial, thereby producing a multi-bit remainder appearing on the Q output lines 210 of the flip-flops 192a-192o inclusive and at the input of a pair of 74LS244 tri-state buffer units 212 (FIG. 4A) and 214 (FIG. 4B). At the conclusion of the operation of the polynomial unit 182, the error correction code clock signals ECC1-8 inclusive appearing on line 109 and the clock signals ECC9-15 inclusive appearing on line 111 will enable the data bits appearing on the input lines 210 of the buffer units 212 and 214 to be transmitted over the 8-bit bus 74 for storage in the SRAM memory unit 86 (FIG. 1B) for use in an error detecting procedure as will be described more fully hereinafter.

Referring now to FIG. 5, there is disclosed the logic circuit of the serial-to-parallel/parallel-to-serial converter unit 178 located in the DRAM controller 128 (FIG. 3) which includes a 74LS199 converter 222 receiving the data bits D0 -D7 appearing on bus 74 and the serial data bits appearing on lines 180a and 180b of the bus 180 (FIG. 2B). The converter 222 will convert the binary bits to the proper sequence between the parallel bus 74 and the serial lines 180a and 180b under the control of signals appearing on line 224 and generated by a Start/Stop control unit 226 located in the DMA/CPU control unit 184 (FIG. 3) in response to the control unit 226 receiving the clock signals 4096, 4096 over the lines 228b and 228a of the bus 228 from the timing generation logic unit 174 (FIG. 3) and the read and write control signals RD, WR appearing on lines 186a and 186b of the bus 186. The control unit 226 controls the transfer of data bits between the DRAM memory unit 64 (FIG. 2B) and the DMA controller unit 114 (FIG. 2A). As disclosed in FIG. 7, upon the 4096 clock signals 230 going high, the DMA request (DREQ) signal 232 will go high enabling data to be transferred over bus 74 between the SRAM memory unit 86 and the converter 178 (FIG. 3). For every data byte transferred, the DMA controller 114 will raise the DMA acknowledge (DACK) signal 234 (FIG. 7) over line 130 (FIG. 2A) of the bus 186 to a DMA handshake 74LS74 flip-flop 236 (FIG. 5) which resets the flip-flop resulting in the lowering of the DREQ signal 232 appearing on line 238. When the 4096 clock signal 230 goes low (FIG. 7), the control unit 226 will lower the transfer/refresh enable signal 240 over line 188 resulting in the completion of a DRAM memory access operation and the start of a refresh operation of the DRAM memory unit 64. Upon the raising of the next 4096 clock signal by the timing generation logic unit 174 (FIG. 3), the DREQ signal 232 is again raised allowing for the transfer of data from the next sector to occur. The read and write signals RD and WR appearing on lines 186a and 186b respectively identify the type of memory access operation that is occurring in a manner that is well-known in the art.

Referring now to FIG. 6, there is shown a block diagram of the timing generation logic unit 174 located in the DRAM controller 128 (FIG. 3), which includes an oscillator 242 outputting the system clock signals of 4.068 MHz. to a timing sequence unit 244 comprising a plurality of flip-flops wired in series for outputting the strobe signals RAS and CAS and the 4.068 MHz. system clock signals over the bus lines 176 to the multiplexer 189 (FIG. 3) enabling the high address signals A9 -A15 to be strobed into the DRAM memory unit 64. The sequence unit 244 also outputs the 7-bit clock signal 246 (FIG. 7) over line 248 to the converter 222 (FIG. 5) controlling the transfer of an 8-bit data word appearing on the bus 74 into the converter 222. The 4.068 MHz. system clock signals are also transmitted over line 250 to a 13-bit ripple counter 252 which outputs a count of 0-4096 over the 12-bit bus 175 to the address multiplexing cicuit 172 (FIG. 3) which outputs the signals over bus 173 as the row address signals in the DRAM memory unit 64. The counter 252 will also output the 4096, 4096 clock signals (FIG. 7) over lines 228b and 228a, respectively, to the start/stop control unit 226 (FIG. 5) for initiating either an access operation or a refresh operation, the latter occurring at the time the clock signal 4096 occurs.

Referring now to FIG. 8, there is shown a flowchart of a write operation of the data processing system. The processor 62 (FIG. 1B) will initiate a write operation (block 254) by loading (block 256) the address bits A0 -A15 into the DRAM controller 128 (FIG. 2A) and set up the DMA controller 114 for a write operation by loading the addresses of the data bits stored in the SRAM memory unit 86 (FIG. 1B) which are to be transferred to the DRAM memory unit, reset (block 258) the flip-flops 192a-192o inclusive (FIGS. 4A and 4B) of the polynomial logic unit 182 (FIG. 3) and start (block 260) transferring the data bits from the SRAM memory unit 86 (FIG. 1B) to the serial-to-parallel converter unit 178 (FIG. 3) upon the appearance of the high 4096 clock signals 230 (FIG. 7). The data bits are then stored in the DRAM memory unit 64 (block 262). The data is also transferred (block 264) from the converter unit 178 to the error correction polynomial unit 182 (FIG. 3) where a 15 bit remainder representing an error correction code is generated. After all the data bits have been stored in the memory unit 64 and have been transferred to the polynomial logic unit 182 (block 268), the processor will enable the buffers 212, 214 (FIGS. 4A and 4B) to output the remainder of the polynomial unit operation for storage in the SRAM memory unit 86 at the same address as the data is stored in the DRAM memory unit 64, thereby completing a valid write operation (block 270).

In reading the same data from the DRAM memory unit 64 (block 272) (FIG. 9), the processor 62 (FIG. 1B) will again load the address bits of the data to be read (block 274) into the DRAM controller unit 128 (FIG. 2A) and set up the DMA controller 114 for a read operation, reset (block 276) the flip-flops 192a-192o inclusive (FIGS. 4A and 4B) of the polynomial unit 182 (FIG. 3) and wait (block 278) for the appearance of a high 4096 clock signal 230 (FIG. 7) before transferring the serial data bits from the DRAM memory unit 64 to the serial-to-parallel converter unit 178 (FIG. 3) which transfers the parallel data bits to the SRAM memory unit 86 (block 280). The data bits are also transferred from the memory unit 64 to the polynomial unit 182 (block 282) where a remainder is generated by the operation of the polynomial unit. At the completion of the transfer of the data bits (block 284), the processor will read the remainder present at the output of the buffer units 212, 214, (FIGS. 4A and 4B) and the remainder stored in the SRAM memory unit 86 at the same address as the data bits read from the DRAM memory unit 64 (block 286) and compare the two remainders (block 288). If the two remainders are the same, the memory processor unit 62 interrupts the main processor unit 20 indicating the presence of data stored in the buffer 38 (FIG. 1A) (block 292) which is to be transferred to the main processor unit. If the remainders do not match, indicating an error in the data read from the memory unit 64, an error correction operation occurs (block 290) correcting the error if it is limited to a single bit error. Reference should be made to the previously cited copending application of Collins, Jr., NCR Docket 3405 for a disclosure of the error correction operation.

It will be seen from this construction that the data stored in the DRAM memory unit does not require the inclusion of error correction code bits in each of the data words for the system to determine if the presence of errors in the data stored in the memory unit. This construction allows more data to be stored in the memory unit.

The Intel integrated circuits referenced in this application are commercially available from the Intel Corporation of Santa Clara, Calif. while the remaining circuits referenced are commercially available from the Texas Instruments Corporation of Dallas, Tex.

Numerous modifications and adaptions of the system of the present invention will be apparent to those skilled in the art and thus it is intended by the appended claims to cover all such modifications and adaptions which fall within the true spirit and scope of this invention.

Collins, Donald A., O'Hanlan, Thomas B.

Patent Priority Assignee Title
4651321, Aug 30 1983 AMDAHL CORPORATION, A DE CORP Apparatus for reducing storage necessary for error correction and detection in data processing machines
4939692, Sep 15 1988 Intel Corporation Read-only memory for microprocessor systems having shared address/data lines
5263030, Feb 13 1991 Quantum Corporation Method and apparatus for encoding data for storage on magnetic tape
5535140, Jan 22 1993 Canon Kabushiki Kaisha Polynominal-set deriving apparatus and method
7103824, Jul 29 2002 Multi-dimensional data protection and mirroring method for micro level data
8161354, Oct 16 2008 GENESYS LOGIC, INC. Flash memory controller having configuring unit for error correction code (ECC) capability and method thereof
Patent Priority Assignee Title
3573728,
3794819,
3982226, Apr 03 1975 Storage Technology Corporation Means and method for error detection and correction of digital data
4105999, Jan 12 1976 Nippon Electric Co., Ltd. Parallel-processing error correction system
4317201, Apr 01 1980 Honeywell, Inc. Error detecting and correcting RAM assembly
4319356, Dec 19 1979 NCR Corporation Self-correcting memory system
4320511, Mar 13 1979 Kokusai Denshin Denwa Co., Ltd.; Nippon Electric Co., Ltd. Method and device for conversion between a cyclic and a general code sequence by the use of dummy zero bit series
4336611, Dec 03 1979 Honeywell Information Systems Inc. Error correction apparatus and method
4384353, Feb 19 1981 National Semiconductor Corporation Method and means for internal error check in a digital memory
4404673, Feb 09 1981 National Semiconductor Corporation Error correcting network
///
Executed onAssignorAssigneeConveyanceFrameReelDoc
Nov 11 1982COLLINS, DONALD A NCR CorporationASSIGNMENT OF ASSIGNORS INTEREST 0040720113 pdf
Nov 11 1982O HANLAN, THOMAS BNCR CorporationASSIGNMENT OF ASSIGNORS INTEREST 0040720113 pdf
Nov 22 1982NCR Corporation(assignment on the face of the patent)
Date Maintenance Fee Events
May 09 1988M173: Payment of Maintenance Fee, 4th Year, PL 97-247.
Nov 25 1992REM: Maintenance Fee Reminder Mailed.
Apr 25 1993EXP: Patent Expired for Failure to Pay Maintenance Fees.


Date Maintenance Schedule
Apr 23 19884 years fee payment window open
Oct 23 19886 months grace period start (w surcharge)
Apr 23 1989patent expiry (for year 4)
Apr 23 19912 years to revive unintentionally abandoned end. (for year 4)
Apr 23 19928 years fee payment window open
Oct 23 19926 months grace period start (w surcharge)
Apr 23 1993patent expiry (for year 8)
Apr 23 19952 years to revive unintentionally abandoned end. (for year 8)
Apr 23 199612 years fee payment window open
Oct 23 19966 months grace period start (w surcharge)
Apr 23 1997patent expiry (for year 12)
Apr 23 19992 years to revive unintentionally abandoned end. (for year 12)