WO1997014109A2 - Data error detection and correction for a shared sram - Google Patents

Data error detection and correction for a shared sram Download PDF

Info

Publication number
WO1997014109A2
WO1997014109A2 PCT/US1996/016037 US9616037W WO9714109A2 WO 1997014109 A2 WO1997014109 A2 WO 1997014109A2 US 9616037 W US9616037 W US 9616037W WO 9714109 A2 WO9714109 A2 WO 9714109A2
Authority
WO
WIPO (PCT)
Prior art keywords
memory
read
information
processor
primary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US1996/016037
Other languages
French (fr)
Other versions
WO1997014109A3 (en
Inventor
Angela L. Lordi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honeywell Inc
Original Assignee
Honeywell Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honeywell Inc filed Critical Honeywell Inc
Priority to DE69605820T priority Critical patent/DE69605820T2/en
Priority to JP9515115A priority patent/JPH11513823A/en
Priority to EP96937661A priority patent/EP0862761B1/en
Publication of WO1997014109A2 publication Critical patent/WO1997014109A2/en
Publication of WO1997014109A3 publication Critical patent/WO1997014109A3/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • G11C29/74Masking faults in memories by using spares or by reconfiguring using duplex memories, i.e. using dual copies
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1012Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
    • G06F11/1032Simple parity

Definitions

  • the present invention relates to error detection, and more particularly, to error detection and recovery from soft failures of data read from a memory shared by two processors.
  • EDAC error detection and correction
  • An apparatus for correcting errors in information read from a memory unit comprises a first and second memory, where primary and backup information are stored in predetermined addressable locations. The primary information and the backup information in corresponding locations are the same.
  • a processor operatively connected to the first and second memory, commands a read of information stored in the memory unit, the read being a simultaneous read ofthe primary information and the corresponding backup information.
  • a multiplexer has a first set and a second set of input ports and further has a first set of output ports, the first set of output ports being coupled to the processor. The primary information and the backup information are coupled to the two sets of input ports ofthe multiplexer.
  • Select logic is operatively connected to the multiplexer, and further is operatively connected to the first memory and to the second memory.
  • the first and second memory each equipped with parity detection logics indicate via a respective first and second error signal if an error is detected on the information just read from the first and second memory, respectively.
  • the select logic determines whether the data in the first and second memory contains the primary or the backup information and generates the control signal to select the set of input ports to be output ofthe multiplexer.
  • the control signal selects the primary information to be coupled to the processor if no error is indicated by in the primary copy and selects the backup information to be coupled to the processor if an error is indicated in the primary copy and not the backup copy.
  • Figure 1 shows a memory map of a static random access memory (SRAM);
  • Figure 2 shows a block diagram of a micro-controller coupled to the SRAM of Figure 1 ;
  • Figure 3 shows a memory map ofthe SRAM showing a predetermined allocation of memory space ofthe SRAMs
  • Figure 4 shows a block diagram of a micro-controller coupled to the SRAMs of Figure 3 having the predetermined allocation
  • Figure 5 shows a memory map ofthe SRAM allocation ofthe preferred embodiment ofthe present invention
  • Figure 6 shows a block diagram of the shared SRAMs between a first and second processor, the processors being of different types;
  • Figure 7 shows a truth table of the logic of select logic for the SRAMs.
  • FIG. 1 there is shown a memory map of a first static random access memory (SRAM 1) 10 and a second static random access memory (SRAM 2) 1 1 which are accessed by a processor.
  • a microcontroller an Intel 80c31
  • SRAM 2 1 1 contains the primary information
  • SRAM 1 10 contains the backup information.
  • FIG. 2 there is shown a block diagram ofthe micro controller 20 connected to the SRAM 1 10 and SRAM 2 1 1.
  • the address lines 30 from the microcontroller 20 are coupled to both the SRAM 1 10 and SRAM 2 1 1.
  • the data lines 32 from SRAM 1 10 are coupled to a multiplexer 40 and the data lines 34 from SRAM
  • the output of the multiplexer 40 is coupled to the data terminals ofthe micro controller 20 via data lines 36.
  • a control signal from the microcontroller 20 is coupled to SRAM 1 10 and SRAM 2 11 which includes the chip enable, read enable, write enable,....
  • the parity bit Pl from SRAM 1 10 and the parity bit P2 from SRAM 2 11 are coupled to a parity select logic 50.
  • the address ofthe information desired is placed on the address lines 30 (A 0 through A ! 5 allows the microcontroller to read 64k bits of information from the SRAM).
  • the information is read from the specified location of both the primary area of SRAM 2 1 1 and the backup area of SRAM 1 10 and the information is placed on the respective data lines 32, 34.
  • the Parity bits Pl, P2 are coupled to the parity select logic 50. If there is no error on either parity bit Pl, P2, as indicated in the truth table for the parity select logic, the parity select logic outputs a signal which selects inputs 1 which is the data from the primary area of SRAM 2. This data is then coupled via data lines 36 to the microcontroller 20. If however an error is detected from a read ofthe primary area of
  • the parity select logic outputs a control signal which selects the data from the backup area, i.e.. the data on the second set of input ports ofthe multiplexer 40. which is then coupled to the microcontroller 20. If a parity error occurs on both the SRAM 1 and the SRAM 2. the select logic generates an interrupt to the micro controller for further processing. In the preferred embodiment, the parity select logic generates a reset signal to the microcontroller 20 which essentially stops the micro controller 20. Thus, if an error is detected from the primary data, the secondary (or backup) data can be read into the microcontroller 20 without any extension of time.
  • the microcontroller of the preferred embodiment requires the data to be on the data ports 361 nano seconds from the initiation ofthe read cycle (the rising edge ofthe ALE-address latch enable-pulse from the 80c31 microcontroller). Because the SRAM is shared with another processor and time is allocated to the other processor for accessing the SRAM in an arbitration scheme, the utilization of a traditional EDAC techniques which requires 60 additional nano seconds does not meet the requirement that the data be valid at the microcontroller data input ports within 361 nano seconds from the rising edge ofthe ALE pulse. The scheme ofthe present invention provides for the corrected data to be valid at the processor within the required time frame. The sharing ofthe SRAM will be described herein under.
  • FIG. 3 there is shown a memory map of the memory unit of the microcontroller 20.
  • the memory units ofthe preferred embodiment of the present invention include effectively 2 physical SRAMs each consisting of 128kx9 bytes.
  • the primary information (data and instructions) for the microcontroller 20 is as shown starting at location zero (area Pl, P2), and the backup information for the microcontroller 20 is starting at location 20000HEX (area Bl , B2). (All memory locations utilized in the present application will be in HEXADECIMAL form.)
  • FIG. 4 there is shown the block diagram of the microcontrollers coupled to the memory unit (including SRAM 1 10 and SRAM 2 1 1).
  • the memory unit including SRAM 1 10 and SRAM 2 1 .
  • SRAM select logic 60 is included for control of the A 16, Al 7 bits ofthe respective SRAMS 10, 11 in order to address the upper or lower half of the SRAM.
  • the control signal from the microcontroller 20 is also coupled to the SRAM select logic 60 to indicate that the memory access (i.e., read) is being performed by the microcontroller 20.
  • the SRAM select logic is such that when the microcontroller 20 is accessing Byte Pl of the SRAMS, A17 and A16 bits coupled to SRAM 2 1 1 will both be zero, thereby addressing the low memory, i.e., the primary area Pl .
  • the Al 7 bit will be a logic 1 and the A16 bit will be a logic 0 coupled to SRAM 1 and thereby addressing the backup area Bl .
  • microcontroller 20 is accessing byte P2 ofthe SRAMS.
  • A17 and A16 bits coupled to SRAM2 1 1 will be at logic 1 and 0 respectively and A17 and A16 coupled to SRAMl 10 will both at logic 0.
  • the data is outputted on the data lines 32 from SRAM 1 and from data lines 34 from SRAM 2 and coupled to the multiplexer 40.
  • the select logic determines whether the data in the first and second memory contains the primary or the backup information and generates the control signal to select the set of input ports to be output ofthe multiplexer.
  • the control signal selects the primary information to be coupled to the processor if no error is indicated in the primary copy and selects the backup information to be coupled to the processor if an error is indicated in the primary copy and not the backup copy.
  • the time restriction for the data availability for the microcontroller 20 comes about as a result of the memory being shared with another processor.
  • FIG 5 there is shown a memory map ofthe memory allocation of the preferred embodiment ofthe present invention.
  • SRAMl 10 and SRAM2 1 1 are allocated such that for both the microcontroller and the second processor, the primary area is in the lower memory address space and the backup area is in the upper memory address space.
  • the primary copy and the corresponding backup copy of a particular byte of data reside in physically different SRAMs. This enables simultaneous read and write operation in to the Shared SRAM. For example, the Primary Copy at address 0 0000 referenced as Pl is in SRAMl and the Backup Byte at address 2 0001 referenced as Bl is in SRAM2.
  • FIG. 6 there is shown a block diagram of the shared SRAM 10, 1 1 being available for access by a microcontroller 20 and a second processor 70.
  • the second processor ofthe preferred embodiment ofthe present invention is a Motorola 68000 family processor.
  • the second processor 70 has the address lines coupled into the address bus 30 for addressing the SRAMs 10, 11.
  • Bits A16 and Al 7 are coupled to the SRAM select logic 60 along with control information, which identifies the operation type, i.e., whether the read is a byte read, word read, or long word.
  • the logic contained in the SRAM select logic 60 generates the address signals A 17, A16 to SRAM 1 and the address signals A 17, A16 to the SRAM 2 1 1 in accordance with the truth table shown in Figure 7.
  • the data buses from the respective SRAMS 32, 34 are coupled to the data buffer logic 80, the output ofthe data buffer logic 80 being a 32-bit output which is coupled to the data ports D 0 -D 3 ) ofthe second processor 70.
  • the parity bits are likewise coupled to the second processor 70.
  • the second processor 70 has the processing power to identify whether a parity error exists and initiate a second read such that the backup area can be read. In cases where a word read is performed, the second processor 70 has the ability to read an entire 16 bit word which may incorporate the primary area Pl and the primary area P2. In this manner, the communication between the two processors is performed via the shared SRAM.
  • the second processor 70 can initiate a second read ofthe same data from the backup area, i.e., the respective Bl area and B2 area and then perform a byte swap in order for the bytes to be in the proper sequence. Because the 68XXX ofthe preferred embodiment ofthe present invention includes a data acknowledge signal, the time restriction applicable to the microcontroller 20 is not applicable to the second processor ofthe preferred embodiment.
  • the arbitration scheme for the preferred embodiment ofthe present invention includes a cycle in which the first half of the cycle is allocated to the second processor 70 and the second half of the cycle is allocated to the microcontroller 20. This arbitration scheme is needed when both the second controller 70 and the microcontroller 20 attempt to address the SRAM at essentially the same time.
  • the request by the second processor to access the SRAM 10, 11 requires a synchronization ofthe "external request" and if the request is asserted within a predetermined time slot, the second processor 70 gains access into the SRAM.
  • the remainder ofthe time is allocated for the microcontroller 20.
  • the cycle is divided into two word read operations. If, for example the 68XXX performs a long word read from location 10000.
  • the cycle is divided into 2 word cycles.
  • Word 1 (address 10000 and 10001) are accessed in the first cycle, and word 2 (address 10002 and 10003) are accessed in the second cycle.
  • the operation of the Motorola 68XXX is well documented and well known to those skilled in the art, including the operation of the data buffer logic 80.
  • the specified microcontroller and the second processor has been identified, it will be understood by those skilled in the art that any microprocessor, microcontroller,... may be utilized.
  • the present invention can be utilized to address any time restrictions relative to accessing a shared SRAM.
  • the logic ofthe parity select logic 50 and the SRAM select logic 60 can be implemented by one skilled in the art from the truth table shown in the specification.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

An apparatus for correcting errors in information read from a memory unit, comprises a first and second memory, where primary and backup information are stored in predetermined addressable locations. The primary information and the backup information in corresponding locations are the same. A processor, commands a read of information stored in the memory unit, the read being a simultaneous read of the primary information and the corresponding backup information. A multiplexer, couples the output ports to the processor. The primary information read from the first and second memory and the backup information read from the first and second memory are coupled to the multiplexer. The first and second memory each indicate via a respective first and second error signal if an error is detected on the information just read from the first and second memory, respectively. Select logic determines whether the data in the first and second memory contains the primary or the backup information and generates the control signal to select the set of input ports to be the output of the multiplexer. The control signal selects the primary signal to be coupled to the processor if no error is indicated in the primary copy and selects the backup information to be coupled to the processor if an error is indicated in the primary copy and not the backup copy.

Description

DATA ERROR DETECTION AND CORRECTION FOR A SHARED SRAM BACKGROUND OF THE INVENTION
The present invention relates to error detection, and more particularly, to error detection and recovery from soft failures of data read from a memory shared by two processors.
Traditionally, error detection and correction (EDAC) techniques of data read from a memory, require the storage into a memory unit of an additional number of bits which is a function ofthe number of bits composing the information and the resolution capacity of these additional bits (i.e., commonly known as syndrome bits). Each time information (word/byte) is written into memory, the corresponding syndrome bits must be generated. When information is read from memory (in parallel with the corresponding syndrome bits) and an error is detected, the error can generally be corrected, i.e., if the nature ofthe error is within the resolution capacity ofthe syndrome bits. This method requires a considerable amount of additional hardware and requires extra time to perform the correction. When the extra time is not available to a processor accessing the memory, a new scheme must be utilized to perform the correction i.e., recovery scheme.
Thus, there is provided by the present invention an approach to error detection and correction which essentially does not require any extra time. SUMMARY OF THE INVENTION
Thus, there is provided by the present invention, a scheme for error detection and correction which does not require any extra time to perform the correction. An apparatus for correcting errors in information read from a memory unit, comprises a first and second memory, where primary and backup information are stored in predetermined addressable locations. The primary information and the backup information in corresponding locations are the same. A processor, operatively connected to the first and second memory, commands a read of information stored in the memory unit, the read being a simultaneous read ofthe primary information and the corresponding backup information. A multiplexer has a first set and a second set of input ports and further has a first set of output ports, the first set of output ports being coupled to the processor. The primary information and the backup information are coupled to the two sets of input ports ofthe multiplexer. Select logic is operatively connected to the multiplexer, and further is operatively connected to the first memory and to the second memory. The first and second memory each equipped with parity detection logics indicate via a respective first and second error signal if an error is detected on the information just read from the first and second memory, respectively. The select logic determines whether the data in the first and second memory contains the primary or the backup information and generates the control signal to select the set of input ports to be output ofthe multiplexer. The control signal selects the primary information to be coupled to the processor if no error is indicated by in the primary copy and selects the backup information to be coupled to the processor if an error is indicated in the primary copy and not the backup copy.
Accordingly, it is an object ofthe present invention to provide an apparatus wherein error correction is performed without requiring any additional time.
It is another object ofthe present invention to provide an apparatus wherein error correction on information read from a static random access memory is performed when an error is detected without requiring any additional time.
These and other objects ofthe present invention will become more apparent when taken in conjunction with the following description and attached drawings, wherein like characters indicate like parts, and which drawings form a part of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 shows a memory map of a static random access memory (SRAM); Figure 2 shows a block diagram of a micro-controller coupled to the SRAM of Figure 1 ;
Figure 3 shows a memory map ofthe SRAM showing a predetermined allocation of memory space ofthe SRAMs;
Figure 4 shows a block diagram of a micro-controller coupled to the SRAMs of Figure 3 having the predetermined allocation;
Figure 5 shows a memory map ofthe SRAM allocation ofthe preferred embodiment ofthe present invention; Figure 6 shows a block diagram of the shared SRAMs between a first and second processor, the processors being of different types; and
Figure 7 shows a truth table of the logic of select logic for the SRAMs. DETAILED DESCRIPTION
Referring to Figure 1, there is shown a memory map of a first static random access memory (SRAM 1) 10 and a second static random access memory (SRAM 2) 1 1 which are accessed by a processor. In the preferred embodiment, a microcontroller, (an Intel 80c31 ) is to access the SRAM 10, 1 1. The SRAM 2 1 1 contains the primary information and SRAM 1 10 contains the backup information.
Referring to Figure 2, there is shown a block diagram ofthe micro controller 20 connected to the SRAM 1 10 and SRAM 2 1 1. The address lines 30 from the microcontroller 20 are coupled to both the SRAM 1 10 and SRAM 2 1 1. The data lines 32 from SRAM 1 10 are coupled to a multiplexer 40 and the data lines 34 from SRAM
2 1 1 are also coupled to the multiplexer 40. The output of the multiplexer 40 is coupled to the data terminals ofthe micro controller 20 via data lines 36. A control signal from the microcontroller 20 is coupled to SRAM 1 10 and SRAM 2 11 which includes the chip enable, read enable, write enable,.... The parity bit Pl from SRAM 1 10 and the parity bit P2 from SRAM 2 11 are coupled to a parity select logic 50.
When the microcontroller 20 desires to read from the SRAM, the address ofthe information desired, is placed on the address lines 30 (A0 through A! 5 allows the microcontroller to read 64k bits of information from the SRAM). The information is read from the specified location of both the primary area of SRAM 2 1 1 and the backup area of SRAM 1 10 and the information is placed on the respective data lines 32, 34.
The Parity bits Pl, P2 are coupled to the parity select logic 50. If there is no error on either parity bit Pl, P2, as indicated in the truth table for the parity select logic, the parity select logic outputs a signal which selects inputs 1 which is the data from the primary area of SRAM 2. This data is then coupled via data lines 36 to the microcontroller 20. If however an error is detected from a read ofthe primary area of
SRAM 2, the parity select logic outputs a control signal which selects the data from the backup area, i.e.. the data on the second set of input ports ofthe multiplexer 40. which is then coupled to the microcontroller 20. If a parity error occurs on both the SRAM 1 and the SRAM 2. the select logic generates an interrupt to the micro controller for further processing. In the preferred embodiment, the parity select logic generates a reset signal to the microcontroller 20 which essentially stops the micro controller 20. Thus, if an error is detected from the primary data, the secondary (or backup) data can be read into the microcontroller 20 without any extension of time. The microcontroller of the preferred embodiment, requires the data to be on the data ports 361 nano seconds from the initiation ofthe read cycle (the rising edge ofthe ALE-address latch enable-pulse from the 80c31 microcontroller). Because the SRAM is shared with another processor and time is allocated to the other processor for accessing the SRAM in an arbitration scheme, the utilization of a traditional EDAC techniques which requires 60 additional nano seconds does not meet the requirement that the data be valid at the microcontroller data input ports within 361 nano seconds from the rising edge ofthe ALE pulse. The scheme ofthe present invention provides for the corrected data to be valid at the processor within the required time frame. The sharing ofthe SRAM will be described herein under.
Referring to Figure 3, there is shown a memory map of the memory unit of the microcontroller 20. The memory units ofthe preferred embodiment of the present invention include effectively 2 physical SRAMs each consisting of 128kx9 bytes. The primary information (data and instructions) for the microcontroller 20 is as shown starting at location zero (area Pl, P2), and the backup information for the microcontroller 20 is starting at location 20000HEX (area Bl , B2). (All memory locations utilized in the present application will be in HEXADECIMAL form.)
Referring to Figure 4, there is shown the block diagram of the microcontrollers coupled to the memory unit (including SRAM 1 10 and SRAM 2 1 1). In addition, the
SRAM select logic 60 is included for control of the A 16, Al 7 bits ofthe respective SRAMS 10, 11 in order to address the upper or lower half of the SRAM. The control signal from the microcontroller 20 is also coupled to the SRAM select logic 60 to indicate that the memory access (i.e., read) is being performed by the microcontroller 20. In this case, the SRAM select logic is such that when the microcontroller 20 is accessing Byte Pl of the SRAMS, A17 and A16 bits coupled to SRAM 2 1 1 will both be zero, thereby addressing the low memory, i.e., the primary area Pl . However, the Al 7 bit will be a logic 1 and the A16 bit will be a logic 0 coupled to SRAM 1 and thereby addressing the backup area Bl . If microcontroller 20 is accessing byte P2 ofthe SRAMS. A17 and A16 bits coupled to SRAM2 1 1 will be at logic 1 and 0 respectively and A17 and A16 coupled to SRAMl 10 will both at logic 0. When the read is performed, the data is outputted on the data lines 32 from SRAM 1 and from data lines 34 from SRAM 2 and coupled to the multiplexer 40. The select logic determines whether the data in the first and second memory contains the primary or the backup information and generates the control signal to select the set of input ports to be output ofthe multiplexer. The control signal selects the primary information to be coupled to the processor if no error is indicated in the primary copy and selects the backup information to be coupled to the processor if an error is indicated in the primary copy and not the backup copy.
The time restriction for the data availability for the microcontroller 20 comes about as a result of the memory being shared with another processor. Referring to Figure 5, there is shown a memory map ofthe memory allocation of the preferred embodiment ofthe present invention. SRAMl 10 and SRAM2 1 1 are allocated such that for both the microcontroller and the second processor, the primary area is in the lower memory address space and the backup area is in the upper memory address space. The primary copy and the corresponding backup copy of a particular byte of data reside in physically different SRAMs. This enables simultaneous read and write operation in to the Shared SRAM. For example, the Primary Copy at address 0 0000 referenced as Pl is in SRAMl and the Backup Byte at address 2 0001 referenced as Bl is in SRAM2.
Referring to Figure 6, there is shown a block diagram of the shared SRAM 10, 1 1 being available for access by a microcontroller 20 and a second processor 70. The second processor ofthe preferred embodiment ofthe present invention is a Motorola 68000 family processor. The second processor 70 has the address lines coupled into the address bus 30 for addressing the SRAMs 10, 11. Bits A16 and Al 7 are coupled to the SRAM select logic 60 along with control information, which identifies the operation type, i.e., whether the read is a byte read, word read, or long word. As a result, the logic contained in the SRAM select logic 60 generates the address signals A 17, A16 to SRAM 1 and the address signals A 17, A16 to the SRAM 2 1 1 in accordance with the truth table shown in Figure 7. The data buses from the respective SRAMS 32, 34 are coupled to the data buffer logic 80, the output ofthe data buffer logic 80 being a 32-bit output which is coupled to the data ports D0-D3 ) ofthe second processor 70. The parity bits are likewise coupled to the second processor 70. The second processor 70 has the processing power to identify whether a parity error exists and initiate a second read such that the backup area can be read. In cases where a word read is performed, the second processor 70 has the ability to read an entire 16 bit word which may incorporate the primary area Pl and the primary area P2. In this manner, the communication between the two processors is performed via the shared SRAM. If an error is detected in the data read, the second processor 70 can initiate a second read ofthe same data from the backup area, i.e., the respective Bl area and B2 area and then perform a byte swap in order for the bytes to be in the proper sequence. Because the 68XXX ofthe preferred embodiment ofthe present invention includes a data acknowledge signal, the time restriction applicable to the microcontroller 20 is not applicable to the second processor ofthe preferred embodiment.
The arbitration scheme for the preferred embodiment ofthe present invention includes a cycle in which the first half of the cycle is allocated to the second processor 70 and the second half of the cycle is allocated to the microcontroller 20. This arbitration scheme is needed when both the second controller 70 and the microcontroller 20 attempt to address the SRAM at essentially the same time. The request by the second processor to access the SRAM 10, 11 requires a synchronization ofthe "external request" and if the request is asserted within a predetermined time slot, the second processor 70 gains access into the SRAM. The remainder ofthe time is allocated for the microcontroller 20. For a long word read, the cycle is divided into two word read operations. If, for example the 68XXX performs a long word read from location 10000. the cycle is divided into 2 word cycles. Word 1 (address 10000 and 10001) are accessed in the first cycle, and word 2 (address 10002 and 10003) are accessed in the second cycle. The operation of the Motorola 68XXX is well documented and well known to those skilled in the art, including the operation of the data buffer logic 80. Although the specified microcontroller and the second processor has been identified, it will be understood by those skilled in the art that any microprocessor, microcontroller,... may be utilized. The present invention can be utilized to address any time restrictions relative to accessing a shared SRAM. Likewise, the logic ofthe parity select logic 50 and the SRAM select logic 60 can be implemented by one skilled in the art from the truth table shown in the specification.
While there has been shown what is considered the preferred embodiment of the present invention, it will be manifest that many changes and modifications can be made therein without departing from the essential spirit and scope ofthe invention. It is intended, therefore, in the annexed claims to cover all such changes and modifications which fall within the true scope ofthe invention.

Claims

Claim 1. An apparatus for correcting errors in information read from a memory unit, comprising: a) a first and second memory, said first memory storing primary information in predetermined addressable locations of said first memory, and said second memory storing backup information in addressable locations of said second memory corresponding to the addressable locations of said first memory, the primary information and the backup information being the same; b) a processor, operatively connected to said first and second memory, for commanding a read of information stored in said memory unit, the read being a simultaneous read ofthe primary information stored in the first memory and the corresponding backup information stored in the second memory; c) a multiplexer, having a first set and a second set of input ports and further having a first set of output ports, the first set of output ports coupled to said processor, and wherein the primary information read from the first memory and the backup information read from the second memory are coupled to the first set and the second set of input ports ofthe multiplexer, respectively; and d) select logic, operatively connected to said multiplexer, and further operatively connected to said first memory and to said second memory, the first and second memory indicating via a respective first and second error signal if any error is detected on the information just read from the first and second memory, respectively, the select logic generating a select signal to select the first set of input ports when no error is indicated by the first error signal thereby selecting the primary information to be coupled to the processor, and to select the second set of input ports when an error is indicated by the first error signal and no error is indicated by the second error signal thereby selecting the backup information to be coupled to the processor, which is the correct information.
Claim 2. An apparatus according to Claim 1. further wherein said select logic is operatively connected to said processor to indicate when an error is detected, on a read of information. from both the first memory and the second memory.
Claim 3. An apparatus for correcting errors in information read from a memory unit, comprising: a) a first and second memory, each of said first memory and said second memory being divided into a lower memory and an upper memory such that the lower memory stores primary information and the upper memory stores backup information, the upper memory addressable locations being corresponding relative addressable locations of the lower memory addressable locations, the primary information and the backup information stored in a corresponding relative addressable location being the same; b) a processor, operatively connected to said first and second memory, for commanding a read of information stored in said memory unit, the read being a simultaneous read of the primary information stored in the upper memory and the corresponding backup information stored in the lower memory of the said first and second memory; c) memory select logic, operatively connected to said first and second memory, for generating address information to cause the lower memory to be read and to cause a corresponding relative addressable location ofthe upper memory to be read, such that the primary information and the corresponding backup information are read; d) a multiplexer, having a first set and a second set of input ports and further having a first set of output ports, the one set of output ports coupled to said first processor, and wherein the primary information read from the upper memory and the backup information read from the lower memory are coupled to the first and second input ports ofthe multiplexer, and e) select logic, operatively connected to said multiplexer, and further operatively connected to said first memory and to said second memory, the first and second memory indicating via the respective first and second error signal if an error is detected on the information just read from the first and second memory, respectively, the select logic determines whether the data in the first and second memory contains the primary or the backup information and generates a select signal to select the set of input ports containing the primary data when no error is indicated in the primary copy thereby selecting the primary information to be coupled to the first processor, and to select the other set of input ports containing the backup data when an error is indicated in the primary copy and no error is indicated in the backup copy thereby selecting the backup information to be coupled to the first processor, which is the correct information.
Claim 4. An apparatus according to Claim 3, further wherein said select logic is operatively connected to said processor to indicate when an error is detected, on a read of information, from both the first memory and the second memory.
Claim 5. An apparatus for correcting errors in information read from a memory unit, comprising: a) a first and second memory, each of said first memory and said second memory being a single byte-wide, and further being divided into a lower memory and an upper memory such that the lower memory ofthe first and second memory stores primary information and the upper memory ofthe first and second memory stores the backup information for the microcontroller and the second processor, the upper memory addressable locations being corresponding relative addressable locations ofthe lower memory addressable locations, the primary information and the backup information stored in a corresponding relative addressable location being the same; b) a first processor, operatively connected to said first and second memory, for commanding a read of information stored in said memory unit, the read being a simultaneous read ofthe primary information stored in the lower memory ofthe first and second memory and the corresponding backup information stored in upper memory ofthe first and second memory, the primary information and the backup information both being a single byte wide; c) a second processor, operatively connected to said first and second memory, for commanding a read of information stored in said memory unit, the second processor being capable of performing a different type of read operations including byte read, word read, and long word read, the information read from the first and second memory being operatively coupled to the said second processor, and further wherein a first and second error signal is operatively coupled to the second processor to indicate a read error ofthe first and second memory, respectively; d) memory select logic, operatively connected to said first and second memory, for generating address information to cause the lower memory to be read and to cause a corresponding relative addressable location of the upper memory to be read, such that the primary information and the corresponding backup information are read when said first processor is reading the memory unit, and to generate address information to the first and second memory to cause the first and second memory to be read in accordance with the type of read operation being commanded by the second processor.
Claim 6. An apparatus according to Claim 5, further wherein said select logic is operatively connected to said first processor to indicate when an error is detected, on a read of information, from both the first memory and the second memory.
Claim 7. An apparatus according to Claim 6, further comprising: buffer logic, inteφosed between said first and second memory and said second processor to assemble the byte-wide data read from the first and second memory into a data format consistent with the operation type commanded.
PCT/US1996/016037 1995-10-10 1996-10-07 Data error detection and correction for a shared sram Ceased WO1997014109A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE69605820T DE69605820T2 (en) 1995-10-10 1996-10-07 DATA ERROR DETECTION AND CORRECTION FOR COMMON STORAGE
JP9515115A JPH11513823A (en) 1995-10-10 1996-10-07 Data error detection and correction for shared SRAM
EP96937661A EP0862761B1 (en) 1995-10-10 1996-10-07 Data error detection and correction for a shared sram

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/541,989 US5611042A (en) 1995-10-10 1995-10-10 Data error detection and correction for a shared SRAM
US08/541,989 1995-10-10

Publications (2)

Publication Number Publication Date
WO1997014109A2 true WO1997014109A2 (en) 1997-04-17
WO1997014109A3 WO1997014109A3 (en) 1997-06-05

Family

ID=24161892

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1996/016037 Ceased WO1997014109A2 (en) 1995-10-10 1996-10-07 Data error detection and correction for a shared sram

Country Status (5)

Country Link
US (1) US5611042A (en)
EP (1) EP0862761B1 (en)
JP (1) JPH11513823A (en)
DE (1) DE69605820T2 (en)
WO (1) WO1997014109A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008073654A1 (en) * 2006-12-14 2008-06-19 Intel Corporation Method and apparatus of cache assisted error detection and correction in memory

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6223301B1 (en) * 1997-09-30 2001-04-24 Compaq Computer Corporation Fault tolerant memory
US6237124B1 (en) 1998-03-16 2001-05-22 Actel Corporation Methods for errors checking the configuration SRAM and user assignable SRAM data in a field programmable gate array
US7146441B1 (en) 1998-03-16 2006-12-05 Actel Corporation SRAM bus architecture and interconnect to an FPGA
US6772387B1 (en) * 1998-03-16 2004-08-03 Actel Corporation Cyclic redundancy checking of a field programmable gate array having an SRAM memory architecture
US6854084B2 (en) * 2000-07-14 2005-02-08 Sun Microsystems, Inc. Partitioned random access memory
US6990010B1 (en) 2003-08-06 2006-01-24 Actel Corporation Deglitching circuits for a radiation-hardened static random access memory based programmable architecture
JP4684575B2 (en) * 2004-05-07 2011-05-18 ルネサスエレクトロニクス株式会社 Semiconductor device and control method thereof
CN100445963C (en) * 2007-02-15 2008-12-24 华为技术有限公司 A method and device for realizing high-reliability free linked list
FR2922037B1 (en) * 2007-10-05 2011-07-15 Thales Sa METHOD OF SECURING DATA IN MEMORY LIVING
US7882388B2 (en) * 2008-08-21 2011-02-01 Sierra Wireless America, Inc. Dual independent non volatile memory systems
US8219528B1 (en) * 2009-03-31 2012-07-10 Symantec Corporation Method and apparatus for simultaneous comparison of multiple backup sets maintained in a computer system
US8543863B2 (en) * 2009-11-18 2013-09-24 Microsoft Corporation Efficiency of hardware memory access using dynamically replicated memory
US9754133B2 (en) * 2013-03-14 2017-09-05 Microchip Technology Incorporated Programmable device personalization
US9195459B2 (en) * 2013-04-26 2015-11-24 Min-Sung Tseng Simultaneously accessible memory device and method for using the same
US9891847B2 (en) * 2015-07-28 2018-02-13 Sandisk Technologies Llc Block management in a dual write memory system
US10153046B1 (en) 2017-10-30 2018-12-11 Western DigitalTechnologies, Inc. Non-volatile memory with backing up of programmed data
US11094392B2 (en) * 2018-10-15 2021-08-17 Texas Instruments Incorporated Testing of fault detection circuit
US20250157561A1 (en) * 2023-11-13 2025-05-15 Advanced Micro Devices, Inc. Error detection for sram used in a safety-critical domain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3668644A (en) * 1970-02-09 1972-06-06 Burroughs Corp Failsafe memory system
US3761903A (en) * 1971-11-15 1973-09-25 Kybe Corp Redundant offset recording
US4404647A (en) * 1978-03-16 1983-09-13 International Business Machines Corp. Dynamic array error recovery
US4245344A (en) * 1979-04-02 1981-01-13 Rockwell International Corporation Processing system with dual buses
US5251174A (en) * 1992-06-12 1993-10-05 Acer Incorporated Memory system
JP3257860B2 (en) * 1993-05-17 2002-02-18 株式会社日立製作所 Semiconductor memory device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008073654A1 (en) * 2006-12-14 2008-06-19 Intel Corporation Method and apparatus of cache assisted error detection and correction in memory
US7890836B2 (en) 2006-12-14 2011-02-15 Intel Corporation Method and apparatus of cache assisted error detection and correction in memory

Also Published As

Publication number Publication date
EP0862761B1 (en) 1999-12-22
DE69605820T2 (en) 2000-06-29
WO1997014109A3 (en) 1997-06-05
US5611042A (en) 1997-03-11
EP0862761A2 (en) 1998-09-09
JPH11513823A (en) 1999-11-24
DE69605820D1 (en) 2000-01-27

Similar Documents

Publication Publication Date Title
US5611042A (en) Data error detection and correction for a shared SRAM
US4860252A (en) Self-adaptive computer memory address allocation system
EP0473275B1 (en) Memory control unit and memory unit
US5341486A (en) Automatically variable memory interleaving system
US4359771A (en) Method and apparatus for testing and verifying the operation of error control apparatus within a memory
US6789179B2 (en) Method and system for fast data access using a memory array
EP0372841B1 (en) Arrangement for and method of locating ROM in computer memory space
JPS6259822B2 (en)
US5765203A (en) Storage and addressing method for a buffer memory control system for accessing user and error imformation
US4608632A (en) Memory paging system in a microcomputer
US4174537A (en) Time-shared, multi-phase memory accessing system having automatically updatable error logging means
US4016409A (en) Longitudinal parity generator for use with a memory
US5412671A (en) Data protection and error correction, particularly for general register sets
EP0395377A2 (en) Status register for microprocessor
US4249250A (en) Computer storage arrangements with overwrite warning
JPH0562380B2 (en)
US4234918A (en) Time-shared, multi-phase memory system with error checking and data correcting
JPS6129024B2 (en)
JP2510604B2 (en) Storage device
JPS6273499A (en) Control code memory for processor
JP2853555B2 (en) Storage controller
JPH0756640B2 (en) Storage device
JPS63197251A (en) Information processor
JP2684752B2 (en) Extended storage control method
JPH03191450A (en) Defective chip substituting circuit for memory card

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): JP

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

AK Designated states

Kind code of ref document: A3

Designated state(s): JP

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
ENP Entry into the national phase

Ref country code: JP

Ref document number: 1997 515115

Kind code of ref document: A

Format of ref document f/p: F

WWE Wipo information: entry into national phase

Ref document number: 1996937661

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1996937661

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1996937661

Country of ref document: EP