JPS63165940A - Data processor - Google Patents

Data processor

Info

Publication number
JPS63165940A
JPS63165940A JP31129786A JP31129786A JPS63165940A JP S63165940 A JPS63165940 A JP S63165940A JP 31129786 A JP31129786 A JP 31129786A JP 31129786 A JP31129786 A JP 31129786A JP S63165940 A JPS63165940 A JP S63165940A
Authority
JP
Japan
Prior art keywords
channel
interrupt
memory
line
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.)
Pending
Application number
JP31129786A
Other languages
Japanese (ja)
Inventor
Masao Ono
正夫 小野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP31129786A priority Critical patent/JPS63165940A/en
Publication of JPS63165940A publication Critical patent/JPS63165940A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the hardware quantity as well as the cost of a data processor by utilizing a signal line in a system bus to perform an interruption. CONSTITUTION:In case a system bus 5 has a split cycle synchronous with a clock, a channel 3a receives an opportunity to give an access to an MMU 1 via the bus 5 from a prescribed protocol or a bus arbiter. In this case, a memory 4 of the MMU 1 is fetched to check whether the contents of the memory 4 are blank (0) or not. If so, a semaphore signal is set to prevent another channel from writing data into the memory 4. Then the memory 4 is fetched again after confirming whether the semaphore signals received from its own channel is set or not. A format is written into the memory 4 after confirming that the contents of the memory 4 are equal to 0. Then the semaphore signal is set.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はデータ処理装置に関し、特にチャネルから中
央処理装置(以下CPυと略記する)に対し割込みをあ
げる場合の回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device, and particularly to a circuit for issuing an interrupt from a channel to a central processing unit (hereinafter abbreviated as CPυ).

〔従来の技術〕[Conventional technology]

第4図は従来の装置における割込み関係の回路を示すブ
ロック図で、図において11)は主記憶装置(以下腰と
略記する)、(2)はCPU 、  (3a) t (
3b)はそれぞれチャネル(以下CIAと略記する’)
 、!51はシステムパス、−16)はレスポンス線、
(7)はデータ/アドレス線、(8)はID線(図面を
見易くするためデータ/アドレス線(7)とID線(8
)とをまとめて示す。
FIG. 4 is a block diagram showing interrupt-related circuits in a conventional device. In the figure, 11) is the main memory (hereinafter abbreviated as "main storage"), (2) is the CPU, (3a) t (
3b) are respective channels (hereinafter abbreviated as CIA')
,! 51 is the system path, -16) is the response line,
(7) is the data/address line, and (8) is the ID line (to make the drawing easier to read, the data/address line (7) and ID line (8) are
) are shown together.

(9)はセマフォア(俳他制御用信号)線、(41)は
割込み線、(42)はプライオリティ(優先度指示)線
、(43a)、(43b)はそれぞれ割込み発生回路、
(44a) 、 (44b)はそれぞれ優先順位決定回
路である。
(9) is a semaphore (signal for external control) line, (41) is an interrupt line, (42) is a priority (priority instruction) line, (43a) and (43b) are respective interrupt generation circuits,
(44a) and (44b) are priority order determining circuits, respectively.

次に動作について説明する。チャネル(3a)がCPU
 T21に割込みをあげるとき割込み発生回路(43a
)f、動作させて割込み#I (41)上の信号論理を
「1」にする。この割込みがcPU(2)で受付けられ
ると、CPU 121は割込み線(41)上の信号論理
により割込みの発生を知り割込み処理に入る。すなわち
、CPU(1)  からリードリクエスト信号を出すと
、現在割込みを出そうとしているチャネルのうち最高優
先度のチャネル(たとえばCHA(3a )であるとす
る)が当該チャネルのチャネルアドレスを返送する。各
チャネルの優先度はプライオリティ線(42)上の信号
論理によって決定され、第4図に示すシステムで最も簡
単な場合は、プライオリティ線(42)の上流にあるチ
ャネルはど、優先度が固定的に高いとして上流にあるチ
ャネルが割込み発生回路を動作させるとそのチャネルか
ら出るプライオリティ線(42)上の信号論理がたとえ
ばrOJになりてそれよシも下流にあるチャネルの割込
み発生回路の動作を燕効にする。
Next, the operation will be explained. Channel (3a) is CPU
When issuing an interrupt to T21, the interrupt generation circuit (43a
) f, operates and sets the signal logic on interrupt #I (41) to "1". When this interrupt is accepted by the cPU (2), the CPU 121 learns of the occurrence of the interrupt from the signal logic on the interrupt line (41) and starts interrupt processing. That is, when a read request signal is issued from the CPU (1), the channel with the highest priority (for example, CHA (3a)) among the channels currently attempting to issue an interrupt returns the channel address of that channel. The priority of each channel is determined by the signal logic on the priority line (42), and in the simplest case of the system shown in FIG. When the upstream channel operates the interrupt generation circuit, the signal logic on the priority line (42) from that channel becomes, for example, rOJ, which also suppresses the operation of the downstream channel's interrupt generation circuit. Enable.

CPU t21はCHA (3a)  のチャネルアド
レスを受けて必要な割込み処理を行う。
CPU t21 receives the channel address of CHA (3a) and performs necessary interrupt processing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の装置は以上のように構成されているのでシステム
バス(5)の他に割込み線(41)及びプライオリティ
線(42)を必要とし、各チャネルの中に割込み発生回
路、優先順位決定回路を必要とするのでシステムを構成
するハードウェアが増大するという問題点があった。
Since the conventional device is configured as described above, it requires an interrupt line (41) and a priority line (42) in addition to the system bus (5), and an interrupt generating circuit and a priority determining circuit are installed in each channel. Therefore, there was a problem in that the amount of hardware constituting the system increased.

この発明は上記のような問題点を解決するためになされ
たもので、システムパスだけを利用して割込み要求を行
うことができるデータ処理装置を構成することを目的と
している。
The present invention was made to solve the above-mentioned problems, and its object is to configure a data processing device that can issue an interrupt request using only the system path.

〔問題点を解決するための手段〕[Means for solving problems]

この発明の装置ではチャネルがCPUに対し割込み要求
を発行するとき当該チャネルのチャネルアドレスは閣の
特定番地に格納して置き、また割込み要求が発行された
ことをCPUに知らせるにはシステムバス内のID線と
レスポンス線(応答線)とを用いて割込み要求発生を意
味する信号をCPUに送った。
In the device of this invention, when a channel issues an interrupt request to the CPU, the channel address of the channel is stored at a specific address in the cabinet, and in order to notify the CPU that an interrupt request has been issued, a A signal indicating the generation of an interrupt request was sent to the CPU using the ID line and response line.

〔作用〕[Effect]

CPUは割込み要求が発生したことを知ると、mの特定
番地を読出しそれに従りて割込処理を行い、割込処理が
終了すると上記特定帯地の内容を空白にする。したがり
て、他のチャネルにおいては、特定番地にキーパターン
とチャネルアドレスがセットされているときはCPUが
割込み処理中であって特定番地の内容が空白になるまで
割込みが禁止されていると理解する。
When the CPU learns that an interrupt request has occurred, it reads the specific address of m and performs interrupt processing accordingly, and when the interrupt processing is completed, the content of the specific area is blanked. Therefore, in other channels, when a key pattern and channel address are set at a specific address, it is understood that the CPU is processing an interrupt and interrupts are prohibited until the content of the specific address becomes blank. do.

〔実施例〕〔Example〕

以下この発明の実施例を図面について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図で、第4
図と同一符号は同−又は相当部分を示し、(4)はMM
U(1)内の特定番地のメモリである。
FIG. 1 is a block diagram showing one embodiment of the present invention.
The same reference numerals as in the figure indicate the same or equivalent parts, and (4) is MM.
This is the memory at a specific address within U(1).

第2図は第1図のメモリ(4)に書込まれる信号を示す
フォーマット図で、(21)は特定のキーパターン、 
 (22)はチャネルアドレスで、キーパターン(21
)はチャネルアドレス(22)のチャネルが現在割込み
をあげ、CPU 121がこの割込み処理を終了するの
を待っている状態を示す。
FIG. 2 is a format diagram showing the signals written to the memory (4) in FIG. 1, where (21) is a specific key pattern,
(22) is the channel address, and the key pattern (21
) indicates that the channel at channel address (22) is currently raising an interrupt and is waiting for the CPU 121 to finish this interrupt processing.

第3図は第1図の装置の動作の一部を示すフローチャー
トで(301)〜(310)は各ステップである。
FIG. 3 is a flowchart showing a part of the operation of the apparatus shown in FIG. 1, and (301) to (310) are each step.

以下$3図について、第1図の装置の動作を説明する。The operation of the apparatus shown in FIG. 1 will be explained below with reference to the $3 diagram.

システムパス(5)がクロック同期されたスプリットサ
イクルのシステムパス(5)である場合、チャネル(3
a)にはあらかじめ定められたプロトコルにょり又はバ
ス・アービタ(buSarbiter)(図示セず)に
より、システムバス(5)を経てMV[U litにア
クセスする機会が与えられる。この機会を利用してステ
ップ(301)に入りMMU 111のメモリ(4)を
フェッチし、その内容が空白(以下Oで表す)か否かを
チェックする(ステップ(302) )、0でなければ
0になるまで待つ。Oであれば他のチャネルがメモリ(
41に書込むことを防止するためセマフォア信号をセッ
トする(ステップ(303) )。但し他のチャネルが
セットしたセマフォア信号が存在する場合には自チャ 
ネルのセマフォア信号はセットできない。
If system path (5) is a clocked split-cycle system path (5), channel (3
a) is given the opportunity to access the MV[U lit via the system bus (5) by a predetermined protocol or by a bus arbiter (not shown). Taking advantage of this opportunity, enter step (301) and fetch the memory (4) of MMU 111, and check whether the content is blank (hereinafter denoted by O) or not (step (302)). Wait until it reaches 0. If O, other channels are memory (
A semaphore signal is set to prevent writing to 41 (step (303)). However, if there is a semaphore signal set by another channel, the own channel
The channel semaphore signal cannot be set.

ステップ(304)で自チャ ネルからのセマ7オアが
セットできたか否かを確認した後、ステップ(305)
で再びMVfLT 111のメモリ(41をフェッチし
て、ステップ(306)でメモリ(4)の内容が0であ
ることを確認した後MMLT lllのメモリ(4)に
第2図に示すフォーマットの書込みを行った(ステップ
(307) )後セマフォア信号(308)をリセット
する。その後、システムバス(5)内で他の目的に使用
される信号線?利用してCPU 121に割込み要求が
発行されているととを知らせる(ステップ(309))
After checking whether Sema 7 OR from own channel was set in step (304), step (305)
After fetching the memory (41) of the MVfLT 111 again and confirming that the content of the memory (4) is 0 in step (306), write the format shown in Figure 2 to the memory (4) of the MMLT 111. After doing so (step (307)), the semaphore signal (308) is reset.After that, an interrupt request is issued to the CPU 121 using a signal line used for other purposes within the system bus (5). Notify (step (309))
.

たとえば、ID 線181に割込み発生を示すビットパ
ターンを乗せ、レスポンス線(6)上の信号論理を「1
」にする。CPU +21はID線(8)とレスポンス
線(6)の信号を見て割込み発生を知り、NjNLU 
illのメモ1月4)の内容を読みこれに対応する割込
み処理を行った後、メモリ(4)の内容を0にする。
For example, a bit pattern indicating the occurrence of an interrupt is placed on the ID line 181, and the signal logic on the response line (6) is set to ``1''.
”. CPU +21 sees the signals on the ID line (8) and response line (6) and knows that an interrupt has occurred, and then sends NjNLU
After reading the contents of ill's memo (January 4) and performing the corresponding interrupt processing, the contents of the memory (4) are set to 0.

ステップ(304) 、 (306)の判定がNOであ
ればステップ(310)でセマフォア信号をリセットし
た後ステップ(301)に帰る。
If the determinations in steps (304) and (306) are NO, the semaphore signal is reset in step (310), and then the process returns to step (301).

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、特別に割込み専用の信
号線を設けなくても、システムバスの中の信号線を利用
して割込みをあげることができるので、ハードウェア前
を減少し、安価な装置を構成することができる。
As described above, according to the present invention, interrupts can be raised using the signal line in the system bus without the need to provide a special signal line exclusively for interrupts, which reduces the amount of hardware required and reduces the cost. It is possible to configure various devices.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例を示すブロック図、第2図
は第1図の特定番地のメモリに書込まれる信号を示すフ
ォーマット図、第3図は第1図の装置の動作の一部を示
すフローチャート、第4図は従来の装置を示すブロック
図。 (1)はm、(2)はCPU、  (3a)はチャネル
、(4)ハ鳩の111の特定番地のメモリ、(5)はシ
ステムバス、(6)はレスポンス線、(7)はデータ/
アドレス線、(8)はID線、(9)はセマフォγ線。 尚、各図中同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a format diagram showing signals written to the memory at a specific address in FIG. 1, and FIG. 3 is an illustration of the operation of the device shown in FIG. FIG. 4 is a block diagram showing a conventional device. (1) is m, (2) is CPU, (3a) is channel, (4) memory at specific address 111 of Habato, (5) is system bus, (6) is response line, (7) is data /
Address line, (8) is ID line, (9) is semaphore gamma ray. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (3)

【特許請求の範囲】[Claims] (1)中央処理装置と主記憶装置とチャネルとが、クロ
ック同期されたスプリットサイクルのシステムバスに接
続されて構成されるデータ処理装置において、 上記主記憶装置内の特定番地に設けられ、中央処理装置
が割込み処理中であることを示すキーパターンと、当該
割込みを要求したチャネルのチャネルアドレスとを格納
する特定メモリ、 割込み要求を発行しようとするチャネルが上記特定メモ
リの内容が空白であることを確認した上で上記特定メモ
リへ上記キーパターンと当該チャネルのチャネルアドレ
スを書込んだ上、上記システムバス内で他の用途に使用
される信号線を用いて中央処理装置に割込みの発生を知
らせる手段、割込みの発生を知った中央処理装置が上記
特定メモリの内容に従って割込み処理を実行し、その割
込み処理が終了した後上記特定メモリの内容を消去する
手段、 を備えたことを特徴とするデータ処理装置。
(1) In a data processing device configured by a central processing unit, a main storage device, and a channel connected to a clock-synchronized split-cycle system bus, the central processing A specific memory that stores a key pattern indicating that the device is processing an interrupt and the channel address of the channel that requested the interrupt. After checking, writing the key pattern and the channel address of the channel in the specific memory, and then notifying the central processing unit of the occurrence of an interrupt using a signal line used for other purposes within the system bus. , means for the central processing unit to execute interrupt processing according to the contents of the specific memory after learning of the occurrence of an interrupt, and to erase the contents of the specific memory after the interrupt processing is completed. Device.
(2)割込み要求を発行しようとするチャネルが上記特
定メモリの内容が空白であることを確認した上で上記特
定メモリへ上記キーパターンと当該チャネルのアドレス
を書込む手段は、当該チャネルが上記システムバス上の
排他制御用信号(セマフォア)線上に俳他制御用信号を
設定した後に書込みを行うことを特徴とする特許請求の
範囲第1項記載のデータ処理装置。
(2) The means by which the channel attempting to issue an interrupt request writes the key pattern and the address of the channel to the specific memory after confirming that the contents of the specific memory are blank is 2. The data processing device according to claim 1, wherein writing is performed after setting an exclusive control signal on an exclusive control signal (semaphore) line on a bus.
(3)チャネルが中央処理装置に割込みの発生を知らせ
るために用いる信号線は、上記システムバス内のID線
と応答信号(レスポンス)線であることを特徴とする特
許請求の範囲第1項記載のデータ処理装置。
(3) The signal lines used by the channel to notify the central processing unit of the occurrence of an interrupt are an ID line and a response signal (response) line within the system bus, as set forth in claim 1. data processing equipment.
JP31129786A 1986-12-27 1986-12-27 Data processor Pending JPS63165940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31129786A JPS63165940A (en) 1986-12-27 1986-12-27 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31129786A JPS63165940A (en) 1986-12-27 1986-12-27 Data processor

Publications (1)

Publication Number Publication Date
JPS63165940A true JPS63165940A (en) 1988-07-09

Family

ID=18015435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31129786A Pending JPS63165940A (en) 1986-12-27 1986-12-27 Data processor

Country Status (1)

Country Link
JP (1) JPS63165940A (en)

Similar Documents

Publication Publication Date Title
US5265231A (en) Refresh control arrangement and a method for refreshing a plurality of random access memory banks in a memory system
EP0166272B1 (en) Processor bus access
KR101189256B1 (en) Device and Method for Controlling SRAM in DDI
JPS63165940A (en) Data processor
EP1071020A2 (en) Information processing system
JP2600376B2 (en) Memory controller
JPH09311812A (en) Microcomputer
JP2000099370A (en) Signal processor
JP3019323B2 (en) Direct access to image memory
JP2821176B2 (en) Information processing device
JP2968636B2 (en) Microcomputer
JPH0934726A (en) Interruption control method
JP2581144B2 (en) Bus control device
JPS62187956A (en) Dma control system
JPH1027153A (en) Bus transfer device
JPS59191656A (en) Memory ic simulator
JPH0474254A (en) Microprocessor diagnostic system
JPS60123956A (en) Memory writing device
JPS6326906B2 (en)
JPS6235960A (en) Exclusive control information control system
JPS63278156A (en) Memory writing control circuit
JPH0533414B2 (en)
JPH10307802A (en) Data transfer device by multi-buffer control in parallel computers
JPH01144151A (en) Information processor
JPH0683642A (en) Interruption controller