KR100289098B1 - Device for integrally processing interrupt signal - Google Patents
Device for integrally processing interrupt signal Download PDFInfo
- Publication number
- KR100289098B1 KR100289098B1 KR1019970073547A KR19970073547A KR100289098B1 KR 100289098 B1 KR100289098 B1 KR 100289098B1 KR 1019970073547 A KR1019970073547 A KR 1019970073547A KR 19970073547 A KR19970073547 A KR 19970073547A KR 100289098 B1 KR100289098 B1 KR 100289098B1
- Authority
- KR
- South Korea
- Prior art keywords
- interrupt
- flag
- signal
- ics
- unit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
- G06F9/4831—Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30094—Condition code generation, e.g. Carry, Zero flag
Abstract
Description
본 발명은 여러개의 유니트에 장착된 IC로 부터 인가되는 인터럽트신호를 통합하여 하나의 신호로 만들어 출력함으로써, 전체적으로 시스템의 소형화 및 간소화를 구현할 수 있는 인터럽트신호 통합 처리장치에 관한 것이다.The present invention relates to an integrated interrupt signal processing apparatus that can realize miniaturization and simplification of the system as a whole by integrating and outputting an interrupt signal applied from ICs mounted in multiple units into a single signal.
일반적으로 시스템에서 인터럽트란. 인터럽트신호가 인가되면 시스템이나 루틴의 정상적인 수행을 멈추고 해당 인터럽트신호에 대응하는 인터럽트서비스루틴을 실행한 뒤에 다시 중단된 되었던 곳부터 재수행하는 것이다. 이 때, 인터럽트신호는 중앙 컴퓨터와 주변장치 시스템의 입/출력동작을 관리하는 더 강력한 제어신호 중의 하나이며, 이 신호는 중앙컴퓨터의 즉각적인 주의를 요구하기 위해 사용된다.이는 제어권이 인터럽트를 야기한 사건에 관련된 특정 주소로 보내지도록 한다. 외부로부터의 인터럽트는 콤퓨터 프로그램과 서브시스템장치의 상태를 가산적으로 동기시키며, 주변장치 시스템에서 발생한 오류조건을 나타내 준다. 내부 인터럽트는 컴퓨터 프로그램과 입/출력 전송의 종료를 동기시킨다.In general, what interrupts are in the system. When an interrupt signal is applied, it stops the normal execution of the system or routine, executes the interrupt service routine corresponding to the interrupt signal, and executes again from where it was interrupted. At this time, the interrupt signal is one of the more powerful control signals that manage the input / output operation of the central computer and peripheral system, which is used to request immediate attention of the central computer. To be sent to a specific address associated with External interrupts additionally synchronize the state of the computer program and subsystem devices, and indicate an error condition that occurred in the peripheral system. An internal interrupt synchronizes the end of the input / output transfer with the computer program.
또한, 상기 인터럽트서비스루틴은 인터럽트를 처리하기 위해 설계된 프로그램이나 특수한 루틴을 말하며, 인터럽트 요구에 응답하기 위해 프로세서의 현재 상태를 스택에 저장하고 인터럽트가 요구한 실제 일을 수행한다. 또한, 인터럽트서비스동작의 수행이 완료되면 프로세서에서 저장되었던 상태를 복구시켜 인터럽트된 프로그램의 수행을 계속하도록 해준다.In addition, the interrupt service routine refers to a program or a special routine designed to handle an interrupt. The interrupt service routine stores a current state of a processor on a stack and performs an actual work required by an interrupt in response to an interrupt request. In addition, when the interrupt service operation is completed, the processor can restore the state stored in the processor to continue the interrupted program.
한편, 종래에는 첨부된 도면 도 1에 도시된 바와 같이, 한개의 유니트에 n개의 IC가 장착되고, 각 IC로 부터 인터럽트가 1개씩 발생하게 되면, 한개의 유니트에서는 모두 n개의 인터럽트 신호가 프로세서측으로 전달된다.On the other hand, conventionally, as shown in the accompanying drawings, Figure 1, when n ICs are mounted in one unit, and one interrupt is generated from each IC, n interrupt signals are all sent to the processor side in one unit. Delivered.
이에 프로세서는 인터럽트가 발생한 IC를 엑세스하여 인터럽트 발생원인을 확인하고, 해당 인터럽트 서비스루틴을 실행 하도록 되어 있다.Thus, the processor accesses the interrupted IC to check the cause of the interrupt and executes the corresponding interrupt service routine.
전술한 바와 같이, 종래에는 한개의 유니트에 n개의 IC가 장착되었으면, n개의 인터럽트 신호가 발생되고, 해당 유니트회로가 시스템내에 m개가 장착되면, 모두 m ×n 개의 인터럽트신호를 처리할 수 있는 시스템이 구성되야 하므로, 시스템의 회로가 복잡해지고, 유지보수가 용이하지 않은 문제점이 있다.As described above, conventionally, when n ICs are mounted in one unit, n interrupt signals are generated, and when m units are installed in the system, all of m x n interrupt signals can be processed. Since this must be configured, the circuit of the system becomes complicated and there is a problem that maintenance is not easy.
본 발명은 전술한 바와 같은 문제점을 감안하여 인출한 것으로, 여러개의 유니트에 장착된 IC로 부터 인가되는 인터럽트신호를 통합하여 하나의 신호로 만들어 출력함으로써, 전체적으로 시스템의 소형화 및 간소화를 구현할 수 있는 인터럽트신호 통합 처리장치를 제공하는데 목적이 있다.The present invention has been drawn in view of the above-described problems, by integrating and outputting an interrupt signal applied from ICs installed in multiple units into a single signal, an interrupt capable of miniaturizing and simplifying the system as a whole. It is an object to provide a signal integrated processing device.
도1은 종래의 각 IC에서 인터럽트신호의 발생을 나타낸 도면.1 is a diagram showing generation of an interrupt signal in each conventional IC.
도2는 본 발명에 따른 인터럽트신호 통합 처리방식을 도시한 블록도.2 is a block diagram showing an interrupt signal integration processing scheme according to the present invention;
도3은 도 2에 도시된 인터럽트신호 통합 처리장치의 상세구성도이다.FIG. 3 is a detailed configuration diagram of the interrupt signal integrating apparatus shown in FIG. 2.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10a~10n : IC(Integrated Circuit) 20 : 인터럽트신호 통합 처리장치10a ~ 10n: IC (Integrated Circuit) 20: Interrupt signal integrated processing device
21 : 인터럽트발생검출부 22 : 플래그생성부21: interrupt generation detection unit 22: flag generation unit
23 : 인터럽트생성부 24 : CPU 인터페이스부23: interrupt generation unit 24: CPU interface unit
25 : 리셋펄스생성부25: reset pulse generator
이상과 같은 목적을 달성하기 위하여 본 발명은, 인터럽트를 처리하는 인터럽트신호 통합 처리장치에 있어서, 다수의 IC로 부터 인가되는 인터럽트신호를 검출하여 검출신호를 출력하는 인터럽트발생 검출부와; 상기 인터럽트발생 검출부로부터 검출신호가 인가되면 해당 인터럽트가 발생된 상기 IC에 대응하는 플래그를 세트하고, 플래그클리어신호가 인가되면 해당 플래그를 클리어하는 플래그 생성부와; 상기 플래그 생성부의 플래그가 세트되면 인터럽트신호를 발생하여 출력하고, 상기 플래그 생성부의 플래그가 클리어되면 인터럽트신호의 발생을 정지하는 인터럽트 생성부와; 상기 플래그 생성부의 플래그 세트정보와 상기 각 IC로 부터 인가된 인터럽트 정보를 갖고 있으며, 프로세서측으로 인터럽트가 발생된 상기 IC에 관한 정보를 제공하는 CPU안토페이스부와; 상기 CPU안터페이스부를 프로세서가 엑세스하면, 플래그클리어신호를 발생하여 상기 플래그 생성부측으로 인가하는 리셋펄스생성부를 구비하는 것을 특징으로 하는 인터럽트신호 통합 처리장치를 제공한다.In order to achieve the above object, the present invention provides an interrupt signal integrating processing apparatus, comprising: an interrupt generation detecting unit for detecting interrupt signals applied from a plurality of ICs and outputting detection signals; A flag generator for setting a flag corresponding to the IC in which the interrupt is generated when a detection signal is applied from the interrupt generation detector, and clearing the flag when a flag clear signal is applied; An interrupt generator for generating and outputting an interrupt signal when a flag of the flag generator is set, and stopping generation of an interrupt signal when a flag of the flag generator is cleared; A CPU interface unit having flag set information of the flag generation unit and interrupt information applied from the respective ICs, and providing information on the IC on which an interrupt has been generated to a processor side; And a reset pulse generation unit for generating a flag clear signal and applying the flag clear signal to the flag generation unit when the processor accesses the CPU interface unit.
이하, 첨부된 도면을 참조하여 본 발명의 실시예를 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명에 따른 인터럽트신호 통합처리 방식은 첨부된 도면 도2에 도시된 바와 같다. 즉, 인터럽트신호 통합 처리장치(20)가 다수의 IC(10a~10n)로 부터 인터럽트신호를 인가받아 통합 처리하도록 구성한다.Interrupt signal integration processing scheme according to the present invention is as shown in Figure 2 attached. That is, the interrupt signal integrated
한편, 상기 인터럽트신호 통합 처리장치(20)는 첨부된 도면 도3에 도시된 바와 같이, 인터럽트발생 검출부(21), 플래그 생성부(22), 인터럽트 생성부(23), CPU인터페이스부(24) 및 리셋펄스생성부(25)를 구비한다.Meanwhile, as shown in FIG. 3, the interrupt signal integrated
인터럽트발생 검출부(21)는 다수의 IC(10a~10n)로 부터 인터럽트신호가 인가되는지를 검출하여, 인터럽트신호가 곰출되면, 검출신호를 플래그 생성부(22)측으로 출력한다. 플래그 생성부(22)는 인터럽트발생 검출부(21)로 부터 검출신호가 인가되면, 해당 인터럽트가 발생된 IC(10a~10n)에 대응하는 플래그를 세트하고, 리셋펄스 생성부(25)로 부터 플래그클리어신호가 인가되면, 해당 플래그를 클리어한다.The interrupt
인터럽트 생성부(23)는 플래그 생성부(22)로 부터 플래그가 세트되면 인터럽트신호를 발생하여 출력하고, 플래그가 클리어되면 인터럽트신호의 발생을 정지한다. CPU인터페이스부(24)는 플래그 생성부(22)의 플래그세트정보와 각 IC(10a~10n)로 부터 인가된 인터럽트 장보를 갖고 있으며, 프로세서에게 인터럽트가 발생된 IC(10a~10n)에 관한 정보를 제공한다. 리셋 펄스 생성부(25)는 프로세서가 CPU인터페이스부(24)를 엑세스하면, 플래그클리어신호를 발생하여 플래그 생성부(22)측으로 인가한다.The
전술한 바와 같이 구성되는 본 발명의 동작을 첨부된 도면을 참조하여 상세하게 설명하면 다음과 같다.The operation of the present invention configured as described above will be described in detail with reference to the accompanying drawings.
예를들어, IC1(10a)에서 인터럽트가 발생하면, 해당 인터럽트 신호는 인터럽트신호 통합 처리장치(20)로 입력받는다. 이에 인터럽트신호 통합 처리장치(20) 내의 인터럽트발생 검출부(21)에서는 인터럽트신호가 인가되는지를 검사하는 바, IC1(10a)에서 인터럽트 신호가 인가되므로 , 해당 검출신호를 플래그 생성부(22)에 전달하고, 이에 플래그 생성부(22)는 플래그를 세트한다. 이후에, 플래그 생성부(22)는 세트된 플래그정보를 인터럽트 생성부(23)측으로 인가함으로써, 인터럽트 생성부(23)는 인터럽트신호를 발생하여 프로세서측으로 인가한다. 이때, 프로세서는 인터럽트 생성부(23)로 부터 인터럽트신호가 인가됨에 기인하여 인터럽트가 IC(10a~10n)에서 발생했음을 인지하고, CPU인터페이스부(24)를 엑서스하면 어떤 IC(10a~10n)에서 인터럽트가 발생했는지 검출하기 위해 CPU인터페이스부(24)를 검사한다. 이 때, CPU인터페이스부(24)는 플래그생성정보와 인터럽트의 현재정보를 가지고 있는 바, 프로세서는 해당 CPU인터페이스부(24)응 엑세스함으로써, IC1(10a)에서 인터럽트를 발생했음을 인지하고, 해당 IC1(10a)에 대한 인터럽트서비스루틴을 수행하게 된다. 이 때, 프로세서가 CPU인터페이스부(24)를 엑세스하기 위해 리드(READ) 신호를 출력하면, 리셋펄스생성부(25)는 해당 프로세서로 부터 출력되는 리드신호를 모니터 함으로써, 프로세스가 해당 CPU인터페이스부(24)를 엑세스했음을 인지하고, 플래그클리어신호르 발생하여 플래그 생성부(22)측으로 인가한다. 이에, 플래그를 클리어함으로써, 인터럽트 생성부(23)는 인터럽트신호를 더이상 발생하지 않게된다.For example, when an interrupt occurs in IC1 10a, the interrupt signal is input to the interrupt signal integrated
즉, 다시말해서, 어던 유니트 내부에 장착되어 있느 다수의 IC(10a~10n)로 부터 인터럽트신호가 한 개라도 발생하면 플래그생성부(22)내의 해당 플래그가 세트되고 인터럽트 생성부(23)에 의해 인터럽트신호가 발생된다. 이에 프로세서는 인터럽트가 발생했음을 인지하고, CPU인터페이스부(24)를 엑세스하여 인터럽트가 발생한 IC(10a~10n)를 검사한다. 이후에, 프로세서가 CPU인터페이스부(24)를 엑세스하면 리셋펄스생성부(25)에 의해 플래그는 자동으로 클리어된다.In other words, if any interrupt signal is generated from a plurality of ICs 10a to 10n mounted inside any unit, the corresponding flag in the
전술한 바와 같이, 본 발명은 여러개의 유니트에 장착된 IC로 부터 인가되는 다수의 인터럽트신호를 통합하여 하나의 신호로 만들어 출려함으로써, 전체적으로 시스템의 소형화 및 간소화를 구현할 수 있다.As described above, the present invention integrates a plurality of interrupt signals applied from ICs mounted in a plurality of units to form a single signal, thereby realizing miniaturization and simplicity of the system as a whole.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970073547A KR100289098B1 (en) | 1997-12-24 | 1997-12-24 | Device for integrally processing interrupt signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970073547A KR100289098B1 (en) | 1997-12-24 | 1997-12-24 | Device for integrally processing interrupt signal |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990053844A KR19990053844A (en) | 1999-07-15 |
KR100289098B1 true KR100289098B1 (en) | 2001-05-02 |
Family
ID=37517614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970073547A KR100289098B1 (en) | 1997-12-24 | 1997-12-24 | Device for integrally processing interrupt signal |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100289098B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR960042344A (en) * | 1995-05-11 | 1996-12-21 | 모리시다 요이치 | Interrupt control device that responds flexibly to many interrupt processing with small hardware scale |
-
1997
- 1997-12-24 KR KR1019970073547A patent/KR100289098B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR960042344A (en) * | 1995-05-11 | 1996-12-21 | 모리시다 요이치 | Interrupt control device that responds flexibly to many interrupt processing with small hardware scale |
Also Published As
Publication number | Publication date |
---|---|
KR19990053844A (en) | 1999-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050166092A1 (en) | Emulation system with peripherals recording emulation frame when stop generated | |
KR950001417B1 (en) | Computer system | |
KR100289098B1 (en) | Device for integrally processing interrupt signal | |
US6145047A (en) | Circuit and method for converting interrupt signals from level trigger mode to edge trigger mode | |
US6973607B2 (en) | Method and apparatus for testing electronic components | |
US5621401A (en) | Circuit for sensing input conditioning of keyboard | |
KR0155285B1 (en) | Controlling device of multiprocessor system's malfunction | |
KR930013949A (en) | Information processing device | |
KR100438534B1 (en) | Apparatus of detecting fan failure | |
JPH02230356A (en) | Bus extension device for information processor | |
KR0128714Y1 (en) | Keyboard connection device | |
JP2864861B2 (en) | Response signal control circuit | |
JPS61267810A (en) | Deciding circuit for detection of service interruption | |
KR100856259B1 (en) | Apparatus and method for providing redundancy in the processor board using programmable logic device with interrupt | |
KR910003376B1 (en) | Power supply in case of interruption of electric power | |
JPH1020968A (en) | Selective hardware resetting circuit | |
JPH01223521A (en) | Large scale integrated circuit | |
JPH01292562A (en) | Multi-cpu system | |
JPH05250222A (en) | Cpu monitoring device | |
JPH0368058A (en) | Interrupt system for multiprocessor system | |
JPH04195352A (en) | System bus system | |
KR19980061874A (en) | Abnormality judgment device of redundancy control device | |
KR19990000748A (en) | Device and method for diagnosing computer system errors | |
JPH0754492B2 (en) | I / O command control method | |
JPS5523523A (en) | Trouble disgnostic system of electronic computer system |
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: 20110117 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |