JPH05100993A - Signal line sharing system - Google Patents

Signal line sharing system

Info

Publication number
JPH05100993A
JPH05100993A JP25912191A JP25912191A JPH05100993A JP H05100993 A JPH05100993 A JP H05100993A JP 25912191 A JP25912191 A JP 25912191A JP 25912191 A JP25912191 A JP 25912191A JP H05100993 A JPH05100993 A JP H05100993A
Authority
JP
Japan
Prior art keywords
signal line
interrupt
signal
processing unit
bus
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
Application number
JP25912191A
Other languages
Japanese (ja)
Other versions
JP2979778B2 (en
Inventor
Hiroyuki Noto
啓行 能登
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 JP3259121A priority Critical patent/JP2979778B2/en
Publication of JPH05100993A publication Critical patent/JPH05100993A/en
Application granted granted Critical
Publication of JP2979778B2 publication Critical patent/JP2979778B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To share an interruption signal line by providing an interruption signal sending timing signal line on a system bus, time-division-multiplex-using the interruption signal line at an interruption signal line drive circuit and providing a demodulating circuit. CONSTITUTION:The interruption signal line drive circuit 9 synchronizes an asynchronous interruption generation factor(1) generating at a bus slave module 2 with an interruption signal sending timing signal 1f so as to make it possible to time-division use the interruption signal line 1e. Besides, the demodulating circuit 14 on a bus master 3 demodulate a shared interruption signal by adjusting it to the interruption signal sending timing signal 1f and specifies a bus slave module requiring an interruption service. Namely, the interruption service requirement generated at a bus slave (1) outputs the signal which is synchronized with the interruption sending timing 1f in a prescribed timing by the interruption signal line drive circuit 9 to the interruption signal line 1e by making a signal line 5 at the interruption factor 1 to be significant.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、割り込み信号線等の
信号線共有化方式に関し、たとえば、マイクロコンピュ
ータシステムのバスアーキテクチャに係わる割り込み処
理に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal line sharing system such as an interrupt signal line, and more particularly to an interrupt process related to a bus architecture of a microcomputer system.

【0002】[0002]

【従来の技術】図9は例えば従来のマイクロコンピュー
タシステムを示す機能分割図面であり、図において、1
は分割された機能モジュール間のデータ通信を行うシス
テムバス、2は必要な数だけ用意され、各々の機能を担
当するバススレーブモジュール(あるいは、単にバスス
レーブともいう)、3は各々のバススレーブモジュール
2に対しサービスを行うバスマスタである。
2. Description of the Related Art FIG. 9 is a functional division drawing showing, for example, a conventional microcomputer system.
Is a system bus for performing data communication between divided functional modules, 2 are provided as many as necessary, and bus slave modules (or simply referred to as bus slaves) in charge of each function, 3 are respective bus slave modules It is a bus master that provides services to 2.

【0003】次に動作について説明する。システムバス
1上にある2のバススレーブモジュール(1)が何らか
の要因によりバスマスタ3のサービスを受ける必要があ
る場合、バススレーブモジュール(2)は自身に割り当
てられた割り込み信号線1cを駆動する。バスマスタ3
は、割り込み信号線1cが駆動されたことで、バススレ
ーブモジュール(1)より割り込みサービスの要求があ
ることを検知し、バススレーブモジュール(1)に対し
てデータ転送等のサービスをシステムバス1の他の信号
線群1dを用いて開始する。図10はバススレーブ2、
およびバスマスタ3の内部ブロック図であり、バススレ
ーブ2がバスマスタ3のサービスを受ける必要がある場
合、割り込み要因(1)の信号線5を有意にし、バスド
ライバ6が、システムバス1上の割り込み信号線1cを
駆動する。バスマスタでは、システムバス上の全割り込
み信号線がバスレシーバ7を介して割り込みコントロー
ル回路8に接続されており、割り込みコントロール回路
8によって、割り込み線号線1cが駆動されたこと、す
なわち、システムバス1上のバススレーブ(1)が割り
込みサービスの要求があるということを、バスマスタ3
内のCPUが解釈できる様、翻訳し伝達することで、バ
スマスタ3はバススレーブ2に対して割り込みサービス
を開始することができる。
Next, the operation will be described. When the two bus slave modules (1) on the system bus 1 need to be serviced by the bus master 3 for some reason, the bus slave module (2) drives the interrupt signal line 1c assigned to itself. Bus master 3
Detects that there is a request for an interrupt service from the bus slave module (1) by driving the interrupt signal line 1c, and provides a service such as data transfer to the bus slave module (1) on the system bus 1. Start using another signal line group 1d. FIG. 10 shows the bus slave 2,
3 is an internal block diagram of the bus master 3, and when the bus slave 2 needs to be serviced by the bus master 3, the signal line 5 of the interrupt factor (1) is made significant, and the bus driver 6 makes the interrupt signal on the system bus 1 Drive line 1c. In the bus master, all interrupt signal lines on the system bus are connected to the interrupt control circuit 8 via the bus receiver 7, and the interrupt control circuit 8 drives the interrupt line 1c, that is, on the system bus 1. That the bus slave (1) has a request for interrupt service.
The bus master 3 can start the interrupt service to the bus slave 2 by translating and transmitting it so that the CPU inside can interpret it.

【0004】[0004]

【発明が解決しようとする課題】従来の割り込み方式で
は、以上のように構成されているので、割り込みサービ
スを要求するバススレーブモジュールの数だけ割り込み
信号線が必要で、また、互換性等を考慮してシステムバ
スの物理的仕様を変更しない場合において、システム機
能上必要となる割り込み信号線数が得られない問題点が
あった。
Since the conventional interrupt method is configured as described above, interrupt signal lines are required for the number of bus slave modules requesting interrupt service, and compatibility and the like are taken into consideration. When the physical specifications of the system bus are not changed, the number of interrupt signal lines required for the system function cannot be obtained.

【0005】この発明は上記のような問題点を解消する
ためになされたもので、複数のバススレーブモジュール
に接続される信号線を共有化できるとともに、その共有
化された信号線に接続されるバススレーブモジュールの
数に制限がない信号線共有化方式を得ることを目的とし
ている。
The present invention has been made in order to solve the above-mentioned problems, and can share a signal line connected to a plurality of bus slave modules and connect the shared signal line. The purpose is to obtain a signal line sharing method in which the number of bus slave modules is not limited.

【0006】[0006]

【課題を解決するための手段】第1の発明に係る信号線
共有化方式は、システムバス上に割り込み信号送出タイ
ミング信号線(タイミング信号線の一例)を設け、バス
スレーブモジュール(スレーブ処理部の一例)上で割り
込み信号送出タイミング信号(タイミング信号の一例)
に同期した割り込み信号(駆動信号の一例)を発生させ
る割り込み信号線駆動回路(駆動手段の一例)により、
割り込み信号線(共有化信号線の一例)を時分割多重使
用することとし、バスマスタ(マスタ処理部の一例)に
て、時分割多重使用されている割り込み信号を所定の方
法で復調する復調回路(受信手段の一例)を持つこと
で、割り込み信号線の共有化を図るものである。
A signal line sharing system according to a first aspect of the invention provides an interrupt signal transmission timing signal line (an example of a timing signal line) on a system bus, and a bus slave module (of a slave processing unit). (Example) Timing signal for sending an interrupt signal (an example of timing signal)
An interrupt signal line driving circuit (an example of a driving unit) that generates an interrupt signal (an example of a driving signal) synchronized with
The interrupt signal line (an example of a shared signal line) is time-division multiplexed, and a bus master (an example of a master processing unit) demodulates an interrupt signal that is time-division multiplexed by a predetermined method ( By having an example of receiving means), the interrupt signal line is shared.

【0007】また、第2の発明に係る信号線共有化方式
は、システムバス上にバスクロック線(クロック信号線
の一例)を設け、バススレーブモジュール(スレーブ処
理部の一例)上でそのバスクロック信号に同期した割り
込み信号(駆動信号の一例)を発生させる割り込み信号
線駆動回路(駆動手段の一例)と、この割り込み信号線
駆動回路の動作を禁止する割り込みマスクレジスタ(禁
止手段の一例)により、割り込み信号線(共有化信号線
の一例)を時分割使用することとし、バスマスタ(マス
タ処理部の一例)にて、時分割使用されている割り込み
信号により起動される割り込み処理プログラム(処理手
段の一例)で、割り込み信号を出したバススレーブモジ
ュールを特定することで、割り込み信号線の共有化を図
るものである。
In the signal line sharing system according to the second aspect of the invention, a bus clock line (an example of a clock signal line) is provided on the system bus, and the bus clock is provided on the bus slave module (an example of a slave processing unit). An interrupt signal line drive circuit (an example of a drive unit) that generates an interrupt signal (an example of a drive signal) synchronized with the signal, and an interrupt mask register (an example of a prohibition unit) that inhibits the operation of the interrupt signal line drive circuit. An interrupt signal line (an example of a shared signal line) is used in a time division manner, and an interrupt processing program (an example of a processing unit) activated by an interrupt signal used in a time division manner in a bus master (an example of a master processing unit). By specifying the bus slave module that has issued the interrupt signal, the interrupt signal line is shared.

【0008】[0008]

【作用】第1の発明において割り込み信号線駆動回路
(駆動手段)は、バススレーブモジュールで発生する非
同期な割り込み発生要因を割り込み信号送出タイミング
信号に合わせて同期化させ、割り込み信号線を時分割使
用可能とさせる。また、バスマスタ上の復調回路(受信
手段)は、割り込み信号送出タイミング信号に合わせ
て、共有化された割り込み信号を復調し、割り込みサー
ビスを要求したバススレーブモジュールを特定する。
In the first aspect of the invention, the interrupt signal line drive circuit (driving means) synchronizes the asynchronous interrupt generation factor generated in the bus slave module with the interrupt signal transmission timing signal, and uses the interrupt signal line in a time division manner. Make possible Further, the demodulation circuit (reception means) on the bus master demodulates the shared interrupt signal in accordance with the interrupt signal transmission timing signal, and specifies the bus slave module that requested the interrupt service.

【0009】第2の発明において割り込み信号線駆動回
路(駆動手段)は、バススレーブモジュールで発生する
非同期な割り込み発生要因を、バスクロック信号線に合
わせて同期させて出力するとともに、割り込みマスクレ
ジスタ(禁止手段)は他のバススレーブモジュールが共
有化された割り込み信号線を使用していることを検出し
て自己の割り込み信号線駆動回路(駆動手段)の動作を
禁止するので、複数のバススレーブモジュールからひと
つの割り込み信号線に対する二重駆動が防止できる。ま
た、バスマスタ上の割り込み処理プログラム(処理手
段)は割り込みサービスを要求したバススレーブモジュ
ールを特定する。
In the second invention, the interrupt signal line drive circuit (driving means) outputs an asynchronous interrupt generation factor generated in the bus slave module in synchronization with the bus clock signal line and outputs the interrupt mask register ( Since the prohibiting means) detects that another bus slave module uses the shared interrupt signal line and prohibits the operation of its own interrupt signal line drive circuit (driving means), the plurality of bus slave modules Therefore, double driving for one interrupt signal line can be prevented. Further, the interrupt processing program (processing means) on the bus master specifies the bus slave module that requested the interrupt service.

【0010】[0010]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図1において1〜3は前述しているので省略す
る。1fは割り込み送出タイミング信号線であり、1e
は共有化された割り込み信号線である。1e、1fのい
ずれもシステムバス1上の信号線であり、割り込みサー
ビスを必要とするバススレーブモジュール2全部とバス
マスタ3に接続される。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, since 1 to 3 have been described above, they are omitted. 1f is an interrupt transmission timing signal line, and 1e
Is a shared interrupt signal line. Both 1e and 1f are signal lines on the system bus 1 and are connected to all the bus slave modules 2 requiring interrupt service and the bus master 3.

【0011】図2は、バススレーブ2および、バスマス
タ3の内部ブロックである。バススレーブ(1)におい
て発生した割り込みサービス要求は割り込み要因(1)
信号線5を有意にすることで、割り込み信号線駆動回路
9が、ラインレシーバ10を介して接続されている割り
込み送出タイミング信号1fに所定のタイミングに同期
させた割り込み信号をラインドライバ11を介して共有
化された割り込み信号線1eに出力する。
FIG. 2 shows internal blocks of the bus slave 2 and the bus master 3. The interrupt service request generated in the bus slave (1) is the interrupt factor (1)
By making the signal line 5 significant, the interrupt signal line drive circuit 9 causes the interrupt signal synchronized with the interrupt transmission timing signal 1f connected via the line receiver 10 at a predetermined timing via the line driver 11. Output to the shared interrupt signal line 1e.

【0012】ラインドライバ11は、1本の割り込み信
号線を複数のドライバが駆動するので、オープンコレク
タ、又は、それに相当する機能をもつラインドライバを
使用する。
Since a plurality of drivers drive one interrupt signal line, the line driver 11 uses an open collector or a line driver having a function equivalent thereto.

【0013】バスマスタ3では、共有化された割り込み
信号線1eがラインレシーバ12を介して復調回路14
に入力される。プルアップ抵抗13は、どのバススレー
ブも割り込み信号線を駆動していないときにその信号線
の電位を安定させる為にある。割り込み送出タイミング
発生回路15は、復調回路14が、時分割多重使用され
ている割り込み信号を割り込みサービス要求元が判別で
きるような特定の信号パターンであって、さらに、バス
スレーブ2上の割り込み信号線駆動回路9自身が、共有
化された割り込み信号線の使用可能である時間を判別で
きるような特定の信号パターンを発生する。
In the bus master 3, the shared interrupt signal line 1e passes through the line receiver 12 and the demodulation circuit 14
Entered in. The pull-up resistor 13 is for stabilizing the potential of the signal line when no bus slave is driving the interrupt signal line. The interrupt transmission timing generation circuit 15 has a specific signal pattern that allows the demodulation circuit 14 to identify an interrupt signal used in time division multiplex by an interrupt service request source, and further, an interrupt signal line on the bus slave 2. The drive circuit 9 itself generates a specific signal pattern that can determine the available time of the shared interrupt signal line.

【0014】図3は、割り込み信号線駆動回路の一例で
ある。ラインレシーバ10を介した割り込み送出タイミ
ング信号16はワンショットマルチバイブレータ17と
カウンタ18に入力される。カウンタ18はそのCLK
入力の立上がりエッジにて、その出力0、1、2、3、
〜、nが順次有意となる様に動作し、また、そのRST
入力が有意であって、かつ、そのCLK入力の立上がり
エッジにおいて、出力0が有意になる様リセットされる
ものである。ワンショットマルチバイブレータ17はそ
の入力信号の立上がりエッジより、一定の期間その出力
19が有意になる様動作するものである。カウンタ18
およびワンショットマルチバイブレータ17の動作タイ
ミングを図5に示す。ラインレシーバ10を介した割り
込み送出タイミング信号16は図5の様に、立上がりエ
ッジから次の立上がりエッジまでが短い期間20とそれ
が長い期間21(立上がりエッジにても同様である)を
有する信号を用い、かつワンショットマルチバイブレー
タ17の出力19が有意に接続される期間を期間20と
期間21の中間に設定することにより、期間20におい
て、カウンタ18はリセットされ、期間21にて、カウ
ンタ18は割り込み送出タイミング信号に同期してカウ
ントできる。つまり、システムバス上の全バススレーブ
モジュール2内のカウンタ18は、全て同じ計数値を示
すことができる。従って、個々のバススレーブモジュー
ル2に独立した番号を割り当て、その番号とカウンタ1
8の計数値が一致した時において、割り込み信号線を駆
動可能とすれば、全バススレーブモジュールにて1本の
割り込み信号線を共有して使用できる。図3において
は、カウンタ18の計数値が”1”の時、信号線22が
有意となり、5の割り込み要因(1)が有意であれば2
3のANDゲートの出力24が有意になり、ラインドラ
イバ11を介して共有化された割り込み信号線1eが駆
動される。
FIG. 3 shows an example of the interrupt signal line drive circuit. The interrupt transmission timing signal 16 via the line receiver 10 is input to the one-shot multivibrator 17 and the counter 18. Counter 18 has its CLK
At the rising edge of the input, its output 0, 1, 2, 3,
~, N operates so as to become significant in order, and the RST
The input is significant and at the rising edge of its CLK input, the output 0 is reset to be significant. The one-shot multivibrator 17 operates so that its output 19 becomes significant for a certain period from the rising edge of its input signal. Counter 18
The operation timing of the one-shot multivibrator 17 is shown in FIG. As shown in FIG. 5, the interrupt transmission timing signal 16 via the line receiver 10 is a signal having a short period 20 from the rising edge to the next rising edge and a long period 21 (the same applies to the rising edge). By using and setting the period during which the output 19 of the one-shot multivibrator 17 is significantly connected in the middle of the period 20 and the period 21, the counter 18 is reset in the period 20 and the counter 18 is reset in the period 21. Counting can be performed in synchronization with the interrupt transmission timing signal. That is, the counters 18 in all the bus slave modules 2 on the system bus can all show the same count value. Therefore, an independent number is assigned to each bus slave module 2, and that number and counter 1
If the interrupt signal line can be driven when the count values of 8 match, one interrupt signal line can be shared and used by all the bus slave modules. In FIG. 3, when the count value of the counter 18 is "1", the signal line 22 is significant, and if the interrupt factor (1) of 5 is significant, it is 2
The output 24 of the AND gate of 3 becomes significant, and the shared interrupt signal line 1e is driven via the line driver 11.

【0015】図4は、バスマスタ3の復調回路14の一
例である。割り込み送出タイミング信号1fより現在ど
のバススレーブモジュールが共有化された割り込み信号
線1eを使用可能しているかを判断する方法について
は、割り込み信号線駆動回路と同様である。割り込み信
号線駆動回路との相異点は2つあり、1つは割り込み送
出タイミング信号の立上がりエッジにて送出された割り
込み信号が安定してから、復調回路14によってサンプ
リングされる様、インバータ25によって、割り込み信
号駆動タイミングとサンプリングタイミングを図5の2
6の様にずらしている。2つめは、共有化された割り込
み信号線1eは一定期間のみしか1つのバススレーブモ
ジュールの割り込み要求状態を示さないので、その状態
を記憶するためにDフリップフロップ27を用いてい
る。図5においては、28の期間、バススレーブモジュ
ール(1)にて、割り込み要求を共有化された割り込み
信号線1eに対して出力しており、その要求出力はライ
ンレシーバ12を介した信号21としてDフリップフロ
ップ27へ入力される。割り込み送出タイミング信号1
fはバスマスタ3内で信号線20を介して、インバータ
25へ入力されており、その立下がりエッジにて、D−
フリップフロップ27に、期間28の割り込み信号線の
状態が26の様に記憶される。図4の場合、バススレー
ブモジュール(1)に対しては信号線29が対応する。
FIG. 4 shows an example of the demodulation circuit 14 of the bus master 3. The method of determining which bus slave module can currently use the shared interrupt signal line 1e from the interrupt transmission timing signal 1f is the same as that of the interrupt signal line drive circuit. There are two differences from the interrupt signal line drive circuit. One is that the inverter 25 causes the demodulation circuit 14 to sample after the interrupt signal transmitted at the rising edge of the interrupt transmission timing signal becomes stable. , The interrupt signal drive timing and sampling timing are shown in 2 of FIG.
It shifts like 6. Second, since the shared interrupt signal line 1e indicates the interrupt request state of one bus slave module only for a certain period, the D flip-flop 27 is used to store the state. In FIG. 5, during the period of 28, the bus slave module (1) outputs an interrupt request to the shared interrupt signal line 1e, and the request output is a signal 21 via the line receiver 12. It is input to the D flip-flop 27. Interrupt transmission timing signal 1
f is input to the inverter 25 via the signal line 20 in the bus master 3, and at the falling edge thereof, D-
The state of the interrupt signal line in the period 28 is stored in the flip-flop 27 as indicated by 26. In the case of FIG. 4, the signal line 29 corresponds to the bus slave module (1).

【0016】信号線29を含む信号線群30は割り込み
コントロール回路8へ出力される。この信号線群30
は、図10における信号群31と同様の効果を持つこと
になる。
The signal line group 30 including the signal line 29 is output to the interrupt control circuit 8. This signal line group 30
Has the same effect as the signal group 31 in FIG.

【0017】実施例2.次に、割り込み送出タイミング
信号に周期一定の信号を用い、復調回路の代わりにバス
マスタ側の割り込み処理プログラムとバススレーブ側で
の割り込みマスクレジスタを追加した割り込み信号線駆
動回路により、実施例1と同様の効果を得る一実施例を
説明する。
Embodiment 2. Next, a signal having a constant cycle is used as an interrupt transmission timing signal, and an interrupt signal line drive circuit in which an interrupt processing program on the bus master side and an interrupt mask register on the bus slave side are added in place of the demodulation circuit is the same as the first embodiment. An embodiment for obtaining the effect of will be described.

【0018】図6はこの実施例の構成図である。割り込
み送出タイミング信号発生回路に代わり、バスクロック
発生回路32が、一定周期のクロック信号33を出力
し、ラインドライバ34にてバスクロック信号線1gが
駆動される。その他は、図10のバスマスタの構成と同
じである。共有化された割り込み信号線1eはラインレ
シーバ12を介して割り込みコントロール回路8に入力
され、その信号の立ち上がりエッジにて割り込み発生と
する。
FIG. 6 is a block diagram of this embodiment. Instead of the interrupt transmission timing signal generation circuit, the bus clock generation circuit 32 outputs a clock signal 33 of a constant cycle, and the line driver 34 drives the bus clock signal line 1g. Others are the same as the configuration of the bus master in FIG. The shared interrupt signal line 1e is input to the interrupt control circuit 8 via the line receiver 12, and an interrupt is generated at the rising edge of the signal.

【0019】バススレーブモジュール2の割り込み信号
線駆動回路35は、割り込みマスクレジスタ36の割り
込み禁止出力37が有意でなく、かつ5の割り込み要因
(1)が有意である時のみ、バスクロック信号1gの立
上がりエッジにて出力24が有意となり、ラインドライ
バ11を介して共有化された割り込み信号線1eを、1
バスクロック期間、論理”0”に駆動させる。共有化さ
れた割り込み信号線1eは、ラインレシーバ38に入力
され、その出力39は割り込みマスクレジスタ36へ入
力される。割り込みマスクレジスタ36は、他のバスス
レーブモジュールによって一度でも、共有化された割り
込み信号線1eが駆動されたならば、その出力37は有
意となり自バススレーブモジュールが共有化された割り
込み信号線1eを不正なタイミングで駆動するのを防
ぎ、多重割り込み状態が発生しない様にするためのもの
である。バススレーブモジュール2は、バスマスタ3に
よって、5の割り込み要因の有/無、割り込みマスクレ
ジスタの状態を確認でき、かつ、割り込みマスクレジス
タ36をリセット可能としておくことが必要である。
The interrupt signal line drive circuit 35 of the bus slave module 2 outputs the bus clock signal 1g only when the interrupt inhibit output 37 of the interrupt mask register 36 is not significant and the interrupt factor (1) of 5 is significant. The output 24 becomes significant at the rising edge, and the interrupt signal line 1e shared via the line driver 11 is set to 1
It is driven to logic "0" during the bus clock period. The shared interrupt signal line 1e is input to the line receiver 38, and its output 39 is input to the interrupt mask register 36. If the shared interrupt signal line 1e is driven by another bus slave module at least once, the output 37 of the interrupt mask register 36 becomes significant, and the interrupt mask register 36 outputs the interrupt signal line 1e shared by the own bus slave module. This is to prevent driving at an incorrect timing so that a multiple interrupt state does not occur. The bus slave module 2 needs to be able to confirm the presence / absence of the interrupt factors 5 and the state of the interrupt mask register by the bus master 3 and to be able to reset the interrupt mask register 36.

【0020】図7は割り込み信号線駆動回路35および
割り込みマスクレジスタ36の一例である。D−フリッ
プフロップ40、41により、バスクロック信号16の
1周期分の割り込み信号を発生させることができ、その
発生条件は、5の割り込み要因が有意であり、かつ、3
7の割り込みマスク信号が有意でないとき、ANDゲー
ト42によってD−フリップフロップ40、41のリセ
ット信号43が解除されることである。割り込みマスク
レジスタ36もD−フリップフロップで構成されてお
り、共有化された割り込み信号線1eの”H”→”L”
の立下がりエッジにおいて、割り込み禁止信号37が有
意となる。また、割り込みマスクレジスタ36は、自バ
ススレーブモジュールにてデコードされたバスマスタ3
からの割り込みマスクレジスタ信号44によりリセット
可能である。NORゲート45は、自バススレーブモジ
ュールが、共有化された割り込み信号線1eを駆動する
時、割り込みマスクレジスタがセットされない様にする
ためである。
FIG. 7 shows an example of the interrupt signal line drive circuit 35 and the interrupt mask register 36. An interrupt signal for one cycle of the bus clock signal 16 can be generated by the D-flip-flops 40 and 41, and the generation condition is that 5 interrupt factors are significant and 3
7 is that the reset signal 43 of the D-flip-flops 40 and 41 is released by the AND gate 42 when the interrupt mask signal of 7 is not significant. The interrupt mask register 36 is also composed of D-flip-flops, and "H" → "L" of the shared interrupt signal line 1e.
At the falling edge of, the interrupt inhibit signal 37 becomes significant. Further, the interrupt mask register 36 is used for the bus master 3 decoded by the own bus slave module.
It can be reset by the interrupt mask register signal 44 from. The NOR gate 45 prevents the interrupt mask register from being set when the own bus slave module drives the shared interrupt signal line 1e.

【0021】図8は、バスマスタ3の割り込み処理プロ
グラム50のフローチャートである。この割り込み処理
プログラム50は割り込みコントロール回路8から割り
込みサービスの要求がCPUへ伝えられたときに起動さ
れるプログラムであり、起動されると、S1で全バスス
レーブモジュールの割り込み要求有/無、及び、割り込
みマスクレジスタの状態を確認する。そして、S2で割
り込み要求有のバススレーブモジュールに対し、割り込
みサービスを行う。さらに、S3で割り込み禁止信号3
7が有意となっているバススレーブモジュールに対して
割り込みマスクレジスタリセット信号44を有意して、
その割り込みマスクレジスタ36をリセットする。
FIG. 8 is a flowchart of the interrupt processing program 50 of the bus master 3. The interrupt processing program 50 is a program that is activated when an interrupt service request is transmitted from the interrupt control circuit 8 to the CPU. When activated, the interrupt request presence / absence of all bus slave modules in S1 and Check the status of the interrupt mask register. Then, in S2, the interrupt service is provided to the bus slave module having the interrupt request. Furthermore, in S3, the interrupt disable signal 3
For the bus slave module in which 7 is significant, the interrupt mask register reset signal 44 is significant,
The interrupt mask register 36 is reset.

【0022】実施例3.上記実施例では、バスマスタ3
とバススレーブモジュール2は、システムバス1を介し
て物理的に離れた構成となっているが、同一配線基板上
に存在していても良く、バスマスタ3およびバススレー
ブモジュール2の物理的な実装形態には特にこだわる必
要がなく、上記実施例と同様の効果が得られる。
Embodiment 3. In the above embodiment, the bus master 3
The bus slave module 2 and the bus slave module 2 are physically separated from each other via the system bus 1. However, they may exist on the same wiring board, and a physical mounting mode of the bus master 3 and the bus slave module 2 is possible. There is no particular need to pay particular attention to the above, and the same effect as that of the above embodiment can be obtained.

【0023】実施例4.上記実施例では、割り込み信号
線を共有化する場合を示したが、その他の信号線を共有
化する場合でもかまわない。
Example 4. In the above embodiment, the case where the interrupt signal line is shared has been described, but the case where other signal lines are shared may be used.

【0024】[0024]

【発明の効果】以上のように、第1及び第2の発明によ
れば多数必要となる信号線を1本の共有化された信号線
で済むように構成したので、システムバス全体の信号線
数を減少でき、将来のシステム全体の機能拡張におい
て、使用可能な割り込み信号線の信号線数によって生ず
る機能拡張制限から逃れることができる効果がある。
As described above, according to the first and second aspects of the present invention, since a large number of required signal lines are constituted by one shared signal line, the signal lines of the entire system bus are provided. The number can be reduced, and in the function expansion of the entire system in the future, there is an effect that the function expansion limitation caused by the number of signal lines of the interrupt signal lines that can be used can be avoided.

【0025】また、本方式は、従来のシステムの延長上
にあって、機能を追加する形態であるので、使用目的、
用途に合わせて、既存のシステムバスの物理的仕様を変
更することなく、信号仕様を若干変更するだけで上述の
効果を得ることができる。
Since this system is an extension of the conventional system and has a function to be added, the purpose of use,
The above-described effect can be obtained by changing the signal specifications slightly according to the application without changing the physical specifications of the existing system bus.

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

【図1】この発明の一実施例を示す割り込み信号線共有
化方法を用いたシステム図である。
FIG. 1 is a system diagram using an interrupt signal line sharing method showing an embodiment of the present invention.

【図2】この発明の一実施例を示すバスマスタ、バスス
レーブの内部ブロック図である。
FIG. 2 is an internal block diagram of a bus master and a bus slave showing an embodiment of the present invention.

【図3】この発明の一実施例を示す割り込み信号線駆動
回路の図である。
FIG. 3 is a diagram of an interrupt signal line drive circuit showing an embodiment of the present invention.

【図4】この発明の一実施例を示す復調回路の図であ
る。
FIG. 4 is a diagram of a demodulation circuit showing an embodiment of the present invention.

【図5】この発明の一実施例を示す動作タイミング図で
ある。
FIG. 5 is an operation timing chart showing an embodiment of the present invention.

【図6】この発明の一実施例を示すバスマスタ、バスス
レーブの内部ブロック図である。
FIG. 6 is an internal block diagram of a bus master and a bus slave showing an embodiment of the present invention.

【図7】この発明の一実施例を示す割り込み信号線駆動
回路、割り込みマスクレジスタ回路の図である。
FIG. 7 is a diagram of an interrupt signal line drive circuit and an interrupt mask register circuit showing an embodiment of the present invention.

【図8】この発明の一実施例を示す割り込み処理プログ
ラムのフローチャート図である。
FIG. 8 is a flowchart of an interrupt processing program showing an embodiment of the present invention.

【図9】従来のマイクロコンピュータシステムのシステ
ム図である。
FIG. 9 is a system diagram of a conventional microcomputer system.

【図10】従来のマイクロコンピュータシステムのバス
マスタ、バススレーブの内部ブロック図である。
FIG. 10 is an internal block diagram of a bus master and a bus slave of a conventional microcomputer system.

【符号の説明】[Explanation of symbols]

1 システムバス 1e 共有化された割り込み信号線 1f 割り込み送出タイミング信号線 2 バスマスタ 3 バススレーブ 1 system bus 1e shared interrupt signal line 1f interrupt transmission timing signal line 2 bus master 3 bus slave

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 以下の要素を有し、マスタ処理部と少な
くともひとつ以上のスレーブ処理部の間の信号線を共有
する信号線共有化方式 (a)マスタ処理部とスレーブ処理部を接続するタイミ
ング信号線、 (b)マスタ処理部とスレーブ処理部を接続する共有化
信号線、 (c)以下の要素を有するマスタ処理部、 (c1)スレーブ処理部が共有化信号線を駆動してよい
タイミングを示すタイミング信号をタイミング信号線に
出力するタイミング信号発生手段、 (c2)スレーブ処理部により駆動された共有化信号線
の駆動信号を受信していずれのスレーブ処理部からの駆
動信号かを特定する受信手段、 (d)マスタ処理部からのタイミング信号に基づいて、
共有化信号線に駆動信号を出力する駆動手段を有するス
レーブ処理部。
1. A signal line sharing method for sharing a signal line between a master processing unit and at least one slave processing unit having the following elements: (a) Timing of connecting a master processing unit and a slave processing unit Signal line, (b) shared signal line connecting the master processing unit and the slave processing unit, (c) master processing unit having the following elements, (c1) timing at which the slave processing unit may drive the shared signal line Timing signal generating means for outputting a timing signal indicating to the timing signal line, (c2) receiving the drive signal of the shared signal line driven by the slave processing unit and specifying from which slave processing unit the drive signal is sent. Receiving means, (d) based on the timing signal from the master processing unit,
A slave processing unit having a driving unit that outputs a driving signal to the shared signal line.
【請求項2】 以下の要素を有し、マスタ処理部とひと
つ以上のスレーブ処理部の間の信号線を共有する信号線
共有化方式 (a)マスタ処理部とスレーブ処理部を接続するクロッ
ク信号線、 (b)マスタ処理部とスレーブ処理部を接続する共有化
信号線、 (c)以下の要素を有するマスタ処理部、 (c1)クロック信号をクロック信号線に出力するクロ
ック発生手段、 (c2)スレーブ処理部により駆動された共有化信号線
の駆動信号により起動され、いずれのスレーブ処理部か
らの駆動信号かを特定する処理手段、 (d)以下の要素を有するスレーブ処理部、 (d1)マスタ処理部からのクロック信号に基づいて、
共有化信号線に駆動信号を出力する駆動手段、 (d2)他のスレーブ処理部の信号駆動手段による共有
化信号線の駆動を検出し、自己の信号駆動手段の実行を
禁止する禁止手段。
2. A signal line sharing method for sharing a signal line between a master processing unit and one or more slave processing units, comprising: (a) a clock signal connecting the master processing unit and the slave processing unit; A line, (b) a shared signal line connecting the master processing unit and the slave processing unit, (c) a master processing unit having the following elements, (c1) clock generation means for outputting a clock signal to the clock signal line, (c2) ) A processing unit which is activated by a drive signal of a shared signal line driven by a slave processing unit and identifies which slave processing unit the drive signal is from, (d) a slave processing unit having the following elements, (d1) Based on the clock signal from the master processor,
Drive means for outputting a drive signal to the shared signal line, and (d2) prohibition means for detecting the drive of the shared signal line by the signal drive means of the other slave processing unit and for inhibiting execution of its own signal drive means.
JP3259121A 1991-10-07 1991-10-07 Signal line sharing method Expired - Lifetime JP2979778B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3259121A JP2979778B2 (en) 1991-10-07 1991-10-07 Signal line sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3259121A JP2979778B2 (en) 1991-10-07 1991-10-07 Signal line sharing method

Publications (2)

Publication Number Publication Date
JPH05100993A true JPH05100993A (en) 1993-04-23
JP2979778B2 JP2979778B2 (en) 1999-11-15

Family

ID=17329610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3259121A Expired - Lifetime JP2979778B2 (en) 1991-10-07 1991-10-07 Signal line sharing method

Country Status (1)

Country Link
JP (1) JP2979778B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008021040A (en) * 2006-07-11 2008-01-31 Canon Inc Bus master circuit, bus control method and computer program
KR100812710B1 (en) * 2006-11-14 2008-03-12 엠텍비젼 주식회사 Method and apparatus for communication using control bus
JP2009205458A (en) * 2008-02-28 2009-09-10 Kyocera Corp Electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62259257A (en) * 1986-05-06 1987-11-11 Pioneer Electronic Corp Autoloading disk player

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62259257A (en) * 1986-05-06 1987-11-11 Pioneer Electronic Corp Autoloading disk player

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008021040A (en) * 2006-07-11 2008-01-31 Canon Inc Bus master circuit, bus control method and computer program
KR100812710B1 (en) * 2006-11-14 2008-03-12 엠텍비젼 주식회사 Method and apparatus for communication using control bus
JP2009205458A (en) * 2008-02-28 2009-09-10 Kyocera Corp Electronic equipment

Also Published As

Publication number Publication date
JP2979778B2 (en) 1999-11-15

Similar Documents

Publication Publication Date Title
CA1278872C (en) Serial data bus for sci, spi and buffered spi modes of operation
EP0046203B1 (en) Multiprocessor arrangement with a common bus
US5963609A (en) Apparatus and method for serial data communication between plurality of chips in a chip set
US7826446B2 (en) System for and method of providing a header and a trailer in data packets
US20140325104A1 (en) Communications assembly having logic multichannel communication via a physical transmission path for serial interchip data transmission
US7958281B2 (en) Method and apparatus for transmitting data in a flexray node
US6327259B1 (en) Flexible placement of serial data within a time divisioned multiplexed frame through programmable time slot start and stop bit positions
US5835736A (en) Serial data transmission unit
JPH11167560A (en) Data transfer system, switching circuit used to the transfer system, adapter, integrated circuit having the transfer system and data transfer method
JPH05100993A (en) Signal line sharing system
JPS6162159A (en) Bidirectional data exchange
EP0924899B1 (en) Circuit arrangement for a synchronized interchange of data between different locally dedicated signal sources
US20060129725A1 (en) Round-robin bus protocol
JPH04287150A (en) Synchronous serial bus system
JP3412927B2 (en) Frame synchronization circuit
JP2804611B2 (en) Parallel competition control circuit
KR100247027B1 (en) Apparatud and method for minitoring rf atatus information in radio system
JP3606957B2 (en) Serial data transmission system
KR100311519B1 (en) Rotating arbitration system using system clock
JPH11102341A (en) Data transfer system, data transmitter, data receiver, data transfer method, and bus arbitrating method
JPH11122275A (en) Serial communication system
JPH08298531A (en) Signal transmission system and transmission device
JPH06266656A (en) Bus communication equipment
JPH11353272A (en) Information transfer method and device
JPH10336220A (en) Electronic controller test system for vehicle

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20080917

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20090917

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20100917

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110917

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110917

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120917

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120917

Year of fee payment: 13