KR100538486B1 - Error detecting circuit for storing data in system memory - Google Patents

Error detecting circuit for storing data in system memory Download PDF

Info

Publication number
KR100538486B1
KR100538486B1 KR10-2003-0071487A KR20030071487A KR100538486B1 KR 100538486 B1 KR100538486 B1 KR 100538486B1 KR 20030071487 A KR20030071487 A KR 20030071487A KR 100538486 B1 KR100538486 B1 KR 100538486B1
Authority
KR
South Korea
Prior art keywords
data
memories
signal
read
microprocessor
Prior art date
Application number
KR10-2003-0071487A
Other languages
Korean (ko)
Other versions
KR20050036032A (en
Inventor
신덕호
이종우
이재호
백종현
윤용기
Original Assignee
한국철도기술연구원
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 한국철도기술연구원 filed Critical 한국철도기술연구원
Priority to KR10-2003-0071487A priority Critical patent/KR100538486B1/en
Publication of KR20050036032A publication Critical patent/KR20050036032A/en
Application granted granted Critical
Publication of KR100538486B1 publication Critical patent/KR100538486B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1666Error detection or correction of the data by redundancy in hardware where the redundant component is memory or memory area
    • G06F11/167Error detection by comparing the memory output

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

본 발명은 시스템 메모리의 결함 검출회로에 관한 것으로, 데이터를 입력받아 저장한 후, 쓰기 제어신호를 받아 상기 데이터를 제1 및 제2 메모리에 저장하는 쓰기버퍼와; 물리적으로 병렬 연결되어서 동일한 물리번지는 동일한 읽기/쓰기 제어신호에 의해 동시에 접근이 가능하여 데이터를 동시에 읽거나 쓰기를 할 수 있고, 상기 쓰기버퍼로부터 데이터를 입력받아 저장하는 제1 및 제2 메모리와; 마이크로프로세서가 상기 제1 및 제2 메모리로부터 데이터를 읽어들일 때, 상기 제1 및 제2 메모리의 동일한 물리번지의 두 데이터를 비교하여 두 데이터가 일치하지 않는 경우 불일치 신호를 출력하고, 상기 두 데이터가 일치하는 경우 일치 신호를 출력하는 비교부와; 상기 비교부에서 일치신호가 출력되는 때에 상기 제1 및 제2 메모리 중 어느 하나에서 출력되는 데이터를 저장하고 상기 마이크로프로세서에서 출력되는 인에이블 신호에 의해 상기 저장된 데이터를 출력하는 읽기버퍼와; 상기 각부를 제어하고 상기 비교부에서 일치신호가 입력되는 때에 상기 읽기버퍼에 인에이블 신호를 출력하게 하는 마이크로프로세서로로 구성되어 오류검출시 다른 이중화 메모리로부터 정상 데이터를 읽어들이도록 하여 시스템의 정상동작을 보장할 수 있다.The present invention relates to a defect detection circuit of a system memory, comprising: a write buffer for receiving and storing data and receiving a write control signal and storing the data in first and second memories; Physically connected in parallel, the same physical address can be simultaneously accessed by the same read / write control signal so that data can be simultaneously read or written, and the first and second memories receive and store data from the write buffer. ; When the microprocessor reads data from the first and second memories, it compares two data of the same physical address of the first and second memories, and outputs a mismatch signal when the two data do not match. A comparator for outputting a coincidence signal when? A read buffer for storing data output from any one of the first and second memories when the match signal is output from the comparator, and outputting the stored data by an enable signal output from the microprocessor; It is composed of a microprocessor that controls each unit and outputs an enable signal to the read buffer when a match signal is input from the comparator, so that normal data can be read from another redundant memory when an error is detected. Can be guaranteed.

Description

시스템 메모리의 결함 검출회로{Error detecting circuit for storing data in system memory} Error detecting circuit for storing data in system memory

본 발명은 시스템 메모리의 결함 검출회로에 관한 것으로, 특히 메모리에서 발생되는 결함을 실시간으로 검출하여 결함검출시 이중화 메모리를 사용하도록 하는 등의 조치를 취할 수 있게 하여 메모리의 정보가 손상되어 시스템 데이터의 오류로 이어지지 않도록 결함을 검출할 수 있는 시스템 메모리의 결함 검출회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fault detection circuit of a system memory. In particular, the present invention relates to a fault detection circuit of a system memory, and to detect a fault occurring in real time in real time so that a redundant memory can be used to detect a fault. The present invention relates to a defect detection circuit of a system memory capable of detecting a defect so as not to lead to an error.

철도신호제어분야에서 내장형(Embedded) 컴퓨터 기술은 높은 신뢰성 및 안전성을 요구하는 분야에 사용되고 있으며, 대표적인 예로는 전자연동장치, 자동 열차제어장치, 정시간 전자건널목 등의 제어에 활용되고 있다.In the field of railway signal control, embedded computer technology is used in fields requiring high reliability and safety, and representative examples are used for controlling electronic interlocking devices, automatic train control devices, and timed electronic crossings.

도1은 마이크로프로세서를 사용한 시스템에서 마이크로프로세서와 인터페이스하는 일반적인 메모리의 구조이다.1 is a structure of a general memory that interfaces with a microprocessor in a system using a microprocessor.

메모리(2)는 마이크로프로세서(1)로부터 데이터를 수신하여 저장하거나 마이크로프로세서의 요구에 의해 데이터를 송신하는 장치로서 어드레스 버스(Address Bus), 데이터 버스(Data Bus) 및 제어 버스(Control Bus)를 사용하여 마이크로프로세서(1)와 인터페이스한다.The memory 2 is a device that receives and stores data from the microprocessor 1 or transmits data at the request of the microprocessor. The memory 2 includes an address bus, a data bus, and a control bus. To interface with the microprocessor (1).

도2는 일반적인 메모리에 데이터를 읽기/쓰기하는 과정을 나타낸 것이다.2 shows a process of reading / writing data to a general memory.

16비트로 표현된 메모리 맵(Memory Map)에서 0x0000A0 번지부터 0x0000A4 번지까지 중에서 0x0000A2 번지에 데이터를 0xFFFF을 쓰기 위해서는 도1의 구조에서 마이크로프로세서(1)로부터 어드레스 버스에 0x0000A4 신호가 가해지고, 제어 버스의 칩 선택(Chip Select) 신호와 읽기/쓰기(Read/Write)신호가 쓰기로 설정된 후 데이터 버스에 0xFFFF가 인가되면 메모리(2)에 기록된다.In order to write 0xFFFF to 0x0000A2 from 0x0000A0 to 0x0000A4 in the memory map represented by 16 bits, 0x0000A4 signal is applied to the address bus from the microprocessor 1 in the structure of FIG. After the chip select signal and the read / write signal are set to write, if 0xFFFF is applied to the data bus, it is written to the memory 2.

메모리(2)에서 데이터를 읽기 위해서 어드레스 버스에 데이터의 위치인 0x0000A2를 인가한 후 제어 버스의 칩 선택 신호와 읽기/쓰기 신호에 읽기 신호를 인가하면 데이터 버스에 0x0000A2 번지의 데이터인 0xFFFF가 실어진다.In order to read data from the memory 2, 0x0000A2 is applied to the address bus and then the read signal is applied to the chip select signal and the read / write signal of the control bus. .

이러한 종래의 메모리는 데이터를 저장하는 과정에서의 전기적인 외란이나 타이밍의 불일치에 의한 저장데이터의 변질 또는 메모리의 하드웨어적인 결함발생으로 인한 데이터의 오염을 검출하기 위해 소프트웨어적으로 복수의 영역에 데이터를 저장하여 비교하거나, 패리티와 같은 정보여분을 사용하여 결함의 발생을 감시하였다.Such a conventional memory stores data in a plurality of areas in software in order to detect data corruption due to an electrical disturbance or timing mismatch in storing data or a hardware defect in the memory. The occurrence of defects was monitored by comparison or by using extra information such as parity.

이러한 구조는 마이크로프로세서를 사용하는 컴퓨터시스템에서 발생된 결함을 실시간으로 검출하지 못하고, 소프트웨어적인 결함의 검출을 위해 많은 양의 부하를 마이크로프로세서에 부과하였다.This structure does not detect defects generated in a computer system using a microprocessor in real time, and places a large amount of load on the microprocessor for detection of software defects.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로, 본 발명의 목적은 마이크로프로세서를 사용하는 상용제어보드 또는 제어보드 제작시에 실시간으로 결함을 검출하는 시스템 메모리의 결함 검출회로를 제공하는 것이다.The present invention is to solve the above problems, it is an object of the present invention to provide a defect detection circuit of the system memory for detecting defects in real time at the time of manufacturing a commercial control board or control board using a microprocessor.

본 발명의 다른 목적은 시스템의 메모리에서 발생되는 결함을 실시간으로 검출하여 메모리의 정보가 손상되어 시스템 데이터의 오류로 이어지지 않도록 함으로써 손상되지 않은 데이터가 존재하는 메모리를 사용하도록 하여 시스템의 오동작을 방지하는 시스템 메모리의 결함 검출회로를 제공하는 것이다.Another object of the present invention is to detect a defect occurring in the memory of the system in real time to prevent the malfunction of the system by using the memory in which there is undamaged data by corrupting the information of the memory does not lead to an error of the system data It is to provide a defect detection circuit of the system memory.

본 발명의 다른 목적은 마이크로프로세서를 사용하는 제어보드에서 시스템 메모리에 데이터 저장시에 외부의 노이즈에 의한 결함이나 소자의 손상으로부터 기인하는 결함을 검출하여 시스템 메모리의 정상동작을 보장하기 위한 시스템 메모리의 결함 검출회로를 제공하는 것이다. Another object of the present invention is to detect a defect caused by external noise or damage to a device when data is stored in the system memory in a control board using a microprocessor defect of the system memory to ensure the normal operation of the system memory It is to provide a detection circuit.

상기 목적을 달성하기 위하여 본 발명에 의한 시스템 메모리 결함 검출회로는 데이터를 입력받아 저장한 후, 쓰기 제어신호를 받아 상기 데이터를 제1 및 제2 메모리에 저장하는 쓰기버퍼와; 물리적으로 병렬 연결되어서 동일한 물리번지는 동일한 읽기/쓰기 제어신호에 의해 동시에 접근이 가능하여 데이터를 동시에 읽거나 쓰기를 할 수 있고, 상기 쓰기버퍼로부터 데이터를 입력받아 저장하는 제1 및 제2 메모리와; 마이크로프로세서가 상기 제1 및 제2 메모리로부터 데이터를 읽어들일 때, 상기 제1 및 제2 메모리의 동일한 물리번지의 두 데이터를 비교하여 두 데이터가 일치하지 않는 경우 불일치 신호를 출력하고, 상기 두 데이터가 일치하는 경우 일치 신호를 출력하는 비교부와; 상기 비교부에서 일치신호가 출력되는 때에 상기 제1 및 제2 메모리 중 어느 하나에서 출력되는 데이터를 저장하고 상기 마이크로프로세서에서 출력되는 인에이블 신호에 의해 상기 저장된 데이터를 출력하는 읽기버퍼와; 상기 각부를 제어하고 상기 비교부에서 일치신호가 입력되는 때에 상기 읽기버퍼에 인에이블 신호를 출력하게 하는 마이크로프로세서로 구성된다.In order to achieve the above object, a system memory defect detection circuit according to the present invention comprises: a write buffer which receives data and stores data therein, and receives a write control signal and stores the data in first and second memories; Physically connected in parallel, the same physical address can be simultaneously accessed by the same read / write control signal so that data can be simultaneously read or written, and the first and second memories receive and store data from the write buffer. ; When the microprocessor reads data from the first and second memories, it compares two data of the same physical address of the first and second memories, and outputs a mismatch signal when the two data do not match. A comparator for outputting a coincidence signal when? A read buffer for storing data output from any one of the first and second memories when the match signal is output from the comparator, and outputting the stored data by an enable signal output from the microprocessor; And a microprocessor for controlling the respective units and outputting an enable signal to the read buffer when a match signal is input from the comparator.

제1 및 제2 메모리는 물리적으로 병렬 연결되어서 동일한 물리번지는 동일한 읽기/쓰기 제어신호에 의해 동시에 접근이 가능하여 데이터를 동시에 읽거나 쓰기를 할 수 있다.Since the first and second memories are physically connected in parallel, the same physical address may be simultaneously accessed by the same read / write control signal, thereby simultaneously reading or writing data.

또한, 제1 및 제2 메모리로부터 읽기 제어신호에 의해 비교기에 입력되는 데이터는 하드웨어적으로 동기화되고, 동일한 타이밍을 갖는 메모리에서 출력되는 데이터이므로, 전기적으로 비교하여 데이터가 일치하는 경우에만 데이터 버스에 실리게 된다.In addition, since data input to the comparator by read control signals from the first and second memories are hardware-synchronized and output from a memory having the same timing, the data is electrically connected to the data bus only when the data is matched. Will be loaded.

상기와 같이 구성된 본 발명을 실시예를 들어 첨부된 도면에 의거 상세히 설명한다.An embodiment of the present invention configured as described above will be described in detail with reference to the accompanying drawings.

도3에 본 발명에 의한 시스템 메모리의 결함 검출회로의 구성을 나타내는 블록도가 도시된다.3 is a block diagram showing the configuration of a defect detection circuit of a system memory according to the present invention.

본 발명에 의한 시스템 메모리의 결함 검출회로는 데이터를 입력받아 저장한 후, 쓰기 제어신호를 받아 상기 데이터를 제1 및 제2 메모리(12,13)에 저장하는 쓰기버퍼(11)와; 물리적으로 병렬 연결되어서 동일한 물리번지는 동일한 읽기/쓰기 제어신호에 의해 동시에 접근이 가능하여 데이터를 동시에 읽거나 쓰기를 할 수 있고, 상기 쓰기버퍼(11)로부터 데이터를 입력받아 저장하는 제1 및 제2 메모리(12,13)와; 마이크로프로세서(10)가 상기 제1 및 제2 메모리(12,13)로부터 데이터를 읽어들일 때, 상기 제1 및 제2 메모리(12,13)의 동일한 물리번지의 두 데이터를 비교하여 두 데이터가 일치하지 않는 경우 불일치 신호를 출력하고, 상기 두 데이터가 일치하는 경우 일치 신호를 출력하는 비교부 (14)와; 상기 비교부(14)에서 일치신호가 출력되는 때에 상기 제1 및 제2 메모리(12,13) 중 어느하나에서 출력되는 데이터를 저장하고 상기 마이크로프로세서(10)에서 출력되는 인에이블 신호에 의해 상기 저장된 데이터를 출력하는 읽기버퍼(15)와; 상기 각부를 제어하고 상기 비교부(14)에서 일치신호가 입력되는 때에 상기 읽기버퍼(15)에 인에이블 신호를 출력하게 하는 마이크로프로세서(10)로 구성된다.The defect detection circuit of the system memory according to the present invention includes: a write buffer 11 for receiving data and storing data therein, and receiving a write control signal and storing the data in the first and second memories 12 and 13; Physically connected in parallel, the same physical address can be simultaneously accessed by the same read / write control signal so that data can be simultaneously read or written, and the first and second input and store data from the write buffer 11. Two memories 12 and 13; When the microprocessor 10 reads data from the first and second memories 12 and 13, two data are compared by comparing two data of the same physical address of the first and second memories 12 and 13. A comparator 14 for outputting a mismatch signal when the data does not match and outputting a match signal when the two data match; When the coincidence signal is output from the comparator 14, the data stored in one of the first and second memories 12 and 13 is stored and the enable signal is output from the microprocessor 10. A read buffer 15 for outputting stored data; And a microprocessor 10 which controls the respective units and outputs an enable signal to the read buffer 15 when a match signal is input from the comparator 14.

상기와 같이 구성된 본 발명에 의한 메모리 결함 검출회로가 제1 및 제2 메모리(12,13)에 데이터를 쓰기하는 과정을 설명하기 위하여, 메모리 맵을 나타내는 도4와 타이밍 차트 도5를 참조하여 설명한다.In order to explain a process in which the memory defect detection circuit of the present invention configured as described above writes data into the first and second memories 12 and 13, the memory map will be described with reference to FIG. 4 and a timing chart. do.

마이크로프로세서(10)는 제1 및 제2 메모리(12,13)에 데이터를 저장하기 위하여 먼저 어드레스 버스(18)를 통해 저장할 어드레스를 지정한다. 예를 들면, 제1 및 제2 메모리(12,13)의 "0x0000A4" 번지에 데이터를 저장하기 위하여 도5의 (e)에 도시된 바와 같이 어드레스 버스(18)에 "0x0000A4" 신호를 가한다.The microprocessor 10 first specifies an address to store via the address bus 18 in order to store data in the first and second memories 12 and 13. For example, a "0x0000A4" signal is applied to the address bus 18 as shown in Fig. 5E to store data at the "0x0000A4" addresses of the first and second memories 12 and 13. .

어드레스 버스(19)에 "0x0000A4" 신호가 가해지면 도4의 메모리 맵에 도시된 바와 같이 제1 및 제2 메모리(12,13)의 "0x0000A4" 번지가 지정된다.When the "0x0000A4" signal is applied to the address bus 19, the "0x0000A4" addresses of the first and second memories 12 and 13 are designated as shown in the memory map of FIG.

제1 및 제2 메모리(12,13)의 어드레스를 "0x0000A4"로 지정한 후, 도5의 (a)에 도시된 바와 같이 제어 버스(16)를 통해 쓰기버퍼(11)에 "버퍼 인에이블" 신호를 "1"로 출력하여 쓰기 상태로 한 후, 마이크로프로세서(10)는 도5의 (c)에 도시된 바와 같이 데이터 버스(17)에 데이터 "0xFFFF"를 인가하여 쓰기버퍼(11)에 저장한다.After designating the addresses of the first and second memories 12 and 13 as " 0x0000A4 ", " buffer enable " to the write buffer 11 via the control bus 16 as shown in Fig. 5A. After outputting the signal as "1" to the write state, the microprocessor 10 applies the data "0xFFFF" to the data bus 17 to the write buffer 11 as shown in Fig. 5C. Save it.

쓰기버퍼(11)에 데이터 "0xFFFF"를 저장한 후, 도5의 (b)에 도시된 바와 같이 제1 및 제2 메모리(12,13)에 칩 선택신호 "0"을 출력하여 제1 및 제2 메모리(12,13)를 인에이블 상태로 놓고, 상기 칩선택신호 "0"은 쓰기버퍼(11)에 저장된 "0xFFFF"를 출력하게 하여 도5의 (d)에 도시된 바와 같이 쓰기버퍼(11)에서 데이터 "0xFFFF"가 출력되어 제1 및 제2 메모리(12,13)에 "0xFFFF"가 저장된다.After the data "0xFFFF" is stored in the write buffer 11, the chip select signal "0" is output to the first and second memories 12 and 13 as shown in FIG. With the second memories 12 and 13 enabled, the chip select signal " 0 " outputs " 0xFFFF " stored in the write buffer 11, as shown in Fig. 5D. The data " 0xFFFF " is output from (11), and " 0xFFFF " is stored in the first and second memories 12 and 13, respectively.

마찬가지 방식으로 제1 및 제2 메모리(12,13)의 다른 어드레스에도 데이터가 저장되고, 이렇게 데이터가 저장된 상태에서 본 발명에 의한 메모리 결함 검출회로가 제1 및 제2 메모리 (12,13)에서 데이터를 읽어들이는 과정을 메모리 맵을 나타내는 도4와 타이밍 차트 도6을 참조하여 설명한다.In the same manner, data is also stored in other addresses of the first and second memories 12 and 13, and the memory fault detection circuit according to the present invention is executed in the first and second memories 12 and 13 in such a state. The process of reading data will be described with reference to FIG. 4 and a timing chart of FIG.

마이크로프로세서(10)는 도6의 (f)에 도시된 바와 같이 어드레스 버스(18)에 "0x0000A4" 신호를 가하여 제1 및 제2 메모리(12,13)의 어드레스를 지정하고, 제어 버스(16)를 통해 읽기버퍼(15)에 버퍼 인에이블 신호를 입력하여 읽기버퍼(15)를 인에이블 상태로 놓는다(도6의 (a) 참조).The microprocessor 10 applies the " 0x0000A4 " signal to the address bus 18 as shown in Fig. 6F to address the first and second memories 12 and 13, and the control bus 16 By inputting the buffer enable signal to the read buffer 15 through the () to enable the read buffer 15 (see Fig. 6 (a)).

제1 및 제2 메모리(12,13)의 어드레스를 "0x0000A4"로 지정한 후, 도6의 (b)에 도시된 바와 같이 메모리(12,13)에 칩 선택신호를 "0"으로 출력하여 인에이블 상태로 놓음으로써 비교부(14)와 메모리(12,13) 사이에서 데이터 전송이 일어난다. 즉, 제1 및 제2 메모리 (12,13)의 어드레스 "0x0000A4"에 저장된 "0xFFFF"가 비교부(14)로 출력되어 비교된다(도6의 (c) 참조).After designating the addresses of the first and second memories 12 and 13 as " 0x0000A4 ", the chip select signal is output as " 0 " By putting it in the enabled state, data transfer occurs between the comparator 14 and the memories 12 and 13. In other words, " 0xFFFF " stored at the addresses " 0x0000A4 " of the first and second memories 12 and 13 are output to the comparator 14 and compared (see Fig. 6C).

상기 제1 및 제2 메모리(12,13)는 물리적으로 병렬 연결되어서 동일한 물리번지는 동일한 읽기/쓰기 제어신호에 의해 동시에 접근이 가능하여 데이터를 동시에 읽거나 쓰기를 할 수 있다.Since the first and second memories 12 and 13 are physically connected in parallel, the same physical address may be simultaneously accessed by the same read / write control signal, thereby simultaneously reading or writing data.

따라서, 상기 제1 및 제2 메모리(12,13)로부터 읽기 제어신호에 의해 비교기(14)에 입력되는 "0xFFFF" 데이터는 하드웨어적으로 동기화되고, 동일한 타이밍을 갖는 메모리에서 출력되는 데이터이므로, 전기적으로 비교하여 데이터가 일치하는 경우에만 비교기(14)에서 일치신호("1" 신호, 도6(e) 참조)가 마이크로프로세서(10)로 출력되고, 상기 일치신호를 입력받은 마이크로프로세서(10)는 읽기버퍼(15)를 인에이블시켜 제1 및 제2 메모리(12,13)로부터 출력되는 "0xFFFF" 데이터는 읽기버퍼(15)를 통하여 데이터 버스에 실리게 된다(도6의 (d) 참조).Therefore, since the " 0xFFFF " data input to the comparator 14 by read control signals from the first and second memories 12 and 13 are data synchronized in hardware and output from a memory having the same timing, When the data is matched with each other, the match signal ("1" signal, see Fig. 6 (e)) is output from the comparator 14 to the microprocessor 10 and the microprocessor 10 receives the match signal. Enables the read buffer 15 so that the " 0xFFFF " data output from the first and second memories 12 and 13 is loaded onto the data bus through the read buffer 15 (see Fig. 6 (d)). ).

만약에 제1메모리(12)의 "0x0000A4" 번지에서 읽어져 출력되는 데이터와 제2메모리(13)의 "0x0000A4" 번지에서 읽어져 출력되는 데이터가 서로 상이한 경우, 비교부(14)는 도7의 (e)에 도시된 바와 같이, 결함검출신호("0"신호)를 마이크로프로세서 (10)로 출력한다.If the data read and output at address "0x0000A4" of the first memory 12 and the data read and output at address "0x0000A4" of the second memory 13 are different from each other, the comparator 14 is shown in FIG. As shown in (e) of the figure, a defect detection signal ("0" signal) is output to the microprocessor 10.

따라서, 데이터를 저장하는 과정에서의 전기적인 외란이나 타이밍의 불일치에 의한 저장데이터의 변질 또는 메모리의 하드웨어적인 결함발생으로 인한 데이터의 결함을 검출하여 마이크로프로세서(10)에 알림으로써, 마이크로프로세서(10)는 이중화된 다른 메모리로부터 데이터를 읽어들여 손상된 메모리의 데이터가 시스템의 오류로 이어지는 것을 방지할 수 있다.Therefore, the microprocessor 10 is detected by notifying the microprocessor 10 of a defect in the data due to the deterioration of the stored data due to the electrical disturbance or the timing mismatch in the process of storing the data or the hardware defect of the memory. ) Can read data from other redundant memories and prevent data from corrupted memory leading to system failure.

이상 설명한 바와 같이 본 발명에 의하면 쓰기버퍼, 비교부, 2개의 메모리 및 읽기버퍼를 사용하여 외부의 노이즈에 의한 결함이나 메모리의 물리적 손상으로 인한 데이터의 오류를 하드웨어적으로 검출함으로써 오류검출시 다른 이중화 메모리로부터 정상 데이터를 읽어들이도록 하여 시스템의 정상동작을 보장할 수 있다.As described above, according to the present invention, a write buffer, a comparator, two memories, and a read buffer are used to detect hardware defects due to external noise or data errors due to physical damage to the memory, thereby providing another redundancy in error detection. The normal operation of the system can be guaranteed by reading the normal data from the memory.

도 1은 마이크로프로세서를 사용한 시스템에서 마이크로프로세서와 인터페이스하는 일반적인 메모리의 구조,1 is a structure of a general memory for interfacing with a microprocessor in a system using a microprocessor,

도 2는 일반적인 메모리에 데이터를 읽기/쓰기하는 과정을 나타내는 설명도,2 is an explanatory diagram showing a process of reading / writing data into a general memory;

도 3은 본 발명에 의한 본 발명에 의한 시스템 메모리의 결함 억제회로의 구성을 나타내는 블록도,3 is a block diagram showing a configuration of a defect suppression circuit of a system memory according to the present invention according to the present invention;

도 4는 본 발명에 의한 시스템 메모리의 결함 검출회로에서 메모리에 데이터를 읽기/쓰기하는 과정을 나타내는 설명도,4 is an explanatory diagram showing a process of reading / writing data into a memory in a defect detection circuit of a system memory according to the present invention;

도 5는 본 발명에 의한 메모리 결함 검출회로가 메모리에 데이터를 쓰기하는 과정을 나타내는 타이밍도,5 is a timing diagram showing a process of writing data into a memory by a memory defect detection circuit according to the present invention;

도 6은 본 발명에 의한 메모리 결함 검출회로가 메모리에서 정상적인 데이터를 읽기하는 과정을 나타내는 타이밍도,6 is a timing diagram showing a process in which a memory defect detection circuit of the present invention reads normal data from a memory;

도 7은 본 발명에 의한 메모리 결함 검출회로가 메모리에서 데이터를 읽기하는 중 오류를 검출하여 오류검출신호를 출력하는 과정을 나타내는 타이밍도이다.7 is a timing diagram illustrating a process in which a memory defect detection circuit according to the present invention detects an error while reading data from a memory and outputs an error detection signal.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

11:쓰기버퍼 12:제1메모리 13:제2메모리11: Write buffer 12: First memory 13: Second memory

14:비교부 15:읽기버퍼 16:제어 버스14: Comparative 15: Read buffer 16: Control bus

17:데이터 버스 18:어드레스 버스17: Data bus 18: Address bus

Claims (3)

데이터를 입력받아 저장한 후, 쓰기 제어신호를 받아 상기 데이터를 제1 및 제2 메모리(12, 13)에 저장하는 쓰기버퍼(11)와;A write buffer 11 for receiving and storing data and receiving a write control signal and storing the data in the first and second memories 12 and 13; 물리적으로 병렬 연결되어서 동일한 물리번지는 동일한 읽기/쓰기 제어신호에 의해 동시에 접근이 가능하여 데이터를 동시에 읽거나 쓰기를 할 수 있고, 상기 쓰기버퍼(11)로부터 데이터를 입력받아 저장하는 제1 및 제2 메모리 (12,13)와;Physically connected in parallel, the same physical address can be simultaneously accessed by the same read / write control signal so that data can be simultaneously read or written, and the first and second input and store data from the write buffer 11. 2 memories 12 and 13; 마이크로프로세서(10)가 상기 제1 및 제2 메모리(12,13)로부터 데이터를 읽어들일 때, 상기 제1 및 제2 메모리(12,13)의 동일한 물리번지의 두 데이터를 비교하여 두 데이터가 일치하지 않는 경우 불일치 신호를 출력하고, 상기 두 데이터가 일치하는 경우 일치 신호를 출력하는 비교부(14)와;When the microprocessor 10 reads data from the first and second memories 12 and 13, two data are compared by comparing two data of the same physical address of the first and second memories 12 and 13. A comparator 14 outputting a mismatch signal when the data does not match and outputting a match signal when the two data match; 상기 비교부(14)에서 일치신호가 출력되는 때에 상기 제1 및 제2 메모리(12,13) 중 어느 하나에서 출력되는 데이터를 저장하고 상기 마이크로프로세서(10)에서 출력되는 인에이블 신호에 의해 상기 저장된 데이터를 출력하는 읽기버퍼(15)와;When the coincidence signal is output from the comparator 14, the data stored in one of the first and second memories 12 and 13 is stored and the enable signal is output from the microprocessor 10. A read buffer 15 for outputting stored data; 상기 각부를 제어하고 상기 비교부(14)에서 일치신호가 입력되는 때에 상기 읽기버퍼(15)에 인에이블 신호를 출력하게 하는 마이크로프로세서(10)로 구성되는 것을 특징으로 하는 시스템 메모리의 결함 검출회로.And a microprocessor (10) for controlling the respective parts and outputting an enable signal to the read buffer (15) when a match signal is input from the comparator (14). . 삭제delete 삭제delete
KR10-2003-0071487A 2003-10-14 2003-10-14 Error detecting circuit for storing data in system memory KR100538486B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0071487A KR100538486B1 (en) 2003-10-14 2003-10-14 Error detecting circuit for storing data in system memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0071487A KR100538486B1 (en) 2003-10-14 2003-10-14 Error detecting circuit for storing data in system memory

Publications (2)

Publication Number Publication Date
KR20050036032A KR20050036032A (en) 2005-04-20
KR100538486B1 true KR100538486B1 (en) 2005-12-22

Family

ID=37239318

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0071487A KR100538486B1 (en) 2003-10-14 2003-10-14 Error detecting circuit for storing data in system memory

Country Status (1)

Country Link
KR (1) KR100538486B1 (en)

Also Published As

Publication number Publication date
KR20050036032A (en) 2005-04-20

Similar Documents

Publication Publication Date Title
US8732532B2 (en) Memory controller and information processing system for failure inspection
US9015558B2 (en) Systems and methods for error detection and correction in a memory module which includes a memory buffer
US8489975B2 (en) Method and apparatus for detecting communication errors on a bus
JP2009181425A (en) Memory module
JP5174603B2 (en) Memory error correction method, error detection method, and controller using the same
KR100538486B1 (en) Error detecting circuit for storing data in system memory
US8151176B2 (en) CPU instruction RAM parity error procedure
KR100564361B1 (en) Error preventing circuit for storing data in system memory
JPH05216778A (en) Memory subsystem
JP2743756B2 (en) Semiconductor disk device
JP2002100979A (en) Information processor and error information holding method for information processor
JP2993099B2 (en) Redundant memory device
JPH079636B2 (en) Bus diagnostic device
JPH04111032A (en) Multiplexed storage device
JPH04369711A (en) Electronic disk sub-system
JPH04361344A (en) Storage circuit
JP2001067271A (en) Check method of memory circuit
JPH08161235A (en) Memory module circuit
JPS6379153A (en) Memory control circuit
JPH0275039A (en) Memory circuit
JPS5823679B2 (en) Storage device
JPS6121546A (en) Error detecting system of common memory
JP2001307498A (en) Memory check device, memory check method, and storage medium
JPS61208672A (en) Control system for memory device
JPS63231554A (en) Memory device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20101206

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee