KR20000003876A - Interrupt control apparatus - Google Patents
Interrupt control apparatus Download PDFInfo
- Publication number
- KR20000003876A KR20000003876A KR1019980025176A KR19980025176A KR20000003876A KR 20000003876 A KR20000003876 A KR 20000003876A KR 1019980025176 A KR1019980025176 A KR 1019980025176A KR 19980025176 A KR19980025176 A KR 19980025176A KR 20000003876 A KR20000003876 A KR 20000003876A
- Authority
- KR
- South Korea
- Prior art keywords
- interrupt
- signal
- control circuit
- flip
- control
- Prior art date
Links
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/22—Microcontrol or microprogram arrangements
- G06F9/26—Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
- G06F9/262—Arrangements for next microinstruction selection
- G06F9/268—Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
Abstract
Description
본 발명은 인터럽트 소스로부터 인터럽트 신호들을 입력받아 인터럽트 처리 시스템이 인터럽트를 수행하도록 하기 위한 제어 신호를 출력하는 장치에 관한 것으로, 좀 더 구체적으로는 불필요한 전력 소모를 줄일 수 있는 인터럽트 제어 장치에 관한 것이다.The present invention relates to an apparatus for receiving interrupt signals from an interrupt source and outputting a control signal for causing the interrupt processing system to perform an interrupt, and more particularly, to an interrupt control apparatus capable of reducing unnecessary power consumption.
일반적으로 인터럽트 이벤트(interrupt event)는 마이크로프로세서(microprocessor)의 명령어(instruction) 수행에 비하여 매우 드물게 발생한다. 그러나, 종래에는 인터럽트 컨트롤러 내에 구성되는 상태 머신(state machine)이 항상 동작하도록 설계되어 있었다. 외부 인터럽트가 발생하지 않아서 상기 상태 머신이 같은 상태에 머물고 있더라도 인터럽트 컨트롤러는 계속해서 전력(power)을 소모하고 있다. 인터럽트의 발생 확률이 낮은 시스템에서 인터럽트 컨트롤러의 평균 전력 소모량은 최대 전력 소모량의 30 %에 이른다.In general, interrupt events occur very rarely compared to the execution of instructions by a microprocessor. However, conventionally, a state machine configured in an interrupt controller is designed to always operate. Even if the state machine stays in the same state because no external interrupt has occurred, the interrupt controller continues to consume power. In systems with low interrupt probability, the average power consumption of the interrupt controller amounts to 30% of the maximum power consumption.
도 1은 종래의 인터럽트 컨트롤러의 회로 구성을 블록적으로 보여주는 블록도이다.1 is a block diagram illustrating a circuit configuration of a conventional interrupt controller.
도 1을 참조하면, 인터럽트 컨트롤러는 복수 개의 D 플립플롭들(10_1, 10_2, 10_N)과 인터럽트 제어회로(20)로 구성된다. 상기 D 플립플롭들(10_1, 10_2, 10_N)에는 각각 대응하는 인터럽트 소스들(INT 0, INT 1, INT n)로부터 제어 신호가 입력된다. 상기 D 플립플롭들(10_1, 10_2, 10_n)은 클럭 신호(MCLK)에 동기되어 입력되는 인터럽트 신호를 제어 회로로 출력한다.Referring to FIG. 1, the interrupt controller includes a plurality of D flip-flops 10_1, 10_2, and 10_N and an interrupt control circuit 20. Control signals are input to the D flip-flops 10_1, 10_2, and 10_N from corresponding interrupt sources INT 0, INT 1, and INT n, respectively. The D flip-flops 10_1, 10_2, and 10_n output an interrupt signal input in synchronization with the clock signal MCLK to the control circuit.
종래의 인터럽트 컨트롤러는 인터럽트 컨트롤러의 동작 상태와 무관하게 클럭 신호(MCLK)가 상기 D 플립플롭들(10_1, 10_2, 10_N) 및 인터럽트 제어 회로(20)로 계속 입력되어 인터럽트의 입력을 대기한다. 상기 클럭 신호의 입력에 따라 상기 D 플립플롭들(10_1, 10_2, 10_N)과 인터럽트 제어 회로(20)가 동작 상태에 놓이므로 전력이 소모된다.In the conventional interrupt controller, the clock signal MCLK is continuously input to the D flip-flops 10_1, 10_2, 10_N and the interrupt control circuit 20 to wait for the input of the interrupt regardless of the operation state of the interrupt controller. Power is consumed because the D flip-flops 10_1, 10_2, 10_N and the interrupt control circuit 20 are in an operating state according to the input of the clock signal.
인터럽트의 발생 확률이 낮은 시스템에서 상기 클럭 신호의 입력에 의한 인터럽트 컨트롤러의 동작은 불필요한 전력 소모를 야기한다.Operation of the interrupt controller by the input of the clock signal in the system having a low probability of interruption causes unnecessary power consumption.
따라서, 본 발명의 목적은 상술한 제반 문제점을 해결하기 위해 제안된 것으로, 인터럽트 발생 확률이 낮은 시스템의 인터럽트 컨트롤러에서 불필요한 전력이 소모되는 것을 방지할 수 있는 회로를 갖는 인터럽트 컨트롤러를 제공하는데 있다.Accordingly, an object of the present invention is to solve the above-mentioned problems, and to provide an interrupt controller having a circuit capable of preventing unnecessary power consumption from being interrupted in an interrupt controller of a system having a low interrupt probability.
도 1은 종래의 인터럽트 컨트롤러의 회로 구성을 블록적으로 보여주는 블록도; 그리고1 is a block diagram showing a circuit configuration of a conventional interrupt controller in a block; And
도 2는 본 발명의 바람직한 실시예에 따른 인터럽트 컨트롤러의 회로 구성을 보여주는 회로도이다.2 is a circuit diagram illustrating a circuit configuration of an interrupt controller according to a preferred embodiment of the present invention.
*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
10_1, 10_2, 10_n, 100_1, 100_2, 100_n, 320 : D 플립플롭10_1, 10_2, 10_n, 100_1, 100_2, 100_n, 320: D flip-flop
20, 200 : 인터럽트 제어회로 300 : 클럭 공급부20, 200: interrupt control circuit 300: clock supply unit
310 : 노아 게이트 330 : 오아 게이트310: noah gate 330: oa gate
상술한 바와 같은 본 발명의 목적을 달성하기 위한 본 발명의 특징에 의하면, 적어도 하나의 인터럽트 소스로부터 인터럽트 신호들을 입력받아 인터럽트 처리 시스템이 인터럽트를 수행하도록 하기 위한 제어 신호를 출력하는 장치는: 소정의 클락 신호에 동기되어 상기 인터럽트 신호를 입력받아 상기 제어 신호를 출력하는 제어 수단 및; 상기 인터럽트 소스로부터 제공되는 인터럽트 신호와 상기 제어 회로의 동작 여부를 표시하는 신호를 입력하여, 상기 신호들 중 적어도 하나의 신호가 액티브(active)될 때 상기 클럭 신호를 상기 제어 수단으로 공급하는 클럭 공급 수단을 포함한다.According to a feature of the present invention for achieving the object of the present invention as described above, an apparatus for receiving interrupt signals from at least one interrupt source and outputting a control signal for causing the interrupt processing system to perform an interrupt: Control means for receiving the interrupt signal in synchronization with a clock signal and outputting the control signal; A clock supply for supplying the clock signal to the control means when the interrupt signal provided from the interrupt source and a signal indicating whether the control circuit is in operation are input, and the at least one of the signals is activated Means;
바람직한 실시예에 있어서, 상기 클럭 공급 수단은, 상기 인터럽트 소스로부터 제공되는 인터럽트 신호와 상기 제어 회로의 동작 여부를 표시하는 신호를 입력하여, 상기 신호들 중 적어도 하나의 신호가 액티브(active)되었는 가의 여부를 검출하는 수단 및; 상기 검출 수단의 검출 여부에 따라 상기 클럭 신호를 상기 제어 수단으로 공급하는 스위칭 수단을 포함한다.In a preferred embodiment, the clock supply means inputs an interrupt signal provided from the interrupt source and a signal indicating whether the control circuit is in operation to determine whether at least one of the signals is active. Means for detecting whether; And switching means for supplying the clock signal to the control means depending on whether the detection means is detected.
(실시예)(Example)
이하 본 발명에 따른 실시예를 첨부된 도면 도 2를 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명은 적어도 하나의 인터럽트 소스로부터 인터럽트 신호들을 입력받아 인터럽트 처리 시스템이 인터럽트를 수행하도록 하기 위한 제어 신호를 출력하는 장치에 관한 것으로, 인터럽트 발생 확률이 낮은 시스템의 인터럽트 컨트롤러에서 불필요한 전력이 소모되는 것을 방지할 수 있는 구성을 갖는다. 이러한 인터럽트 제어 장치는 소정의 클락 신호에 동기되어 상기 인터럽트 신호를 입력받아 상기 제어 신호를 출력하는 제어 수단 및 상기 인터럽트 소스로부터 제공되는 인터럽트 신호와 상기 제어 회로의 동작 여부를 표시하는 신호를 입력하여, 상기 신호들 중 적어도 하나의 신호가 액티브(active)될 때 상기 클럭 신호를 상기 제어 수단으로 공급하는 클럭 공급 수단을 포함한다.The present invention relates to an apparatus for receiving interrupt signals from at least one interrupt source and outputting a control signal for causing the interrupt processing system to perform an interrupt. It has a configuration that can be prevented. The interrupt control apparatus inputs a control means for receiving the interrupt signal and outputting the control signal in synchronization with a predetermined clock signal, and inputting an interrupt signal provided from the interrupt source and a signal indicating whether the control circuit operates. Clock supply means for supplying the clock signal to the control means when at least one of the signals is active.
도 2는 본 발명의 바람직한 실시예에 따른 인터럽트 컨트롤러의 회로 구성을 보여주는 회로도이다.2 is a circuit diagram illustrating a circuit configuration of an interrupt controller according to a preferred embodiment of the present invention.
도 2를 참조하면, 인터럽트 컨트롤러는 인터럽트 소스에 각각 대응하는 복수 개의 D 플립플롭들(100_1, 100_2, 100_n)과, 상기 D 플립플롭들(100_1, 100_2, 100_n)로부터 인터럽트 신호를 제공받아 시스템에 적합한 신호들을 출력하는 인터럽트 제어회로(200)와 상기 인터럽트 소스들로부터 제공되는 인터럽트 신호들과 상기 제어 회로의 동작 여부를 표시하는 신호를 입력하여, 상기 신호들 중 적어도 하나의 신호가 액티브(active)될 때 상기 클럭 신호를 상기 제어 수단으로 공급하는 클럭 공급부(300)로 구성된다.Referring to FIG. 2, the interrupt controller receives an interrupt signal from the plurality of D flip-flops 100_1, 100_2 and 100_n and the D flip-flops 100_1, 100_2 and 100_n respectively corresponding to an interrupt source. An interrupt control circuit 200 for outputting suitable signals and an interrupt signal provided from the interrupt sources and a signal indicating whether the control circuit is in operation are input so that at least one of the signals is active. And a clock supply unit 300 for supplying the clock signal to the control means.
인터럽트 소스들로부터 제공되는 인터럽트 신호들(INT 0, INT 1, INT n)은 비동기 신호이다. 이 비동기 신호들은 D 플립플롭들(100_1, 100_2, 100_n)로 입력되어 동기화 된다.The interrupt signals INT 0, INT 1, INT n provided from the interrupt sources are asynchronous signals. These asynchronous signals are input to the D flip-flops 100_1, 100_2, 100_n and synchronized.
인터럽트 제어회로(200)는 상기 D 플립플롭들로부터 동시에 여러 개의 인터럽트 신호들이 입력될 때 각 인터럽트에 우선 순위를 부여하거나, 마이크로 프로세서가 인터럽트 소스의 요구에 대응하는 동작을 수행하도록 제어 신호를 출력한다. 상기 D 플립플롭들(100_1, 100_2, 100_n)과 인터럽트 제어회로(200)는 클럭 신호(MCLK)에 동기되어 동작한다.The interrupt control circuit 200 gives priority to each interrupt when several interrupt signals are input from the D flip-flops at the same time, or outputs a control signal so that the microprocessor performs an operation corresponding to the request of the interrupt source. . The D flip-flops 100_1, 100_2, 100_n and the interrupt control circuit 200 operate in synchronization with the clock signal MCLK.
인터럽트 소스들과 인터럽트 제어회로(200)는 각각 인터럽트 요청을 할 때와 인터럽트 처리를 수행하고 있을 때 하이 레벨의 신호를 출력하는 하이 액티브(high active)이다.The interrupt sources and the interrupt control circuit 200 are high active outputting a high level signal when making an interrupt request and performing interrupt processing, respectively.
클럭 공급부(300)는 노아 게이트(NOR gate)(110)와, D 플립플롭(320) 및 오아 게이트(330)로 구성된다. 상기 노아 게이트(310)는 각 인터럽트 소스들로부터 제공되는 인터럽트 신호들(INT 0, INT 1, INT n)과 인터럽트 제어회로(200)로부터 입력되는 인에이블 신호(Enable)를 노아(NOR) 연산함으로써, 상기 신호들 중 적어도 하나의 신호가 액티브(active)되었는 가의 여부를 검출(detect)한다. 상기 노아 게이트(310)는 상기 인터럽트 소스들과 인터럽트 제어회로(200)로부터 입력되는 상기 신호들 중 적어도 하나의 신호가 하이 레벨로 액티브 되면 로우 레벨의 신호를 출력한다.The clock supply unit 300 includes a NOR gate 110, a D flip-flop 320, and an ora gate 330. The NOR gate 310 performs a NOR operation on the interrupt signals INT 0, INT 1, INT n provided from the respective interrupt sources and the enable signal Enabled from the interrupt control circuit 200. Detects whether at least one of the signals is active. The NOR gate 310 outputs a low level signal when at least one of the signals input from the interrupt sources and the interrupt control circuit 200 is activated to a high level.
D 플립플롭(320)은 클럭 신호(MCLK)에 동기되어 상기 노아 게이트(310)로부터 입력되는 신호를 출력 단자(Q)로 출력한다. 오아 게이트(330)는 상기 D 플립플롭(320)의 출력 신호와 클럭 신호(MCLK)를 입력하여 오아 연산을 수행한다. 상기 오아 게이트(330)는 상기 D 플립플롭으로부터 로우 레벨의 신호가 입력될 때 클럭 신호(MCLK)를 D 플립플롭들(100_0, 100_1, 100_n) 및 인터럽트 제어 회로(200)로 제공한다. 만일 상기 D 플립플롭(320)이 하이 레벨의 신호를 출력하면 오아 게이트(330)의 출력이 하이가 되어 D 플립플롭 및 인터럽트 제어 회로(200)로 클럭 신호(MCLK)를 제공할 수 없다. 따라서 D 플립플롭들(100_0, 100_1, 100_n) 및 인터럽트 제어 회로(200)는 동작하지 않는다.The D flip-flop 320 outputs the signal input from the NOR gate 310 to the output terminal Q in synchronization with the clock signal MCLK. The OR gate 330 inputs the output signal of the D flip-flop 320 and the clock signal MCLK to perform an OR operation. The OR gate 330 provides a clock signal MCLK to the D flip-flops 100_0, 100_1, and 100_n and the interrupt control circuit 200 when a low level signal is input from the D flip-flop. If the D flip-flop 320 outputs a high level signal, the output of the OR gate 330 becomes high and cannot provide the clock signal MCLK to the D flip-flop and interrupt control circuit 200. Therefore, the D flip-flops 100_0, 100_1, and 100_n and the interrupt control circuit 200 do not operate.
상술한 바와 같이, 본 발명의 인터럽트 컨트롤러는 인터럽트 소스들로부터 인터럽트 신호가 입력되거나, 인터럽트 제어회로(200)에서 인터럽트 처리를 수행하고 있을 때에만 클럭 신호를 입력받는다. 따라서, 인터럽트가 발생되지 않고, 인터럽트 처리를 수행중이 아닐 때 인터럽트 컨트롤러를 구성하는 회로들이 동작하지 않아 불필요한 전력이 소모되는 것을 방지할 수 있다. 이러한 인터럽트 컨트롤러에서 소모되는 전력은 최대 전력 소모량의 10%이다.As described above, the interrupt controller of the present invention receives the clock signal only when the interrupt signal is input from the interrupt sources or when the interrupt control circuit 200 performs the interrupt process. Therefore, when the interrupt is not generated and the interrupt controller is not performing the interrupt processing, the circuits constituting the interrupt controller do not operate, thereby preventing unnecessary power consumption. The power consumed by these interrupt controllers is 10% of the maximum power consumption.
이상에서, 본 발명에 따른 회로의 구성 및 동작을 상기한 설명 및 도면에 따라 도시하였지만 이는 예를 들어 설명한 것에 불과하며 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능함은 물론이다.In the above, the configuration and operation of the circuit according to the present invention are shown in accordance with the above description and drawings, but this is merely described, for example, and various changes and modifications are possible without departing from the spirit of the present invention. .
이상과 같은 본 발명에 의하면, 인터럽트 발생 확률이 낮은 시스템의 인터럽트 컨트롤러에서 불필요한 전력이 소모되는 것을 방지한다.According to the present invention as described above, unnecessary power is prevented from being consumed in an interrupt controller of a system having a low probability of interrupt occurrence.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980025176A KR20000003876A (en) | 1998-06-29 | 1998-06-29 | Interrupt control apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980025176A KR20000003876A (en) | 1998-06-29 | 1998-06-29 | Interrupt control apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20000003876A true KR20000003876A (en) | 2000-01-25 |
Family
ID=19541668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980025176A KR20000003876A (en) | 1998-06-29 | 1998-06-29 | Interrupt control apparatus |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20000003876A (en) |
-
1998
- 1998-06-29 KR KR1019980025176A patent/KR20000003876A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6772260B2 (en) | Device for and method of generating interrupt signals | |
KR940009376B1 (en) | Microprocessor with low power comsumption | |
KR100306532B1 (en) | Clock Controlled Information Processing Equipment | |
EP2247992B1 (en) | Clock switching circuits and methods | |
JP2009301500A (en) | Task processing system and task processing method | |
JPS6326716A (en) | Central processing unit | |
KR20000003876A (en) | Interrupt control apparatus | |
JP2007102643A (en) | Key scanning circuit | |
US6606713B1 (en) | Microcomputer including circuitry for detecting an unauthorized stoppage of the system clock signal | |
JPH07334392A (en) | Resetting device and abnormal operation detector | |
JPH11219237A (en) | Electronic equipment device and its controlling method | |
KR100381403B1 (en) | Microcomputer wake-up device | |
KR100359817B1 (en) | Method and apparatus controlling for dissipating electricity of multi-input Monitor | |
JPH11305887A (en) | Method for controlling microcontroller and microcontroller | |
KR0180643B1 (en) | Interrupt control circuit | |
KR100457338B1 (en) | Semiconductor memory device with control circuit controlling low power consumption mode, especially synchronizing chip selection signal with clock signal | |
KR0163926B1 (en) | Programmable data coinciding detecting circuit | |
KR100278272B1 (en) | A system for controlling power | |
JP2001014073A (en) | Low power consumption device | |
JPH0553680A (en) | Power controller for computer | |
JP2013008133A (en) | Clock control circuit for microcomputer | |
JPS6220060A (en) | Priority selection control circuit | |
KR20000014742A (en) | Low voltage detecting device of information terminal | |
KR20040003870A (en) | Circuit for clocking change of MCU and method for the same | |
KR20060083620A (en) | Apparatus for saving power of monitor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |