KR920004419B1 - Interrupt control processing circuit - Google Patents
Interrupt control processing circuit Download PDFInfo
- Publication number
- KR920004419B1 KR920004419B1 KR1019900009172A KR900009172A KR920004419B1 KR 920004419 B1 KR920004419 B1 KR 920004419B1 KR 1019900009172 A KR1019900009172 A KR 1019900009172A KR 900009172 A KR900009172 A KR 900009172A KR 920004419 B1 KR920004419 B1 KR 920004419B1
- Authority
- KR
- South Korea
- Prior art keywords
- interrupt
- signal
- generator
- clock
- request
- Prior art date
Links
Images
Landscapes
- Bus Control (AREA)
Abstract
Description
제 1 도는 종래의 시스템 블럭도.1 is a conventional system block diagram.
제 2 도는 본 발명에 따른 회로도.2 is a circuit diagram according to the present invention.
제 3 도는 제 2 도의 각부 동작 파형도.3 is a waveform diagram of operating parts of FIG. 2;
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
100 : 마이크로 프로세서 200 : 인터럽트 발생부100: microprocessor 200: interrupt generator
300 : 클럭 발생부 400 : 인터럽트 리퀘스트 감지부300: clock generator 400: interrupt request detector
500 : 인터럽트 생성부500: interrupt generator
본 발명은 마이크로 프로세서의 인터페이스 장치에 있어서 인터럽트 제어처리회로에 관한 것으로서 특히 여러개의 인터럽트가 상호 독립적으로 동작할때 하나의 마이크로 프로세서에서 서비스시 발생되는 에러를 방지하기 위한 인터럽트 제어처리회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt control processing circuit in an interface device of a microprocessor, and more particularly, to an interrupt control processing circuit for preventing an error occurring in service in one microprocessor when several interrupts operate independently from each other.
상호 독립적으로 발생하여 하나의 마이크로 프로세서에 의하여 서비스되는 다수개의 인터럽트들을 만족시키기 위해서는 제 1 도에서 보는 바와같이 인터럽트 리퀘스트의 갯수만큼 마이크로 프로세서(10)가 인터럽트 입력을 가지는 것이 이상적이다. 각 인터럽트들이 상호 독립적으로 임의의 시간에 발생되어도 이들 인터럽트를 상기 마이크로 프로세서(10)에 의하여 하드웨어적으로 제공되어진 우선 순위를 가지고 서비스된다. 예를들어 상기 마이크로 프로세서(10)에서 제공되는 서비스 우선순위가 INT1〉INT2〉INT3의 순으로 되어있으면 INT2,INT3가 임으로 발생하여 서비스 중이라도 인터럽트 소스발생부(20)에서 INT1의 리퀘스트(Request)가 있으면 상기 마이크로 프로세서(10)은 INT2나 INT3를 중단하고 INT1에 대한 서비스를 우선적으로 처리한다. 상기 INT1의 서비스가 종료되면 중단되었던 INT2 또는 INT3의 서비스를 계속 수행하여 종료하게 된다.In order to satisfy a plurality of interrupts generated independently from each other and serviced by one microprocessor, as shown in FIG. 1, it is ideal that the
상기 제 1 도와 같은 종래의 회로는 한 인터럽트가 서비스 받고 있는 도중에 다른 인터럽트가 들어올 경우 현재 인터럽트 서비스를 마친후 다음 리퀘스트를 서비스 하고저 할때나 여러개의 인터럽트들이 한개의 인터럽트 리퀘스트 라인으로 서비스를 원하는 경우에 서비스를 할 수 없는 문제점이 있었다.Conventional circuits such as the first diagram may be used when one interrupt is being served while another interrupt comes in. When the current interrupt service is finished, the next request may be serviced or when several interrupts are serviced by one interrupt request line. There was an issue that could not service.
따라서 본 발명의 목적은 여러개의 인터럽트가 상호 독립적으로 발생한 리퀘스트를 처리함에 있어서 우선 순위에 의하여 서비스가 도중에 중단됨을 방지할 수 있는 인터럽트 제어처리회로를 제공함에 있다.Accordingly, an object of the present invention is to provide an interrupt control processing circuit which can prevent the service from being interrupted by priority in processing a request in which several interrupts are independently generated.
본 발명의 또다른 목적은 여러개의 인터럽트가 상호 독립적으로 발생된 리퀘스트들을 한 인터럽트 라인을 통해 처리하여 리퀘스트 분실을 방지할 수 있는 제어 처리회로를 제공함에 있다.It is still another object of the present invention to provide a control processing circuit capable of preventing a request from being lost by processing a request in which several interrupts are generated independently through one interrupt line.
이하 본 발명을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제 2 도는 본 발명에 따른 회로도로서, 시스템을 제어 처리하는 마이크로 프로세서(100)와, 인터럽트 리퀘스트 신호를 발생하는 인터럽트 소스 발생부(200)와, 플립플롭(FF1-FF3)으로 구성되어 오퍼레이션(operation) 클럭을 입력하여 우선순위 클럭 펄스를 각각 발생하여 출력하는 클럭 발생부(300)와, 플립플롭(FF21-FF23) 및 논리게이트(G11-G13)로 구성되어 상기 인터럽트 소스 발생부(200)에서 발생된 인터럽트 리퀘스트 신호를 입력하여 상기 마이크로 프로세서(100)의 제어신호에 의해 한개의 인터럽트 리퀘스트 신호를 선택 출력하는 인터럽트 리퀘스트 감지부(400)와, 플립플롭(FF31-FF33) 및 논리게이트(G21-G23), (G31)로 구성되어 상기 인터럽트 리퀘스트 감지부(400)의 선택 출력된 인터럽트 리퀘스트 신호를 입력하여 상기 클럭발생부(300)에서 각각 발생된 소정의 우선순위 클럭 신호에 동기를 맞추어 상기 마이크로 프로세서(100)의 제어신호에 의해 인터럽트신호를 발생하는 인터럽트 생성부(500)로 구성된다.2 is a circuit diagram according to the present invention, which is composed of a
상기 구성에서는 인터럽트 리퀘스트가 3개일 경우를 가정하여 도시하였지만 상기 구성중 클럭발생부(300)를 N개의 플립플롭(FF11-FF1N)으로 확장하여 N개의 우선순위 클럭을 발생시킬 수 있고 인터럽트 리퀘스트 감지부(400)도 N개의 플립플롭(FF21-FF2N) 및 논리게이트(G11-G1N)로 확장하고 인터럽트 생성부(500)는 N개의 플립플롭(FF31-FF3N) 및 논리게이트(G21-G2N)로 확장하여 N개의 인터럽트 리퀘스트를 처리할 수 있도록 구성할 수 있다.In the above configuration, it is assumed that there are three interrupt requests. However, the clock generation unit 300 of the above configuration can be expanded to N flip-flops (FF11-FF1N) to generate N priority clocks, and the interrupt request detection unit. 400 also extends to N flip-flops FF21-FF2N and logic gates G11-G1N, and the
제 3 도는 제 2 도의 각부 동작 파형도로서 상기 구성에 의거 본 발명의 일실시예를 제 2-3 도를 참조하여 상세히 설명한다.FIG. 3 is an operation waveform diagram of each part of FIG. 2 and one embodiment of the present invention will be described in detail with reference to FIGs.
먼저 본 발명에서는 각 인터럽트들이 우선순위를 갖고서 다른 인터럽트 리퀘스트 서비스를 중단시키는 것이 아니고 동시에 여러개의 인터럽트들이 발생했을 때 타임 우선순위에 의해 임의의 리퀘스트가 선택된다.First, in the present invention, each interrupt has a priority, and an arbitrary request is selected by time priority when several interrupts occur at the same time without interrupting another interrupt request service.
제 3a 도와 같은 오퍼레이션(OPERATION) 클럭신호가 플립플롭(FF1-FF13)의 클럭단으로 인가되면 상기 플립플롭(FF-12)는 출력단(Q)으로 제 3b 도와 같은 클럭신호를 출력하고 상기 플립플롭(FF13)은 출력단(Q)으로 제 3c 도와 같은 클럭신호를 출력하며 상기 플립플롭(FF11)은 출력단(Q)으로 제 3d 도와 같은 클럭신호를 출력한다.When the operation clock signal as shown in FIG. 3a is applied to the clock terminal of the flip-flops FF1 to FF13, the flip-flop FF-12 outputs the same clock signal as the 3b degree to the output terminal Q and the flip-flop An output terminal Q outputs a clock signal equal to the third c degree, and the flip-flop FF11 outputs a clock signal equal to the third d degree to the output terminal Q.
또한 인터럽트 소스발생부(200)에서는 제 3e-g 도와 같은 제1-3인터럽트 리퀘스트 신호를 발생하여 플립플롭(FF11-FF23)의 클럭단으로 인터럽트 소스 클럭을 각 인터럽트 리퀘스트 신호의 처음 위치에 인가한다. 이때 마이크로 프로세서(100)으로 부터 인터럽트 마스크(MASK)신호가 논리게이트(G12-G13)에 인가되어 플립플롭(FF22-FF23)을 프리시트시켜 인터럽트 로직이 동작하지 못하게 할 수도 있다. 따라서 인터럽트 소스 발생부(200)에서 발생한 인터럽트 소스 클럭에 의한 인터럽트 리퀘스트 신호는 상기 플립플롭(FF21)의 출력단(Q)으로 제 1 인터럽트 리퀘스트 신호가되어 출력된다. 상기 플립플롭(FF21)의 출련단(Q)으로 출력된 제 1 인터럽트 리퀘스트 신호를 데이터단(D)으로 입력하는 플립플롭(FF31)은 상기 플립플롭(FF12)의 출련단(Q)으로 출력된 클럭신호에 의해 제 1 인터럽트 신호를 발생하여 논리게이트(G31)을 통해 출력하게 된다. 상기 출력된 제 1 인터럽트 신호는 다른 플립플롭(FF32,FF33)을 프리세트로 한다.In addition, the
이와같이 프리세트로 동작하고 있는 인터럽트 신호는 상기 마이크로 프로세서(100)의 인터럽트 에크놀리지(ACK1) 신호에 의하여 플립플롭(F21)을 프리세트함으로서 플립플롭(FF31)의 동작을 멈추게 하고 결국 플립플롭(F32)를 동작시켜 제 2 인터럽트 신호를 출력단(Q)으로 출력가능하게 한다.The interrupt signal operating in the preset manner stops the operation of the flip-flop FF31 by presetting the flip-flop F21 according to the interrupt acknowledge ACK1 signal of the
상기 플롭플롭(FF22)의 출력단(Q)으로 출력된 신호를 데이터단(D)으로 입력하는 플립플롭(FF32)는 상기 플립플롭(FF13)에서 발생된 클럭신호에 의해 제 2 인터럽트 신호를 발생하여 논리게이트(G31)를 통해 출력하게 된다.The flip-flop FF32, which inputs the signal output to the output terminal Q of the flop-flop FF22, to the data terminal D, generates a second interrupt signal by the clock signal generated by the flip-flop FF13. It is output through the logic gate G31.
이와같이 인터럽트 소스발생부(200)에서 발생된 인터럽트 리퀘스트 클럭 신호가 클럭발생부(300)의 클럭신호에 의해 제 3h 도와 같이 인터럽트 신호가 순차적으로 출력하게 된다. 여기서 설명하지 않은 논리게이트(G21-G23)는 선택되지 않은 인터럽트 리퀘스트 신호를 동작하지 못하도록 제어한다. 또한 제 3 도의 P1-P4는 인터럽트 펜딩(pending)타임이고 S1-S4는 인터럽터 서비스 타임이며 INT1-INT3는 마이크로 프로세서(100)가 감지한 인터럽트 리퀘스트 소스이다.As described above, the interrupt request clock signal generated by the
상술한 바와같이 여러개의 인터럽트 소스에서 상호 독립적으로 발생한 리퀘스트 신호를 처리함에 있어 우선 순위에 의하여 서비스가 도중에 중단됨을 방지하고 또한 여러개의 리퀘스트들을 한 인터럽트 라인을 통해 처리함으로서 리퀘스트 신호의 분실을 방지할 수 있는 잇점이 있다.As described above, in processing request signals generated independently from each other, the interruption of service is prevented by priority, and the processing of multiple requests through one interrupt line can prevent loss of request signals. There is an advantage.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900009172A KR920004419B1 (en) | 1990-06-21 | 1990-06-21 | Interrupt control processing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900009172A KR920004419B1 (en) | 1990-06-21 | 1990-06-21 | Interrupt control processing circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
KR920001355A KR920001355A (en) | 1992-01-30 |
KR920004419B1 true KR920004419B1 (en) | 1992-06-04 |
Family
ID=19300350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019900009172A KR920004419B1 (en) | 1990-06-21 | 1990-06-21 | Interrupt control processing circuit |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR920004419B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19990055561A (en) * | 1997-12-27 | 1999-07-15 | 김영환 | Interrupt handler |
-
1990
- 1990-06-21 KR KR1019900009172A patent/KR920004419B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR920001355A (en) | 1992-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR920010916B1 (en) | Multiprocessor level change synchronization apparatus | |
KR100225215B1 (en) | Interrupt sharing technique for pcmcia cards | |
JPH0454255B2 (en) | ||
KR920004419B1 (en) | Interrupt control processing circuit | |
KR100313945B1 (en) | Multi-interrupt controller | |
JPH08139575A (en) | Pulse output circuit | |
KR970002784B1 (en) | Token loss detection and regeneration control circuit | |
JP2011086120A (en) | Control device | |
JPH05143364A (en) | Interruption control device | |
KR950012500B1 (en) | Synchronizing circuit between | |
JPS6222898Y2 (en) | ||
JPH04209020A (en) | Microcomputer | |
KR100267767B1 (en) | Interrupt generator | |
JPH0644178A (en) | Interruption controller | |
KR200159811Y1 (en) | Dpram interrupt arbitration circuit | |
KR910008418B1 (en) | Bus arbitration circuit in round-robin selecting method | |
JPH0322142A (en) | Interruption control device for microprocessor | |
JPS5913763B2 (en) | Bus usage control method and device | |
JPH0212337A (en) | Control system for interruption input signal | |
SU955071A1 (en) | Priority control device | |
KR0178720B1 (en) | Shared memory control device | |
JPH06131209A (en) | Artificial error generating system | |
JPS61136115A (en) | Basic clock generating circuit of microcomputer system | |
JPH0628197A (en) | Control system for acceptance of switching request signal | |
JPH0795705B2 (en) | Backup line switching control circuit |
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: 20070509 Year of fee payment: 16 |
|
LAPS | Lapse due to unpaid annual fee |