JP2627508B2 - Interrupt processing device - Google Patents

Interrupt processing device

Info

Publication number
JP2627508B2
JP2627508B2 JP21232387A JP21232387A JP2627508B2 JP 2627508 B2 JP2627508 B2 JP 2627508B2 JP 21232387 A JP21232387 A JP 21232387A JP 21232387 A JP21232387 A JP 21232387A JP 2627508 B2 JP2627508 B2 JP 2627508B2
Authority
JP
Japan
Prior art keywords
interrupt
bus
unit
request signal
signal
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
JP21232387A
Other languages
Japanese (ja)
Other versions
JPS6455666A (en
Inventor
真二 西川
博之 藤山
功一 黒岩
英年 志村
信次 小山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP21232387A priority Critical patent/JP2627508B2/en
Publication of JPS6455666A publication Critical patent/JPS6455666A/en
Application granted granted Critical
Publication of JP2627508B2 publication Critical patent/JP2627508B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 [概要] 本発明はシステムバスに接続して使用する割込み処理
装置に関するものであり、 システムバスに割込み要求を発生するジェネレータと
しての機能と、システムバスの割込み要求を監視し、割
込み要求があると中央処理装置に割込み処理を要求する
ハンドラとしての機能とを併せもつ割込み処理装置の提
供を目的とし、 本発明の割込み処理装置は、ローカル割込み要求信号
に従ってバス割込み要求信号を出力するバス割込み出力
部と、バス割込み要求信号を入力するバス割込み入力部
と、ローカル割込み要求信号又はバス割込み要求信号が
入力するとき、中央処理装置に対して割込み要求信号を
出力する割込み出力部と、切換えスイッチ回路とを少な
くとも有することを特徴とする。
DETAILED DESCRIPTION OF THE INVENTION [Overview] The present invention relates to an interrupt processing device used by connecting to a system bus, and functions as a generator for generating an interrupt request on the system bus and monitors an interrupt request on the system bus. The present invention provides an interrupt processing apparatus having a function as a handler for requesting an interrupt processing from a central processing unit when there is an interrupt request. The interrupt processing apparatus of the present invention provides a bus interrupt request signal according to a local interrupt request signal. A bus interrupt output unit for inputting a bus interrupt request signal, and an interrupt output for outputting an interrupt request signal to the central processing unit when a local interrupt request signal or a bus interrupt request signal is input And a changeover switch circuit.

[産業上の利用分野] 本発明は割込み処理装置に関するものである。The present invention relates to an interrupt processing device.

[従来の技術] 従来より、システムバスに割込み要求を発生する割込
み処理装置と、該システムバスの割込み要求を監視して
割込み要求があると中央処理装置(以下、CPUとい
う。)に割込み処理を要求する割込み処理装置とが知ら
れており、前者はジェネレータ、後者はハンドラと称さ
れている。
2. Description of the Related Art Conventionally, an interrupt processing device that generates an interrupt request on a system bus, and monitors an interrupt request on the system bus, and when there is an interrupt request, interrupt processing is performed by a central processing unit (hereinafter, referred to as a CPU). A requesting interrupt processing device is known, and the former is called a generator and the latter is called a handler.

第3図は従来例に係るジェネレータの基本構成ブロッ
ク図である。
FIG. 3 is a block diagram of a basic configuration of a generator according to a conventional example.

図において、1は不図示のI/O機器から出力されるロ
ーカル割込み要求信号(LIR)を入力するローカル割込
み入力部、2はこの信号をエンコードするレベル変換
部、3はエンコードされた信号をバス割込み要求信号
(BIR)として出力するバス割込み出力部である。ま
た、4はローカル割込み入力部1の出力を一時格納して
おく割込みアクノリッジ部であり、不図示のアクノリッ
ジ信号(ACK)が入力するときこの信号の内容と格納デ
ータとを比較し、一致するときベクタ発生部5から所定
のベクタ情報をCPUに送る。
In the figure, 1 is a local interrupt input unit for inputting a local interrupt request signal (LIR) output from an I / O device (not shown), 2 is a level conversion unit for encoding this signal, and 3 is a bus for transmitting the encoded signal. This is a bus interrupt output unit that outputs as an interrupt request signal (BIR). Reference numeral 4 denotes an interrupt acknowledgment unit for temporarily storing the output of the local interrupt input unit 1. When an acknowledgment signal (ACK) (not shown) is input, the content of this signal is compared with the stored data, and The vector generation unit 5 sends predetermined vector information to the CPU.

また、第4図は従来例に係るハンドラの基本ブロック
構成図であり、6はLIR信号を入力するローカル割込み
入力部、7はLIR信号をエンコードするレベル変換部、
8はジェネレータから出力されるバス割込み要求信号
(BIR)を入力するバス割込み入力部である。9は割込
み出力部であり、LIR信号又はBIR信号が入力するとき、
CPUに対して割込み要求信号IRLを出力する。10はLIR信
号又はBIR信号が入力するときこれを一時格納しておく
割込みアクノリッジ部であり、不図示のアクノリッジ信
号(ACK)が入力するときこの信号の内容と格納データ
とを比較し、一致するときベクタ発生器11から所定のベ
クタ情報をCPUに送る。
FIG. 4 is a basic block diagram of a handler according to a conventional example, 6 is a local interrupt input unit for inputting an LIR signal, 7 is a level conversion unit for encoding the LIR signal,
Reference numeral 8 denotes a bus interrupt input unit for inputting a bus interrupt request signal (BIR) output from the generator. Reference numeral 9 denotes an interrupt output unit, and when an LIR signal or a BIR signal is input,
Outputs an interrupt request signal IRL to the CPU. Reference numeral 10 denotes an interrupt acknowledgment unit for temporarily storing an LIR signal or a BIR signal when the signal is input. When an acknowledgment signal (ACK) (not shown) is input, the content of the signal is compared with the stored data to match. At this time, predetermined vector information is sent from the vector generator 11 to the CPU.

かかる従来例のジェネレータとハンドラとを用いて割
込み処理システムを構成すると、例えば第5図に示すよ
うな構成図となる。12はCPU、13はハンドラ、14〜16は
ジェネレータであり、17はシステムバスである。なお、
第3図、第4図と同じ符号の信号は同じ内容の信号を示
している。
When an interrupt processing system is configured using such a conventional generator and handler, the configuration shown in FIG. 5 is obtained, for example. 12 is a CPU, 13 is a handler, 14 to 16 are generators, and 17 is a system bus. In addition,
Signals having the same reference numerals as those in FIGS. 3 and 4 indicate signals having the same contents.

[発明が解決しようとする問題点] ところで、従来例によればハンドラとジェネレータと
は、第3図、第4図に示すように別個の回路構成であ
り、それぞれ別個のチップとして製造されている。
[Problems to be Solved by the Invention] According to the conventional example, the handler and the generator have separate circuit configurations as shown in FIGS. 3 and 4, and are manufactured as separate chips. .

しかし、ハンドラとジェネレータは、同一の回路構成
部分も含まれており、同一のチップで作成できれば開発
・製造コストを下げることが可能となる。
However, the handler and the generator also include the same circuit components, and if they can be created with the same chip, the development and manufacturing costs can be reduced.

本発明はかかる点に鑑みて作成されたものであり、ハ
ンドラ機能とジェネレータ機能とを併せもち、使用に際
してはいずれかの機能を選択することのできる割込み処
理装置の提供を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide an interrupt processing apparatus which has both a handler function and a generator function and can select one of the functions when used.

[問題点を解決するための手段] 本発明の割込み処理装置は、ローカル割込み要求信号
に従ってバス割込み要求信号を出力するバス割込み出力
部と、バス割込み要求信号を入力するバス割込み入力部
と、ローカル割込み要求信号又はバス割込み要求信号が
入力するとき、中央処理装置に対して割込み要求信号を
出力する割込み出力部と、切換えスイッチ回路とを少な
くとも有していることを特徴としている。
[Means for Solving the Problems] An interrupt processing apparatus according to the present invention includes a bus interrupt output unit that outputs a bus interrupt request signal according to a local interrupt request signal, a bus interrupt input unit that inputs a bus interrupt request signal, When an interrupt request signal or a bus interrupt request signal is input, at least an interrupt output unit for outputting an interrupt request signal to the central processing unit and a switch circuit are provided.

[作用] ハンドラとして動作させるときには、スイッチ回路を
切換えてバス割込み入力部と割込み出力部とをアクティ
ブにし、バス割込み出力部を非アクティブにする。
[Operation] When operated as a handler, the switch circuit is switched to activate the bus interrupt input section and the interrupt output section and deactivate the bus interrupt output section.

またジェネレータとして動作させるときには、スイッ
チ回路を切換えてバス割込み入力部と割込み出力部とを
非アクティブにし、バス割込み出力部をアクティブにす
る。
When operating as a generator, the switch circuit is switched to deactivate the bus interrupt input section and the interrupt output section, and activate the bus interrupt output section.

[実施例] 次に図を参照しながら本発明の実施例について説明す
る。第1図は本発明の実施例に係る割込み処理装置の構
成ブロック図であり、ハンドラ機能とジェネレータ機能
とを併せもっている。
Example Next, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an interrupt processing apparatus according to an embodiment of the present invention, which has both a handler function and a generator function.

図において、18は不図示のI/O機器から出力されるロ
ーカル割込み要求信号(LIR)を入力するローカル割込
み入力部、19はこの信号をエンコードするレベル変換
部、20はエンコードされた信号をバスを割込み要求信号
(BIR)として出力するバス割込み出力部である。
In the figure, reference numeral 18 denotes a local interrupt input unit for inputting a local interrupt request signal (LIR) output from an I / O device (not shown), 19 a level conversion unit for encoding this signal, and 20 a bus for encoding the encoded signal. Is a bus interrupt output unit that outputs the interrupt request signal (BIR).

21はバス割込み要求信号(BIR)を入力するバス割込
み入力部、22はレベル変換部19又はバス割込み入力部21
の出力信号を入力してCPUに対して割込み要求信号(IR
L)を出力する割込み出力部である。23はLIR信号又はBI
R信号が入力するときこれを一時格納しておく割込みア
クノリッジ部であり、不図示のアクノリッジ信号(AC
K)が入力するときこの信号の内容と格納データとを比
較し、一致するときベクタ発生部24から所定のベクタ情
報をCPUに送る。
Reference numeral 21 denotes a bus interrupt input unit for inputting a bus interrupt request signal (BIR), 22 denotes a level conversion unit 19 or a bus interrupt input unit 21.
Of the interrupt request signal (IR
L). 23 is LIR signal or BI
An interrupt acknowledgment section for temporarily storing the R signal when it is input.
When K) is input, the contents of this signal are compared with the stored data, and when they match, predetermined vector information is sent from the vector generation unit 24 to the CPU.

25は/G制御信号を入力とするスイッチ回路であり、
/G制御信号が“0"のとき信号を出力してバス割込み
入力部21と割込み出力部22をアクティブにし、バス割込
み出力部20を非アクティブにする。また/G制御信号が
“1"のときG信号を出力してバス割込み出力部20をアク
ティブにし、バス割込み入力部21と割込み出力部22を非
アクティブにする。
25 is a switch circuit which receives a / G control signal as an input,
When the / G control signal is "0", a signal is output to activate the bus interrupt input unit 21 and the interrupt output unit 22 and deactivate the bus interrupt output unit 20. When the / G control signal is "1", a G signal is output to make the bus interrupt output unit 20 active and the bus interrupt input unit 21 and the interrupt output unit 22 to be inactive.

次に第1図の割込み処理装置の動作について説明す
る。ハンドラとして使用する場合は、スイッチ回路25の
/G端子を“0"に設定する。これによりバス割込み入力
部21と割込み出力部22がアクティブとなり、バス割込み
出力部20が非アクティブとなる。すなわち、第1図の割
込み処理装置は、第4図に示すハンドラと同一の構成と
なり、ハンドラとして動作することができる。
Next, the operation of the interrupt processing apparatus of FIG. 1 will be described. When used as a handler, switch circuit 25
Set the / G pin to “0”. As a result, the bus interrupt input unit 21 and the interrupt output unit 22 become active, and the bus interrupt output unit 20 becomes inactive. That is, the interrupt processing apparatus of FIG. 1 has the same configuration as the handler shown in FIG. 4, and can operate as a handler.

またジェネレータとして使用する場合には、スイッチ
回路25の/G端子を“1"に設定する。これによりバス割
込み出力部20がアクティブとなり、バス割込み入力部21
とバス割込み出力部22が非アクティブとなる。すなわ
ち、第1図の割込み処理装置は、第3図に示すジェネレ
ータと同一の構成となり、ジェネレータとして動作する
ことができる。
When used as a generator, the / G terminal of the switch circuit 25 is set to “1”. As a result, the bus interrupt output unit 20 becomes active, and the bus interrupt input unit 21
And the bus interrupt output unit 22 becomes inactive. That is, the interrupt processing apparatus of FIG. 1 has the same configuration as the generator shown in FIG. 3, and can operate as a generator.

第2図は第1図に示す割込み処理装置を用いて割込み
処理システムを構成した図であり、26はCPU、27〜30は
第1図の本発明の実施例に係る割込み処理装置であり、
31はシテムバスである。
FIG. 2 is a diagram showing the configuration of an interrupt processing system using the interrupt processing apparatus shown in FIG. 1, wherein 26 is a CPU, 27 to 30 are interrupt processing apparatuses according to the embodiment of the present invention shown in FIG.
31 is a system bus.

図において、27はハンドラとして動作させるために
/G端子を“0"に設定し、28〜30はジェネレータとして動
作させるために/G端子を“1"に設定している。
In the figure, 27 is to operate as a handler
The / G terminal is set to “0”, and the 28/30 terminals are set to “1” to operate as a generator.

このように本発明の実施例によれば、割込み処理装置
をハンドラ又はジェネレータとして区別することなく製
造することができるので、開発および製造コストの低下
を図ることが可能となる。
As described above, according to the embodiment of the present invention, since the interrupt processing device can be manufactured without distinguishing it as a handler or a generator, it is possible to reduce development and manufacturing costs.

[発明の効果] 以上説明したように、本発明によれば割込み処理装置
をハンドラ又はジェネレータとして区別することなく製
造できるので、開発および製造コストの低下を図ること
が可能となる。
[Effects of the Invention] As described above, according to the present invention, an interrupt processing device can be manufactured without being distinguished as a handler or a generator, so that development and manufacturing costs can be reduced.

また使用する側にとっても、ハンドラ又はジェネレー
タとして意識する必要がないので、チップの購入におい
ても管理においても単純化できる利点がある。
In addition, since the user does not need to be aware of a handler or a generator, there is an advantage that the purchase and management of chips can be simplified.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の実施例に係る割込み処理装置の構成ブ
ロック図、 第2図は第1図の割込み処理装置を用いて割込み処理シ
ステムを構成した図、 第3図は従来例に係るジェネレータとしての割込み処理
装置の構成ブロック図、 第4図は従来例に係るハンドラとしての割込み処理装置
の構成ブロック図、 第5図は従来例に係る割込み処理装置を用いて割込み処
理システムを構成した図である。 (符号の説明) 1,6,18……ローカル割込み入力部、 2,7,19……レベル変換部、 3,20……バス割込み出力部、 9,22……割込み出力部、 8,21……バス割込み入力部、 4,10,23……割込みアクノリッジ部、 5,11,24……ベクタ発生部、 25……スイッチ回路、 12,26……CPU、 13……ハンドラ、 14〜16……ジェネレータ、 27〜30……本発明の実施例の割込み処理装置、 17,31……システムバス。
1 is a block diagram showing the configuration of an interrupt processing apparatus according to an embodiment of the present invention, FIG. 2 is a diagram showing an interrupt processing system using the interrupt processing apparatus shown in FIG. 1, and FIG. 3 is a generator according to a conventional example. FIG. 4 is a configuration block diagram of an interrupt processing device as a handler according to a conventional example, and FIG. 5 is a diagram illustrating an interrupt processing system using the interrupt processing device according to a conventional example. It is. (Explanation of symbols) 1,6,18 ... local interrupt input unit, 2,7,19 ... level conversion unit, 3,20 ... bus interrupt output unit, 9,22 ... interrupt output unit, 8,21 … Bus interrupt input unit, 4, 10, 23… Interrupt acknowledge unit, 5, 11, 24… Vector generation unit, 25… Switch circuit, 12, 26… CPU, 13… Handler, 14 to 16 ... Generator, 27 to 30... Interrupt processing device according to the embodiment of the present invention, 17, 31.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 黒岩 功一 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 志村 英年 神奈川県川崎市中原区上小田中1015番地 富士通マイコンシステムズ株式会社内 (72)発明者 小山田 信次 神奈川県川崎市中原区上小田中1015番地 富士通マイコンシステムズ株式会社内 (56)参考文献 特開 昭53−107252(JP,A) ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Koichi Kuroiwa 1015 Uedanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Co., Ltd. (72) Inventor Shinji Koyamada 1015 Ueodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture Fujitsu Microcomputer Systems Co., Ltd. (56) References JP-A-53-107252 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ローカル割込み要求信号に従ってバス割込
み要求信号を出力するバス割込み出力部と、 バス割込み要求信号を入力するバス割込み入力部と、 ローカル割込み要求信号又はバス割込み要求信号が入力
するとき、中央処理装置に対して割込み要求信号を出力
する割込み出力部と、 切換えスイッチ回路とを少なくとも有し、 ハンドラとして動作させるとき、該スイッチ回路を切換
えて前記バス割込み入力部と割込み出力部とをアクティ
ブにして前記バス割込み出力部を非アクティブにし、 ジェネレータとして動作させるとき、該スイッチ回路を
切換えて前記バス割込み入力部と割込み出力部とを非ア
クティブにして前記バス割込み出力部をアクティブにす
ることを特徴とする割込み処理装置。
A bus interrupt output unit for outputting a bus interrupt request signal in accordance with a local interrupt request signal; a bus interrupt input unit for inputting a bus interrupt request signal; An interrupt output unit that outputs an interrupt request signal to the central processing unit; and a switch circuit. When operating as a handler, the switch circuit is switched to activate the bus interrupt input unit and the interrupt output unit. When the bus interrupt output section is deactivated to operate as a generator, the switch circuit is switched to deactivate the bus interrupt input section and the interrupt output section to activate the bus interrupt output section. Characteristic interrupt processing device.
JP21232387A 1987-08-26 1987-08-26 Interrupt processing device Expired - Fee Related JP2627508B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21232387A JP2627508B2 (en) 1987-08-26 1987-08-26 Interrupt processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21232387A JP2627508B2 (en) 1987-08-26 1987-08-26 Interrupt processing device

Publications (2)

Publication Number Publication Date
JPS6455666A JPS6455666A (en) 1989-03-02
JP2627508B2 true JP2627508B2 (en) 1997-07-09

Family

ID=16620637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21232387A Expired - Fee Related JP2627508B2 (en) 1987-08-26 1987-08-26 Interrupt processing device

Country Status (1)

Country Link
JP (1) JP2627508B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60208335A (en) * 1984-03-31 1985-10-19 Touritsu Kogyo:Kk Sanitary rubber product

Also Published As

Publication number Publication date
JPS6455666A (en) 1989-03-02

Similar Documents

Publication Publication Date Title
JP2627508B2 (en) Interrupt processing device
JPH0374751A (en) Input/output controller
JP3288114B2 (en) Microcomputer
JPS593775B2 (en) Bus request processing unit
JPS6020779B2 (en) Composite computer system
JP3183311B2 (en) Data transfer system
JPS61269545A (en) Computer system
JP3200821B2 (en) Semiconductor integrated circuit system
JPS6136858A (en) System constituting controller
JPS62172457A (en) Bus connecting device
JPH033043A (en) Semiconductor device
JPS628254A (en) Signal receiving and distributing circuit
JPS63268053A (en) Bus controller
JPS5850035A (en) Keyboard controller
JPS622342A (en) Information transmission equipment
JPH05151151A (en) Bus converting device
JPH02293948A (en) Microcomputer lsi
JPS62286377A (en) Image conversion processor
JPH01276241A (en) Multiple interrupting device
JPS6126159A (en) Information processor
JPH02271456A (en) Response signal return circuit
JPS611149A (en) Communication processor
JPS60189037A (en) Special unit of programmable controller
JPS6138656U (en) Electronic copying machine control device
JPS63266568A (en) Data transfer controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees