KR970002404B1 - Error detection of digital systems - Google Patents

Error detection of digital systems Download PDF

Info

Publication number
KR970002404B1
KR970002404B1 KR1019930031861A KR930031861A KR970002404B1 KR 970002404 B1 KR970002404 B1 KR 970002404B1 KR 1019930031861 A KR1019930031861 A KR 1019930031861A KR 930031861 A KR930031861 A KR 930031861A KR 970002404 B1 KR970002404 B1 KR 970002404B1
Authority
KR
South Korea
Prior art keywords
input
output
abnormal state
data
processor
Prior art date
Application number
KR1019930031861A
Other languages
Korean (ko)
Other versions
KR950020114A (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 KR1019930031861A priority Critical patent/KR970002404B1/en
Publication of KR950020114A publication Critical patent/KR950020114A/en
Application granted granted Critical
Publication of KR970002404B1 publication Critical patent/KR970002404B1/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

An apparatus for detecting malfunction of a digital information processing system is provided to protect damage of the system when an error is occurred in its input/output device. The apparatus comprises a processor for performing multiple programs with controlling input/output ports; a task time counter for producing a signal representing abnormal state of the processor if a task performing count time value excesses a preset level; a first storage means for storing the output data designated by a user; a second storage means for storing the input/output mode data designated by a user; a port driving means for outputting the data stored in the first storage means according to the logical value of the input/output mode data stored in the second storage means and that of the abnormal state detect signal; and an input restriction means for cutting off the input data being sent from the input/output port to the processor in response to input of the abnormal state detect signal.

Description

디지탈시스템의 이상상태 검출장치Abnormal state detection device of digital system

제1도는 본 발명의 일실시예에 따른 디지탈시스템의 이상상태 검출장치의 회로도.1 is a circuit diagram of an abnormal state detection apparatus of a digital system according to an embodiment of the present invention.

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

10 : 타이머 12, 14 : 제1 및 제2플립플롭10: timer 12, 14: first and second flip flop

16 : NOR게이트 18 : 3상태 인버터16: NOR gate 18: 3 state inverter

20 : OR게이트 22∼26 : 제1∼3레지스터20: OR gates 22 to 26: first to third registers

28 : 멀티플렉서 30 : 입출력포트28: multiplexer 30: input / output port

32 : 완충회로 34 : NMOS트랜지스터32: buffer circuit 34: NMOS transistor

36 : PMOS트랜지스터36: PMOS transistor

본 발명은 디지탈 정보처리시스템에 포함된 프로세서에 이상상태가 발생될 경우, 입출력장치를 제어하여 시스템의 손상을 방지할 수 있는 디지타시스템의 이상상태 검출장치에 관한 것이다.The present invention relates to an abnormal state detection apparatus of a digital system that can prevent damage to a system by controlling an input / output device when an abnormal state occurs in a processor included in the digital information processing system.

통상의 디지탈시스템은 디지탈 정보를 입력하기 위한 적어도 하나 이상의 입력수단과, 처리된 정보를 출력하기 위한 적어도 하나 이상의 출력장치와, 그리고 입력된 디지탈정보를 처리하기 위한 프로세서를 구비한다. 상기 프로세서는 사용자가 입력한 디지탈정보를 연산처리하고 시스템을 제어한다. 그리고 상기 프로세서는 시스템에 이상상태가 발생될 경우 상기 입출력장치의 제어하여 시스템의 이상상태를 해소한다.A typical digital system includes at least one input means for inputting digital information, at least one output device for outputting processed information, and a processor for processing the input digital information. The processor calculates and processes the digital information input by the user and controls the system. When the abnormal state occurs in the system, the processor controls the input / output device to solve the abnormal state of the system.

그리고 상기 이상상태 검출장치는 상기 프로세서로부터의 이벤트신호의 기간을 카운트하여 프로세서의 프로그램의 폭주를 검출한다. 상기 이상상태 검출장치는 상기 프로세서가 디지탈정보를 처리하고 있음을 나타내는 상기 이벤트신호의 폭이 일정기간을 초과할 경우 상기 특정논리의 인터럽트신호를 발생하고 발생된 상기 인터럽트신호를 공급한다. 그러면, 상기 프로세서는 현재 수행중인 정상의 프로그램 대신에 인터럽트 프로그램에 따라 시스템의 이상상태를 처리한다. 상기 프로세서의 프로그램의 폭주는 입출력장치가 전원장치로부터의 잡음신호 또는 외부로부터의 잡음신호에 의하여 정상적으로 구동되지 않음으로 인하여 발생된다.The abnormal state detection device counts the period of the event signal from the processor to detect the congestion of the program of the processor. The abnormal state detection device generates the interrupt signal of the specific logic and supplies the generated interrupt signal when the width of the event signal indicating that the processor is processing digital information exceeds a predetermined period. Then, the processor processes the abnormal state of the system according to the interrupt program instead of the normal program currently being executed. The congestion of the program of the processor is generated because the input / output device is not normally driven by the noise signal from the power supply device or the noise signal from the outside.

그러나, 상기 프로세서는, 시스템의 이상상태가 이상상태의 처리를 위하여 구동되어야 할 입출력장치의 이상상태에 기인한 경우, 시스템의 이상상태를 처리할 수 없게 된다. 그리고 상기 프로세서는, 시스템의 이상상태를 처리하지 못함으로 인하여, 디지탈시스템을 타게 하거나 손상되도록 한다.However, the processor cannot handle the abnormal state of the system when the abnormal state of the system is due to the abnormal state of the input / output device to be driven for the processing of the abnormal state. In addition, the processor causes the digital system to be burned or damaged due to the failure of the system.

결과적으로, 종래의 디지탈시스템의 이상상태 검출장치는 프로세서의 프로그램의 폭주를 검출하고 검출된 이상상태를 프로세서에 통보할 수 있으나, 입출력장치를 구동될 수 있도록 제어할 수 없기 때문에 시스템을 손상시키는 문제점을 안고 있었다.As a result, the conventional abnormal state detection apparatus of the digital system can detect the congestion of the program of the processor and notify the processor of the detected abnormal state, but the problem of damaging the system because it cannot control the input / output device to be driven. Was hugging.

따라서, 본 발명의 목적은, 디지탈시스템에 포함된 프로세서에 이상상태가 발생될 경우, 입출력장치를 제어하여 시스템의 손상을 방지할 수 있는 디지탈시스템의 이상상태 검출장치를 제공함에 있다.Accordingly, an object of the present invention is to provide an abnormal state detection apparatus of a digital system that can prevent damage to a system by controlling an input / output device when an abnormal state occurs in a processor included in the digital system.

상기 목적을 달성하기 위하여, 본 발명의 디지탈시스템 이상상태 검출장치는 프로세서가 프로그램에 따라 작업을 수행하는 시간을 카운트하고 카운트된 값이 한계시간을 초과할 경우 이상상태 검출신호를 발생하는 작업시간 카운트수단과, 사용자가 지정한 출력데이타를 저장하기 위한 제1저장수단과, 사용자가 지정한 입출력모드데이타를 저장하기 위한 제2저장수단과, 상기 이상상태검출신호 및 상기 제2저장수단에 저장된 상기 입출력모드데이타의 논리값에 따라 상기 제1저장수단에 저장된 데이타를 입출력장치쪽으로 출력시키기 위한 입출력구동수단과, 상기 이상상태 검출신호에 의하여 상기 입출력장치로부터 상기 프로세서쪽으로 전송될 입력데이타를 차단하기 위한 입력제한수단을 구비한 것을 특징으로 한다.In order to achieve the above object, the digital system fault condition detecting apparatus of the present invention counts the time for which the processor performs a task according to a program and counts the work time for generating the fault condition detection signal when the counted value exceeds the limit time. Means, first storage means for storing user-specified output data, second storage means for storing user-specified input / output mode data, the abnormal state detection signal and the input / output mode stored in the second storage means. Input / output driving means for outputting the data stored in the first storage means to the input / output device according to the logic value of the data, and an input limit for cutting off the input data to be transmitted from the input / output device to the processor by the abnormal state detection signal; It is characterized by having a means.

이하, 본 발명의 실시예에 따른 디지탈시스템의 이상상태 검출장치를 제1도를 참조하여 상세히 설명하기로 한다.Hereinafter, an apparatus for detecting an abnormal state of a digital system according to an embodiment of the present invention will be described in detail with reference to FIG.

제1도를 참조하면, 제1제어라인(11)으로부터 클릭펄스열 및 제2제어라인(13)으로부터 제1리세트신호를 입력하는 타이머(10)와, 제2제어라인(13) 및 제3제어라인(15)으로부터의 제1리세트신호 및 제2리세트신호를 입력하는 OR게이트(20)를 구비한 본 발명의 일실시예에 따른 디지탈시스템의 이상상태 검출장치가 설명되어 있다. 상기 제1리세트신호는 전원이 온될때에 발생되는 마스터리세트신호와 프로세서(도시하지 않음)가 새로운 작업을 시작할 때마다 발생되는 이벤트리세트신호가 OR 연산된 결과로서 발생된다. 그리고 상기 제2리세트신호는 이상상태를 나타내는 인터럽트신호가 발생될 경우 상기 프로세서가 발생하는 리세트신호이다. 상기 타이머(10)는 자신의 프로세트단자(PR)에 인가되는 상기 제2제어라인(13)으로부터의 하이논리의 제1리세트신호에 의하여 자신의 출력단자(Q)에 하이논리의 논리신호를 발생한다. 그리고 상기 타이머(10)는, 상기 제1제어라인(11)으로부터 자신의 클럭단자(CK)에 입력되는 클럭펄스의 수가 소정수를 초과할 경우, 로우논리의 오버플로우신호를 발생한다. 또한, 상기 타이머(10)는 상기 로우논리의 오버플로우신호를 제1플립플롭(12) 및 제2플립플롭(14)의 클럭단자(CK)들에 공급한다. 상기 OR게이트(20)는 상기 제2 및 제3제어라인(13,15)으로부터의 상기 제1 및 제2리세트신호를 OR연산하고 상기 OR연산된 리세트신호를 상기 제1 및 제2플립플롭(12,14)의 리세트단자(R)에 공급한다. 상기 제1플립플롭(12) 및 제2플립플롭(14)은 상기 OR게이트(20)로부터의 하이논리를 갖는 상기 OR연산된 리세트신호에 의하여 초기화된다. 그리고 상기 제1플립플롭(12)은, 상기 타이머(10)로부터의 오버플로우신호의 하강에지에서, 제1전원(Vcc)으로부터 자신의 입력단자(D)에 공급되는 하이논리의 논리신호를 자신의 출력단자(Q)를 경유하여 상기 제2플립플롭(14)의 입력단자(D)쪽으로 전송한다. 또한, 상기 제2플립플롭(14)은, 상기 타이머(10)로부터의 상기 오버플로우신호의 상승에지에서, 상기 제1플립플롭(12)의 출력단자(Q)로부터의 하이논리의 논리신호를 자신의 출력단자(Q)를 경유하여 라인(19)쪽으로 전송한다. 상기 라인(19)은 도시하지 않은 프로세서의 인터럽트단자에 접속되고 상기 제2플립플롭(14)의 출력단자(Q)로부터의 하이논리의 논리신호를 상기 프로세서쪽으로 전송한다.Referring to FIG. 1, a timer 10 for inputting a click pulse string from a first control line 11 and a first reset signal from a second control line 13, a second control line 13, and a third control signal may be used. An abnormal state detection apparatus of a digital system according to an embodiment of the present invention having an OR gate 20 for inputting a first reset signal and a second reset signal from the control line 15 is described. The first reset signal is generated as a result of OR operation of a master reset signal generated when the power is turned on and an event reset signal generated each time a processor (not shown) starts a new task. The second reset signal is a reset signal generated by the processor when an interrupt signal indicating an abnormal state is generated. The timer 10 has a high logic logic signal at its output terminal Q by a high logic first reset signal from the second control line 13 applied to its proset terminal PR. Occurs. The timer 10 generates a low logic overflow signal when the number of clock pulses input from the first control line 11 to its clock terminal CK exceeds a predetermined number. In addition, the timer 10 supplies the low logic overflow signal to the clock terminals CK of the first flip-flop 12 and the second flip-flop 14. The OR gate 20 ORs the first and second reset signals from the second and third control lines 13 and 15 and ORs the ORed reset signals to the first and second flips. The reset terminal R of the flops 12 and 14 is supplied. The first flip-flop 12 and the second flip-flop 14 are initialized by the OR-operated reset signal having high logic from the OR gate 20. Then, the first flip-flop 12 is a high logic logic signal supplied from the first power supply (Vcc) to its input terminal (D) at the falling edge of the overflow signal from the timer (10). The output terminal Q is transmitted to the input terminal D of the second flip-flop 14. Further, the second flip-flop 14 receives a high logic logic signal from the output terminal Q of the first flip-flop 12 at the rising edge of the overflow signal from the timer 10. It transmits to the line 19 via its output terminal Q. The line 19 is connected to an interrupt terminal of a processor (not shown) and transmits a high logic logic signal from the output terminal Q of the second flip-flop 14 to the processor.

그리고 상기 디지탈시스템의 이상상태 검출장치는 데이타버스(17)에 접속된 제1∼제3레지스터(22,24,26)와, 상기 제2플립플롭(14)의 출력단자(Q)로부터 상기 라인(19)을 경유하여 논리신호를 입력하는 NOR게이트(16)를 추가로 구비한다. 상기 제1∼제3레지스터(22∼26)는 상기 데이타버스(17)로부터의 판독인에이블신호, 기록인에이블신호 및 데이타를 입력하기 위한 판독제어단자(RE), 기록제어단자(WE),및 입력단자(D)를 각각 구비한다. 상기 제1 레지스터(22)는 상기 기록제어단자(WE)에 소정의 논리값(예를 들면, 하이 또는 로우논리)의 기록인에이블신호에 의하여 상기 데이타버스(17)로부터 자신의 입력포트(D)에 공급되는 2비트의 출력레벨모드데이타를 자체내에 저장한다. 그리고 상기 제1레지스터(22)는 자체내에 저장된 상기 2비트의 출력레벨모드데이타를 멀티플렉서(28)의 제1입력포트(DP1)에 공급한다. 또한, 상기 제1 레지스터(22)는, 상기 데이타버스(17)로부터 소정의 논리값의 판독인에이블신호가 인가될 때, 자체내에 저장된 상기 2비트의 출력레벨모드데이타를 상기 데이타버스(17)쪽으로 출력한다. 상기 제2레지스터(24)는, 상기 데이타버스(17)로부터 소정의 논리값의 기록인에이블신호가 인가될 때, 상기 데이타버스(17)로부터 자신의 입력단자(D)에 공급되는 1비트의 입출력모드 선택데이타를 자체내에 저장하고, 상기 저장된 입출력모드 선택데이타를 자신의 비반전출력단자(Q) 를 경유하여 상기 멀티플렉서(28)의 제1선택단자(S1)에 공급한다. 그리고 상기 제2레지스터(24)는, 소정의 논리값의 판독인에이블신호가 인가될 때, 자체내에 저장된 상기 입출력모드 선택데이타를 상기 데이타버스(17)쪽으로 출력한다. 상기 제3레지스터(26)는 자신의 기록제어단자(WE)에 공급되는 소정의 논리값의 기록인에이블신호에 의하여 상기 데이타버스(17)로부터 자신의 입력포트(D)에 공급되는 2비트의 출력레벨모드데이타를 자체내에 저장하고, 자체내에 저장된 상기 2비트의 출력레벨모드데이타를 멀티플렉서(28)의 제2 입력포트(DP2)에 공급한다. 그리고 상기 제3레지스터(26)는, 상기 데이타버스(17)로부터 소정의 논리값의 판독인에이블신호가 인가될 때, 자체내에 저장된 상기 2비트의 출력레벨모드데이타를 상기 데이타버스(17)쪽으로 출력한다. 상기 제1레지스터(22)에 저장된 2비트의 출력레벨모드데이타는, 프로그램의 폭주, 입출력포트쪽으로 출력하고자 하는 데이타이며, 그 논리값은 사용자에 의하여 지정된다. 한편, 상기 제3레지스터(16)에 저장된 상기 출력레벨모드데이타는, 정상적으로 동작하는 프로세서에 의하여 처리된 출력데이타이다.The abnormal state detection device of the digital system includes the first to third registers 22, 24, and 26 connected to the data bus 17, and the line from the output terminal Q of the second flip-flop 14. A NOR gate 16 for inputting a logic signal via (19) is further provided. The first to third registers 22 to 26 are read control terminals RE for inputting a read enable signal, a write enable signal and data from the data bus 17, a write control terminal WE, And an input terminal D, respectively. The first register 22 has its input port D from the data bus 17 by a write enable signal of a predetermined logic value (for example, high or low logic) to the write control terminal WE. 2bit output level mode data is stored in itself. The first register 22 supplies the 2-bit output level mode data stored therein to the first input port DP1 of the multiplexer 28. Further, when the read enable signal of a predetermined logic value is applied from the data bus 17, the first register 22 stores the 2-bit output level mode data stored in the data bus 17. Output to When the write enable signal of a predetermined logic value is applied from the data bus 17, the second register 24 has a one-bit supply from the data bus 17 to its input terminal D. The input / output mode selection data is stored in itself, and the stored input / output mode selection data is supplied to the first selection terminal S1 of the multiplexer 28 via its non-inverting output terminal Q. When the read enable signal of a predetermined logic value is applied, the second register 24 outputs the input / output mode selection data stored therein to the data bus 17. The third register 26 has a two-bit supply to its input port D from the data bus 17 by a write enable signal of a predetermined logic value supplied to its write control terminal WE. The output level mode data is stored in itself, and the two-bit output level mode data stored therein is supplied to the second input port DP2 of the multiplexer 28. The third register 26, when a read enable signal of a predetermined logic value is applied from the data bus 17, transfers the 2-bit output level mode data stored therein to the data bus 17. Output The 2-bit output level mode data stored in the first register 22 is data to be output to the congestion and input / output ports of the program, and its logical value is specified by the user. The output level mode data stored in the third register 16 is output data processed by a processor that operates normally.

상기 멀티플렉서(28)는 상기 제2레지스터(24)의 비반전출력단자(Q)로부터의 입출력모드 선택데이타 및 상기 제2플립플롭(14)의 출력단자(Q)로부터의 논리신호의 논리값에 따라 자신의 양입력포트(DP1,DP2)에 공급되는 출력레벨모드데이타를 선택적으로 출력하거나 차단한다. 상기 입출력모드 선택데이타가 0의 논리값을 갖을 경우, 상기 멀티플렉서(28)는 상기 양입력포트(DP1,DP2)에 공급되는 출력레벨모드데이타와 무관하게 자신의 양출력단자(Q1,Q2)에 접속된 NMOS 및 PMOS트랜지스터(34,36)의 게이트에 하이임피던스의 신호를 출력한다. 이와는 달리, 상기 입출력모드 선택데이타가 1의 논리값을 갖을 경우에 상기 멀티플렉서(28)는 상기 라인(19)으로부터 자신의 제2선택단자(S2)에 인가되는 논리신호의 논리상태에 따라 상기 제1 또는 제3레지스터(22 또는 26)로부터의 상기 2비트의 출력레벨모드데이타를 상기 NMOS 및 PMOS트랜지스터(34,36)의 게이트에 인가한다. 이를 상세히 설명하면, 상기 라인(19)으로부터의 논리신호가 1의 논리값을 갖을 경우, 상기 멀티플렉서(28)는 제1레지스터(22)로부터의 상기 2비트의 출력레벨모드데이타를 상기 NMOS 및 PMOS트랜지스터(34,36)의 게이트쪽으로 전송한다. 반대로, 상기 라인(19)으로부터의 논리신호가 0의 논리값을 갖을 경우에 상기 멀티플렉서(28)는 상기 제3레지스터(26)으로부터의 상기 2비트의 출력레벨모드데이타를 상기 NMOS 및 PMOS트랜지스터(34,36)의 게이트쪽으로 전송한다. 상기 NMOS 및 PMOS 트랜지스터(34,36)는, 상기 멀티플렉서(28)의 양출력단자들(Q1,Q2)로부터의 하이임피던스의 신호가 입력될 경우, 입출력포트(30)가 하이임피던스상태를 유지하도록 하여 상기 입출력포트(30)가 입력포트의 기능을 하도록 한다. 반대로, 상기 멀티플렉서(28)의 양출력단자들(Q1,Q2)로부터의 10 또는 1의 출력레벨모드데이타가 입력될 경우에 상기 NMOS 및 PMOS트랜지스터(34,36)는 상기 입출력포트(30)로 하여금 하이 또는 로우의 출력데이타를 전송하는 출력포트의 기능을 하도록 한다. 제1전원(Vcc) 및 제2전원(Vss)의 사이에 직렬접속된 상기 NMOS 및 PMOS트랜지스터(34,36)를 포함하는 완충회로(32)는 상기 입출력포트(30) 및 상기 멀플렉서(28)를 완충하는 기능을 한다.The multiplexer 28 supplies input / output mode selection data from the non-inverting output terminal Q of the second register 24 and a logic value of a logic signal from the output terminal Q of the second flip-flop 14. Therefore, the output level mode data supplied to both input ports DP1 and DP2 is selectively outputted or cut off. When the input / output mode selection data has a logic value of 0, the multiplexer 28 is connected to its output terminals Q1 and Q2 independently of the output level mode data supplied to the input ports DP1 and DP2. A high impedance signal is output to the gates of the connected NMOS and PMOS transistors 34 and 36. In contrast, when the input / output mode selection data has a logic value of 1, the multiplexer 28 selects the first signal according to the logic state of the logic signal applied from the line 19 to its second selection terminal S2. The 2-bit output level mode data from the first or third registers 22 or 26 is applied to the gates of the NMOS and PMOS transistors 34 and 36. In detail, when the logic signal from the line 19 has a logic value of 1, the multiplexer 28 outputs the 2-bit output level mode data from the first register 22 to the NMOS and PMOS. Transfers to the gates of transistors 34 and 36. On the contrary, when the logic signal from the line 19 has a logic value of 0, the multiplexer 28 outputs the 2-bit output level mode data from the third register 26 to the NMOS and PMOS transistors. 34, 36 to the gate side. The NMOS and PMOS transistors 34 and 36 are configured such that the input / output port 30 maintains a high impedance state when a high impedance signal from both output terminals Q1 and Q2 of the multiplexer 28 is input. Thus, the input / output port 30 functions as an input port. On the contrary, when 10 or 1 output level mode data from both output terminals Q1 and Q2 of the multiplexer 28 is input, the NMOS and PMOS transistors 34 and 36 enter the input / output port 30. Allows you to function as an output port for sending high or low output data. The buffer circuit 32 including the NMOS and PMOS transistors 34 and 36 connected in series between a first power source Vcc and a second power source Vss includes the input / output port 30 and the multiplexer 28. ) Function as a buffer.

또한, 상기 디지탈시스템의 이상상태 검출장치는 상기 입출력포트30) 및 상기 라인(19)에 양입력단자를 접속한 NOR게이트(16)와, 상기 제2레지스터(24)의 반전출력단자(/Q)로부터의 반전된 입출력모드 선택데이타를 자신의 제어단자쪽으로 입력하는 삼상태인버터(18)를 구비한다. 상기 NOR게이트(16)는 상기 입출력포트(30)로부터의 입력데이타를 반전시켜 상기 삼상태인버터(18)쪽으로 전송한다. 그리고 상기 라인(19)으로부터 하이논리의 논리신호가 입력된 경우, 상기 NOR게이트(16)는 상기 입출력포트(30)로부터의 입력데이타와 무관하게 로우논리의 논리신호를 상기 삼상태인버터(18)에 공급한다. 상기 삼상태인버터(18)는 하이논리를 갖는 상기 반전된 입출력모드 선택데이타에 의해서 구동된다. 그리고 상기 삼상태인버터(18)는 상기 NOR게이트(16)로부터의 논리신호를 반전시켜 상기 데이타버스(17)쪽으로 전송한다.In addition, the abnormal state detection device of the digital system includes a NOR gate 16 connecting both input terminals to the input / output port 30 and the line 19, and an inverted output terminal (/ Q) of the second register 24. And a three-state inverter 18 for inputting the inverted input / output mode selection data from the side to the control terminal thereof. The NOR gate 16 inverts the input data from the input / output port 30 and transmits the inverted data to the tri-state inverter 18. In addition, when a high logic logic signal is input from the line 19, the NOR gate 16 outputs a low logic logic signal regardless of the input data from the input / output port 30 to the tri-state inverter 18. To feed. The three-state inverter 18 is driven by the inverted input / output mode selection data having high logic. The three-state inverter 18 inverts the logic signal from the NOR gate 16 and transmits the inverted logic signal to the data bus 17.

상술한 바와 같이, 본 발명의 디지탈시스템의 이상상태 검출장치는 시스템의 이상상태가 검출될 경우에 입출력포트를 사용자가 지정한 입력 및 출력모드로 동작시킬 수 있는 이점을 제공한다. 상기 이점으로 인하여, 본 발명의 디지탈시스템의 이상상태 검출장치는 시스템의 이상상태가 검출될 경우에 사용자가 지정한 출력데이타를 입출력포트로 경유하여 출력시킬 수 있는 이점을 제공한다. 또한, 본 발명은 입출력포트를 제어함으로서 시스템의 손상을 방지할 수 있는 이점을 제공한다.As described above, the abnormal state detection apparatus of the digital system of the present invention provides an advantage that the input / output port can be operated in a user-specified input and output mode when an abnormal state of the system is detected. Due to the above advantages, the abnormal state detection apparatus of the digital system of the present invention provides an advantage of outputting a user-specified output data via an input / output port when an abnormal state of the system is detected. In addition, the present invention provides an advantage of preventing damage to the system by controlling the input and output port.

Claims (5)

데이타를 입력 및 출력하기 위한 입출력포트와, 데이타의 처리 및 입출력포트의 제어를 위한 다수의 프로그램을 수행하는 프로세서를 구비한 디지탈시스템에 있어서, 상기 프로세서가 프로그램에 따라 작업을 수행하는 시간을 카운트하고 카운트된 값이 한계시간을 초과할 경우 이상상태 검출신호를 발생하는 작업시간 카운트수단과, 사용자가 지정한 출력데이타를 저장하기 위한 제1저장수단과, 사용자가 지정한 입출력모드데이타를 저장하기 위한 제2저장수단과, 상기 이상상태 검출신호 및 상기 제2저장수단에 저장된 상기 입출력모드데이타의 논리값에 따라 상기 제1저장수단에 저장된 데이타를 상기 입출력포트쪽으로 출력시키기 위한 포트구동수단과, 상기 이상상태 검출신호에 의하여 상기 입출력포트로부터 상기 프로세서쪽으로 전송될 입력데이타를 차단하기 위한 입력제한수단을 구비한 것을 특징으로 하는 이상상태 검출장치.A digital system having an input / output port for inputting and outputting data, and a processor for executing a plurality of programs for processing data and controlling the input / output port, the digital system comprising: Work time counting means for generating an abnormal state detection signal when the counted value exceeds the limit time, first storage means for storing the output data specified by the user, and second input for storing the input / output mode data specified by the user Port driving means for outputting data stored in the first storage means to the input / output port according to a storage means, a logic value of the abnormal state detection signal and the input / output mode data stored in the second storage means, and the abnormal state. Input to be transmitted from the input / output port to the processor by the detection signal An abnormal state detection device comprising an input limiting means for blocking data. 제1항에 있어서, 상기 포트구동수단이, 상기 이상상태 검출신호 및 상기 입출력모드데이타의 논리값에 따라 상기 제1저장수단으로부터의 상기 출력데이타 및 상기 프로세서로부터의 출력데이타를 상기 입출력포트쪽으로 선택적으로 출력하고 그리고 상기 입출력포트쪽으로의 출력데이타의 전송을 중지하는 다중화수단을 구비한 것을 특징으로 하는 이상상태 검출장치.2. The apparatus of claim 1, wherein the port driving means selects the output data from the first storage means and the output data from the processor toward the input / output port according to the abnormal state detection signal and the logic value of the input / output mode data. And multiplexing means for outputting the data to and outputting the output data to the input / output port. 제2항에 이어서, 상기 제1저장수단에 저장된 출력데이타 및 상기 프로세서로부터의 출력데이타가 삼상태의 논리를 갖고, 상기 포트구동수단이, 상기 다중화수단의 출력데 의하여 상기 입출력포트가 상기 출력 데이타의 논리값과 동일한 논리상태에 있도록 하는 완충수단을 추가로 구비한 것을 특징으로 하는 이상상태 검출장치.The output data stored in the first storage means and the output data from the processor have three-state logic, wherein the port driving means outputs the multiplexing means so that the input / output port outputs the output data. An abnormal state detection device, characterized in that it further comprises a buffer means to be in the same logical state as the logic value of the. 제1항에 있어서, 상기 입력제한수단이, 상기 입출력포트로부터의 입력데이타와 상기 작업시간 카운트 수단으로부터의 이상상태 검출신호를 논리연산하고 상기 논리연산된 신호를 상기 프로세서쪽으로 전송하는 논리연산소자를 구비한 것을 특징으로 하는 이상상태 검출장치.The logic computing device of claim 1, wherein the input limiting means performs a logic operation on the input data from the input / output port and the abnormal state detection signal from the working time counting means, and transmits the logical operation signal to the processor. Abnormal state detection device, characterized in that provided. 제4항에 있어서, 상기 입력제한수단이, 상기 제2저장수단에 저장된 입출력모드데이타의 논리값에 의하여 상기 논리연산소자로부터 상기 프로세서쪽으로 공급될 상기 논리연산된 신호를 절환하기 위한 제어용 스위치 수단을 추가로 구비한 것을 특징으로 하는 이상상태 검출장치.The control switch means according to claim 4, wherein said input limiting means is adapted to switch said logically operated signal to be supplied from said logic operation element to said processor by a logic value of input / output mode data stored in said second storage means. An abnormal state detection device, characterized in that further provided.
KR1019930031861A 1993-12-31 1993-12-31 Error detection of digital systems KR970002404B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930031861A KR970002404B1 (en) 1993-12-31 1993-12-31 Error detection of digital systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930031861A KR970002404B1 (en) 1993-12-31 1993-12-31 Error detection of digital systems

Publications (2)

Publication Number Publication Date
KR950020114A KR950020114A (en) 1995-07-24
KR970002404B1 true KR970002404B1 (en) 1997-03-05

Family

ID=19374787

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930031861A KR970002404B1 (en) 1993-12-31 1993-12-31 Error detection of digital systems

Country Status (1)

Country Link
KR (1) KR970002404B1 (en)

Also Published As

Publication number Publication date
KR950020114A (en) 1995-07-24

Similar Documents

Publication Publication Date Title
US4752930A (en) Watch dog timer
US5864656A (en) System for automatic fault detection and recovery in a computer system
US5084636A (en) Master-slave programmable logic devices
EP0162932A2 (en) Data processing system with output switching circuit
US6505262B1 (en) Glitch protection and detection for strobed data
US4685053A (en) Programmable controller with fault detection
JPWO2004097608A1 (en) Reset circuit and digital communication device
KR970002404B1 (en) Error detection of digital systems
US5324992A (en) Self-timing integrated circuits having low clock signal during inactive periods
US4656634A (en) Skew insensitive fault detect and signal routing device
US5349669A (en) Data write control means
JPS63159923A (en) Signal input/output device for digital controller
KR100316520B1 (en) Microcontroller with Malfunction Protection
KR0161383B1 (en) Index period detecting apparatus in a floppy disc driver controller
US20220414269A1 (en) Microcontroller, protection circuit, and protection method capable of avoiding interference from sudden events
JP2899610B2 (en) Malfunction protection circuit of CPU clock selection supply circuit
JPH063423A (en) Semiconductor circuit
EP0406442B1 (en) Data write control means
KR970003644Y1 (en) Apparatus protection off circuit
SU403049A1 (en) COVER VOLTAGE CONVERTER
KR940002463Y1 (en) Pulse detect circuit on pulsewith
RU1783517C (en) Controlled summer
KR950008460B1 (en) Detector out of input condition
JP2674875B2 (en) Microcomputer
KR920003904Y1 (en) Circuit removing insufficient operation

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080218

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee