JPS60250455A - Interruption processing system - Google Patents
Interruption processing systemInfo
- Publication number
- JPS60250455A JPS60250455A JP10556284A JP10556284A JPS60250455A JP S60250455 A JPS60250455 A JP S60250455A JP 10556284 A JP10556284 A JP 10556284A JP 10556284 A JP10556284 A JP 10556284A JP S60250455 A JPS60250455 A JP S60250455A
- Authority
- JP
- Japan
- Prior art keywords
- processor
- interrupt
- vector
- peripheral control
- 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.)
- Granted
Links
- 239000013598 vector Substances 0.000 claims abstract description 33
- 230000002093 peripheral effect Effects 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims description 5
- 238000003672 processing method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 7
- 241000283986 Lepus Species 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling 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)
Abstract
Description
【発明の詳細な説明】
〔産業上利用できる分野〕
本発明は、計算機システムにおける割り込み処理方式に
関するものであり、その中でも特にバス1゛・ベクター
割り込みにおいて、プロセッサが周辺制御装置から出力
されるベクターを読み取るタイミジグを任意に制御でき
るようにする手段をそなえた割り込み処理方式に関する
。Detailed Description of the Invention [Field of Industrial Applicability] The present invention relates to an interrupt processing method in a computer system, and in particular, in bus 1 vector interrupts, a processor uses a vector output from a peripheral control device. The present invention relates to an interrupt processing method having a means for arbitrarily controlling the timing jig for reading.
計算機システムにおいて、利用されている割り込み方式
の1つに、バス・ベクター割り込み方式がある。バス・
ベクター割り込み方式では、外部゛からプロセッサに割
り込み要求があり、プロセッサによりその割り込み要求
が受け付けられるとプロセッサは割り込みアクノリッジ
サイクルを開始し、割り込み側がデータバス上に出力し
たベクタ□−を゛取り込8、対応する割り込み処理を実
行する。One of the interrupt methods used in computer systems is the bus vector interrupt method. bus·
In the vector interrupt method, an interrupt request is sent to the processor from the outside, and when the interrupt request is accepted by the processor, the processor starts an interrupt acknowledge cycle, and takes in the vector □- outputted on the data bus by the interrupt side. Execute the corresponding interrupt processing.
ベクターは、割り込み処理プログラムの開始アドレスを
直接的あるいは間接的に指定するために使用され−る。The vector is used to directly or indirectly specify the start address of the interrupt processing program.
次に具体例で説明する。Next, a specific example will be explained.
第2図は、1つの従来例を示したもので、1はブロセノ
4J、2はメモリ、3乃至5は周辺制御装置、6はデー
タバス、7は了トレスノ\ス、8は割り込み信号線、9
は割り込みアクノリ・ノリ信号線を示す。なお簡単化の
ため周辺制御装置3乃至5からの割り込みについてはデ
ィジーチェーンによる優先制御が行われているものとす
る。したがって、複数の周辺制御装置において同時に割
り込め原因が発生しても、周辺制御装置間のデイジーチ
I、−ン接続順序によ−、てきまる。上位の1つの周辺
制御装置からの割り込みが受け付けられる。FIG. 2 shows one conventional example, in which 1 is a block recorder 4J, 2 is a memory, 3 to 5 are peripheral control devices, 6 is a data bus, 7 is a control bus, 8 is an interrupt signal line, 9
indicates the interrupt acknowledge/noise signal line. For the sake of simplicity, it is assumed that interrupts from the peripheral control devices 3 to 5 are prioritized by daisy chain control. Therefore, even if an interrupt cause occurs simultaneously in a plurality of peripheral control devices, it will depend on the order in which the peripheral control devices are connected. An interrupt from one higher-level peripheral control device is accepted.
プロpノ′す1は、周辺制御装置からの割り込み信号を
検出すると、割り込み禁止のマスクがか&j、られてい
るか否かを調べ、マスクがかけられていなければ割り込
みアクノリッジづイクルを実行し1、割り込みアクノリ
ッジ信号を出力する。When Prop No. 1 detects an interrupt signal from a peripheral control device, it checks whether interrupt prohibition is masked or not, and if it is not masked, executes an interrupt acknowledge cycle. , outputs an interrupt acknowledge signal.
第3図■はプロセッサから出力される割り込みアクノリ
ッジ信号を示し、■は割り込み側の周辺制御装置が割り
込みアクノリッジ信号に応答してデータバス上に出力す
るベクターを示す。図示のように、割り込みアクノリッ
ジサイクルの期間内にベクターが周辺制御装置から出力
されると、プロセッサはベクターを読み取ることができ
る。3 shows an interrupt acknowledge signal outputted from the processor, and 3 shows a vector outputted onto the data bus by the peripheral control device on the interrupt side in response to the interrupt acknowledge signal. As shown, the vector can be read by the processor if it is output from the peripheral controller within the interrupt acknowledge cycle.
一般に、プロセッサICと周辺制御装置1cとは1つの
ファミリイとしてインターフェースを合わせた設計が行
われている。このようなICの組合わせを使用する場合
には問題がないが、使用する周辺制御装置ICの応答が
プロセッサと整合せず第4図の■に示すベクターを出力
するためには、第4図の■に示すように、たとえば2回
の割り込みアクノリッジサイクルが必要とされるよ・う
な場合がある。従来はこのようにプロセッサ■dと周辺
制御装置ICとの間に不整合がある場合、その周辺制御
装置ICの使用をあきらめるか、タイミング合わせのた
めのアダプタ回路などを特別に付加する必要があった。Generally, the processor IC and the peripheral control device 1c are designed to have a combined interface as one family. There is no problem when using such a combination of ICs, but the response of the peripheral control device IC used does not match the processor, and in order to output the vector shown in As shown in (2), for example, there are cases where two interrupt acknowledge cycles are required. Conventionally, when there was a mismatch between the processor d and the peripheral control device IC, it was necessary to abandon the use of the peripheral control device IC or to add a special adapter circuit for timing alignment. Ta.
本発明は、周辺制御装置との整合性が悪く、プロセッサ
の割り込みアクノリッジサイクル内にベクターを返すこ
とができない場合に、プロセッサが通常そなえているハ
スサイクル再実行機能を利用して、割り込みアクノリッ
ジサイクル、全実質的に複数回発生させ、ベクターの読
み取りを可能にするものである。このプロセッサのハス
サイクル再実行機能は、一般にあるハスサイクル、にお
いてデータ転送障害が発生した時などに、周辺制御装置
がプロセッサへ送出するハスエラー信号により起動され
て、ハスサイクルを再実行するために使用されている。The present invention utilizes a hash cycle re-execution function that the processor normally has when it is not possible to return a vector within the interrupt acknowledge cycle of the processor due to poor compatibility with the peripheral control device. All are generated virtually multiple times, allowing the vector to be read. The hash cycle re-execution function of this processor is generally activated by a hash error signal sent to the processor by a peripheral control device when a data transfer failure occurs during a hash cycle, and is used to re-execute the hash cycle. has been done.
本発明では、割り込み7クノリソジサイクルがデータバ
ス十のベクターを読み取るためのバスサイクルであるこ
とに着目し、ハスサイクルを再実行させるハスエラー信
号を、ハスサイクル再実行指令信号として必要回数、す
なわちベクター読み取りが可能となる回数だり擬像的に
発生させてやることにより、プロセッサと周辺制御装置
とを簡易に接続するものであって、その手段は、ハス・
ベクター割り込み機能およびバスサイクル再実行機能を
もつプロセッサと周辺制御装置とをそなえ、プロセッサ
は1度のバスサイクルでベクターを読み出すことが可能
であるが周辺制′4′IA装置は複数回のハスサイクル
を必要とする計算機システムにおいて、周辺制御装置η
からの割り込み信号に応答してプロセッサがハスサイク
ルを開始し割り込みアクノリッジ信号を発したとき、周
辺制御装置はハスサイクル再実行指令信号により応答し
、プロセッサにハスサイクルを再実行させる過程を上記
複数回だけ繰り返させることを特徴とする。In the present invention, attention is paid to the fact that the interrupt 7 logic cycle is a bus cycle for reading the vector of the data bus 10, and a hash error signal that causes the hash cycle to be re-executed is used as a hash cycle re-execution command signal for the necessary number of times, i.e. The processor and the peripheral control device are easily connected by the number of times that the vector can be read or by pseudo-generating the vector.
Equipped with a processor and a peripheral control unit that have a vector interrupt function and a bus cycle re-execution function, the processor can read a vector in one bus cycle, but the peripheral control '4' IA device has multiple hash cycles. In computer systems that require peripheral control device η
When the processor starts the hash cycle and issues an interrupt acknowledge signal in response to an interrupt signal from It is characterized by repeating only
以下に、本発明の詳細を実施例にしたがって説明する。 The details of the present invention will be explained below based on examples.
第1図は本発明の1実施例の構成図であり、第5図はそ
の動作タイミング図である。FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 5 is an operation timing chart thereof.
第1図において、1はプロセッサ、3は周辺制御装置、
10は割り込み制御回路、11はベクターアドレスレジ
スタ、12は割り込みアクノリッジフラグ、13はタイ
マー、14はベクター発生回路を表している。また■は
割り込みアクノリッジ信号、■はベクター、■はバスサ
イクル再実行指令信号であり、これらの信号■、■、■
は、それそれ第5図の信号波形■、■、■に対応してい
る。In FIG. 1, 1 is a processor, 3 is a peripheral control device,
10 represents an interrupt control circuit, 11 a vector address register, 12 an interrupt acknowledge flag, 13 a timer, and 14 a vector generation circuit. Also, ■ is an interrupt acknowledge signal, ■ is a vector, and ■ is a bus cycle re-execution command signal, and these signals ■, ■, ■
correspond to the signal waveforms ■, ■, and ■ in FIG. 5, respectively.
プロセノザ1内の割り込み制御0回路10は、周辺制御
装置3からの割り込み信号を受け((けると割り込みア
クノリソノ信号■を゛I、パにする。この結果、周辺制
御装置3内の割り込みアクノリッジフラグ12ば“L゛
となる。このフラグ12がL”となることにより、タイ
マー13が起動され、所定時間後に出力を°L ”にす
る。タイマー13の出力はハスサイクル再実行指令信号
■として割り込め制御回路10へ通知される。The interrupt control 0 circuit 10 in the processor 1 receives an interrupt signal from the peripheral control device 3 and sets the interrupt acknowledge signal When the flag 12 becomes L, the timer 13 is activated and after a predetermined time, the output is set to °L.The output of the timer 13 is controlled as a Hass cycle re-execution command signal ■ by interrupt. The circuit 10 is notified.
割り込め制御回路10は、ハスサイクル再実行指令信号
■を識別すると、割り込みアクノリッジ信号を“1ビに
し、直くに続いてハスサイクルを再実行する。これによ
り、割り込のアクノリッジ信号■は再びL ”となる。When the interrupt control circuit 10 identifies the hash cycle re-execution command signal ■, it sets the interrupt acknowledge signal to "1 bit" and immediately re-executes the hash cycle. As a result, the interrupt acknowledge signal ■ goes low again. becomes.
この時点では、ベクター発生回路14がベクター■を出
力可能な状態になっており、出力されたベクター■は、
プロセッサ1のベクターアドレスレジスタ11へ読み込
まれ、対応する割り込み処理プログラムをアドレスする
ために使用される。At this point, the vector generation circuit 14 is in a state where it can output the vector ■, and the output vector ■ is
It is read into the vector address register 11 of the processor 1 and used to address the corresponding interrupt processing program.
以上のように、本発明によればプロセッサICと周辺制
御装置ICとの間のハス・−・フタ−割り込み方式によ
るインターフェースかベクター読み取りタイミングの点
で不整合であっても、ハスザイクル再実行機能を利用す
る極めて簡単な手段により、容易にタイミングの整合を
図ることができ、システム構成上の柔軟性を増大させる
ことができる。As described above, according to the present invention, even if there is an inconsistency in the interface between the processor IC and the peripheral control device IC using the hash-lid interrupt method or the vector read timing, the hash cycle re-execution function can be performed. The very simple means utilized allows for easy timing alignment and increased flexibility in system configuration.
第1図は本発明の1実施例の構成図、第2図は従来例の
説明図、第3図はプロセッサと周辺制御装置とが整合し
ている場合のベクター読み取りの動作タイミング図、第
4図は周辺制御装置が複数回の割り込みアクノリッジサ
イクルを必要とする場合のベクター読み取りの動作タイ
ミング図、第5図は第1図の実施例の動作タイミング図
である。
図中、1はプロセッサ、3は周辺制御装置、10(j割
り込み制御回路、11はへクターアトレスレンスク、1
2は割り込みアクノリッジフラグ、13はタイマー、」
4ば−・ククー発生回路を示す。
特許出願人 バナファコム株式会社
代理人弁理士 長谷用 車席(外1名)オ 1 目
オ 2 図FIG. 1 is a configuration diagram of one embodiment of the present invention, FIG. 2 is an explanatory diagram of a conventional example, FIG. 3 is an operation timing diagram of vector reading when the processor and peripheral control device are matched, and FIG. The figure is an operation timing diagram of vector reading when the peripheral control device requires a plurality of interrupt acknowledge cycles, and FIG. 5 is an operation timing diagram of the embodiment of FIG. 1. In the figure, 1 is a processor, 3 is a peripheral control device, 10 (j interrupt control circuit), 11 is a hector atreslensk, 1
2 is the interrupt acknowledge flag, 13 is the timer,
4B-Kuku generation circuit is shown. Patent Applicant Banafacom Co., Ltd. Representative Patent Attorney For Hase Car Seat (1 person outside) O 1 O 2 Diagram
Claims (1)
機能をもつプロセンサと周辺制御装置とをそなえ、プロ
セッサは1度のハスサイクルでベクターを読み出すこと
が可能であ為が周辺制御装置は複数回のハスサイクルを
必要とする計算機システムにおいて、周辺制御装置から
の割り込み信号に応答してプロセッサがバスサイクルを
′開始し割り込みアクノリッジ信号を発したとき、周辺
制御装置はハスサイクル再実行指令信号により応答し、
プロセッサにバスサイクルを再実行させる過程を上記複
数回だけ繰り返させることを特徴とする割り込み処理方
式。Equipped with a processor and a peripheral control device that have a hash vector interrupt function and a bus cycle re-execution function, the processor can read vectors in one hash cycle, but the peripheral control device can read out vectors in multiple hash cycles. In the required computer system, when a processor starts a bus cycle and issues an interrupt acknowledge signal in response to an interrupt signal from a peripheral control device, the peripheral control device responds with a hash cycle re-execution command signal,
An interrupt processing method characterized in that the process of causing a processor to re-execute a bus cycle is repeated multiple times.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10556284A JPS60250455A (en) | 1984-05-24 | 1984-05-24 | Interruption processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10556284A JPS60250455A (en) | 1984-05-24 | 1984-05-24 | Interruption processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60250455A true JPS60250455A (en) | 1985-12-11 |
JPH0125095B2 JPH0125095B2 (en) | 1989-05-16 |
Family
ID=14410976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10556284A Granted JPS60250455A (en) | 1984-05-24 | 1984-05-24 | Interruption processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60250455A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62184541A (en) * | 1986-02-10 | 1987-08-12 | Hitachi Ltd | Interruption processing circuit |
JPS63155972U (en) * | 1987-04-01 | 1988-10-13 |
-
1984
- 1984-05-24 JP JP10556284A patent/JPS60250455A/en active Granted
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62184541A (en) * | 1986-02-10 | 1987-08-12 | Hitachi Ltd | Interruption processing circuit |
JPS63155972U (en) * | 1987-04-01 | 1988-10-13 |
Also Published As
Publication number | Publication date |
---|---|
JPH0125095B2 (en) | 1989-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5021950A (en) | Multiprocessor system with standby function | |
EP0319185B1 (en) | Method and apparatus for checking a state machine | |
US5313621A (en) | Programmable wait states generator for a microprocessor and computer system utilizing it | |
JP2661222B2 (en) | Pulse output device | |
US4580213A (en) | Microprocessor capable of automatically performing multiple bus cycles | |
US4332011A (en) | Data processing arrangement including multiple groups of I/O devices with priority between groups and within each group | |
US4692895A (en) | Microprocessor peripheral access control circuit | |
JPS6043546B2 (en) | Data transfer error handling method | |
JPS60250455A (en) | Interruption processing system | |
US5261083A (en) | Floppy disk controller interface for suppressing false verify cycle errors | |
JP2772352B2 (en) | Control system and processing equipment | |
JPH03122745A (en) | Dma control system | |
JP2000231539A (en) | Data transfer system and data transfer method | |
JPH04323755A (en) | Dma device | |
EP0288191B1 (en) | Method and apparatus for data transfer handshake pipelining | |
JP3104341B2 (en) | Interrupt processing system | |
JPH0445067Y2 (en) | ||
JP2667285B2 (en) | Interrupt control device | |
JPH04156648A (en) | Ready signal monitoring device | |
JPH01200438A (en) | Interruption control circuit | |
JPS6267653A (en) | Bus control system | |
JPH01214949A (en) | Bus abnormality monitoring system | |
JPH03198136A (en) | Check system for dma transfer data | |
JPS6342547A (en) | Line control unit | |
JPH07182272A (en) | Dma controller circuit |