JPS6278663A - Control system for processor bus - Google Patents

Control system for processor bus

Info

Publication number
JPS6278663A
JPS6278663A JP21942585A JP21942585A JPS6278663A JP S6278663 A JPS6278663 A JP S6278663A JP 21942585 A JP21942585 A JP 21942585A JP 21942585 A JP21942585 A JP 21942585A JP S6278663 A JPS6278663 A JP S6278663A
Authority
JP
Japan
Prior art keywords
bus
processor
instruction
processor bus
memory
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
JP21942585A
Other languages
Japanese (ja)
Inventor
Naoki Aihara
直樹 相原
Yoshiaki Nakano
好章 中野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP21942585A priority Critical patent/JPS6278663A/en
Publication of JPS6278663A publication Critical patent/JPS6278663A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To economically and efficiently share a processor bus by allowing other devices to use the processor bus concerned when one processor does not use said processor bus. CONSTITUTION:Instruction codes a1 comprising an instruction executed by the processor 1 is converted into a bus use period code (c) and further into a bus use period signal (d), both of which control the conduction of gates 9 and 10 and how the processor bus 4 is used by other devices as a bus nonuse period signal (e). As a result, the processor 1 is connected to the bus 4 only during the execution period of the instruction, that is, the execution period using the bus 4, and is disconnected from the bus 4 during the execution period in nonuse of the bus 4. On the other hand, the execution period when the processor 1 does not use the bus 4 is transmitted to other processors, which can be allowed to use the bus 4 during said period. Accordingly the bus 4 can be economically and efficiently shared with the processor 4 and other processors.

Description

【発明の詳細な説明】 〔概要〕 プロセッサと他の装置とがプロセッサハスを共用する情
報処理システムにおいて、プロセッサがプログラムを実
行する際、読出された命令コードからプロセッサのプロ
セッサバス不使用周間を他の装置に伝達し、他の装置に
プ「1セツサバスの使用を許可するものである。
[Detailed Description of the Invention] [Summary] In an information processing system in which a processor and other devices share a processor bus, when the processor executes a program, the unused cycles of the processor bus of the processor are determined from read instruction codes. This information is transmitted to other devices to permit the other devices to use the bus.

〔産業上の利用分野〕[Industrial application field]

本発明は情報処理システムにおいて、プロセッサと他の
装置とがプロセッサバスを経済的、1つ効率的に共用可
能とするプロセッサバス制御方式プロセッサが、プロセ
ッサバスを介してメモリおよび入出力制御装置との間で
情報を転送する情報処理システムにおいて、他の装置(
例えば他のプロセッサ)にもプロセッサバスを共用させ
る場合がある。
The present invention provides an information processing system in which a processor bus control system that enables a processor and other devices to share a processor bus economically and efficiently enables a processor to communicate with a memory and an input/output control device via a processor bus. In an information processing system that transfers information between
For example, the processor bus may also be shared by other processors.

かかる情報処理システムにおいて、プロセソサと他の装
置とが、極力経済的且つ効率的にプロセッサバスを共用
可能とする手段の実現が強く要望される。
In such an information processing system, there is a strong demand for a means that allows a processor and other devices to share a processor bus as economically and efficiently as possible.

〔従来の技術〕[Conventional technology]

第3図は従来あるプロセッサバス制御方式の一例を示す
図である。
FIG. 3 is a diagram showing an example of a conventional processor bus control method.

第3図において、プロセッサ1、各種データを格納する
メモリ2、および図示されぬ各種入出力装置に対するデ
ータ転送を制御する入出力制御装置3がプロセッサバス
4により接続されている。
In FIG. 3, a processor 1, a memory 2 for storing various data, and an input/output control device 3 for controlling data transfer to various input/output devices (not shown) are connected by a processor bus 4.

プロセッサ1はプロセッサバス4を経由して、メモリ2
或いは入出力制御装置3との間でデータの授受を行う。
Processor 1 communicates with memory 2 via processor bus 4.
Alternatively, data is exchanged with the input/output control device 3.

更にプロセッサバス4には、メモリ2と入出力fftl
f御装置3との間で、プロセッサ1を経由すること無く
データの転送を可能とする為に、ダイレクトメモリアク
セス装W5が接続されている。
Furthermore, the processor bus 4 includes a memory 2 and an input/output fftl.
A direct memory access device W5 is connected to the f control device 3 in order to enable data transfer without going through the processor 1.

ダイレクトメモリアクセス装置5は、メモリ2と入出力
制御装置3との間でデータの転送を行う場合に、プロセ
ノlJ1を停止さl!てプI−1セノザバス4から切離
し、プロセッサ1から与えられた指示に基づきメモリ2
と入出力制御装置3との間のデータ転送を実行させた後
、プロセッサ1を停止l二解除する。
The direct memory access device 5 stops the processor lJ1 when transferring data between the memory 2 and the input/output control device 3! The processor 1 disconnects the memory 2 from the bus 4 based on instructions given from the processor 1.
After data transfer between the processor 1 and the input/output control device 3 is executed, the processor 1 is stopped and released.

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

以上の説明から明らかな如く、従来あるプロセッサバス
制御方式においては、プロセッサ1と他の装置とでプロ
セッサバス4を共用する為には、例えばダイレクトメモ
リアクセス装W5の如く複雑な論理を設ける必要があり
、当該情報処理システムの経済性を損なう恐れがあった
。また他の装置がプロセッサバス4を使用している間、
プロセッサIは停止している必要があり、処理効率を低
下させる恐れがあった。
As is clear from the above description, in some conventional processor bus control systems, in order to share the processor bus 4 between the processor 1 and other devices, it is necessary to provide complex logic such as the direct memory access device W5. Therefore, there was a risk that the economic efficiency of the information processing system would be impaired. Also, while other devices are using the processor bus 4,
Processor I must be stopped, which may reduce processing efficiency.

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

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図においては、プロセッサ1が実行するプログラム
を格納し、目−っ該プログラムを構成する命令の命令コ
ードa1の格納番地を識別する識別手段100と、識別
手段100が識別した格納番地から読出された命令コー
ドa1を、命令の実行周期の内、プロセッサバス4の使
用の有無を示すバス不使用周期信号eに変換する変換手
段200とが設けられいてる。
In FIG. 1, a program to be executed by a processor 1 is stored, and identification means 100 identifies a storage address of an instruction code a1 of an instruction constituting the program, and reading is performed from the storage address identified by the identification means 100. A converting means 200 is provided for converting the instruction code a1 that has been executed into a bus non-use period signal e indicating whether or not the processor bus 4 is used within the instruction execution period.

〔作用〕[Effect]

即ち本発明によれば、プロセッサがプロセッサバスを使
用しない命令の実行周期に、他の装置にプロセッサバス
の使用を許容可能となり、プロセッサバスを経済的、目
、つ効率的に共用することが可能となる。
That is, according to the present invention, it is possible to allow other devices to use the processor bus during the execution cycle of instructions in which the processor does not use the processor bus, and it is possible to share the processor bus economically and efficiently. becomes.

〔実施例〕〔Example〕

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

第2図は本発明の一実施例によるプロセッサバス制御方
式を示す図である。なお、全図を通じて同一符号は同一
対象物を示す。
FIG. 2 is a diagram showing a processor bus control method according to an embodiment of the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

第2図においては、識別手段+00としてメモIJ 6
が設けられ、また変換手段200としてメモIJ 7、
シフトレジスタ8およびインバータ11が設けられてい
る。
In FIG. 2, the memo IJ 6 is used as the identification means +00.
is provided, and a memo IJ 7 is provided as the conversion means 200.
A shift register 8 and an inverter 11 are provided.

メモリ6には、プロセッサlが実行するプログラムが格
納されている。プログラムを構成する各命令の命令コー
ドa1が格納されている番地には認識符号すが格納され
、命令ニードa1以外のデータ等a2が格納されている
番地には、認識符号すは格納されていない。
The memory 6 stores programs executed by the processor l. A recognition code is stored at the address where the instruction code a1 of each instruction that makes up the program is stored, and no recognition code is stored at the address where data such as a2 other than instruction need a1 is stored. .

一方メモリ7には、メモリ6から読出される命令の実行
周期の内、プロセンサバス4の使用の有無を示すバス使
用周期符号Cが、命令コードa1を格納番地として格納
されている。例えば命令コードa1を有する命令の実行
周期が3周期で、第1周期および第2周期にはプロセッ
サバス4を使用せず、第3周期にプロセッサバス4を使
用する場合には、バス使用周期符号Cは(0,0,1)
に設定される。
On the other hand, in the memory 7, a bus usage cycle code C indicating whether or not the processor bus 4 is used in the execution cycle of the instruction read from the memory 6 is stored with the instruction code a1 as the storage address. For example, if the execution cycle of an instruction having instruction code a1 is three cycles, and the processor bus 4 is not used in the first cycle and the second cycle, but the processor bus 4 is used in the third cycle, the bus usage cycle code C is (0,0,1)
is set to

プロセッサlが成る命令を実行する際に、アドレス端子
へから先ず命令コードa1の格納番地をメモリ6に伝達
すると、メモリ6からは命令コードa1および認識符号
すが読出される。
When the processor l executes an instruction, the storage address of the instruction code a1 is first transmitted to the memory 6 from the address terminal, and the instruction code a1 and the recognition code are read from the memory 6.

命令コードa1は、プロセッサ1のデータ端子りに伝達
されると共に、メモリ7に格納番地として伝達され、ま
た認識符号すはシフトレジスタ8に伝達される。
The instruction code a1 is transmitted to the data terminal of the processor 1, and is also transmitted to the memory 7 as a storage address, and the recognition code is transmitted to the shift register 8.

メモリ7は、伝達された命令コードa1に相当する格納
番地に格納されているバス使用周期符号Cを抽出し、シ
フトレジスタ8に伝達する。
The memory 7 extracts the bus usage cycle code C stored at the storage address corresponding to the transmitted instruction code a1, and transmits it to the shift register 8.

シフトレジスタBは、メモリ6から認識符号すが伝達さ
れている場合に、メモリ7から伝達されるバス使用周期
符号Cを並列に蓄積する。
The shift register B stores the bus use cycle code C transmitted from the memory 7 in parallel when the recognition code is transmitted from the memory 6.

シフトレジスタ8は、プロセッサ1の実行周期を制御す
るクロック信号ckに同期して、蓄積されているバス使
用周期符号Cを1桁宛歩進させ、直列形式のバス使用周
期信号dとしてゲート9および10、並びにインバータ
11に伝達する。
The shift register 8 increments the stored bus usage cycle code C by one digit in synchronization with the clock signal ck that controls the execution cycle of the processor 1, and outputs it to the gate 9 and the serial bus usage cycle signal d. 10 and inverter 11.

ゲート9および10は、バス使用周期信号dが論理“1
”の場合、即ちプロセッサ1がプロセッサハス4を使用
する実行周期に同1υ1して導通状態となり、ハス使用
rWI朋信号dが論理“′0”の場合、即チプロセソサ
1がプロセッサバス4を使用しない実行周期に同期して
遮断状態となる。
Gates 9 and 10 are configured such that the bus use period signal d is logic “1”.
”, that is, when the processor 1 uses the processor bus 4 in the same execution cycle as 1υ1 and becomes conductive, and the bus use rWI signal d is logic “0”, that is, the processor 1 does not use the processor bus 4. It enters a shutdown state in synchronization with the execution cycle.

一方インバータ11は、バス使用周期信号dの論理値を
反転したバス不使用周期信号eを作成し、図示されぬプ
ロセッサバス4を共用する他の装置に伝達する。
On the other hand, the inverter 11 creates a bus non-use period signal e by inverting the logic value of the bus use period signal d, and transmits it to another device (not shown) that shares the processor bus 4.

他の装置は、伝達されたバス不使用周期信号eが論理“
l”を示す場合にプロセッサハス4が使用可能と判定し
、またバス不使用周期信号eが論理“0”を示す場合に
プロセッサバス4が使用不可能と判定する。
In other devices, the transmitted bus non-use period signal e is a logic "
It is determined that the processor bus 4 is usable when the bus non-use cycle signal e indicates logic "0", and it is determined that the processor bus 4 is unusable when the bus non-use periodic signal e indicates logic "0".

次にプロセッサ1が、アドレス端T−へからデータ等a
2の格納番地をメモリ6に伝達すると、メモリ6からは
データa2のみが読出される。
Next, processor 1 sends data etc. a to address end T-.
When the storage address of 2 is transmitted to the memory 6, only data a2 is read from the memory 6.

データ等a2は、プロセッサ1のデータ端子りに伝達さ
れると共に、メモリ7に格納番地として伝達され、メモ
リ7からはデータ等a2に相当する格納番地に格納され
ている格納内容が抽出され、シフトレジスタ8に伝達さ
れるが、シフトレジスタ8にはメモリ6から認識符号す
が伝達されていない為、メモリ7から伝達される格納内
容を蓄積しない。
The data etc. a2 is transmitted to the data terminal of the processor 1 and is also transmitted to the memory 7 as a storage address, and from the memory 7, the stored content stored at the storage address corresponding to the data etc. a2 is extracted and shifted. However, since the recognition code is not transmitted from the memory 6 to the shift register 8, the storage contents transmitted from the memory 7 are not stored.

以」二の説明から明らかな如く、本実施例によれば、プ
ロセッサ1が実行する命令の命令コードa1がバス使用
周期符号C1更にバス使用周期信号dに変換され、ゲー
ト9および10の導通状態を制御し、またバス不使用周
期信号eとして他の装置にプロセッサバス4の使用を制
御する。
As is clear from the following explanation, according to this embodiment, the instruction code a1 of the instruction executed by the processor 1 is converted into the bus usage cycle code C1 and further into the bus usage cycle signal d, and the conduction state of the gates 9 and 10 is It also controls the use of the processor bus 4 by other devices as a bus non-use periodic signal e.

その結果プロセッサ1は命令の実行周期の内、プロセッ
サバス4を使用する実行周期のみにプロセッサバス4に
接続され、プロセッサバス4を使用しない実行周期には
プロセッサバス4から切離される。一方他の装置には、
プロセッサ1がプロセッサバス4を使用しない実行周期
が伝達され、その間プロセッサバス4を使用を許容する
こととなり、プロセッサ1と他の装置とが、経済的、且
つ効率的にプロセッサバス4を共用することが可能とな
る。
As a result, the processor 1 is connected to the processor bus 4 only during the execution cycle in which the processor bus 4 is used, and is disconnected from the processor bus 4 during the execution cycle in which the processor bus 4 is not used. On the other hand, other devices include
An execution cycle in which the processor 1 does not use the processor bus 4 is transmitted, and the processor bus 4 is allowed to be used during that period, so that the processor 1 and other devices can share the processor bus 4 economically and efficiently. becomes possible.

なお、第2図はあく迄本発明のm−実施例に過ぎず、例
えば認識符号すば命令コードa1に対応して格納される
ものに限定されることは無く、命令ニードal以外のデ
ータ等a2に対応して格納される等、他に幾多の変形が
考慮されるが、何れの場合にも本発明の効果は変わらな
い。
Note that FIG. 2 is merely an m-embodiment of the present invention, and for example, the recognition code is not limited to what is stored corresponding to the instruction code a1, and data other than the instruction need al, etc. Although many other modifications may be considered, such as storing in correspondence with a2, the effect of the present invention remains the same in either case.

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

以上、本発明によれば、前記情報処理システムにおいて
、プロセッサがプロセッサバスを使用しない命令実行周
期に、他の装置にプロセッサバスの使用を許容可能とな
り、プロセッサバスを経済的、且つ効率的に共用するこ
とが可能となる。
As described above, according to the present invention, in the information processing system, it is possible to allow other devices to use the processor bus during instruction execution cycles in which the processor does not use the processor bus, and the processor bus can be shared economically and efficiently. It becomes possible to do so.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例によるプロセッサバス制御方式を示す図、第3図は
従来あるプロセッサバス制御方式の一例を示す図である
。 図において、1はプロセッサ、2.6および7はメモリ
、3は入出力制御装置、4はプロセ・ノサバス、5はダ
イレクトメモリアクセス装置、8はシフトレジスタ、9
および10はゲート、11はインパーク、alは命令コ
ード、a2はデータ等、bは認識符号、Cはバス使用周
期符号、ckはクロック信号、dはバス使用周期信号、
eはバス不ホ発朋0屑見徴 年 1 い Ck      ズ巨〕セにシ珂によ、るフーフサノく
゛ス@β沈三℃゛竿 2 日
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing a processor bus control method according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of a conventional processor bus control method. In the figure, 1 is a processor, 2, 6 and 7 are memories, 3 is an input/output control device, 4 is a processor bus, 5 is a direct memory access device, 8 is a shift register, and 9 is a
and 10 is a gate, 11 is impark, al is an instruction code, a2 is data, etc., b is a recognition code, C is a bus usage cycle code, ck is a clock signal, d is a bus usage cycle signal,
e is a bus failure. 1. Ck is huge. 2 days.

Claims (1)

【特許請求の範囲】 プロセッサ(1)と他の装置とが、プロセッサバス(4
)を共用する情報処理システムにおいて、前記プロセッ
サ(1)が実行するプログラムを格納し、且つ該プログ
ラムを構成する命令の命令コード(al)の格納番地を
識別する識別手段(100)と、 前記識別手段(100)が識別した格納番地から読出さ
れた命令コード(al)を、該命令の実行周期の内、プ
ロセッサバス(4)の使用の有無を示すバス不使用周期
信号(e)に変換する変換手段(200)とを設け、 前記プロセッサ(1)が前記プロセッサバス(4)を使
用しない実行周期に、前記他の装置に該プロセッサバス
(4)の使用を許容することを特徴とするプロセッサバ
ス制御方式。
[Claims] A processor (1) and other devices are connected to a processor bus (4).
), an identification means (100) for storing a program executed by the processor (1) and for identifying a storage address of an instruction code (al) of an instruction constituting the program; The means (100) converts the instruction code (al) read from the identified storage address into a bus non-use cycle signal (e) indicating whether or not the processor bus (4) is used during the execution cycle of the instruction. a conversion means (200), and allows the other device to use the processor bus (4) during an execution cycle in which the processor (1) does not use the processor bus (4). Bus control method.
JP21942585A 1985-10-02 1985-10-02 Control system for processor bus Pending JPS6278663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21942585A JPS6278663A (en) 1985-10-02 1985-10-02 Control system for processor bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21942585A JPS6278663A (en) 1985-10-02 1985-10-02 Control system for processor bus

Publications (1)

Publication Number Publication Date
JPS6278663A true JPS6278663A (en) 1987-04-10

Family

ID=16735189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21942585A Pending JPS6278663A (en) 1985-10-02 1985-10-02 Control system for processor bus

Country Status (1)

Country Link
JP (1) JPS6278663A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01199866A (en) * 1987-11-18 1989-08-11 Philip Morris Prod Inc Tear tape or sealing strip for packaging

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01199866A (en) * 1987-11-18 1989-08-11 Philip Morris Prod Inc Tear tape or sealing strip for packaging

Similar Documents

Publication Publication Date Title
JPH0354375B2 (en)
JPH0258649B2 (en)
JPH056906B2 (en)
US5210828A (en) Multiprocessing system with interprocessor communications facility
JPS6057610B2 (en) How to drive a computer system consisting of multiple computers
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
US4417303A (en) Multi-processor data communication bus structure
US6493805B2 (en) Method and system for synchronizing block-organized data transfer amongst a plurality of producer and consumer stations
JPS6278663A (en) Control system for processor bus
KR910001708B1 (en) Central processing unit
EP0376003A2 (en) Multiprocessing system with interprocessor communications facility
JPS5927334A (en) Direct memory access memory device
KR960018958A (en) Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System
JP2000148524A (en) Fail-safe collating device
JPS59212935A (en) Bus control system
JPH01121965A (en) Microprocessor
SU433484A1 (en) DATA DATA PROCESSING1 T Bii ^ f; '- ViJ- i ^ O g ^ al
JP3693681B2 (en) Arithmetic unit
SU1381533A1 (en) Mathematical processor
JPS63155330A (en) Microprogram controller
JPS6267648A (en) Processing system for exclusive control instruction
JPS60189043A (en) Processor
JPS62166463A (en) Data transfer system
JPS6220043A (en) Random access memory capable of asynchronous simultaneous access for multiprocessor
SE8001908L (en) DATABEHANDLINGSANLEGGNING