JPS63168758A - Multi-bus control system - Google Patents

Multi-bus control system

Info

Publication number
JPS63168758A
JPS63168758A JP141387A JP141387A JPS63168758A JP S63168758 A JPS63168758 A JP S63168758A JP 141387 A JP141387 A JP 141387A JP 141387 A JP141387 A JP 141387A JP S63168758 A JPS63168758 A JP S63168758A
Authority
JP
Japan
Prior art keywords
bus
signal
rmc
read
access
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
JP141387A
Other languages
Japanese (ja)
Inventor
Masahiro Murata
村田 昌宏
Satoshi Matsubara
敏 松原
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 JP141387A priority Critical patent/JPS63168758A/en
Publication of JPS63168758A publication Critical patent/JPS63168758A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To ensure a bus during the read/modify/write cycle corresponding to each bus by controlling and separating a bus request to each bus depending on the access cycle of each bus. CONSTITUTION:When a main processor 1 is going to access a memory by means of the read/modify/write cycle (RMC), an address is outputted and a RMC signal is outputted. An access signal of a bus connecting to memory having its address area is generated by the decording signal of the address. A RMC control circuit 2 is activated by the RMC signal and the bus access signal and a bus request stored during the period of RMC is outputted to the bus only. In case of the usual of the usual read/write cycle not is the RMC, the bus request of the read/write cycle is outputted directly through an OR means 24 or 24'. In case of the RMC access, since the bus request is given only to the bus to be accessed, the use of other buses is attained and the processing efficiency is improved.

Description

【発明の詳細な説明】 [概 要] マルチバスを持つプロセッサのリード・モディファイ・
ライトサイクル制御において、各バスに対スるバス要求
を各バスのアクセスサイクルにより制御、分離すること
により、各バス対応にリード・モディファイ・ライトサ
イクルの期間バス確保を可能としたものである。
[Detailed Description of the Invention] [Summary] Read/modify processor with multibus
In write cycle control, by controlling and separating the bus requests for each bus according to the access cycle of each bus, it is possible to secure a bus for each bus during the read/modify/write cycle.

[産業上の利用分野コ 本発明は、マルチバスを持つプロセッサにおけるバスの
制御方式に係わり、特にリード・モディファイ・ライト
サイクル制御によるバス要求に関する。
[Industrial Field of Application] The present invention relates to a bus control method in a processor having a multi-bus, and particularly to bus requests based on read-modify-write cycle control.

[従来の技術] 第4図は、従来のシングルパス時の構成図を示す。[Conventional technology] FIG. 4 shows a conventional single-pass configuration diagram.

従来、シングルパスにおいては、プロセッサはリード・
モディファイ・ライトサイクル(以下、RMCと略記す
る)信号を、バス要求信号として送り出していた。
Traditionally, in a single pass, the processor
A modify write cycle (hereinafter abbreviated as RMC) signal was sent out as a bus request signal.

RMCとは、例えば一つのプロセッサがメモリを読み出
し、同一のアドレスに修正を加えたデータで書き込もう
とするとき、リードサイクルとライトサイクルの間に、
他のアクセス装置からの書込みが行われることのないよ
う、リード・モディファイ・ライトサイクルという一つ
のサイクルでメモリにアクセスすることをいう。
RMC is, for example, when one processor reads memory and attempts to write modified data to the same address, between a read cycle and a write cycle,
This refers to accessing memory in a single cycle, the read-modify-write cycle, to prevent writing from other access devices.

一方、マルチバスを持つプロセッサが、RMC信号を直
接バス要求信号として送り出すと、使用しないバスにも
バス要求信号を出してしまい、他のアクセス装置がバス
を使えな(なってしまう。
On the other hand, if a processor with multi-buses directly sends out the RMC signal as a bus request signal, the bus request signal will also be sent to unused buses, making it impossible for other access devices to use the bus.

[発明が解決しようとする問題点] 一つのプロセッサから、複数個の独立したハスに、異な
るタイミングでリード・モディファイ・ライトサイクル
を実行する場合、各々のハスに対して本信号を送出しな
ければならない。
[Problems to be solved by the invention] When a single processor executes read/modify/write cycles to multiple independent lotuses at different timings, this signal must be sent to each lotus. No.

通常、RMC信号によりハス要求を行い、この信号の有
効期間に、リード・ライトサイクルを実行する。
Normally, a hash request is made using the RMC signal, and a read/write cycle is executed during the valid period of this signal.

このとき、アドレスデコード信号によりバス要求信号を
出すと、リードとライトの間でバス要求が途切れてしま
い、リード・モディファイ・ライトサイクルとはならな
い。本サイクルにおいてはリード、ライト動作がバス確
保状態で連続して行われなければならない。
At this time, if a bus request signal is issued by the address decode signal, the bus request will be interrupted between the read and write, and a read-modify-write cycle will not occur. In this cycle, read and write operations must be performed continuously while the bus is secured.

本発明は、このような従来の問題点を解消した新規なマ
ルチバス制御方式を提供しようとするものである。
The present invention aims to provide a new multi-bus control method that solves the problems of the conventional method.

[問題点を解決するための手段] 第1図は本発明のマルチバス制御方式の原理ブロック図
を示す。
[Means for Solving the Problems] FIG. 1 shows a block diagram of the principle of the multi-bus control system of the present invention.

第1図(a)は本発明の全体構成を示す図であり、図に
おいて、1は主プロセツサである。
FIG. 1(a) is a diagram showing the overall configuration of the present invention, and in the figure, 1 is a main processor.

2はRM C制御回路であり、各バスに対するパス要求
をそれぞれのバスのアクセスサイクルにより制御、分離
し、RMCの期間中保持するよう制御する。
Reference numeral 2 denotes an RMC control circuit, which controls and separates path requests for each bus according to the access cycle of each bus, and controls to hold them during the RMC period.

3.3°はバス制御回路であり、4.4゛は副プロセツ
サおよびメモリ回路である。
3.3° is a bus control circuit, and 4.4° is a sub-processor and memory circuit.

第1図(b)は、RM C制御回路の内部構成を示すブ
ロック図である。
FIG. 1(b) is a block diagram showing the internal configuration of the RMC control circuit.

図において、21は微分手段であり、RMC信号の立上
り部分で微分したパルスを発生する。
In the figure, 21 is a differentiator, which generates a differentiated pulse at the rising edge of the RMC signal.

22は論理積手段であり、微分手段21の出力と個別の
ハス(バスAとする)アクセス信号との論理積を行う。
Reference numeral 22 denotes an AND means, which performs an AND operation between the output of the differentiating means 21 and an individual Hass (bus A) access signal.

23はラッチ手段であり、論理積手段22の出力により
セットされる。
Reference numeral 23 denotes a latch means, which is set by the output of the AND means 22.

24は論理和手段であり、ラッチ手段23の出力と前記
のバスAのアクセス信号との論理和を取り、バスへの要
求信号として出力する。
Reference numeral 24 denotes an OR means, which takes the OR between the output of the latch means 23 and the access signal of the bus A, and outputs the result as a request signal to the bus.

22” も論理積手段であり、微分手段21の出力と、
他の個別のバス(バスBとする)アクセス信号との論理
積を行う。
22'' is also an AND means, and the output of the differentiating means 21 and
A logical product is performed with the access signal of another individual bus (bus B).

23” もラッチ手段であり、論理積手段22゛ の出
力によりセットされる。
23'' is also a latch means and is set by the output of the AND means 22'.

24゛ も論理和手段であり、ラッチ手段23゛ の出
力とバスBのバスアクセス信号との論理和を取り、バス
Bのバス要求信号として出力する。
24' is also an OR means, which takes the OR of the output of the latch means 23' and the bus access signal for bus B, and outputs the result as a bus request signal for bus B.

[作用コ 主プロセツサ1が、あるメモリにRMCによりアクセス
しようとすると、アドレスが出力され、RMC信号が出
力される。アドレスのデコード信号により、そのアドレ
ス領域を持つメモリの接続されたバスのバスアクセス信
号が発生される。
[Effect: When the main processor 1 attempts to access a certain memory using RMC, an address is output and an RMC signal is output. The address decode signal generates a bus access signal for a bus connected to the memory having the address area.

このRMC信号とバスアクセス信号によって、本発明の
RMC制御回路が動作し、そのバスに対してのみ、RM
Cの期間中保持されたハス要求が出力される。
The RMC control circuit of the present invention operates according to this RMC signal and the bus access signal, and the RM
The lotus request held during period C is output.

RMCではない通常のリード・ライトサイクルの場合は
、直接論理和手段24または24゛ を通じてリード・
ライトサイクルのパス要求が出力される。
In the case of a normal read/write cycle other than RMC, the read/write cycle is performed through the direct OR means 24 or 24゛.
A write cycle pass request is output.

[実施例] 以下第2図および第3図に示す実施例により、本発明を
さらに具体的に説明する。
[Example] The present invention will be described in more detail below with reference to Examples shown in FIGS. 2 and 3.

第2図は、本発明の一実施例の回路図である。FIG. 2 is a circuit diagram of one embodiment of the present invention.

第3図は、本発明の一実施例の動作を示すタイミングチ
ャートである。
FIG. 3 is a timing chart showing the operation of one embodiment of the present invention.

以下、第3図に示すタイミングチャートを参照し、第2
図に示す回路の動作を説明する。
Below, referring to the timing chart shown in Fig. 3, the second
The operation of the circuit shown in the figure will be explained.

(11クロツクに同期したRMC信号がレジスタ(RE
GI)に入力されると、本レジスタによりRMC信号が
遅延され、ANDゲートG1により微分パルスが作成さ
れ、第3図■に示すようになる。
(The RMC signal synchronized with the 11th clock is sent to the register (RE).
GI), the RMC signal is delayed by this register, and a differential pulse is created by the AND gate G1, as shown in FIG. 3 (3).

(2)いま、バスAにアクセスするものとする。バスA
のアクセスサイクル信号と、ANDゲートG1の出力信
号がNANDゲー1−02に入力され、第3図の■に示
すようになる。
(2) Assume that bus A is now accessed. Bus A
The access cycle signal and the output signal of the AND gate G1 are input to the NAND gate 1-02, as shown in (2) in FIG.

431 N A N DゲートG2の出力■が、レジス
タ(REG2)のセット信号として入力されており、J
=0.に=1に固定されているので、レジスタ(REG
2)は信号■の立下りでセットされる。
The output ■ of the 431 N A N D gate G2 is input as a set signal to the register (REG2), and the J
=0. Since it is fixed to = 1, the register (REG
2) is set at the falling edge of the signal ■.

その◇出力信号■は、立下がり、ORゲート(G3)を
通じて、バスAに要求信号として出力される。
The ◇output signal ■ falls and is output to bus A as a request signal through the OR gate (G3).

(4)レジスタ(REG2)のクロック端子には、RM
C信号が入力されており、J=O,に=1であるから、
RMC信号が立下がると、第3図■に示すように、今ま
でと逆に“1”となり、ORゲートG3を通じて、バス
要求は終る。
(4) The clock terminal of the register (REG2) has RM
Since the C signal is input and J=O,=1,
When the RMC signal falls, it becomes "1" as shown in FIG. 3, contrary to the previous case, and the bus request is terminated through OR gate G3.

(5) RM Cではない通常のバス要求の場合は、バ
スAのアクセスサイクルが直接インバータG4およびO
Rゲー1−G3を通じてバスA要求として出力される。
(5) For normal bus requests other than RM C, the access cycle of bus A is directly connected to inverter G4 and O
It is output as a bus A request through R game 1-G3.

バス已についても、同様であり、第3図のハスAアクセ
スサイクルがハスBに変り、レジスタREG1、AND
ゲートGl 、NANDゲートG2’、レジスタREG
2“、ORゲートG3“を通じてバスB要求が制御され
る。
The same goes for the bus, and the access cycle for bus A in FIG. 3 changes to bus B, register REG1, AND
Gate Gl, NAND gate G2', register REG
2", the bus B request is controlled through the OR gate G3".

[発明の効果] 以上説明のように本発明によれば、マルチバスを持つプ
ロセッサにおいて、RMCアクセスを行うとき、アクセ
スしたいバスにだけバス要求を上げるので、他のバスの
使用が可能であり、処理効率を向上する効果は大である
[Effects of the Invention] As explained above, according to the present invention, when performing RMC access in a processor having multiple buses, a bus request is issued only to the bus to be accessed, so other buses can be used. The effect of improving processing efficiency is significant.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例の回路図、 第3図は本発明の一実施例の動作を示すタイミングチャ
ート、 第4図は従来のシングルパス時の構成を示すブロック図
である。 図面において、 lは主プロセンサ、    2はRMC制御回路、3.
3° はバス制御回路、 4.4“は副プロセツサ、 21は微分手段、      22は論理積手段、23
はラッチ手段、     24は論理和手段、RE G
l、 RE G2. RE G2’はレジスタ、G1は
ANDゲート、 G2. G2’はNANDゲート、 G3. G3’はORゲート、 G4. G4’はインバータ、 をそれぞれ示す。 +a+ 全体構成 友゛ (bl  RMC制■回路の構成 本発明の原理ブロック図 本発明の一実於V契オがヤ6歌すタイミングチャート第
3図 従来のシングルパス時の構成を示すブロック同第  4
  図
Fig. 1 is a principle block diagram of the present invention, Fig. 2 is a circuit diagram of an embodiment of the invention, Fig. 3 is a timing chart showing the operation of an embodiment of the invention, and Fig. 4 is a conventional single-path FIG. 2 is a block diagram showing the configuration at the time. In the drawing, l is the main processor, 2 is the RMC control circuit, and 3.
3° is a bus control circuit, 4.4 is a sub-processor, 21 is a differentiation means, 22 is an AND means, 23
is a latch means, 24 is an OR means, REG
l, RE G2. RE G2' is a register, G1 is an AND gate, G2. G2' is a NAND gate, G3. G3' is an OR gate, G4. G4' indicates an inverter, respectively. +a+ Overall configuration (bl) RMC control circuit configuration Principle block diagram of the present invention Timing chart showing the implementation of the present invention 4
figure

Claims (1)

【特許請求の範囲】 マルチバスを持つプロセッサのリード・モディファイ・
ライトサイクル制御において、 リード・モディファイ・ライトサイクル信号の立上り部
分を微分する微分手段(21)と、微分手段(21)の
出力と個別のバスアクセス信号との論理積を行う論理積
手段(22、22′)と、論理積手段(22、22′)
の出力によりセットされるラッチ手段(23、23′)
と、 ラッチ手段(23、23′)の出力と、前記個別のバス
アクセス信号との論理和を行い、個別のバス要求信号と
して出力する論理和手段(24、24′)とを備え、 個別のバスに対してのみリード・モディファイ・ライト
サイクル期間中保持するバス要求を送出するよう構成し
たことを特徴とするマルチバス制御方式。
[Claims] Read/modify processor with multibus
In the write cycle control, a differentiating means (21) for differentiating the rising edge of the read/modify/write cycle signal, and an AND means (22, 22') and the logical product means (22, 22')
latch means (23, 23') set by the output of
and logical sum means (24, 24') for logically ORing the output of the latch means (23, 23') and the individual bus access signal and outputting the result as an individual bus request signal, A multi-bus control method characterized in that a bus request that is held during a read/modify/write cycle is sent only to the bus.
JP141387A 1987-01-07 1987-01-07 Multi-bus control system Pending JPS63168758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP141387A JPS63168758A (en) 1987-01-07 1987-01-07 Multi-bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP141387A JPS63168758A (en) 1987-01-07 1987-01-07 Multi-bus control system

Publications (1)

Publication Number Publication Date
JPS63168758A true JPS63168758A (en) 1988-07-12

Family

ID=11500798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP141387A Pending JPS63168758A (en) 1987-01-07 1987-01-07 Multi-bus control system

Country Status (1)

Country Link
JP (1) JPS63168758A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5335447A (en) * 1976-09-14 1978-04-01 Oki Electric Ind Co Ltd Multi processor system
JPS56159750A (en) * 1980-05-14 1981-12-09 Toshiba Corp Bus control system
JPS6186859A (en) * 1984-10-03 1986-05-02 Nec Corp Bus selector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5335447A (en) * 1976-09-14 1978-04-01 Oki Electric Ind Co Ltd Multi processor system
JPS56159750A (en) * 1980-05-14 1981-12-09 Toshiba Corp Bus control system
JPS6186859A (en) * 1984-10-03 1986-05-02 Nec Corp Bus selector

Similar Documents

Publication Publication Date Title
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
JPS63168758A (en) Multi-bus control system
JPS59229662A (en) Common memory control circuit
JP2634893B2 (en) Single chip microcomputer
JPH09311812A (en) Microcomputer
JP2617132B2 (en) Direct memory access method
JP2884620B2 (en) Digital image processing device
JPH0414438B2 (en)
JPS61112272A (en) Microcomputer applied device
JPH01191964A (en) Transfer method for memory bus data
JPH04319703A (en) Programmable controller
JPH036762A (en) Direct access method for image memory
JPS63201810A (en) Time system for information processing system
JPH03189755A (en) Inter-memory transfer device
JPS62108341A (en) Memory data transferring system
JPH02171949A (en) Dma transfer system
JPS646495B2 (en)
JPS59189433A (en) Data erasing system by direct memory access
JPH07121483A (en) Shared memory access control circuit
JPS58101358A (en) Memory controlling system
JPH05204866A (en) Data conversion system for multi-cpu system
JPH0120453B2 (en)
JPS6341973A (en) Multi-processor system
JPH03191460A (en) Shared memory system
JPS63196968A (en) Input/output controller