JPH04333961A - Dual bus controller - Google Patents

Dual bus controller

Info

Publication number
JPH04333961A
JPH04333961A JP10551291A JP10551291A JPH04333961A JP H04333961 A JPH04333961 A JP H04333961A JP 10551291 A JP10551291 A JP 10551291A JP 10551291 A JP10551291 A JP 10551291A JP H04333961 A JPH04333961 A JP H04333961A
Authority
JP
Japan
Prior art keywords
bus
local
main
cpu
register
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
JP10551291A
Other languages
Japanese (ja)
Inventor
Shigenori Watari
重範 亘
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 JP10551291A priority Critical patent/JPH04333961A/en
Publication of JPH04333961A publication Critical patent/JPH04333961A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To accelerate processing speed by shortening the time required for acquisition of the right of using a bus at an information processor loading the plural buses in a system. CONSTITUTION:This dual bus controller is composed of a main access register 5 to request the right of using a main Bus A by a function module B, main status register 4 to report the acquisition of the main Bus using right to a local CPU 10, local control register 2 to request the stop of the local CPU 10 from the main Bus, local status register 3 to report the stop of the local CPU 10 to a main CPU 8 and buffer controller 6 to control a buffer for connecting the main Bus A and a local Bus C.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はシステム内に1個または
複数個の機能モジュールを有し、それら機能モジュール
の間をメインBusでつないだ電子機器に係り、特に個
々の機能モジュール内にローカルBusを有し、メイン
CPUと機能モジュール内部のデバイス間の情報転送、
及びローカルCPUとメインBusにつないだデバイス
間の情報転送を行う、バスコントロール回路に関する。
[Field of Industrial Application] The present invention relates to an electronic device having one or more functional modules in a system and connecting these functional modules with a main bus. and information transfer between the main CPU and devices inside the functional module,
and a bus control circuit that transfers information between a local CPU and a device connected to a main bus.

【0002】0002

【従来の技術】従来から知られている、システム内に1
個または複数個の機能モジュールを有し、それら機能モ
ジュール間をメインBusでつなぎ、さらに個々の機能
モジュール内にローカルBusを有する電子機器におけ
る情報転送は、図2のようにメインBus側、及びロー
カルBus側にそれぞれのBus使用権を要求する為の
ローカルバスリクエスタ(15),メインバスリクエス
タ(14)と、メインバスアービタ(7)(メインBu
sにつながるデバイスから発生するメインBus使用権
を要求する信号を受け取り、どのデバイスに対しメイン
Bus使用権を与えるかを決定する回路),ローカルB
usアービタ(13)(ローカルBusにつながるデバ
イスから発生するローカルBus使用権を要求する信号
を受け取り、どのデバイスに対しローカルBus使用権
を与えるかを決定する回路)で構成されるバスコントロ
ール回路(16)で行い、メインCPU(8)が機能モ
ジュール内部のデバイスにアクセスするときには、まず
メインCPU(8)がメインBus側にある、メインB
usアービタ(7)に対しメインBus使用権を要求し
、メインBus使用権を確保した後、ローカルBusの
使用権を要求するためにバスコントロール回路(16)
内のローカルBusリクエスタ(15)をアクセスする
、ローカルバスリクエスタ(15)はローカルバスアー
ビタ(13)に対しローカルBus使用権を要求し、ロ
ーカルBus使用権を確保した後、メインBusとロー
カルBusとを接続するためのバスインタフェースバフ
ァ(12)を使用して、機能モジュール内部の目的のデ
バイスにアクセスし情報の転送を行なっていた。 またローカルCPU(10)がメインBus上のデバイ
スにアクセスするときには、まずローカルCPU(10
)がローカルBus側にある、ローカルバスアービタ(
13)に対しメインBus使用権を要求し、ローカルB
us使用権を確保した後、メインBusの使用権を要求
するためにバスコントロール回路(16)内のメインバ
スリクエスタ(14)をアクセスする、メインバスリク
エスタ(14)はメインバスアービタ(7)に対しメイ
ンBus使用権を要求し、メインBus使用権を確保し
た後、メインBusとローカルBusとを接続するため
のバスインタフェースバファ(12)を使用して、機能
モジュール内部の目的のデバイスにアクセスし情報の転
送を行なっていた。
[Prior Art] A conventionally known system has one
Information transfer in an electronic device that has one or more functional modules, connects the functional modules with a main bus, and has a local bus within each functional module is performed on the main bus side and the local bus as shown in Figure 2. A local bus requester (15), a main bus requester (14), and a main bus arbiter (7) (main bus
A circuit that receives a signal requesting the right to use the main bus from a device connected to s and determines which device is given the right to use the main bus), local B
A bus control circuit (16) consisting of a us arbiter (13) (a circuit that receives a signal requesting the right to use the local bus from a device connected to the local bus and determines which device is given the right to use the local bus). ), and when the main CPU (8) accesses a device inside the function module, the main CPU (8) first accesses the main B
After requesting the us arbiter (7) for the right to use the main bus and securing the right to use the main bus, the bus control circuit (16) requests the right to use the local bus.
The local bus requester (15) requests the local bus arbiter (13) for the right to use the local bus, and after securing the right to use the local bus, connects the main bus and the local bus. A bus interface buffer (12) is used to access the target device inside the functional module and transfer information. Also, when the local CPU (10) accesses a device on the main bus, the local CPU (10) first accesses a device on the main bus.
) is on the local bus side, the local bus arbiter (
13) to request main Bus usage rights from Local B.
After securing the right to use the us, the main bus requester (14) accesses the main bus requester (14) in the bus control circuit (16) to request the right to use the main bus. After requesting the right to use the main bus and securing the right to use the main bus, the bus interface buffer (12) for connecting the main bus and the local bus is used to access the target device inside the function module. Information was being transferred.

【0003】0003

【発明が解決しようとする課題】図2のようなメインB
us側、及びローカルBus側にそれぞれのBus使用
権を要求する為のローカルバスリクエスタ(15)メイ
ンバスリクエスタ(14)で構成されているバスコント
ロール回路を使用した場合、メインCPU(8)が機能
モジュールのデバイスにアクセスする際、又はローカル
CPU(10)がメインBus上のデバイスにアクセス
する際、必ずローカルBus及びメインBus双方のB
us使用権を確保する必要があり、Bus使用権を確保
するまでの時間がアクセス時間を長くしていた。
[Problem to be solved by the invention] Main B as shown in Figure 2
When using a bus control circuit consisting of a local bus requester (15) and a main bus requester (14) for requesting bus usage rights from the us side and the local bus side, the main CPU (8) functions. When accessing a device on a module or when the local CPU (10) accesses a device on the main bus, the B of both the local bus and the main bus must be
It is necessary to secure the right to use the bus, and the time it takes to secure the right to use the bus increases the access time.

【0004】0004

【課題を解決するための手段】上記の課題は、図1のよ
うにローカルBus側からデータをセットすることによ
り、メインBusのBus使用権を機能モジュールが請
求するための信号を発生するメインアクセスレジスタ(
5)と、メインBusのBus使用権を機能モジュール
が獲得したことを、ローカルCPUに知らせるためのメ
インステータスレジスタ(4)と、メインBus側から
ローカルCPUの停止をメインCPUが請求するための
信号を発生するローカルコントロールレジスタ(2)と
、ローカルCPUの停止がしたことを、メインCPUに
知らせるためのローカルステータスレジスタ(3)と、
機能モジュールがメインBusのBus使用権を獲得し
た後、メインBusとローカルBusとを接続するため
のバファを、ローカルCPUの読みだしサイクル及び書
き込みサイクルに同期させて制御を行い、またローカル
CPUの停止した後、前記のバファをメインCPUの読
みだしサイクル及び書き込みサイクルに同期させて制御
を行うバファコントローラ(6)とを有するデュアルバ
スコントローラ(1)を設けることにより解決できる。
[Means for solving the problem] The above problem is solved by the main access, which generates a signal for the functional module to request the right to use the main bus by setting data from the local bus side as shown in FIG. register(
5), a main status register (4) for notifying the local CPU that the functional module has acquired the right to use the main bus, and a signal for the main CPU to request stoppage of the local CPU from the main bus side. a local control register (2) that generates a local CPU, and a local status register (3) that notifies the main CPU that the local CPU has stopped.
After the functional module acquires the right to use the main bus, it synchronizes and controls the buffer for connecting the main bus and local bus with the read cycle and write cycle of the local CPU, and also stops the local CPU. This can be solved by providing a dual bus controller (1) having a buffer controller (6) that controls the buffer in synchronization with the read cycle and write cycle of the main CPU.

【0005】[0005]

【作用】図1のローカルコントロールレジスタ(2)は
、メインBus側からセットすることにより、ローカル
CPU(10)の起動及び停止を行うための信号を発生
し、ローカルステータスレジスタ(3)は、本レジスタ
をメインBus側から読みだすことにより、ローカルC
PU(10)が動作しているか停止しているかがわかる
。メインアクセスレジスタ(5)は、ローカルBus側
からセットすることにより、メインバスアービタ(7)
に対しメインBusの使用権を機能モジュールが請求す
るための信号を発生するレジスタであり、その結果機能
モジュールがメインBusの使用権を獲得したことを、
ローカルCPUが知るためのレジスタがメインステータ
スレジスタ(4)である。バファコントローラ(6)は
、メインアクセスレジスタ(5)がディセーブルであり
かつローカルステータスレジスタ(3)が停止を示して
いるときは、バスインタフェースバファ(12)をメイ
ンCPUの書き込み読みだしタイミングにあわせてコン
トロールし、メインアクセスレジスタ(5)がイネーブ
ルでありかつメインステータスレジスタ(4)メインB
usの使用権を獲得したことを示し、かつローカルステ
ータスレジスタ(3)が起動を示しているときは、バス
インタフェースバファ(12)をローカルCPUの書き
込み読みだしタイミングにあわせてコントロールする。
[Operation] The local control register (2) in Figure 1 generates a signal to start and stop the local CPU (10) by setting it from the main bus side, and the local status register (3) generates a signal to start and stop the local CPU (10). By reading the register from the main bus side, the local C
It can be seen whether the PU (10) is operating or stopped. By setting the main access register (5) from the local bus side, the main bus arbiter (7)
This is a register that generates a signal for a functional module to request the right to use the main bus, and as a result, indicates that the functional module has acquired the right to use the main bus.
The register for the local CPU to know is the main status register (4). When the main access register (5) is disabled and the local status register (3) indicates stop, the buffer controller (6) adjusts the bus interface buffer (12) to the write/read timing of the main CPU. If the main access register (5) is enabled and the main status register (4) is
When the right to use US has been acquired and the local status register (3) indicates activation, the bus interface buffer (12) is controlled in accordance with the write/read timing of the local CPU.

【0006】[0006]

【実施例】本発明の実施例を図1によって説明する。図
1はプログラム及びデータを格納するメインメモリ(9
)、メインメモリ(9)内のプログラム及びデータを使
用してシステム全体を統括するメインCPU(8)、メ
インBusの使用権を決定するメインBusアービタ(
7)、メインBusに接続された機能モジュールで構成
された電子回路システムの一実施例であり、この機能モ
ジュールは、メインBusとローカルBusとを結合さ
せるバスインタフェースバファ(12),機能モジュー
ルの動作に必要なプログラムやデータを格納するための
ローカルメモリ(11),機能モジュール内の動作を統
括するローカルCPU(10),メインCPU(8)か
らローカルBusへのアクセス及びローカルCPU(1
0)からメインBusへのアクセスを行う際のタイミン
グ及び制御信号を発生するデュアルバスコントローラ(
1)から構成され、さらにデュアルバスコントローラ(
1)は、メインBus側からセットすることにより、ロ
ーカルCPU(10)の起動及び停止を行うための信号
を発生するローカルコントロールレジスタ(2),ロー
カルCPU(10)が動作しているか停止しているかを
メインBusに伝えるローカルステータスレジスタ(3
)ローカルBus側からセットすることにより、メイン
バスアービタ(7)に対しメインBusの使用権を機能
モジュールが請求するための信号を発生するメインアク
セスレジスタ(5)、その結果機能モジュールがメイン
Busの使用権を獲得したことを、ローカルCPUが知
るためのメインステータスレジスタ(4)、バスインタ
フェースバファ(12)を制御するバファコントローラ
(6)から構成されている。本システムの動作を説明す
ると、ローカルCPU(10)がメインメモリ(9)を
アクセスする際には、まずローカルCPU(10)がメ
インアクセスレジスタ(5)にリクエストをかける、メ
インアクセスレジスタ(5)は、メインBusアービタ
(7)に対しメインBusの使用権を機能モジュールが
請求するための信号を発生する。ローカルCPU(10
)は、メインBusの使用を認可されたことをメインス
テータスレジスタ(4)を読みだすことにより知り、そ
の後メインBus上の目的のアドレスを発生しアクセス
することになる。この際バファコントローラ(6)はロ
ーカルCPU(10)の書き込み読みだしタイミングに
あわせてバスインタフェースバファ(12)をコントロ
ールし、アドレス及びデータの受渡しを行う。メインC
PU(8)がローカルメモリ(11)をアクセスする際
には、まずメインCPU(8)はメインバスアービタ(
7)に対しメインBusの使用権要求する。メインBu
sが使用可能になったらローカルコントロールレジスタ
(2)に対しローカルCPU(10)の停止命令をセッ
トする、ローカルコントロールレジスタ(2)はただち
にローカルCPU(10)に対し停止信号を発生する。 ローカルCPU(10)が停止するとローカルステータ
スレジスタ(3)に停止情報がセットされ、メインCP
U(8)がローカルステータスレジスタ(3)を読みだ
すことによってローカルCPU(10)の停止を確認し
、その後メインCPU(8)は機能モジュールの目的の
アドレスを発生しアクセスすることになる。この際バフ
ァコントローラ(6)はメインCPU(10)の書き込
み読みだしタイミングにあわせてバスインタフェースバ
ファ(12)をコントロールし、アドレス及びデータの
受渡しを行う。目的のアドレスをアクセスし終わったら
、ローカルコントロールレジスタ(2)に対しローカル
CPU(10)の起動命令をセットする。
[Embodiment] An embodiment of the present invention will be explained with reference to FIG. Figure 1 shows the main memory (9) that stores programs and data.
), a main CPU (8) that supervises the entire system using programs and data in the main memory (9), and a main Bus arbiter (8) that determines the right to use the main bus.
7) This is an embodiment of an electronic circuit system composed of a functional module connected to the main bus, and this functional module includes a bus interface buffer (12) that couples the main bus and the local bus, and a function module that controls the operation of the functional module. local memory (11) for storing programs and data necessary for
A dual bus controller (
1), and a dual bus controller (
1) is a local control register (2) that generates a signal to start and stop the local CPU (10) by setting it from the main bus side, and whether the local CPU (10) is operating or stopped. Local status register (3) that tells the main bus whether
) A main access register (5) that generates a signal for a functional module to request the right to use the main bus from the main bus arbiter (7) by setting it from the local bus side; It consists of a main status register (4) that allows the local CPU to know that the usage right has been acquired, and a buffer controller (6) that controls the bus interface buffer (12). To explain the operation of this system, when the local CPU (10) accesses the main memory (9), the local CPU (10) first requests the main access register (5). generates a signal for the functional module to request the right to use the main bus from the main bus arbiter (7). Local CPU (10
) learns that it is authorized to use the main bus by reading the main status register (4), and then generates and accesses the target address on the main bus. At this time, the buffer controller (6) controls the bus interface buffer (12) in accordance with the write/read timing of the local CPU (10), and transfers addresses and data. Main C
When the PU (8) accesses the local memory (11), the main CPU (8) first uses the main bus arbiter (
7) requests the right to use the main bus. Main Bu
When s becomes available, a stop command for the local CPU (10) is set in the local control register (2), and the local control register (2) immediately generates a stop signal to the local CPU (10). When the local CPU (10) stops, stop information is set in the local status register (3), and the main CPU
The U (8) reads the local status register (3) to confirm that the local CPU (10) has stopped, and then the main CPU (8) generates and accesses the target address of the functional module. At this time, the buffer controller (6) controls the bus interface buffer (12) in accordance with the write/read timing of the main CPU (10), and transfers addresses and data. When the target address has been accessed, a startup command for the local CPU (10) is set in the local control register (2).

【0007】[0007]

【発明の効果】1.本発明によれば、ローカルCPU(
10)がメインBus上のデバイスにアクセスする際、
ローカルBusのBus使用権を確保する必要がなくな
り、その結果メインBusのデバイスとローカルCPU
(10)間の情報転送時間を短くすることができ、ロー
カルCPU(10)の効率的な使用が可能になる。
[Effect of the invention] 1. According to the present invention, the local CPU (
10) When accessing a device on the main bus,
It is no longer necessary to secure bus usage rights for the local bus, and as a result, the main bus device and local CPU
(10) can be shortened, and the local CPU (10) can be used efficiently.

【0008】2.メインCPU(8)が機能モジュール
内部のデバイスに連続的にアクセスする際は、ローカル
コントロールレジスタ(2)アクセスでローカルCPU
(10)を一時停止させることにより、以後ローカルB
usを継続的にメインCPU(8)が占有することが可
能なため、情報転送率的を上げることができる。
2. When the main CPU (8) continuously accesses devices inside the functional module, the local CPU accesses the local control register (2).
By temporarily stopping (10), local B
Since the main CPU (8) can continuously occupy the US, the information transfer rate can be increased.

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

【図1】本発明の基本的な一実施例のブロック配置図で
ある。
FIG. 1 is a block layout diagram of a basic embodiment of the present invention.

【図2】従来からあるバスコントローラを使用した電子
機器のブロック配置図である。
FIG. 2 is a block layout diagram of an electronic device using a conventional bus controller.

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

2…ローカルコントロールレジスタ、3…ローカルステ
ータスレジスタ、4…メインステータスレジスタ、5…
メインアクセスレジスタ、6…バファコントローラ、8
…メインCPU、10…ローカルCPU。
2...Local control register, 3...Local status register, 4...Main status register, 5...
Main access register, 6...Buffer controller, 8
...Main CPU, 10...Local CPU.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】メインBus(システム全体を統括するメ
インCPUや個々の機能モジュール間の情報伝達を行う
Bus、以後メインBusと記す)と、ローカルBus
(個々の機能モジュール内で個々の機能を専用に処理す
るためのローカルCPUを組み入れた、モジュール内部
の情報伝達を行う、メインBusと独立したBus、以
後ローカルBusと記す)を有するシステムにおいて、
ローカルBus側からデ−タをセットすることにより、
メインBusの使用権を機能モジュールが請求するため
の信号を発生するレジスタと、メインBusの使用権を
機能モジュールが獲得したことを、ローカルCPUに知
らせるためのレジスタを有し、メインBus側からロー
カルCPUの停止及び起動をメインCPUが要求するた
めの信号を発生するレジスタと、ローカルCPUが停止
及び起動したことを、メインCPUに知らせるためのレ
ジスタを有し、機能モジュールがメインBusの使用権
を獲得した後、メインBusとローカルBusとを接続
するためのバファを、ローカルCPUの読みだしサイク
ル及び書き込みサイクルに同期させて制御を行い、また
ローカルCPUの停止した後、前記のバファをメインC
PUの読みだしサイクル及び書き込みサイクルに同期さ
せて制御を行う回路とを有することを特徴とするデュア
ルバスコントローラ。
Claim 1: A main bus (a bus that transmits information between the main CPU that controls the entire system and individual functional modules, hereinafter referred to as the main bus), and a local bus.
In a system having (a bus independent of the main bus, hereinafter referred to as local bus, which incorporates a local CPU for dedicated processing of individual functions within each functional module and transmits information within the module, hereinafter referred to as local bus),
By setting data from the local bus side,
It has a register that generates a signal for a functional module to request the right to use the main bus, and a register that notifies the local CPU that the functional module has acquired the right to use the main bus. It has a register that generates a signal for the main CPU to request that the CPU be stopped and started, and a register that notifies the main CPU that the local CPU has stopped and started. After acquisition, the buffer for connecting the main bus and the local bus is controlled in synchronization with the read cycle and write cycle of the local CPU, and after the local CPU is stopped, the buffer is connected to the main bus.
A dual bus controller comprising a circuit that performs control in synchronization with a read cycle and a write cycle of a PU.
JP10551291A 1991-05-10 1991-05-10 Dual bus controller Pending JPH04333961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10551291A JPH04333961A (en) 1991-05-10 1991-05-10 Dual bus controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10551291A JPH04333961A (en) 1991-05-10 1991-05-10 Dual bus controller

Publications (1)

Publication Number Publication Date
JPH04333961A true JPH04333961A (en) 1992-11-20

Family

ID=14409657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10551291A Pending JPH04333961A (en) 1991-05-10 1991-05-10 Dual bus controller

Country Status (1)

Country Link
JP (1) JPH04333961A (en)

Similar Documents

Publication Publication Date Title
US5255374A (en) Bus interface logic for computer system having dual bus architecture
US5265211A (en) Arbitration control logic for computer system having dual bus architecture
US5239631A (en) Cpu bus allocation control
US5301282A (en) Controlling bus allocation using arbitration hold
JPS5878246A (en) Access regulating apparatus and method
JPH0354375B2 (en)
JPH06231074A (en) Multiple access system for system bus
US7203781B2 (en) Bus architecture with primary bus and secondary or slave bus wherein transfer via DMA is in single transfer phase engagement of primary bus
JPH04333961A (en) Dual bus controller
JPH10307788A (en) Bus bridge
JPH0343804A (en) Sequence controller
JP2607073B2 (en) Arithmetic processing unit
JP2000207354A (en) Bus arbiter and inter-bus controller
JPS60151894A (en) Refresh circuit of dynamic ram
EP0373393A1 (en) Information processing system
JPH034349A (en) Dma transfer system
JPH02207363A (en) Data transfer system, device controller, and memory controller
JPH0575140B2 (en)
JP2560968B2 (en) Computer system
JPS6337418B2 (en)
JP2000090045A (en) Data transfer system, direct memory access controller and method and record medium
JPH05282198A (en) Dma transfer system
JPH0668020A (en) Memory controller
JPH09259074A (en) Memory access circuit
JPS61234447A (en) Bus acuisition controller