[go: up one dir, main page]

KR100386253B1 - Write data conviction circuit for fpga register in using parity bit - Google Patents

Write data conviction circuit for fpga register in using parity bit Download PDF

Info

Publication number
KR100386253B1
KR100386253B1 KR10-2000-0071304A KR20000071304A KR100386253B1 KR 100386253 B1 KR100386253 B1 KR 100386253B1 KR 20000071304 A KR20000071304 A KR 20000071304A KR 100386253 B1 KR100386253 B1 KR 100386253B1
Authority
KR
South Korea
Prior art keywords
data
parity
signal
register
unit
Prior art date
Application number
KR10-2000-0071304A
Other languages
Korean (ko)
Other versions
KR20020041633A (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-2000-0071304A priority Critical patent/KR100386253B1/en
Publication of KR20020041633A publication Critical patent/KR20020041633A/en
Application granted granted Critical
Publication of KR100386253B1 publication Critical patent/KR100386253B1/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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

본 발명은 패러티 비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로에 관한 것으로, 에프피지에이 레지스터에 라이트된 데이터의 오류를 에프피지에이 자체적으로 검출할 수 있도록 한 것이다. 이를 위하여 본 발명은 데이터를 입력받아 이를 소정 연산하여 패러티를 발생하는 패러티발생부와; 상기 패러티발생부의 패러티와 상기 데이터를 입력받아 이를 내부 소정 레지스터로 인터페이스하는 데이터 및 패러티 인터페이스부와; 제어부의 선택신호에 의해 소정 내부 레지스터가 선택되고, 라이트 인에이블신호에 의해 그 내부 레지스터에, 상기 데이터 및 패러티 인터페이스부를 통해 입력되는 데이터와 패러티가 라이트되는 데이터 및 패러티라이팅부와; 상기 제어부로부터 출력되는 선택신호와 라이트인에이블신호 및 시스템 클럭신호를 입력받아 이를 소정 처리하여 데이터 오류 검출을 위한 클럭신호를 발생하는 클럭발생부와; 상기 클럭발생부의 클럭신호에 의해 인에이블되어, 상기 데이터 및 패러티라이팅부로부터 출력되는 데이터와 패러티를 입력받아 소정 처리하여 데이터 오류를 검출하는 데이터오류검출부를 포함하여 구성한다.The present invention relates to a write data confirmation circuit of an FPI register using parity bits, and enables the FPI to detect errors in data written in the FPI register. To this end, the present invention comprises a parity generating unit for generating a parity by receiving data and a predetermined operation; A data and parity interface unit receiving the parity and the data of the parity generating unit and interfacing the data to an internal predetermined register; A data and parity writing unit in which a predetermined internal register is selected by a selection signal of a control unit, and data and parity written in the internal register by a write enable signal are written through the data and parity interface unit; A clock generator which receives a selection signal, a write enable signal, and a system clock signal output from the controller and processes the predetermined signal to generate a clock signal for detecting a data error; And a data error detection unit which is enabled by a clock signal of the clock generation unit, receives data and parity output from the data and parity writing unit, and processes the data and parity to detect a data error.

Description

패러티 비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로{WRITE DATA CONVICTION CIRCUIT FOR FPGA REGISTER IN USING PARITY BIT}WRITE DATA CONVICTION CIRCUIT FOR FPGA REGISTER IN USING PARITY BIT}

본 발명은 패러티 비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로에 관한 것으로, 특히 에프피지에이 레지스터에 라이트된 데이터의 오류를 에프피지에이 자체적으로 검출할 수 있도록 한 패러티 비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로에 관한 것이다.The present invention relates to a write data verification circuit of an FPI register using parity bits, and more particularly, to an FPI register that uses parity bits to detect an error of data written in the FPI register itself. And a write data confirmation circuit.

일반적으로, 데이터 버스는 하나의 어드레스에 의해 점유되면 다른 어드레스에서 사용하지 못하는 특성을 가지고 있으므로, 에프피지에이(FPGA:FIELD PROGRAMMABLE ARRAY) 레지스터에 데이터를 라이트한후 다시 리드하여 데이터 오류유무를 확인하는 동안에 다른 어드레스를 액세스하지 못하는데, 이와같은 종래 기술을 첨부한 도면을 참조하여 설명한다.In general, data buses cannot be used at other addresses when occupied by one address. Therefore, data is written to the FPGA (FIELD PROGRAMMABLE ARRAY) register and read again to check for data errors. While no other address can be accessed, this prior art will be described with reference to the accompanying drawings.

도1은 종래 에프피지에이 레지스터의 라이트 데이터 확인회로에 대한 구성을 보인 블록도로서, 이에 도시된 바와같이 데이터(DT0~DT7)를 버스를 통해 입력받아 이를 내부 레지스터에 인터페이스하는 데이터인터페이스부(10)와; 제어부(11)로부터 어드레스 버스의 조합에 의해 발생되는 선택신호(BYTE0_SEL)에 의해 소정 레지스터가 선택되고, 라이트 인에이블신호(WREN)에 의해, 상기 데이터인터페이스부 (10)를 통해 입력되는 데이터(DT0~DT7)를 상기 선택된 레지스터에 라이트하는 데이터라이팅부(12)와; 제어부(11)로부터 발생하는 어드레스버스의 조합에 의해 발생하는 선택신호(BYTE0_SEL) 및 리드인에이블신호(RDEN)와 상기 데이터라이팅부(12)의소정 레지스터에 라이트된 데이터(DATA0~DATA7)를 입력받아 소정 연산하여 그에 따른 리드데이터(RDT0~RDT7)를 상기 데이터인터페이스부(10)를 통해 출력하는 데이터확인부(13)와; 상기 각부를 총괄 제어함과 아울러 버스를 통해 상기 데이터확인부 (13)의 리드데이터(RDT0~RDT7)를 입력받아 오류를 검출하는 제어부(11)로 구성되고, 이와같은 종래 장치의 동작을 설명한다.FIG. 1 is a block diagram illustrating a conventional write data verification circuit of an FPI register. As shown in FIG. )Wow; A predetermined register is selected from the control unit 11 by the selection signal BYTE0_SEL generated by the combination of the address buses, and the data DT0 input through the data interface unit 10 by the write enable signal WREN. A data writing unit (12) for writing? DT7) to the selected register; The selection signal BYTE0_SEL and the read enable signal RDEN generated by the combination of the address buses generated from the control unit 11 and the data DATA0 to DATA7 written to the predetermined register of the data writing unit 12 are inputted. A data checking unit 13 which receives a predetermined operation and outputs the read data RDT0 to RDT7 according to the data interface unit 10; The control unit 11 controls the respective units as well as receives the read data RDT0 to RDT7 of the data checking unit 13 through a bus and detects an error. The operation of the conventional apparatus will be described. .

먼저, 데이터(DT0~DT7) 라이트시, 제어부(11)는 임의의 에프피지에이 레지스터를 선택하기 위한 선택신호(BYTE0_SEL)를 데이터라이팅부(12)에 인가하고,그러면 상기 데이터라이팅부(12)는 상기 선택신호(BYTE0_SEL)에 의해 내부의 소정 에프피지에이 레지스터를 선택한다.First, when the data DT0 to DT7 are written, the control unit 11 applies a selection signal BYTE0_SEL to the data writing unit 12 for selecting an arbitrary FP register, and then the data writing unit 12. Selects an internal FGF register by the selection signal BYTE0_SEL.

이때, 상기 제어부는, 데이터(DT0~DT7)를 라이트하기 위해, 상기 데이터라이팅부(12)의 선택된 레지스터에 라이트인에이블신호(WREN)를 인가하고, 이에 의해 데이터인터페이스부(10)를 통해 입력되는 데이터(DT0~DT7)가, 상기 데이터라이팅부 (12)의 레지스터에 라이트된다.In this case, the controller applies the write enable signal WREN to the selected register of the data writing unit 12 to write the data DT0 to DT7, thereby inputting the data through the data interface unit 10. The data DT0 to DT7 to be written are written to the register of the data writing unit 12.

한편, 상기 데이터라이팅부(12)의 소정 레지스터에 라이트된 데이터 (DATA0~DATA7)의 오류를 검출하기 위해, 데이터확인부(13)는 제어부(11)로부터 출력되는 리드인에이블신호(RDEN) 및 선택신호(BYTE0_SEL)와 상기 데이터라이팅부 (12)의 소정 레지스터에 저장된 데이터를 낸드 연산하여 그에 따른 리드데이터 (RDT0~RDT7)를 데이터인터페이스부(10)를 통해 출력한다.On the other hand, in order to detect an error of the data DATA0 to DATA7 written in a predetermined register of the data writing unit 12, the data checking unit 13 outputs a read enable signal RDEN output from the control unit 11; The NAND operation of the selection signal BYTE0_SEL and the data stored in the predetermined register of the data writing unit 12 outputs the read data RDT0 to RDT7 through the data interface unit 10.

즉, 제어부(11)에 의해 선택된 임의의 에프피지에이 레지스터에 데이터 (DT0~DT7)를 라이트한후, 그 라이트된 데이터(DATA0~DATA7)에 오류가 있는지를 검출하기 위해, 다시 상기 에프피지에이 레지스터를 제어부(11)에 의해 액세스하여 데이터 오류를 검출한다.In other words, after writing the data DT0 to DT7 in any of the FP registers selected by the controller 11, the FP A to detect whether there is an error in the written data DATA0 to DATA7. The register is accessed by the control unit 11 to detect a data error.

즉, 상기와 같이 동작하는 종래 기술에 있어서, 데이터 버스는 하나의 어드레스에 의해 점유되면 다른 어드레스에서 사용하지 못하는 특성을 가지고 있으므로, 데이터를 라이트한후 다시 리드하여 데이터 오류유무를 확인하는 동안에 다른 어드레스를 액세스하여 작업을 진행하지 못하게 되어 데이터 처리속도가 저하되는 문제점이 있다.That is, in the prior art operating as described above, the data bus has a characteristic that it cannot be used at another address when occupied by one address. There is a problem that the data processing speed is reduced because the operation cannot be accessed by accessing the.

따라서, 상기와 같은 문제점을 감안하여 창안한 본 발명은 에프피지에이 레지스터에 라이트된 데이터의 오류유무를 에프피지에이 자체적으로 검출할 수 있도록 한 패러티 비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로를 제공함에 그 목적이 있다.Accordingly, the present invention devised in view of the above-described problems uses a write data confirmation circuit of an FpgiA register using a parity bit that enables Fpgi itself to detect an error of data written to the Fpgi register. The purpose is to provide.

도1은 종래 에프피지에이 레지스터의 라이트 데이터 확인회로에 대한 구성을 보인 회로도.1 is a circuit diagram showing a configuration of a write data confirmation circuit of a conventional FP register.

도2는 본 발명 패러티 비트를 이용한 에프피지에이 레지스터의 라이트 데이터 회로에 대한 구성을 보인 회로도.Fig. 2 is a circuit diagram showing the configuration of the write data circuit of the FP register using the parity bits of the present invention.

도3은 도2에 있어서, 클럭발생부의 각부분에 대한 타이밍도.FIG. 3 is a timing diagram for each part of the clock generation section in FIG.

*****도면의 주요부분에 대한 부호의 설명********** Description of the symbols for the main parts of the drawings *****

100:데이터 및 패러티 인터페이스부 200:제어부100: data and parity interface unit 200: control unit

300:데이터 및 패러티 라이팅부 400:클럭발생부300: data and parity writing unit 400: clock generating unit

500:데이터오류검출부 600:패러티발생부500: data error detection unit 600: parity generation unit

상기와 같은 목적을 달성하기 위한 본 발명은 입력되는 데이터를 소정 연산하여 패러티를 발생하는 패러티발생부와; 상기 패러티발생부의 패러티와 상기 데이터를 내부 소정 레지스터로 인터페이스하는 데이터 및 패러티 인터페이스부와; 제어부의 선택신호에 의해 소정 내부 레지스터가 선택되고, 라이트 인에이블신호에 의해 상기 내부 레지스터에, 상기 데이터 및 패러티 인터페이스부를 통해 입력되는 데이터와 패러티가 라이트되는 데이터 및 패러티라이팅부와; 상기 제어부로부터 출력되는 선택신호와 라이트인에이블신호 및 시스템 클럭신호를 소정 처리하여 데이터 오류 검출을 위한 클럭신호를 발생하는 클럭발생부와; 상기 클럭발생부의 클럭신호에 의해 인에이블되어, 상기 데이터 및 패러티라이팅부로부터 출력되는 데이터와 패러티를 입력받아 소정 처리하여 데이터 오류를 검출하는 데이터오류검출부를 포함하여 구성한 것을 특징으로 특징으로 한다.The present invention for achieving the above object is a parity generating unit for generating a parity by a predetermined operation on the input data; A data and parity interface unit for interfacing the parity of the parity generating unit and the data to an internal predetermined register; A data and parity writing unit in which a predetermined internal register is selected by a selection signal of a controller, and data and parity written in the internal register by the write enable signal are written through the data and parity interface units; A clock generator which processes a selection signal, a write enable signal, and a system clock signal output from the controller to generate a clock signal for data error detection; And a data error detection unit which is enabled by a clock signal of the clock generation unit, receives data and parity output from the data and parity writing unit, and processes the data and parity to detect a data error.

이하, 본 발명에 의한 패러티 비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로에 대한 작용 및 효과를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, operations and effects of the write data confirmation circuit of the FP register using the parity bit according to the present invention will be described in detail with reference to the accompanying drawings.

도2는 본 발명 패러티비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로에 대한 구성을 보인 회로도로서, 이에 도시한 바와같이 데이터 (DT0~DT7)를 입력받아 이를 소정 연산하여 패러티비트(PARITY)를 발생하는 패러티발생부 (600)와; 상기 패러티발생부(600)의 패러티비트(PARITY)와 상기 데이터 (EX1),(EX2)를 입력받아 이를 내부 소정 레지스터로 인터페이스하는 데이터 및 패러티 인터페이스부(100)와; 제어부 (200)의 선택신호(BYTE0_SEL)에 의해 소정 내부 레지스터가 선택되고, 라이트 인에이블신호(WREN)에 의해, 상기 데이터 및 패러티 인터페이스부(100)를 통해 입력되는 데이터(DT0~DT7)와 패러티비트(PARITY)가 라이트되는 데이터 및 패러티라이팅부 (300)와; 상기 제어부(200)로부터 출력되는 선택신호 (BYTE0_SEL)와 라이트인에이블신호(WREN) 및 시스템 클럭신호(SYSCLK)를 입력받아 이를 소정 처리하여 데이터 오류 검출을 위한 클럭신호를 발생하는 클럭발생부 (400)와; 상기 클럭발생부(400)의 클럭신호에 의해 인에이블되어, 상기 데이터 및 패러티라이팅부(300)로부터 출력되는 데이터(DATA0~DATA7)와 패러티비트(PARITY)를 입력받아 소정 처리하여 데이터 오류를 검출하는 데이터오류검출부 (500)와; 상기 각부를 총괄 제어하는 제어부 (200)로 구성한다.FIG. 2 is a circuit diagram illustrating a write data confirmation circuit of an FPI register using the parity bits of the present invention. As shown in FIG. A parity generating unit 600 generated; A data and parity interface unit 100 which receives the parity bits of the parity generating unit 600 and the data EX1 and EX2 and interfaces them to internal registers; The predetermined internal register is selected by the selection signal BYTE0_SEL of the control unit 200, and the data DT0 to DT7 and parity inputted through the data and parity interface unit 100 by the write enable signal WREN. A data and parity writing unit 300 to which bits PARITY are written; The clock generator 400 receives the selection signal BYTE0_SEL, the write enable signal WREN, and the system clock signal SYSCLK from the controller 200 and processes the predetermined signal to generate a clock signal for data error detection. )Wow; Enabled by the clock signal of the clock generator 400, and receives data DATA0 to DATA7 and parity bits PARITY output from the data and parity writing unit 300 to detect and process data errors. A data error detection unit 500; The controller 200 is configured to collectively control each unit.

상기 패러티발생부(600)는 4 비트씩 데이터(DT0~DT3),(DT4~DT7)를 입력받아 각기 익스쿨루씨브오아 연산하는 제1,제2 익스쿨루씨브오아게이트(EX1),(EX2)와; 상기 제1,제2 익스쿨루씨브오아게이트(EX1),(EX2)의 출력신호를 입력받아 이를 오아 연산하는 제3 익스쿨루씨브오아게이트(EX3)로 구성한다.The parity generating unit 600 receives data DT0 to DT3 and DT4 to DT7 by four bits, respectively, to calculate first and second exclusive oval gates EX1 and (2). EX2); The first and second exotic oar gates EX1 and EX2 receive the output signals and are composed of a third exclusive oar gate EX3 that calculates the result.

상기 클럭발생부(400)는 선택신호(BYTE0_SEL)와 반전된 라이트인에이블신호 (WREN)를 입력받아 앤드연산하는 제1 앤드게이트(AN1)와; 상기 제1 앤드게이트 (AN1)의 출력신호를 입력받아 유지하다가 시스템클럭신호(SYDCLK)에 동기하여 출력하는 제1 디플립플롭(DF10)과; 상기 제1 디플립플롭(DF10)의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호(SYSCLK)에 동기하여 출력하는 제2 디플립플롭 (DF11)과; 상기 제2 디플립플롭(DF11)의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호(SYSCLK)에 동기하여 출력하는 제3 디플립플롭(DF12)과; 상기 제2 디플립플롭(DF11)의 출력신호와 반전된 상기 제3 디플립플롭(DF12)의 출력신호를 입력받아 앤드연산하는 앤드게이트(AN2)와; 상기 앤드게이트(AN2)의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호(SYSCLK)에 의해 동기하여 출력하는 제4 디플립플롭(DF13)으로 구성한다.The clock generator 400 may include a first AND gate AN1 that receives and selects a write enable signal WREN inverted from the selection signal BYTE0_SEL; A first deflip-flop DF10 that receives and maintains an output signal of the first AND gate AN1 and outputs the same in synchronization with a system clock signal SYDCLK; A second deflip-flop DF11 that receives and maintains an output signal of the first flip-flop DF10 and outputs it in synchronization with the system clock signal SYSCLK; A third deflip-flop DF12 that receives and maintains an output signal of the second flip-flop DF11 and outputs it in synchronization with the system clock signal SYSCLK; An AND gate (AN2) for receiving and outputting the output signal of the third deflip-flop (DF12) inverted from the output signal of the second deflip-flop (DF11); A fourth deflip-flop DF13 that receives and maintains the output signal of the AND gate AN2 and outputs in synchronization with the system clock signal SYSCLK.

상기 데이터오류검출부(500)는 데이터 및 패러티라이팅부((300)의 소정 레지스터에 저장된 전반 데이터(DATA0~DATA3)를 입력받아 익스쿨루씨브오아 연산하는 제1 익스쿨루씨브오아게이트(EX4)와; 데이터 및 패러티라이팅부(300)의 소정 레지스터에 저장된 후반 데이터(DATA4~DATA7)와 패러티비트(PARITY)를 입력받아 익스쿨루씨브오아 연산하는 제2 익스쿨루씨브오아게이트(EX5)와; 상기 제1,제2 익스쿨루씨브오아게이트(EX4),(EX5)의 출력신호를 입력받아 익스쿨루씨브오아 연산하는 제3 익스쿨루씨브오아게이트(EX6)와; 상기 제3 익스쿨루씨브오아게이트(EX6)의 출력신호를 입력받아 유지하다가 상기 클럭발생부(400)의 클럭신호에 동기하여 그에 따른 오류검출신호(CHK_CLK)를 출력하는 디플립플롭(DF14)으로 구성하며, 이와같이 구성한 본 발명의 동작을 설명한다.The data error detection unit 500 receives the first and second five ora gates EX4 that receive the overall data DATA0 to DATA3 stored in a predetermined register of the data and parity writing unit 300 and perform an exclusive oracle operation. And a second exclusive oagate EX5 that receives the late data DATA4 to DATA7 and the parity bits PARITY stored in a predetermined register of the data and parity writing unit 300 and performs an exclusive oval operation. A third express oA gate EX6 that receives the output signals of the first and second express oV gates EX4 and EX5 and calculates the exclusive oval gate EX6; It consists of a deflip-flop (DF14) that receives and maintains the output signal of the school clock ore gate EX6 and outputs the error detection signal CHK_CLK according to the clock signal of the clock generator 400. The operation of the present invention configured as described above will be described.

먼저, 에프피지에이 레지스터에 데이터가 라이트 되기전에, 패러티발생부 (600)는 8비트의 데이터(DT0~DT7)를 입력받아 소정 연산하여 패러티비트(PARITY)를 출력한다.First, before data is written to the FP register, the parity generator 600 receives 8-bit data DT0 to DT7 and performs a predetermined operation to output the parity bit.

즉, 제1,제2 익스쿨루씨브오아게이트(EX1),(EX2)는 각기 데이터(DT0~DT3) ,(DT4~DT7)를 4비트씩 입력받아 익스쿨루씨브오아 연산하여 출력하고, 제3 익스쿨루씨브오아게이트(EX3)는 상기 제1,제2 익스쿨루씨브오아게이트(EX1),(EX2)의 출력신호를 다시 익스쿨루씨브오아 연산하여 그에 따른 패러티 비트(PARITY)를 생성한다.That is, the first and second exotic oar gates EX1 and EX2 receive four data bits DT0 to DT3 and DT4 to DT7, respectively, and calculate and output an exclusive oval. The third exotic oar gate EX3 calculates the output signals of the first and second exotic oar gates EX1 and EX2 again by performing an exotic oval, and thus a parity bit. Create

이때, 데이터및 패러티인터페이스부(100)는 상기 패러티발생부(600)의 패러티비트(PARITY)와 상기 데이터(EX1),(EX2)를 입력받아 이를 내부 소정 레지스터로 인터페이스하고, 데이터및 패러티라이팅부(300)는 제어부 (200)의 선택신호 (BYTE0 _SEL)에 의해 소정 내부 레지스터가 선택되고, 라이트 인에이블신호(WREN)에 의해, 상기 데이터 및 패러티 인터페이스부(100)를 통해 입력되는 데이터(DT0~DT7)와 패러티비트(PARITY)가 라이트된다.In this case, the data and parity interface unit 100 receives the parity bits of the parity generating unit 600, the data EX1, and EX2, and interfaces them with internal registers, and the data and parity writing unit 100. In operation 300, a predetermined internal register is selected by the selection signal BYTE0 _SEL of the control unit 200, and data DT0 input through the data and parity interface unit 100 by the write enable signal WREN. DT7) and the parity bit (PARITY) are written.

여기서, 상기 데이터 및 패러티라이팅부(300)는 다수의 레지스터가 포함되어 구성되는데, 도2는 설명의 편의를 위하여, 한개의 레지스터만 도시한 것이다.Here, the data and parity writing unit 300 includes a plurality of registers. For the convenience of description, FIG. 2 shows only one register.

한편, 상기 데이터 및 패러티라이팅부(300)에 저장된 데이터의 오류를 검출하기 위해, 클럭발생부(400)는 상기 제어부(200)로부터 출력되는 선택신호 (BYTE0_SEL)와 라이트인에이블신호(WREN) 및 시스템 클럭신호(SYSCLK)를 입력받아 이를 소정 처리하여 데이터 오류 검출을 위한 클럭신호를 발생한다.Meanwhile, in order to detect an error of data stored in the data and parity writing unit 300, the clock generator 400 may include a selection signal BYTE0_SEL and a write enable signal WREN output from the control unit 200. The system clock signal SYSCLK is received and processed in advance to generate a clock signal for data error detection.

즉, 앤드게이트(AN1)는 제어부(200)의 도3의 (a)와 같은 선택신호 (BYTE0_SEL)와 도3의 (b)와 같은 반전된 라이트인에이블신호(WREN)를 입력받아 앤드연산하고, 디플립플롭(DF10)은 도3의 (c)와 같은, 상기 앤드게이트(AN1)의 출력신호를 입력받아 유지하다가 시스템클럭신호(SYDCLK)에 동기하여 출력하며, 디플립플롭(DF11)은 상기 디플립플롭(DF10)의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호(SYSCLK)에 동기하여 도3의 (d)와 같은 신호로 출력하고, 디플립플롭 (DF12)은 디플립플롭(DF11)의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호(SYSCLK)에 동기하여 도3의 (e)와 같은 신호로 출력한다.That is, the AND gate AN1 receives and receives the selection signal BYTE0_SEL of FIG. 3A and the inverted write enable signal WREN of FIG. 3B of the controller 200. The flip-flop DF10 receives and maintains the output signal of the AND gate AN1 as shown in FIG. 3C, and outputs it in synchronization with the system clock signal SYDCLK. The output signal of the flip-flop DF10 is received and maintained, and is output as a signal as shown in FIG. 3D in synchronization with the system clock signal SYSCLK, and the flip-flop DF12 is a deflip-flop DF11. ) Is outputted as a signal such as (e) of FIG. 3 in synchronization with the system clock signal SYSCLK.

그리고, 앤드게이트(AN2)는 상기 디플립플롭(DF11)의 출력신호와 반전된 상기 디플립플롭(DF12)의 출력신호를 입력받아 앤드연산하여 도3의 (f)와 같은 신호를 출력하고, 디플립플롭(DF13)이 상기 앤드게이트(AN2)의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호 (SYSCLK)에 의해 동기하여 클럭신호를 출력한다.The AND gate AN2 receives and outputs the output signal of the flip-flop DF11 and the inverted output signal of the flip-flop DF12 to output a signal as shown in FIG. The flip-flop DF13 receives and maintains the output signal of the AND gate AN2, and outputs a clock signal in synchronization with the system clock signal SYSCLK.

그러면, 데이터오류검출부(500)는 상기 클럭발생부(400)의 클럭신호에 의해인에이블되어, 상기 데이터 및 패러티라이팅부(300)로부터 출력되는 데이터(DATA 0~DATA7)와 패러티비트(PARITY)를 입력받아 소정 처리하여 데이터 오류를 검출한다.Then, the data error detection unit 500 is enabled by the clock signal of the clock generator 400, and the data DATA 0 to DATA7 and the parity bit output from the data and parity writing unit 300. Receives a predetermined process and detects a data error.

즉, 상기 데이터 및 패러팅라이팅부(300)의 소정 레지스터에 저장된 데이터 (DT0~DT7)를 순차적으로 익스쿨루씨브오아게이트(EX4~EX6)를 통과시켜 익스쿨루브씨브오아 연산한후, 이 연산신호를 디플립플롭(DF14)에서 상기 클럭발생부 (400)의 클럭신호에 의해 래치하여 최종적으로 오류검출신호(CHK_CLK)를 출력한다.That is, after the data and the data DT0 to DT7 stored in the predetermined register of the parity writing unit 300 are sequentially passed through the EXCLUV OA gates EX4 to EX6, the EXCLUV XV ora operation is performed. The operation signal is latched by the clock signal of the clock generator 400 in the flip-flop DF14 to finally output the error detection signal CHK_CLK.

만약, 데이터(DT0~DT7)가 데이터 및 패러팅라이팅부(300)의 해당 레지스터에 정상적으로 라이트되었다면, 상기 오류검출신호(CHK_CLK))는 항상 '로우'를 유지하게 되고, 하나 또는 그 이상의 데이터(DT0~DT7)에서 오류가 발생하면 상기 오류검출신호 (CHK_CLK)는 '하이' 상태가 되는데, 즉, 그 오류검출신호를 제어부 (200)에서 체크하여 '로우'이면 정상 라이트 동작으로, '하이'이면 라이트 동작의 오류발생으로 판단한다.If the data DT0 to DT7 are normally written in the corresponding registers of the data and the parity writing unit 300, the error detection signal CHK_CLK is always kept low, and one or more data ( If an error occurs in DT0 to DT7), the error detection signal CHK_CLK is in a 'high' state. That is, if the error detection signal is checked by the controller 200 and is 'low', the normal write operation is performed. In this case, it is determined that an error occurs in the write operation.

이상에서 상세히 설명한 바와같이 본 발명은 에프피지에이 레지스터에 라이트된 데이터의 오류유무를 데이터버스를 점유하지 않고 자체적으로 검출함으로써 데이터버스를 효율적으로 사용하는 효과가 있다.As described in detail above, the present invention has the effect of efficiently using the data bus by detecting the error of data written in the FPI register on its own without occupying the data bus.

Claims (5)

입력되는 데이터를 소정 연산하여 패러티를 발생하는 패러티발생부와;A parity generating unit generating parity by a predetermined operation of input data; 상기 패러티발생부의 패러티와 상기 데이터를 내부 소정 레지스터로 인터페이스하는 데이터 및 패러티 인터페이스부와;A data and parity interface unit for interfacing the parity of the parity generating unit and the data to an internal predetermined register; 제어부의 선택신호에 의해 소정 내부 레지스터가 선택되고, 라이트 인에이블신호에 의해 상기 내부 레지스터에, 상기 데이터 및 패러티 인터페이스부를 통해 입력되는 데이터와 패러티가 라이트되는 데이터 및 패러티라이팅부와;A data and parity writing unit in which a predetermined internal register is selected by a selection signal of a controller, and data and parity written in the internal register by the write enable signal are written through the data and parity interface units; 상기 제어부로부터 출력되는 선택신호와 라이트인에이블신호 및 시스템 클럭신호를 소정 처리하여 데이터 오류 검출을 위한 클럭신호를 발생하는 클럭발생부와;A clock generator which processes a selection signal, a write enable signal, and a system clock signal output from the controller to generate a clock signal for data error detection; 상기 클럭발생부의 클럭신호에 의해 인에이블되어, 상기 데이터 및 패러티라이팅부로부터 출력되는 데이터와 패러티를 소정 처리하여 데이터 오류를 검출하는 데이터오류검출부를 포함하는 것을 특징으로 하는 패러티비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로.And a data error detection unit enabled by a clock signal of the clock generation unit and configured to process data and parity output from the data and parity writing unit to detect a data error. Write data confirmation circuit of the register. 제1 항에 있어서, 패러티발생부는 소정 비트씩 데이터를 입력받아 각기 익스쿨루씨브 오아 연산하는 제1,제2 익스쿨루씨브오아게이트와; 상기 제1,제2 익스쿨루씨브오아게이트의 출력신호를 입력받아 이를 오아 연산하는 제3 익스쿨루씨브오아게이트로 구성한 것을 특징으로 하는 패러티비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로.The apparatus of claim 1, wherein the parity generating unit comprises: first and second exclusive oval gates that receive data by a predetermined bit and perform an exclusive oval operation respectively; And a third express oragate configured to receive an output signal of the first and second exotic oar gates and perform an operation on the output signal of the first and second exotic oar gates. 제1 항에 있어서, 클럭발생부는 선택신호와 반전된 라이트인에이블신호를 입력받아 앤드연산하는 제1 앤드게이트와; 상기 제1 앤드게이트의 출력신호를 입력받아 유지하다가 시스템클럭신호에 동기하여 출력하는 제1 디플립플롭과; 상기 제1 디플립플롭의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호에 동기하여 출력하는 제2 디플립플롭과; 상기 제2 디플립플롭의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호에 동기하여 출력하는 제3 디플립플롭과; 상기 제2 디플립플롭의 출력신호와 반전된 상기 제3 디플립플롭의 출력신호를 입력받아 앤드연산하는 앤드게이트와; 상기 앤드게이트의 출력신호를 입력받아 유지하다가 상기 시스템클럭신호에 의해 동기하여 출력하는 제4 디플립플롭으로 구성한 것을 특징으로 하는 패러티비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로.The display device of claim 1, wherein the clock generator comprises: a first AND gate configured to receive and perform an operation of receiving a write enable signal inverted from the selection signal; A first deflip-flop that receives and maintains an output signal of the first AND gate, and outputs in synchronization with a system clock signal; A second flip-flop that receives and maintains an output signal of the first flip-flop and outputs it in synchronization with the system clock signal; A third flip-flop that receives and maintains an output signal of the second flip-flop and outputs it in synchronization with the system clock signal; An AND gate for receiving and outputting the output signal of the third deflip-flop, which is inverted from the output signal of the second deflip-flop; And a fourth deflip-flop which receives and maintains the output signal of the AND gate, and outputs in synchronization with the system clock signal. 제1 항에 있어서, 데이터오류검출부는 데이터 및 패러티라이팅부의 소정 레지스터에 저장된 전반 데이터를 입력받아 익스쿨루씨브오아 연산하는 제1 익스쿨루씨브오아게이트와; 데이터및 패러티라이팅부의 소정 레지스터에 저장된 후반데이터와 패러티를 입력받아 익스쿨루씨브오아 연산하는 제2 익스쿨루씨브오아게이트와; 상기 제1,제2 익스쿨루씨브오아게이트의 출력신호를 입력받아 익스쿨루씨브오아 연산하는 제3 익스쿨루씨브오아게이트와; 상기 제3 익스쿨루씨브오아게이트의 출력신호를 입력받아 유지하다가 상기 클럭발생부의 클럭신호에 동기하여 그에 따른 오류검출신호를 출력하는 디플립플롭으로 구성한 것을 특징으로 하는 패러티비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로.2. The apparatus of claim 1, wherein the data error detection unit comprises: a first exploit oragate configured to receive the entire data stored in a predetermined register of the data and the parity writing unit and perform an exotic or oval operation; A second express oragate for receiving late half data and parity stored in a predetermined register of the data and parity writing unit and performing an exclusive orphan operation; A third exotic oar gate configured to receive an output signal of the first and second exotic oar gates and perform an exclusive oval operation; A F-PAI using parity bits, characterized in that it is configured to receive and maintain the output signal of the third exotic oar gate and output an error detection signal according to the clock signal of the clock generator. Write data confirmation circuit of the register. 제1 항 또는 제4 항에 있어서, 데이터 오류검출부는 데이터 및 패러팅라이팅부의 해당 레지스터에 데이터가 정상적으로 라이트되면 '로우'인 오류검출신호를 출력하고, 하나 또는 그 이상의 데이터에서 오류가 발생하면 상기 오류검출신호는 '하이' 상태로 출력되는 것을 특징으로 하는 패러티비트를 이용한 에프피지에이 레지스터의 라이트 데이터 확인회로.The data error detection unit of claim 1 or 4, wherein the data error detection unit outputs an error detection signal of 'low' when data is normally written to a corresponding register of the data and the parity writing unit, and, if an error occurs in one or more data. The error detection signal is output in a 'high' state, the write data verification circuit of the FP A register using a parity bit.
KR10-2000-0071304A 2000-11-28 2000-11-28 Write data conviction circuit for fpga register in using parity bit KR100386253B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0071304A KR100386253B1 (en) 2000-11-28 2000-11-28 Write data conviction circuit for fpga register in using parity bit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0071304A KR100386253B1 (en) 2000-11-28 2000-11-28 Write data conviction circuit for fpga register in using parity bit

Publications (2)

Publication Number Publication Date
KR20020041633A KR20020041633A (en) 2002-06-03
KR100386253B1 true KR100386253B1 (en) 2003-06-02

Family

ID=19701986

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0071304A KR100386253B1 (en) 2000-11-28 2000-11-28 Write data conviction circuit for fpga register in using parity bit

Country Status (1)

Country Link
KR (1) KR100386253B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116755923B (en) * 2023-06-27 2024-11-08 无锡中微亿芯有限公司 Single event upset resistant memory architecture FPGA

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5457408A (en) * 1994-11-23 1995-10-10 At&T Corp. Method and apparatus for verifying whether a bitstream received by a field programmable gate array (FPGA) is intended for that FPGA
US5737766A (en) * 1996-02-14 1998-04-07 Hewlett Packard Company Programmable gate array configuration memory which allows sharing with user memory
JPH11110297A (en) * 1997-10-03 1999-04-23 Hitachi Ltd Built-in memory type 1 chip computer
US6101624A (en) * 1998-01-21 2000-08-08 International Business Machines Corporation Method and apparatus for detecting and correcting anomalies in field-programmable gate arrays using CRCs for anomaly detection and parity for anomaly correction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5457408A (en) * 1994-11-23 1995-10-10 At&T Corp. Method and apparatus for verifying whether a bitstream received by a field programmable gate array (FPGA) is intended for that FPGA
US5737766A (en) * 1996-02-14 1998-04-07 Hewlett Packard Company Programmable gate array configuration memory which allows sharing with user memory
JPH11110297A (en) * 1997-10-03 1999-04-23 Hitachi Ltd Built-in memory type 1 chip computer
US6101624A (en) * 1998-01-21 2000-08-08 International Business Machines Corporation Method and apparatus for detecting and correcting anomalies in field-programmable gate arrays using CRCs for anomaly detection and parity for anomaly correction

Also Published As

Publication number Publication date
KR20020041633A (en) 2002-06-03

Similar Documents

Publication Publication Date Title
KR100942953B1 (en) Data transfer circuit and semiconductor memory device comprising same
US20040205418A1 (en) ECC control apparatus
US8806316B2 (en) Circuits, integrated circuits, and methods for interleaved parity computation
KR20100037313A (en) Secure memory interface, system and smart card including the same
US20030099140A1 (en) Data handling system
KR20080024413A (en) Semiconductor memory device with data input / output error detection
WO1998054639A1 (en) Patching apparatus and method for upgrading modem software code
JP2008108390A (en) Semiconductor memory device and its test method
US9287003B2 (en) Multi-cycle write leveling
TWI470637B (en) Test apparatus and test method
US7075851B2 (en) Semiconductor memory device inputting/outputting data and parity data in burst operation
KR100386253B1 (en) Write data conviction circuit for fpga register in using parity bit
JP5176646B2 (en) Error correction function confirmation circuit, error correction function confirmation method, computer program thereof, and storage device
JP4981918B2 (en) Test apparatus and test method
TW200519957A (en) Memory test circuit and test system
CN100361090C (en) Method and apparatus for a modified parity check
JP2010117994A (en) Inspection system
JP2008134926A (en) Synchronization circuit
WO2023170815A1 (en) Pointer transfer device, pointer transfer method, and memory control device
KR20000009118A (en) Apparatus and method for verifying error of reading/writing data
JP2008026559A (en) Liquid crystal display driver and liquid crystal display device loading the same
KR20120036728A (en) Memory device and error generating method thereof
JP2005071075A (en) Bus bridge circuit
JPH1063569A (en) Main memory data writing device
JPH04241622A (en) Microprocessor

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20001128

PA0201 Request for examination
PG1501 Laying open of application
N231 Notification of change of applicant
PN2301 Change of applicant

Patent event date: 20020614

Comment text: Notification of Change of Applicant

Patent event code: PN23011R01D

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20020830

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20030421

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20030521

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20030522

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

Termination category: Default of registration fee

Termination date: 20070410