JPS6355657A - Common bus connection method - Google Patents

Common bus connection method

Info

Publication number
JPS6355657A
JPS6355657A JP19882286A JP19882286A JPS6355657A JP S6355657 A JPS6355657 A JP S6355657A JP 19882286 A JP19882286 A JP 19882286A JP 19882286 A JP19882286 A JP 19882286A JP S6355657 A JPS6355657 A JP S6355657A
Authority
JP
Japan
Prior art keywords
control
bus
dma
signal
common 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.)
Pending
Application number
JP19882286A
Other languages
Japanese (ja)
Inventor
Kazuhiko Komori
小森 一彦
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP19882286A priority Critical patent/JPS6355657A/en
Publication of JPS6355657A publication Critical patent/JPS6355657A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

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

PURPOSE:To secure an easy connection with a control package having a direct memory access (DMA) function by validating the output contents of an output means when a DMA permission signal is sent to a control adaptor from a microcomputer and controlling the gate of a bus driver circuit. CONSTITUTION:A common bus connection system consists of a basic unit 1 and an extension unit 2 which are connected to a common bus 10 via a connection part 16 and bus driver circuits 11-14. The unit 1 contains a microcomputer 3, control packages 5 and 6, and a bus control circuit 4. While the unit 2 includes control packages 7-9. When a DMA permission signal is given from the computer 3, the gates of circuits 11-14 are controlled.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロコンピュータ等を使用したシステム
における共通バス接続方式に関し、特に、制御パッケー
ジの変更を行うことなく、増設ユニットとの接続が可能
な共通バス接続方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a common bus connection method in a system using a microcomputer, etc., and in particular allows connection with an expansion unit without changing the control package. related to a common bus connection method.

〔従来技術〕[Prior art]

コンピュータシステムの拡張等に伴い、マイクロコンピ
ュータ等を収容した基本ユニットに、共通バスを介して
、増設ユニットを接続する場合が多い。この場合、デー
タバスには双方向性バスが使用され、バスドライバ回路
を介して増設ユニットが接続されるため、このバスドラ
イバ回M を制御するための接続力@が種々提案されて
いる。特に、増設ユニットにおいて、既存の制御パッケ
ージを使用することができる接続方法は、従来装置との
互換性を持つために重要となってきている。
As computer systems expand, expansion units are often connected to a basic unit containing a microcomputer or the like via a common bus. In this case, a bidirectional bus is used as the data bus, and the expansion unit is connected via a bus driver circuit, so various connection powers for controlling this bus driver circuit M have been proposed. In particular, a connection method that allows the use of existing control packages in expansion units is becoming important in order to maintain compatibility with conventional equipment.

例えば、特開昭58−5821号公報に記載の方法では
、増設ユニットの制御パッケージから呂力する自パッケ
ージの選択信号をバスドライバ回路に接続し、この信号
により、そのバスドライバ回路のゲート開閉を制御して
いる。しかし、このような方法では、上記選択信号を出
力しない制御パッケージの収容、および、その制御パッ
ケージがマスクとなって行うダイレクト・メモリ・アク
セス(以下DMAと略す)時のバスドライバ回路のゲー
ト制御については配慮されていない。
For example, in the method described in Japanese Patent Application Laid-Open No. 58-5821, the selection signal of the own package, which is output from the control package of the expansion unit, is connected to the bus driver circuit, and this signal controls the opening and closing of the gate of the bus driver circuit. It's in control. However, with this method, it is difficult to accommodate the control package that does not output the selection signal, and to control the gate of the bus driver circuit during direct memory access (hereinafter abbreviated as DMA) performed using the control package as a mask. is not taken into account.

〔発明が解決しようとする問題点3 以上のような従来技術においては、増設ユニットにおけ
る既存制御パッケージの接続については配慮されておら
ず、制御パッケージの互換性に問題があった。また、R
設ユニットにおける制御パッケージがマスクとなって行
うDMA時のゲート制御について配慮されておらず、D
MA機能を有する制御パッケージを収容できないという
問題があった。
[Problem to be Solved by the Invention 3] In the prior art as described above, no consideration was given to the connection of the existing control package to the expansion unit, and there was a problem with the compatibility of the control packages. Also, R
No consideration was given to gate control during DMA, which is performed using the control package in the installation unit as a mask, and D
There was a problem that a control package having an MA function could not be accommodated.

本発明の目的は、このような問題点を改善し、制御パッ
ケージの互換性を保ち、また、DMA機能を有する制御
パッケージを容易に接続することができる共通バス接続
方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a common bus connection method that can improve the above-mentioned problems, maintain compatibility of control packages, and easily connect control packages having a DMA function.

〔問題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明の共通バス接続方式は
、既存の制御パッケージを接続する場合は、マイクロコ
ンピュータ等を基本ユニットに収容し、制御パッケージ
を収容した増設ユニットとの共通バス接続を、バスドラ
イバ回路を介して行うバス制御システムにおいて、上記
増設ユニットに収容する制御パッケージに付与されたア
ドレス領域を記憶する手段、および、該記憶手段に記憶
されたアドレス領域と、該制御パッケージのアクセス時
のアドレスとを比較する手段を、該増設ユニット内のス
ロット数と同数設け、該記憶手段に記憶された該アドレ
ス領域と、該制御パッケージのアクセス時のアドレスと
を、該比較手段によって比較し、該アドレスが該アドレ
ス領域内にあれば、制御信号を出力し、該制御信号を上
記バスドライバ回路に接続して、該バスドライバ回路の
ゲート制御を行うことに特徴がある。
In order to achieve the above object, the common bus connection method of the present invention, when connecting an existing control package, accommodates a microcomputer, etc. in a basic unit, and connects the common bus with an expansion unit containing the control package. In a bus control system performed via a bus driver circuit, a means for storing an address area assigned to a control package housed in the expansion unit, and an address area stored in the storage means and a time when the control package is accessed. The number of means for comparing the address of the control package with the number of slots in the expansion unit is equal to the number of slots in the expansion unit, and the address area stored in the storage means is compared with the address of the control package at the time of access. If the address is within the address area, a control signal is output, the control signal is connected to the bus driver circuit, and the gate control of the bus driver circuit is performed.

また、DMA機能を有する制御パッケージを接続する場
合、本発明の共−通バス接続方式は、マイクロコンピュ
ータ、およびダイレクト・メモリアクセス・コントロー
ラ等を基本ユニットに収容し、ダイレクト・メモリアク
セス(以下DMAと略す)のマスク機能を備えた制御ア
ダプタを収容する増設ユニットとの共通バス接続を、バ
スドライバ回路を介して行うバス制御システムにおいて
、該バス制御システムのDMAチャンネルに対応し、該
DMAアクセスがデータ読み取りか、データ書き込みか
を示す情報を格納し出力する手段と、該出力手段の出力
を制御する手段とを設け、上記マイクロコンピュータか
ら上記制御アダプタにDMA許可信号が送られると、該
制御手段は、該出力手段の出力内容を有効とし、該出力
手段の出力する信号を制御信号として上記バスドライバ
回路に接続し、該バスドライバ回路のゲートを制御する
ことに特徴がある。
Furthermore, when connecting a control package having a DMA function, the common bus connection method of the present invention accommodates a microcomputer, a direct memory access controller, etc. in a basic unit, and performs direct memory access (hereinafter referred to as DMA). In a bus control system in which a common bus connection with an expansion unit accommodating a control adapter equipped with a mask function (omitted) is made via a bus driver circuit, the DMA access corresponds to a DMA channel of the bus control system, and the DMA access is Means for storing and outputting information indicating whether to read or write data, and means for controlling the output of the output means are provided, and when a DMA permission signal is sent from the microcomputer to the control adapter, the control means The present invention is characterized in that the output contents of the output means are made valid, the signal output from the output means is connected to the bus driver circuit as a control signal, and the gate of the bus driver circuit is controlled.

〔作用〕[Effect]

本発明においては、既存の制御パッケージを接続する場
合、増設ユニットに接続される制御パッケージに付与さ
れたアドレス領域を、書き替え可能なレジスタに、シス
テムジェネレーシゴン時に格納する。制御アダプタへの
アクセスがあると、コンパレータは、そのアクセスアド
レスと、レジスタに格納されたデータとを比較し、その
アクセスアドレスが、その制御パッケージのアドレス領
域内のアドレスであれば、一致信号が出力され、共通バ
スに接続されたバスドライバ回路のゲート制御を行う。
In the present invention, when connecting an existing control package, the address area assigned to the control package connected to the expansion unit is stored in a rewritable register at the time of system generation. When a control adapter is accessed, the comparator compares the access address with the data stored in the register, and outputs a match signal if the access address is within the address area of the control package. and controls the gates of the bus driver circuits connected to the common bus.

なお、このアクセスがデータの読み取りであれば、その
ゲート制御を増設ユニット側から基本ユニット側に渡す
Note that if this access is for reading data, the gate control is passed from the expansion unit side to the basic unit side.

また、DMA機能を備えた制御パッケージを接続する場
合、DMA時のマスク機能を備えた制御アダプタのDM
Aチャンネル数に対応する方向レジスタに、ソフトウェ
アによって、ilDMAがデータ読み取りか、データ書
き込みかを示す情報を格納する。該アダプタがDMA要
求を行うと、マイクロプロセッサは、バス許可を出力し
、そのバス許可は該アダプタに対するD M A許可信
号として応答され、この応答は上記方向レジスタの内容
を有効とし、該方向レジスタの出力を共通バスに接続し
て、ゲート制御を行う、その応答時の動作がデータ書き
込みならば、ゲート制御は増設ユニットから基本ユニッ
トへ渡され、基本ユニット内に収容されている主メモリ
にデータが書き込れる。
In addition, when connecting a control package with a DMA function, use the DM of the control adapter with a mask function during DMA.
Information indicating whether ilDMA is data reading or data writing is stored in the direction register corresponding to the number of A channels by software. When the adapter makes a DMA request, the microprocessor outputs a bus grant, which bus grant is responded to as a DMA grant signal to the adapter, which response validates the contents of the direction register; Gate control is performed by connecting the output of can be written.

C実施例〕 以下、本発明の一実施例を図面により説明する。C Example] An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明の第1の実施例における共通バス接続
システムの構成図である。
FIG. 1 is a configuration diagram of a common bus connection system in a first embodiment of the present invention.

本実施例の共通バス接続システムは、第1図のように、
基本ユニット1.および増設ユニット2からなり、これ
らは接続部16.およびバスドライバ回路11〜14を
介して、共通バス10に接続される。
The common bus connection system of this embodiment is as shown in Figure 1.
Basic unit 1. and an extension unit 2, which are connected to the connection section 16. and is connected to the common bus 10 via bus driver circuits 11-14.

基本ユニット1は、マイクロコンピュータ3゜制御パッ
ケージ5,6.およびバス制御回路4を備え、バス制御
回路4は、バス制御信号15を出力する。また、増設ユ
ニット2は、III御パッケージ7〜9を備える。
The basic unit 1 includes a microcomputer 3° control package 5, 6 . and a bus control circuit 4, and the bus control circuit 4 outputs a bus control signal 15. Further, the expansion unit 2 includes III control packages 7 to 9.

第2図は、本発明の第1の実施例の共通バネ接続システ
ムにおけるバス制御回路の構成図である(第1図参照)
FIG. 2 is a configuration diagram of a bus control circuit in the common spring connection system according to the first embodiment of the present invention (see FIG. 1).
.

本実施例のバス制御回路4は、レジスタ17〜19、お
よびコンパレータ20〜22を備える。
The bus control circuit 4 of this embodiment includes registers 17-19 and comparators 20-22.

レジスタ17〜19は、それぞれ増設ユニット2に接続
されるパッケージ7〜9に付与さ九たアドレス領域を格
納する。データ23格納の場合は、制御信号24により
データ23を格納する。
Registers 17-19 store address areas assigned to packages 7-9 connected to expansion unit 2, respectively. In the case of storing data 23, the data 23 is stored using the control signal 24.

また、コンパレータ20〜22は、レジスタ17〜19
に、それぞれ格納されたデータ26〜28と、制御パッ
ケージ5〜9をアクセスする時のアドレス23とを比較
し、それらが一致すると、それぞれ、一致信号29〜3
1を出力する。
Further, comparators 20 to 22 are connected to registers 17 to 19.
, the stored data 26 to 28 are compared with the address 23 when accessing the control packages 5 to 9, and if they match, match signals 29 to 3 are output, respectively.
Outputs 1.

こうして出力された一致信号29〜31は、ORがとら
れ、さらに、読み取り信号32とのANDが取られ、バ
ス制御信号15として出力される。
The match signals 29 to 31 thus output are ORed, and further ANDed with the read signal 32 and outputted as the bus control signal 15.

第5図は、本発明の第1の実施例における共通バス接続
システムの動作フローチャートである。
FIG. 5 is an operation flowchart of the common bus connection system in the first embodiment of the present invention.

第1図、および第2図のように、制御パッケージ5〜9
へのアクセスがあると(500)、そのアドレス25は
、コンパレータ20〜22によって、レジスタ17〜1
9の格納データ26〜28と比較される(501)。
As shown in FIGS. 1 and 2, control packages 5 to 9
(500), the address 25 is transferred to registers 17-1 by comparators 20-22.
9 is compared with the stored data 26 to 28 (501).

これらのアドレスの中、いずれかが一致する場合は(5
02)、一致信号29〜31のいずれかが出力され(5
03)、さらに、バス制御信号15が出力される(50
4)。このバス制御信号15は。
If any of these addresses match, (5
02), one of the coincidence signals 29 to 31 is output (5
03), furthermore, the bus control signal 15 is output (50
4). This bus control signal 15 is.

このバス制御信号15に接続されたバスドライバ回路1
1〜12のゲートを開き、アクセスを行う(505)。
Bus driver circuit 1 connected to this bus control signal 15
Gates 1 to 12 are opened and access is performed (505).

本実施例によれば、システムジェネレーション時にレジ
スタ17〜19に格納するデータを書き替えることによ
り、基本ユニット1に接続される制御パッケージ5,6
.および、増設ユニット2に接続される制御パッケージ
7〜9のアドレス割り付けが任意に行えるため、基本ユ
ニット1.および増設ユニット2におけるパッケージの
実装が容易となる。
According to this embodiment, by rewriting the data stored in the registers 17 to 19 during system generation, the control packages 5 and 6 connected to the basic unit 1 can be
.. Also, since the addresses of the control packages 7 to 9 connected to the expansion unit 2 can be arbitrarily assigned, the basic unit 1. Also, mounting of the package in the expansion unit 2 becomes easy.

第3図は、本発明の第2の実施例における共通バス接続
システムの構成図である。
FIG. 3 is a configuration diagram of a common bus connection system in a second embodiment of the present invention.

本実施例の共通バス接続システムは、基本ユニット1.
および増設ユニット2からなり、これらはコネクタ45
.およびバスドライバ回路43゜44を介して共通バス
42に接続される。
The common bus connection system of this embodiment consists of basic units 1.
and expansion unit 2, which are connected to connector 45.
.. and is connected to the common bus 42 via bus driver circuits 43 and 44.

基本ユニット1は、マイクロコンピュータ3゜主メモリ
64.制御パッケージ65.DMAコントローラ66.
67、およびバスドライバ制御部68を鍔える。増設ユ
ニット2は、制御パッケージ60,61.69を備え、
これらは共通バス42に接続され、該共通バス42は、
バスドライバ回路43.44に通してコネクタ45に接
続され、さらに、ケーブルによって基本ユニット1に接
続される。また、マイクロコンピュータ3からのDMA
許可信号53も、この共通バス42.およびケーブルを
介して、制御パッケージ60.61゜69に伝えられる
The basic unit 1 includes a microcomputer 3, a main memory 64. Control package 65. DMA controller 66.
67 and the bus driver control section 68. The expansion unit 2 includes control packages 60, 61, 69,
These are connected to a common bus 42, which includes:
It is connected to the connector 45 through bus driver circuits 43, 44, and further connected to the basic unit 1 by a cable. Also, DMA from microcomputer 3
The permission signal 53 is also transmitted through this common bus 42. and via cables to the control package 60.61°69.

制御パッケージ65は、DMA時のマスクとなり、DM
Aコントローラ66は、この制御パッケージ65等から
のDMA要求信号52を受けて。
The control package 65 serves as a mask during DMA, and
The A controller 66 receives the DMA request signal 52 from the control package 65 and the like.

マイクロコンピュータ3に接続し、マイクロコンッユー
タ3からのバス要求許可信号46に接続されツ。このバ
ス許可信号46は、DMA許可信号53として制御パッ
ケージ65等へ応答される。
It is connected to the microcomputer 3 and connected to the bus request permission signal 46 from the microcomputer 3. This bus permission signal 46 is responded to as a DMA permission signal 53 to the control package 65 and the like.

また、DMAコントローラ67は、同様に、増設ユニッ
ト2の制御パッケージ60.61.69からのDMA要
求をマイクロコンピュータ3に接続する。
Similarly, the DMA controller 67 connects DMA requests from the control packages 60, 61, and 69 of the expansion unit 2 to the microcomputer 3.

バスドライバ制御部68は、レジスタ書き込み信号50
により共通バス42に接続され、バスドライバ信号47
を出力して、このバスドライバ信号47によりバスドラ
イバ回路43.44に接続される。
The bus driver control unit 68 receives the register write signal 50.
is connected to the common bus 42 by a bus driver signal 47
is output and connected to bus driver circuits 43 and 44 by this bus driver signal 47.

第4図は1本発明の第2の実施例の共通バス接続システ
ムにおけるバスドライバ制御部68の構成図である。
FIG. 4 is a block diagram of the bus driver control section 68 in the common bus connection system according to the second embodiment of the present invention.

本実施例のバスドライバ制御部68は、フリップフロッ
プ56.ANDゲート57.およびORゲート59を備
える。
The bus driver control section 68 of this embodiment includes flip-flops 56. AND gate 57. and an OR gate 59.

フリップフロップ55は書き替え可能な方向レジスタで
あり、そのバス制御システムが有するDMAチャネル数
に対応して設ける。この方向レジスタ55には、DMA
時にマスクとなる制御パッケージ60,61,65.6
9のDMA動作がデータ読み取りか、データ書き込みか
を示す情報が、データ50.およびレジスタ書き込み信
号54により書き込まれる。方向レジスタ55の出力は
、DMA許可信号49とANDされ、DMA許信号49
がアクティブとなると有効となって、制御信号58が出
力される。この制御信号58は、ORゲート59におい
て論理和が取られ、バスドライバ制御信号47として出
力される。
The flip-flop 55 is a rewritable direction register, and is provided in correspondence with the number of DMA channels that the bus control system has. This direction register 55 includes DMA
Control packages 60, 61, 65.6 that sometimes act as masks
Information indicating whether the DMA operation of 9 is data reading or data writing is data 50. and register write signal 54. The output of the direction register 55 is ANDed with the DMA permission signal 49, and the output of the direction register 55 is ANDed with the DMA permission signal 49.
When it becomes active, it becomes valid and the control signal 58 is output. This control signal 58 is logically summed by an OR gate 59 and outputted as a bus driver control signal 47.

なお、この方向レジスタ55.およびANDゲート57
からなる回路は、そのバス制御システムが有するDMA
チャネル数と同数設ける必要があるため1本実施例にお
いては、4回路を設けている。また、基本ユニットl内
のDMA要求信号52、およびDMA許可信号53と、
増設ユニット2内のDMA許可信号48.およびDMA
許可信号49とは、各々4本ずつある。
Note that this direction register 55. and AND gate 57
The circuit consisting of the DMA that the bus control system has
Since it is necessary to provide the same number of circuits as the number of channels, four circuits are provided in this embodiment. In addition, a DMA request signal 52 and a DMA permission signal 53 in the basic unit l,
DMA permission signal 48 in expansion unit 2. and D.M.A.
There are four permission signals 49 each.

第6図は、本発明の第2の実施例における共通バス接続
システムの動作フローチャートである。
FIG. 6 is an operation flowchart of the common bus connection system in the second embodiment of the present invention.

例えば、制御パッケージ69がマスタとなるDMAにつ
いては、第3図、および第4図のように。
For example, for DMA in which the control package 69 is the master, as shown in FIGS. 3 and 4.

方向レジスタ55に制御パッケージ69の方向情報が格
納され、DMA開始条件が成立すると、制御パッケージ
69は、DMA要求信号48を出力する(600)。こ
のDMA要求信号48は、DMAコントローラ67に伝
えられ、DMAコントローラ67はバス要求信号46を
マイクロコンピュータ3に出力する(601)。
When the direction information of the control package 69 is stored in the direction register 55 and the DMA start condition is satisfied, the control package 69 outputs the DMA request signal 48 (600). This DMA request signal 48 is transmitted to the DMA controller 67, and the DMA controller 67 outputs the bus request signal 46 to the microcomputer 3 (601).

マイクロコンピュータ3は、バスを解放し、バス許可信
号46をDMAコントローラ67に出力する(602)
The microcomputer 3 releases the bus and outputs the bus permission signal 46 to the DMA controller 67 (602).
.

DMAコントローラ67は、バス許可信号46を受け、
制御パッケージ69の制御アダプタ、およびバスドライ
バ制御部68に、DMA許可信号49を出力する(60
3)。
The DMA controller 67 receives the bus permission signal 46,
A DMA permission signal 49 is output to the control adapter of the control package 69 and the bus driver control unit 68 (60
3).

DMA許可信号49は、バスドライバ制御部68におい
て、その制御アダプタのDMAチャネルに対応する方向
レジスタ55に接続されているANDゲートを有効とし
、方向レジスタ55の情報を出力させて、バスドライバ
制御信号47を出力させる(604)。
The DMA permission signal 49 enables the bus driver control unit 68 to enable the AND gate connected to the direction register 55 corresponding to the DMA channel of the control adapter, outputs the information in the direction register 55, and outputs the bus driver control signal. 47 is output (604).

上記制御アダプタは、DMA許可信号49を受け、DM
A動作を行う(605)。その動作がデータ書き込みで
ある場合、バスドライバ制御部68における方向レジス
タ55には、ANDゲート57をアクティブとする情報
が格納されているため、バスドライバ制御信号47はア
クティブとなり、バスドライバ回路44が有効となって
、書き込みデータは共通バスを介し、増設ユニット2@
から幅木ユニット1側へ送られ、主メモリ64に書き込
まれる。また、データ読み取り動作である場合は、バス
ドライバ信号47は、インアクティブとなり、バスドラ
イバ回路43が有効となり。
The control adapter receives the DMA permission signal 49 and sends the DM
A operation is performed (605). If the operation is data writing, the direction register 55 in the bus driver control unit 68 stores information that makes the AND gate 57 active, so the bus driver control signal 47 becomes active and the bus driver circuit 44 Once enabled, the write data is sent to the expansion unit 2 via the common bus.
The data is sent to the baseboard unit 1 side and written into the main memory 64. Further, in the case of a data read operation, the bus driver signal 47 becomes inactive and the bus driver circuit 43 becomes effective.

読み込みデータは、共通バス42を介して、基本ユニッ
ト1側から増設ユニット2側へ送られる。
The read data is sent from the basic unit 1 side to the expansion unit 2 side via the common bus 42.

なお、増設ユニット2の制御パッケージ60゜および6
1がマスタとなってDMAを行う場合も、同様の動作を
行う、また、基本パッケージ1の制御バクケージ65が
マスクとなるDMA動作は、DMA要求償号52.DM
Aコントローラ66゜およびDMA許可信号53を使用
して行なうため、バスドライバ回路43.44は使用す
る必要はない。
In addition, the control packages 60° and 6 of the expansion unit 2
1 becomes the master and performs DMA, the same operation is performed, and the DMA operation in which the control backup cage 65 of the basic package 1 is a mask is performed using the DMA request redemption code 52. DM
Since this is done using the A controller 66° and the DMA permission signal 53, there is no need to use the bus driver circuits 43, 44.

本実施例によれば、DMA時のマスク機能を有する制御
パッケージ60.61,65.69は、基本ユニット1
.および増設ユニット2のいずれにも容易に実装するこ
とができる。
According to this embodiment, the control packages 60, 61 and 65, 69 having the mask function during DMA are the basic unit 1.
.. and the expansion unit 2 can be easily implemented.

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

本発明によれば、既存制御パッケージを基本ユニット、
および増設ユニットのいずれにも容易に実装でき、制御
パッケージの互換性を保つことが可能である。また、D
MA時のマスクとなる制御パッケージも同様に実装でき
る。
According to the present invention, an existing control package can be used as a basic unit.
It can be easily installed in both the control package and the expansion unit, ensuring compatibility of control packages. Also, D
A control package that serves as a mask during MA can also be implemented in the same way.

このように、互換性を保ったシステムを任意に構成する
ことが可能である。
In this way, it is possible to arbitrarily configure a system that maintains compatibility.

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

第1図は本発明の第1の実施例における共通バス接続シ
ステムの構成図、第2図は本発明の第1の実施例の共通
バス接続システムにおけるバス制御回路の構成図、第3
図は本発明の第2の実施例における共通バス接続システ
ムの構成図、第4図は本発明の第2の実施例の共通バス
接続システムにおけるバスドライバ制御部の構成図、第
5図は本発明の第1の実施例における共通バス接続シス
テムの動作フローチャート、第6図は本発明の第2の実
施例における共通バス接続システムの動作フローチャー
トである。 1:Jl、本ユニット、2:illユニット、3:マイ
クロコンピュータ、4:バス制御回路、5〜9:制御パ
ッケージ、10:共通バス、11〜I4:バスドライバ
回路、15:バス制御信号、16=接続部。 17〜19:レジスタ、20〜22:コンバレータ、2
3:データ信号(アドレス)、24:制御信号。 25ニアドレス、26〜28:格納データ、29〜31
ニ一致信号、32:読み取り信号、60,61゜65.
69:制御パッケージ、64:主メモリ。 66.67 : DMAコントローラ、68:バスドラ
イバ制御部、42:共通バス、43,44:バスドライ
バ回路、45:コネクタ、46:バス要求信号(バス許
可信号)、47:バスドライバ制御信号。 48.52:DMA要求信号、49.53:DMA許可
信号、54:レジスタ書き込み信号、55:フリップフ
ロップ(方向レジスタ)、56:方向レジスタ出力、5
7:ANDゲート、58:制御信号、59:ORゲート
。 第     1     図 第2図 第     4    図 第     5     図 バス制御システム 第     6     図 バス制御システム
FIG. 1 is a block diagram of a common bus connection system according to the first embodiment of the present invention, FIG. 2 is a block diagram of a bus control circuit in the common bus connection system according to the first embodiment of the present invention, and FIG.
FIG. 4 is a configuration diagram of a common bus connection system according to a second embodiment of the present invention, FIG. 4 is a configuration diagram of a bus driver control section in a common bus connection system according to a second embodiment of the present invention, and FIG. FIG. 6 is an operation flowchart of the common bus connection system in the first embodiment of the invention. FIG. 6 is an operation flowchart of the common bus connection system in the second embodiment of the invention. 1: Jl, main unit, 2: ill unit, 3: microcomputer, 4: bus control circuit, 5 to 9: control package, 10: common bus, 11 to I4: bus driver circuit, 15: bus control signal, 16 = connection part. 17-19: Register, 20-22: Converter, 2
3: Data signal (address), 24: Control signal. 25 Near address, 26-28: Stored data, 29-31
D Match signal, 32: Read signal, 60, 61° 65.
69: Control package, 64: Main memory. 66.67: DMA controller, 68: Bus driver control unit, 42: Common bus, 43, 44: Bus driver circuit, 45: Connector, 46: Bus request signal (bus permission signal), 47: Bus driver control signal. 48.52: DMA request signal, 49.53: DMA permission signal, 54: Register write signal, 55: Flip-flop (direction register), 56: Direction register output, 5
7: AND gate, 58: Control signal, 59: OR gate. Figure 1 Figure 2 Figure 4 Figure 5 Bus control system Figure 6 Bus control system

Claims (1)

【特許請求の範囲】[Claims] 1、マイクロコンピュータ等を基本ユニットに収容し、
かつ制御パッケージを収容する増設ユニットとの共通バ
ス接続を、バスドライバ回路を介して行う共通バス接続
システムにおいて、上記増設ユニットに収容する制御パ
ッケージに付与されたアドレス領域を記憶する手段、お
よび、該記憶手段に記憶されたアドレス領域と、該制御
パッケージのアクセス時のアドレスとを比較する手段を
、該増設ユニット内のスロット数と同数設け、該記憶手
段に記憶されたアドレス領域と、該制御パッケージのア
クセス時のアドレスとを、該比較手段によって比較し、
該アクセス時のアドレスが該アドレス領域の内にあれば
、制御信号を出力し、該制御信号を上記バスドライバ回
路に接続して、該バスドライバ回路のゲート制御を行う
ことを特徴とする共通バス接続方式。
1. A microcomputer, etc. is housed in the basic unit,
and a common bus connection system in which a common bus connection with an extension unit accommodating a control package is made via a bus driver circuit, comprising means for storing an address area assigned to a control package accommodated in the extension unit; The number of means for comparing the address area stored in the storage means and the address of the control package at the time of access is provided in the same number as the number of slots in the expansion unit, and the address area stored in the storage means and the address at the time of access of the control package are provided. and the address at the time of access by the comparing means,
If the address at the time of access is within the address area, the common bus outputs a control signal, connects the control signal to the bus driver circuit, and performs gate control of the bus driver circuit. Connection method.
JP19882286A 1986-08-27 1986-08-27 Common bus connection method Pending JPS6355657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19882286A JPS6355657A (en) 1986-08-27 1986-08-27 Common bus connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19882286A JPS6355657A (en) 1986-08-27 1986-08-27 Common bus connection method

Publications (1)

Publication Number Publication Date
JPS6355657A true JPS6355657A (en) 1988-03-10

Family

ID=16397489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19882286A Pending JPS6355657A (en) 1986-08-27 1986-08-27 Common bus connection method

Country Status (1)

Country Link
JP (1) JPS6355657A (en)

Similar Documents

Publication Publication Date Title
US4937736A (en) Memory controller for protected memory with automatic access granting capability
US6243793B1 (en) Protocol for arbitrating access to a shared memory area using historical state information
US5845130A (en) Mailbox traffic controller
US5701437A (en) Dual-memory managing apparatus and method including prioritization of backup and update operations
JP2591502B2 (en) Information processing system and its bus arbitration system
JPS6355657A (en) Common bus connection method
US6484243B1 (en) Shared memory tracing apparatus
US5734481A (en) Copying apparatus for carrying out a copying operation between an active section and a stand-by section
JPH0140432B2 (en)
JPH0337750A (en) Function device peripheral of processor
JP2904266B2 (en) Memory connection controller that can cope with bus degradation
JP2636760B2 (en) Multiprocessor system
JPH04337851A (en) Memory access system
JPS5921062B2 (en) Memory contention control method
JPH03184128A (en) Duplex computer system
JP3012402B2 (en) Information processing system
JPS6224347A (en) bus controller
JPS62229457A (en) Data transfer controller
JPH0336650A (en) Memory protecting system
JPH04130553A (en) Electronic computer
JPH01320557A (en) Shared storage device
JPS6040057B2 (en) Memory address check method
JPH064469A (en) I / O device control method
JPS61216055A (en) Storage device access control system
JPH04330541A (en) Common data transfer system