KR100273246B1 - Apparatus for correcting error of state machine - Google Patents

Apparatus for correcting error of state machine Download PDF

Info

Publication number
KR100273246B1
KR100273246B1 KR1019970066511A KR19970066511A KR100273246B1 KR 100273246 B1 KR100273246 B1 KR 100273246B1 KR 1019970066511 A KR1019970066511 A KR 1019970066511A KR 19970066511 A KR19970066511 A KR 19970066511A KR 100273246 B1 KR100273246 B1 KR 100273246B1
Authority
KR
South Korea
Prior art keywords
state
state value
comparison
output
value
Prior art date
Application number
KR1019970066511A
Other languages
Korean (ko)
Other versions
KR19990047933A (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 KR1019970066511A priority Critical patent/KR100273246B1/en
Publication of KR19990047933A publication Critical patent/KR19990047933A/en
Application granted granted Critical
Publication of KR100273246B1 publication Critical patent/KR100273246B1/en

Links

Images

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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE: A state machine error correcting device is provided to be capable of correcting an algorithm error of a state machine using a comparison and correction logic circuit, after a chip is made. CONSTITUTION: A state logic part(10) receives a current state value of a state machine and an input to the state machine to determine a next state value. A state vector flip-flop(11) stores and outputs the next state value from the state logic part(10) in synchronization with a clock signal. A comparison and correction logic part(20) compares a current state value from the state vector flip-flop(11) with a state value to be detected. The comparison and correction logic part(20) selects one of the current state value from the state vector flip-flop(11) and an externally applied correction state value in response to a comparison result, and outputs the selected state value to the state logic part(10) as a current state value. An output logic part(12) determines a state value, which the state machine outputs, from the current state value from the comparison and correction logic part(20).

Description

스테이트 머신 에러 수정장치{APPARATUS FOR CORRECTING ERROR OF STATE MACHINE}State machine error correction device {APPARATUS FOR CORRECTING ERROR OF STATE MACHINE}

본 발명은 스테이트 머신 에러 수정장치에 관한 것으로, 특히 집적회로 설계시 사용하는 스테이트 머신의 알고리즘 상의 에러를 칩이 만들어진 후 수정할 수 있도록 하는 스테이트 머신 에러 수정장치에 관한 것이다.The present invention relates to a state machine error correcting apparatus, and more particularly, to a state machine error correcting apparatus that allows to correct the error in the algorithm of the state machine used in the integrated circuit design after the chip is made.

도 1은 종래 스테이트 머신의 구성을 보인 블록도로서, 이에 도시된 바와 같이 스테이트 머신의 현재 스테이트 값과 스테이트 머신으로 인가되는 입력을 조합하여 다음 스테이트를 결정하는 스테이트로직부(10)와; 상기 스테이트로직부(10)에서 발생된 다음 스테이트 값을 클럭에 동기시켜 저장, 출력하는 스테이트 벡터 플립플롭(11)과; 현재의 스테이트 값에서 스테이트 머신이 출력해야 하는 출력값을 결정하는 출력로직부(12)로 구성된다.FIG. 1 is a block diagram showing a configuration of a conventional state machine, and as shown therein, a state logic unit 10 for combining a current state value of a state machine with an input applied to the state machine to determine a next state; A state vector flip-flop (11) for storing and outputting the next state value generated by the state logic unit (10) in synchronization with a clock; It consists of an output logic section 12 that determines the output value that the state machine should output from the current state value.

도 1에서 스테이트로직부(10)는 현재의 스테이트 값과 스테이트 머신으로 인가되는 입력조건을 조합하여 스테이트 머신의 다음 스테이트 값을 결정하고, 여기에서 결정된 다음 스테이트 값은 스테이트 벡터 플립플롭(11)에 저장되어 다음의 클럭주기 동안 현재 스테이트 값으로 나타나 상기 스테이트 로직부(10) 및 출력로직부(12)에 인가된다.In FIG. 1, the state logic unit 10 combines the current state value with an input condition applied to the state machine to determine the next state value of the state machine, and the next state value determined here is transferred to the state vector flip-flop 11. It is stored and applied to the state logic section 10 and the output logic section 12 as a current state value for the next clock period.

또한, 출력로직부(12)에서 현재 스테이트 값(밀리(Mealy) 스테이트 머신인 경우에는 현재의 입력이 현재의 출력에 영향을 미치므로 입력을 포함한다)에서 출력하여야 하는 스테이트 값을 결정하여 출력한다.In addition, the output logic unit 12 determines and outputs the state value to be output from the current state value (in the case of the mealy state machine, the current input affects the current output and thus includes the input). .

상기와 같이 종래의 기술에 있어서 스테이트 머신은 하드웨어로만 구성되어 있어 알고리즘에 에러가 발생하는 경우에는 집적회로의 설계를 처음부터 다시하여 칩을 새로이 만들어야 하는 문제점이 있었다.As described above, in the conventional technology, the state machine is composed only of hardware, and when an error occurs in an algorithm, there is a problem in that a chip must be newly made by designing an integrated circuit from the beginning.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창안한 것으로, 비교 및 수정을 하는 로직을 사용하여 스테이트 머신의 알고리즘 상의 에러를 칩이 만들어진 후 수정할 수 있도록 하는 스테이트 머신에러 수정장치를 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned conventional problems, and provides a state machine error correction device that can correct errors in the state machine's algorithm after the chip is made using logic for comparison and correction. Has its purpose.

도 1은 종래 스테이트 머신의 구성을 보인 블록도.1 is a block diagram showing the configuration of a conventional state machine.

도 2는 본 발명 스테이트 머신 에러 수정장치의 구성을 보인 블록도.Figure 2 is a block diagram showing the configuration of the state machine error correcting apparatus of the present invention.

도 3은 본 발명의 또 다른 일실시예를 보인 블록도.Figure 3 is a block diagram showing another embodiment of the present invention.

도 4는 도 2에서 비교 및 수정로직부의 구성을 보인 블록도.Figure 4 is a block diagram showing the configuration of the comparison and correction logic in Figure 2;

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

10 : 스테이트로직부 11 : 스테이트 벡터 플립플롭10: state logic portion 11: state vector flip-flop

12 : 출력로직부 20 : 비교 및 수정로직부12: output logic part 20: comparison and correction logic part

21 : 비교부 22 : 멀티플렉서(MUX)21: comparison unit 22: multiplexer (MUX)

이와 같은 목적을 달성하기 위한 본 발명 스테이트 머신 에러 수정장치의 구성은, 집적회로의 설계에 사용하는 스테이트 머신에 있어서, 스테이트 머신의 스테이트 벡터 플립플롭에서 결정한 현재 스테이트 값을 검출하고자 하는 스테이트 값과 비교하고, 이 비교결과에 따라 스테이트 머신의 스테이트 벡터 플립플롭에서 발생한 스테이트 값 또는 외부에서 인가하는 스테이트 값 중 하나를 선택하여 현재 스테이트 값으로 출력하는 비교 및 수정로직부를 구비함을 특징으로 한다.In the state machine error correcting apparatus of the present invention for achieving the above object, in the state machine used in the design of the integrated circuit, the state value determined by the state vector flip-flop of the state machine is compared with the state value to be detected. And a comparison and correction logic unit for selecting one of a state value generated in the state vector flip-flop of the state machine or a state value applied from the outside and outputting the current state value according to the comparison result.

상기 비교 및 수정로직부는 스테이트 머신의 스테이트 벡터 플립플롭에서 결정한 현재 스테이트 값과 검출하고자 하는 스테이트 값을 비교하는 복수개의 비교부와; 상기 비교부에서 출력한 비교신호에 의해 스테이트 머신의 스테이트 로직부에서 발생한 스테이트 값 또는 외부에서 인가하는 수정 스테이트 값 중 하나를 선택하여 스테이트 벡터 출력부로 출력하는 멀티플렉서로 구성함을 특징으로 한다.The comparison and correction logic unit includes: a plurality of comparison units for comparing a state value to be detected with a current state value determined by a state vector flip-flop of a state machine; And a multiplexer which selects one of a state value generated in the state logic unit of the state machine or a modified state value applied externally by the comparison signal output from the comparison unit and outputs the state signal to the state vector output unit.

이하, 본 발명에 따른 일실시예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명 스테이트 머신 에러 수정장치의 구성을 보인 블록도로서, 이에 도시한 바와 같이 스테이트 머신의 현재 스테이트 값과 스테이트 머신으로 인가되는 입력을 조합하여 다음 스테이트 값을 결정하는 스테이트로직부(10)와; 상기 스테이트로직부(10)에서 발생된 다음 스테이트 값을 클럭에 동기시켜 저장, 출력하는 스테이트 벡터 플립플롭(11)과; 상기 스테이트 벡터 플립플롭(11)에서 출력되는 현재 스테이트 값을 검출하고자 하는 스테이트 값과 비교하고, 이 비교결과에 따라 상기 스테이트 벡터 플립플롭(11)에서 출력되는 현재 스테이트 값 또는 외부에서 인가하는 스테이트 값(수정 스테이트 값) 중 하나를 선택하여 상기 스테이트 로직부(10)에 현재 스테이트값으로 출력하는 비교 및 수정로직부(20)와; 상기 비교 및 수정로직부(20)에서 출력되는 현재의 스테이트 값에서 스테이트 머신이 출력해야 하는 스테이트 값을 결정하는 출력로직부(12)로 구성한다.FIG. 2 is a block diagram showing the configuration of a state machine error correcting apparatus of the present invention. As shown in FIG. )Wow; A state vector flip-flop (11) for storing and outputting the next state value generated by the state logic unit (10) in synchronization with a clock; The current state value output from the state vector flip-flop 11 is compared with a state value to be detected, and according to the comparison result, the current state value output from the state vector flip-flop 11 or a state value applied from the outside. A comparison and correction logic unit 20 for selecting one of (modified state values) and outputting the current state value to the state logic unit 10; The output logic unit 12 determines a state value to be output by the state machine from the current state value output from the comparison and correction logic unit 20.

도 3은 본 발명의 또 다른 일실시예를 보인 블록도로서, 이에 도시한 바와 같이 상기 도 2의 구성과 동일하고, 다만 비교 및 수정로직부(20)의 위치가 스테이트 벡터 플립플롭(11)의 앞단에 위치한다는 점이 다르다.FIG. 3 is a block diagram showing another embodiment of the present invention. As shown in FIG. 2, the configuration of FIG. 2 is the same, except that the position of the comparison and correction logic unit 20 is a state vector flip-flop 11. The difference is that it is located at the front of.

이와 같이 구성한 본 발명에 따른 일실시예의 동작을 첨부한 도 2 및 도 3을 참조하여 설명하면 다음과 같다.Referring to Figures 2 and 3 attached to the operation of the embodiment according to the present invention configured as described above are as follows.

먼저, 도 2에서와 같이 스테이트 벡터 플립플롭(11)에서 한 클럭후에 출력된 현재 스테이트 값을 도 4에 도시한 바와 같이 비교 및 수정로직부(20)의 비교부(21)에서 입력받아 검출하고자 하는 스테이트 값과 비교를 하여 비교값이 같거나 다르면 그에 대한 비교신호를 발생하며, 이 비교신호를 멀티플렉서(22)에서 받게되는데, 만약 상기 비교값이 같으면 수정 스테이트 값을, 비교값이 다르면 현재 스테이트 값을 한 클럭 후에 출력한다.First, as shown in FIG. 2, the current state value output after one clock from the state vector flip-flop 11 is input and detected by the comparator 21 of the comparison and correction logic unit 20 as shown in FIG. 4. When the comparison value is the same or different, a comparison signal is generated. The comparison signal is received by the multiplexer 22. If the comparison value is the same, the modified state value is obtained. The value is output after one clock.

한편, 도 3에서와 같이 비교 및 수정로직부(20)가 스테이트 벡터 플립플롭(11)의 앞단에 위치하면 스테이트로직부(10)로부터 현재 스테이트 값을 받아 상기와 동일한 동작을 하며, 다만 입출력시 딜레이가 없다는 점만 차이가 있다.On the other hand, when the comparison and correction logic portion 20 is located in front of the state vector flip-flop 11, as shown in Figure 3 receives the current state value from the state logic portion 10 and performs the same operation as described above, but only when input and output The only difference is that there is no delay.

이상에서 설명한 바와 같이 본 발명 스테이트 머신 에러 수정장치는 제작이 완료된 칩의 스테이트 머신에서 발생하는 에러를 칩의 재설계를 하지않고, 간단하게 수정함으로써, 칩의 수정후 결과를 예측하기 쉬우며, 시장진입 시기를 앞당기는 효과가 있다.As described above, the state machine error correcting apparatus of the present invention is easy to predict the result after chip modification by simply correcting an error occurring in the state machine of the finished chip without redesigning the chip. It is effective to speed up the time of entry.

Claims (2)

스테이트 머신의 현재 스테이트 값과 입력을 조합하여 다음 스테이트 값을 결정하는 스테이트 로직부와, 상기 스테이트 로직부에서 발생된 다음 스테이트값을 클럭에 동기시켜 저장, 출력하는 스테이트 벡터 플립플롭과, 상기 스테이트 벡터 플립플롭에서 출력되는 현재 스테이트 값을 검출하고자 하는 스테이트 값과 비교하고, 이 비교결과에 따라 상기 스테이트 벡터 플립플롭에서 출력되는 현재 스테이트 값 또는 외부에서 인가하는 수정 스테이트 값 중 하나를 선택하여 상기 스테이트 로직부에 현재 스테이트 값으로 출력하는 비교 및 수정로직부와, 상기 비교 및 수정로직부에서 출력되는 현재 스테이트값에서 스테이트머신이 출력해야 하는 스테이트값을 결정하는 출력로직부를 구비하여 구성된 것을 특징으로 하는 스테이트 머신 에러 수정장치.A state logic unit for combining a current state value and an input of a state machine to determine a next state value, a state vector flip-flop for storing and outputting the next state value generated in the state logic unit in synchronization with a clock, and the state vector Compares the current state value output from the flip-flop with the state value to be detected, and selects either the current state value output from the state vector flip-flop or a modified state value applied from the outside according to the comparison result, and the state logic is selected. And a output logic section for determining a state value to be output by the state machine from the current state value output from the comparison and correction logic section. Machine Error Correction Sheet . 제1항에 있어서, 상기 비교 및 수정로직부는 스테이트 벡터 플립플롭에서 출력되는 현재 스테이트 값과 검출하고자 하는 스테이트 값을 비교하는 복수개의 비교부와; 상기 비교부에서 출력한 비교신호에 의해 상기 스테이트 벡터 플립플롭에서 출력되는 현재 스테이트 값 또는 외부에서 인가하는 수정 스테이트 값 중 하나를 선택하여 출력하는 멀티플렉서로 구성된 것을 특징으로 하는 스테이트 머신 에러 수정장치.2. The apparatus of claim 1, wherein the comparison and correction logic unit comprises: a plurality of comparison units for comparing a state value to be detected with a current state value output from a state vector flip-flop; And a multiplexer configured to select and output one of a current state output from the state vector flip-flop or a modified state value externally applied by the comparison signal output from the comparison unit.
KR1019970066511A 1997-12-06 1997-12-06 Apparatus for correcting error of state machine KR100273246B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970066511A KR100273246B1 (en) 1997-12-06 1997-12-06 Apparatus for correcting error of state machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970066511A KR100273246B1 (en) 1997-12-06 1997-12-06 Apparatus for correcting error of state machine

Publications (2)

Publication Number Publication Date
KR19990047933A KR19990047933A (en) 1999-07-05
KR100273246B1 true KR100273246B1 (en) 2001-01-15

Family

ID=40749322

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970066511A KR100273246B1 (en) 1997-12-06 1997-12-06 Apparatus for correcting error of state machine

Country Status (1)

Country Link
KR (1) KR100273246B1 (en)

Also Published As

Publication number Publication date
KR19990047933A (en) 1999-07-05

Similar Documents

Publication Publication Date Title
US6038649A (en) Address generating circuit for block repeat addressing for a pipelined processor
US5459855A (en) Frequency ratio detector for determining fixed frequency ratios in a computer system
JP2970717B2 (en) Frame synchronization circuit
US5638017A (en) Pulse width modulation circuit
KR19980024989A (en) Circuit device with combination block placed between registers
US6472913B2 (en) Method and apparatus for data sampling
US5796994A (en) Patch mechanism for allowing dynamic modifications of the behavior of a state machine
JP2002007322A (en) Phase regulation and control method, and information processor
US5408476A (en) One bit error correction method having actual data reproduction function
KR100273246B1 (en) Apparatus for correcting error of state machine
US6205192B1 (en) Clock input control circuit
KR20040024788A (en) Skew free dual rail bus driver
KR100629538B1 (en) Circuit for determining the time difference between two edges of a first and of a second digital signal
US5321641A (en) Pseudo random pattern generation circuit
KR100400735B1 (en) Method and Circuit for detecting glitch signal
US4326251A (en) Monitoring system for a digital data processor
KR100309090B1 (en) Internal counter of column address
US6260153B1 (en) Automatic compensation circuit for no margin input data
KR100657162B1 (en) Programmable pulse width modulation circuit
KR200156144Y1 (en) A circuit of absolute value
KR970055550A (en) Three-division circuit with calibration
KR930005653B1 (en) Clock variable circuit
KR0143245B1 (en) 2's complement type serial data operating device using latch
JPH09186680A (en) Data latch circuit
JP2735760B2 (en) Pattern detection circuit

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: 20050824

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee