JPH044455A - Memory access arbitration circuit - Google Patents

Memory access arbitration circuit

Info

Publication number
JPH044455A
JPH044455A JP10607590A JP10607590A JPH044455A JP H044455 A JPH044455 A JP H044455A JP 10607590 A JP10607590 A JP 10607590A JP 10607590 A JP10607590 A JP 10607590A JP H044455 A JPH044455 A JP H044455A
Authority
JP
Japan
Prior art keywords
processor
memory
signal
circuit
permission
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
JP10607590A
Other languages
Japanese (ja)
Inventor
Toshiaki Kakimi
垣見 利明
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 JP10607590A priority Critical patent/JPH044455A/en
Publication of JPH044455A publication Critical patent/JPH044455A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To easily prepare firmware in the case a request signal is received from one processor, by sending no permission signal when another request signal is received from another processor and stopping a permission signal being sent when a reset signal is received from the another processor. CONSTITUTION:A permitting means 4 prevents an access conflict to a between processors 2 and 3 and is initialized by a reset signal to stop the sending of a permission signal. The processors 2 and 3 are initialized by the reset signal and stop the sending of request signals. When the request signal is sent to the permitting means 4 and one of the processors 2 and 3 receives the permission signal, the processor which receives the permission signal can gain the access to the memory 1, since the sending of the permission signal to the processors 2 and 3 is stopped due to the initialization. Therefore, when firmware is prepared for instructing the operations of the processors 2 and 3, the firmware can be prepared easily, because it is not necessary to consider about flag erasure.

Description

【発明の詳細な説明】 〔概要〕 複数のプロセッサが一つのメモリを共用して、コマンド
及びデータを該メモリを介して授受する場合に、該複数
のプロセッサの動作を指示するファームウェアの作成を
容易とするメモリアクセス調停回路に関し、 ファームウェアの作成を容易とすることを目的とし、 一つのメモリと、該メモリに対するアクセスの許可を要
求するリクエスト信号を送出し、該リクエスト信号に対
してアクセスを許可する許可信号を受信した時、該リク
エスト信号の送出を継続して該メモリに対するアクセス
を行うと共に、リセット信号によって送出中のリクエス
ト信号を停止する複数のプロセッサとを備えた装置にお
いて、一つのプロセッサからリクエスト信号を受信した
時、他のプロセッサからのリクエスト信号を受信してい
ない場合は、許可信号を送出し、一つのプロセッサから
リクエスト信号を受信した時、他のプロセッサからのリ
クエスト信号を受信していた場合は、許可信号を送出せ
ず、前記リセ・ント信号を受信した時、送出中の許可信
号を停止する手段を設けた構成とする。
[Detailed Description of the Invention] [Summary] When multiple processors share one memory and send and receive commands and data via the memory, it is easy to create firmware that instructs the operations of the multiple processors. For the purpose of facilitating the creation of firmware regarding a memory access arbitration circuit, the following method is used to send out a request signal requesting permission to access one memory and the memory, and to grant access in response to the request signal. In an apparatus including a plurality of processors, which continues sending the request signal and accesses the memory when a permission signal is received, and stops the request signal being sent by a reset signal, when a request is made from one processor. When a signal is received, if no request signal is received from other processors, a permission signal is sent, and when a request signal is received from one processor, a request signal is received from another processor. In this case, the configuration is such that a means is provided for stopping the sending of the permission signal when the reset signal is received without sending the permission signal.

(産業上の利用分野〕 本発明は複数のプロセッサが一つのメモリを共用して、
コマンド及びデータを該メモリを介して授受する場合に
、該複数のプロセ・ンサの動作を指示するファームウェ
アの作成を容易とするメモリアクセス調停回路に関する
。  、 情報処理システムにおいて、複数の装置又は一つの装置
内の回路が、夫々備えるプロセッサ間のコマンド及びデ
ータの授受によって制御されて動作する場合、一つのメ
モリを複数のプロセッサが交互にアクセスして、一方の
プロセ・ンサが該メモリに格納したコマンド及びデータ
を、他方のプロセッサが読出すことで、プロセッサ間の
コマンド及びデータの授受が行われているものがある。
(Industrial Application Field) The present invention allows multiple processors to share one memory,
The present invention relates to a memory access arbitration circuit that facilitates the creation of firmware that instructs the operations of the plurality of processors when commands and data are exchanged via the memory. In an information processing system, when multiple devices or circuits within one device operate under control by exchanging commands and data between respective processors, multiple processors alternately access one memory, In some processors, commands and data are exchanged between processors by having the other processor read commands and data stored in the memory by one processor.

例えば、一方のプロセンサが主プロセツサとなって、上
位装置とのインタフェースを制御し、他方のプロセッサ
が従プロセツサとなって、装置内部の回路を制御するよ
うな場合、主プロセツサが上位装置から指示された仕事
を実行するため、メモリに従プロセツサに対するコマン
ドとデータを書込み、従プロセツサがこのメモリから書
込まれたコマンドとデータを読出して、コマンドが指定
する仕事を実行し、この実行結果を上位装置に通知する
ステータスをメモリに書込むと、主プロセツサがこのス
テータスを読出して、上位装置に報告している。
For example, if one processor becomes the main processor and controls the interface with the higher-level device, and the other processor becomes the slave processor and controls the internal circuits of the device, the main processor receives instructions from the higher-level device. In order to execute the work specified by the command, the slave processor writes commands and data to the slave processor in memory, the slave processor reads the written commands and data from this memory, executes the work specified by the command, and sends the execution results to the host processor. When the main processor writes the status to be notified to the memory, the main processor reads this status and reports it to the host device.

このように、複数のプロセッサが一つのメモリを共用す
る場合は、各プロセッサのメモリに対するアクセスが競
合しないようにする必要があるが、このために、該プロ
セッサの動作を指示するファームウェアの作成が困難に
ならないことが必要である。
In this way, when multiple processors share a single memory, it is necessary to prevent conflicting accesses to the memory by each processor, but this makes it difficult to create firmware that instructs the operations of the processors. It is necessary not to become

〔従来の技術〕[Conventional technology]

従来は複数のプロセッサが一つのメモリを共用する場合
、メモリの先頭番地にフラグが設定されているか否かで
、メモリに対するアクセスの可否を判定している。従っ
て、一つのプロセッサがメモリをアクセスする際は、先
ずメモリの先頭番地にフラグが設定されているか否かを
調べ、フラグが設定されていなければ、メモリのアクセ
スが可能と判定し、メモリの先頭番地にフラグを設定し
た後、必要とするメモリ領域をアクセスする。そして、
メモリに対するアクセスが終了すると、メモリの先頭番
地に設定し゛たフラグの設定を取り消す。
Conventionally, when multiple processors share one memory, it is determined whether or not the memory can be accessed depending on whether a flag is set at the starting address of the memory. Therefore, when one processor accesses memory, it first checks whether a flag is set at the first address of the memory. If the flag is not set, it determines that the memory can be accessed, and After setting the flag at the address, access the required memory area. and,
When the access to the memory is completed, the flag set at the first address of the memory is canceled.

従って、メモリの先頭番地にフラグが設定されている場
合は、他のプロセッサがメモリを使用中と判定して、こ
のフラグの設定が取り消されるのを待ち、フラグが取り
消されると、このメモリの先頭番地にフラグを設定して
から、必要とするメモリ領域をアクセスしている。
Therefore, if a flag is set at the start address of memory, it will be determined that the memory is being used by another processor, wait until the setting of this flag is canceled, and when the flag is canceled, the start address of this memory will be After setting a flag at an address, the required memory area is accessed.

そして、このようなプロセッサの動作はファームラエア
によって指示されている。
The operations of such a processor are directed by the firmware.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記の如く、従来はファームウェアの指示によって、プ
ロセ・レサがメモリの先頭番地にフラグを設定したり、
設定したフラグを取り消している。
As mentioned above, in the past, the processor processor set a flag at the first address of memory according to firmware instructions.
The flag that was set is being canceled.

そして、フラグが取り消されないと、他のプロセッサが
メモリをアクセスすることが出来ないため、フラグを設
定したプロセッサは必ずメモリの使用が完了した時、フ
ラグの設定を取り消す必要がある。
If the flag is not canceled, other processors will not be able to access the memory, so the processor that set the flag must cancel the setting of the flag when it completes using the memory.

ところで、オペレータが強制的に装置をリセットする場
合があるが、このリセットではメモリの内容は変更され
ない。しかし、プロセッサはリセットによって初期化さ
れるため、若し、プロセッサがメモリをアクセスしてい
る最中にリセットされた場合、メモリの先頭番地に設定
されたフラグはプロセッサが消去しないと、そのまま残
されることとなる。
Incidentally, although the operator may forcefully reset the device, this reset does not change the contents of the memory. However, since the processor is initialized by reset, if the processor is reset while accessing memory, the flag set at the first address of memory will remain as is unless the processor clears it. It happens.

この場合、複数の初期化されたプロセッサは、メモリの
先頭番地にフラグが設定されたままとなっているため、
メモリをアクセスすることが出来ず、装置の動作が停止
したままとなってしまう重大な障害となるため、リセッ
トが指示された時、プロセッサはメモリに設定したフラ
グを消去した後、初期化状態に移行する必要がある。
In this case, multiple initialized processors have flags still set at the first memory address, so
This is a serious problem in that the memory cannot be accessed and the device remains stopped, so when a reset is instructed, the processor clears the flags set in the memory and then returns to the initialization state. Need to migrate.

このため、プロセッサの動作を指示するファームウェア
を作成する際に、特に細心の注意が必要、  となり、
ファームウェアの開発、設計時に、工数が多く必要とな
って経済的ではないという問題がある。
For this reason, special care must be taken when creating firmware that instructs processor operations.
There is a problem in that a large number of man-hours are required during firmware development and design, making it uneconomical.

本発明はこのような問題点に鑑み、僅かなハードウェア
を追加することによって、ファームウェアの作成を容易
とすることが出来るメモリアクセス調停回路を提供する
ことを目的としている。
In view of these problems, it is an object of the present invention to provide a memory access arbitration circuit that can facilitate the creation of firmware by adding a small amount of hardware.

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

第1図は本発明の詳細な説明するブロック図である。 FIG. 1 is a block diagram illustrating the invention in detail.

プロセッサ2と3はメモリlに制御信号を送出してメモ
リ1をアクセスし、メモリ1を介して相互にコマンドや
データの授受を行う。
Processors 2 and 3 send control signals to memory 1 to access memory 1, and exchange commands and data with each other via memory 1.

即ち、例えば、プロセッサ2がメモリ1をアクセスして
、プロセッサ3に対するコマンドやデータを書込む場合
、メモリ1に対するアクセスの許可を要求するリクエス
ト信号を許可手段4に送出する。
That is, for example, when the processor 2 accesses the memory 1 and writes a command or data to the processor 3, it sends a request signal requesting permission to access the memory 1 to the permission means 4.

許可手段4はプロセッサ3からのリクエスト信号を受信
していなければ、プロセッサ2のリクエスト信号に対し
、アクセスを許可する許可信号を送出するが、プロセッ
サ3から既にリクエスト信号を受信している場合は、プ
ロセッサ2からのリクエスト信号に対し、許可信号を送
出しない。
If the permission means 4 has not received a request signal from the processor 3, it sends a permission signal to permit access in response to the request signal from the processor 2, but if it has already received a request signal from the processor 3, A permission signal is not sent in response to a request signal from the processor 2.

プロセッサ2は許可手段4から許可信号を受信すると、
リクエスト信号の送出を継続したまま、メモリlに対し
制御信号を送出し、バス5を経てコマンドやデータをメ
モリ1に送出して、メモリ1に書込ませる。
When the processor 2 receives the permission signal from the permission means 4,
While continuing to send the request signal, a control signal is sent to the memory 1, commands and data are sent to the memory 1 via the bus 5, and written into the memory 1.

プロセッサ2はコマンドやデータの書込みが済むと、リ
クエスト信号の送出を停止するため、許=7− 可手段4はプロセッサ2に送出していた許可信号を停止
する。
When the processor 2 finishes writing commands and data, it stops sending the request signal, so the permission means 4 stops sending the permission signal to the processor 2.

プロセッサ3はメモリ1に書込まれたコマンドやデータ
を読出すため、リクエスト信号を許可手段4に送出する
が、許可手段4はプロセッサ2のリクエスト信号が継続
している間は、プロセッサ3に対する許可信号の送出を
行わない。
The processor 3 sends a request signal to the permission means 4 in order to read commands and data written in the memory 1, but the permission means 4 does not give permission to the processor 3 while the request signal from the processor 2 continues. No signal is sent.

従って、プロセッサ3はリクエスト信号を送出したまま
、許可信号の受信されるのを待つ。許可手段4はプロセ
ッサ2のリクエスト信号が停止すると、プロセッサ3が
送出しているリクエスト信号を受入れ、プロセッサ3に
対して許可信号を送出する。
Therefore, the processor 3 continues to send the request signal and waits for the permission signal to be received. When the request signal from the processor 2 stops, the permission means 4 accepts the request signal sent by the processor 3 and sends a permission signal to the processor 3.

許可信号を受信したプロセッサ3はメモリ1に対し制御
信号を送出して、メモリ1にプロセッサ2が書込んだコ
マンドやデータをバス5を経て読出し、このコマンドと
データに基づき、プロセッサ2が指示する仕事を遂行す
る。
After receiving the permission signal, the processor 3 sends a control signal to the memory 1, reads out the commands and data written by the processor 2 in the memory 1 via the bus 5, and based on these commands and data, the processor 2 issues instructions. carry out work.

リセット信号がプロセッサ2.3及び許可手段4に入る
と、プロセッサ2と3は送出中のりクエスト信号を停止
させ、許可手段4は送出中の許可信号を停止させる。そ
して、リセット信号により初期化されたプロセッサ2は
、再びリクエスト信号を許可手段4に送出し、許可信号
を受信すると、メモリ1にコマンドとデータを書込む。
When the reset signal enters the processor 2.3 and the permission means 4, the processors 2 and 3 stop the Noriquest signal being sent, and the permission means 4 stops the permission signal being sent. Then, the processor 2 initialized by the reset signal sends a request signal to the permission means 4 again, and upon receiving the permission signal, writes the command and data into the memory 1.

〔作用〕[Effect]

上記の如く構成することにより、許可手段4はプロセッ
サ2と3のメモリ1に対するアクセス競合を防止してお
り、リセット信号によって、初期化されて許可信号の送
出を停止する。
With the above configuration, the permission means 4 prevents access conflict between the processors 2 and 3 to the memory 1, and is initialized by a reset signal to stop sending permission signals.

又、プロセッサ2と3はリセット信号で初期化され、リ
クエスト信号の送出を停止する。
Further, processors 2 and 3 are initialized by a reset signal and stop sending request signals.

従って、初期化されたプロセッサ2と3は、許可信号の
送出が停止しているため、再びリクエスト信号を許可手
段4に送出し、許可信号を受信したプロセッサ2又は3
がメモリ1をアクセスすることが出来る。
Therefore, since the initialized processors 2 and 3 have stopped sending the permission signal, they send the request signal to the permission means 4 again, and the processor 2 or 3 that has received the permission signal sends the request signal to the permission means 4 again.
can access memory 1.

従って、プロセッサ2と3の動作を指示するファームウ
ェアを作成する際に、フラグ消去を考慮する必要が無く
、ファームウェアの作成を容易とすることが出来る。
Therefore, when creating firmware that instructs the operations of the processors 2 and 3, there is no need to take flag erasure into consideration, and the firmware can be created easily.

[実施例] 第2図は本発明の一実施例を示す回路のブロック図で、
第3図は第2図の動作を説明するタイムチャートである
[Embodiment] FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.
FIG. 3 is a time chart explaining the operation of FIG. 2.

プロセッサ2はメモリ1をアクセスする場合、第3図■
に示す如(、NOT回路6に、メモリ1に対するアクセ
ス許可を要求するリクエスト信号として、論理“1”を
送出する。従って、NOT回路6は、それまで送出して
いた論理“1”の代わりに論理“0°′をNOR回路8
に送出する。
When processor 2 accesses memory 1, Figure 3 ■
As shown in FIG. Logic “0°” is converted into NOR circuit 8
Send to.

フリップフロップ11は、初期時には論理“0”をAN
D回路12と13に送出しているため、AND回路13
はNOR回路8に論理“0”を送出している。従って、
NOT回路6が論理“0”を送出すると、NOR回路8
は論理“1”をOR回路10とAND回路12に送出し
、OR回路10はフリップフロップ11に論理“1”を
送出する。
The flip-flop 11 initially outputs logic “0” to AN.
Since it is sent to D circuits 12 and 13, AND circuit 13
is sending a logic “0” to the NOR circuit 8. Therefore,
When the NOT circuit 6 sends out a logic “0”, the NOR circuit 8
sends a logic "1" to the OR circuit 10 and the AND circuit 12, and the OR circuit 10 sends a logic "1" to the flip-flop 11.

フリップフロップ11には第3図CLKに示す如く、端
子CLKからクロックが入力しており、OR回路10が
論理“1”を送出すると、クロックの立ち下がりによっ
てセットされ、論理“1”をAND回路12と13に送
出する。
As shown in FIG. 3 CLK, a clock is input to the flip-flop 11 from the terminal CLK, and when the OR circuit 10 sends out a logic "1", it is set by the fall of the clock, and the logic "1" is sent to the AND circuit. 12 and 13.

この時、NOR回路8が論理“1”をAND回路12に
送出しているため、AND回路12は第3図■に示す如
く、メモリ1のアクセスを許可する許可信号として、論
理“1”をプロセッサ2に送出する。
At this time, since the NOR circuit 8 is sending a logic "1" to the AND circuit 12, the AND circuit 12 sends a logic "1" as a permission signal to permit access to the memory 1, as shown in FIG. Send to processor 2.

この許可信号としての論理“1”を受信すると、プロセ
ッサ2はメモリ1に対し、制御信号を送出して、バス5
を介してメモリ1にコマンドやデータを送出して書込ま
せる。
Upon receiving the logic "1" as the permission signal, the processor 2 sends a control signal to the memory 1 to
Commands and data are sent to and written into the memory 1 via the memory 1.

プロセッサ3はプロセッサ2より遅れて、リクエスト信
号としての論理“1”を第3図■に示す如く、NOT回
路7に送出する。従って、NOT回路7は論理“0”を
NOR回路9に送出するが、NOR回路9にはAND回
路12から論理“1”が入力しているため、NOR回路
9は論理“0”をOR回路10とAND回路13に送出
したままであり、AND回路13は論理“0”をNOR
回路8とプロセッサ3に送出したままである。
The processor 3 is delayed from the processor 2 and sends a logic "1" as a request signal to the NOT circuit 7 as shown in FIG. Therefore, the NOT circuit 7 sends the logic "0" to the NOR circuit 9, but since the logic "1" is input from the AND circuit 12 to the NOR circuit 9, the NOR circuit 9 sends the logic "0" to the OR circuit. 10 and the AND circuit 13, and the AND circuit 13 outputs the logic “0” to the NOR.
It remains sent to the circuit 8 and processor 3.

プロセッサ2がメモリ1に対するアクセスが完了し、第
3図■に示す如(、NOT回路6にリクエスト信号の停
止を示す論理“0”を送出すると、NOR回路8も論理
゛′0”をOR回路10とAND回路12に送出する。
When the processor 2 completes the access to the memory 1 and sends the logic "0" indicating the stop of the request signal to the NOT circuit 6 (as shown in FIG. 3), the NOR circuit 8 also outputs the logic "0" to the OR circuit 10 and the AND circuit 12.

従って、第3図■に示す如く、AND回路12から送出
されていた許可信号が停止したことを示す論理“0”が
プロセッサ2に送出される。又、OR回路10は、フリ
ップフロップ11に論理“0”を送出するため、フリッ
プフロップ11はクロックの立ち下がりでリセットされ
、AND回路12と13に論理“0”を送出する。
Therefore, as shown in FIG. 3, a logic "0" is sent to the processor 2, indicating that the permission signal sent from the AND circuit 12 has stopped. Further, since the OR circuit 10 sends a logic "0" to the flip-flop 11, the flip-flop 11 is reset at the falling edge of the clock and sends a logic "0" to the AND circuits 12 and 13.

この時、プロセッサ3は第3図■に示す如く、リクエス
ト信号として論理“1″を送出したままであるため、N
OT回路7は論理“0”を送出したままである。従って
、AND回路12が第3図■に示す如く、論理“0”を
NOR回路9に送出すると、=12= NOR回路9は論理“1”をOR回路10とAND回路
13に送出する。
At this time, the processor 3 continues to send the logic "1" as the request signal, as shown in FIG.
The OT circuit 7 continues to send out logic "0". Therefore, when the AND circuit 12 sends a logic "0" to the NOR circuit 9 as shown in FIG.

従って、フリップフロップ11はクロックの立ち下がり
でセットされ、論理“1″をAND回路12と13に送
出する。従って、AND回路13は第3図■に示す如く
、許可信号として論理“1”をプロセッサ3に送出する
ため、プロセッサ3はメモリ1に対し、制御信号を送出
して、バス5を介してメモリlに格納されているコマン
ドやデータを読出す。
Therefore, the flip-flop 11 is set at the falling edge of the clock and sends a logic "1" to the AND circuits 12 and 13. Therefore, as shown in FIG. 3, the AND circuit 13 sends a logic "1" to the processor 3 as a permission signal. Read commands and data stored in l.

プロセッサ3がメモリ1に対するアクセスが完了し、第
3図■に示す如く、NOT回路7にリクエスト信号の停
止を示す論理“0”を送出すると、゛NOR回路9も論
理“0”をOR回路10とAND回路13に送出する。
When the processor 3 completes the access to the memory 1 and sends a logic "0" indicating the stop of the request signal to the NOT circuit 7 as shown in FIG. and is sent to the AND circuit 13.

従って、第3図■に示す如く、AND回路13より送出
されていた許可信号が停止したことを示す論理“0”が
プロセッサ3に送出される。又、OR回路10はフリッ
プフロップ11に論理“0”を送出するため、フリップ
フロップ11はクロックの立ち下がりでリセットされ、
AND回路12と13に論理“0”を送出する。
Therefore, as shown in FIG. 3, a logic "0" is sent to the processor 3, indicating that the permission signal sent from the AND circuit 13 has stopped. Also, since the OR circuit 10 sends a logic "0" to the flip-flop 11, the flip-flop 11 is reset at the falling edge of the clock.
A logic "0" is sent to AND circuits 12 and 13.

プロセッサ2が再び第3図■に示す如く、N01回路6
に論理“1”を送出し、前記同様AND回路12から第
3図■に示す如く、再び論理“1”がプロセッサ2に送
出された後、第3図RESTに示す如く、端子REST
からリセット信号が入力し、プロセッサ2と3及びフリ
ップフロップ11に入ると、ブ西セッサ2はリセット信
号の立ち下がりで、第3図■に示す如く、リクエスト信
号の送出を停止し、論理“0″をN01回路6に送出す
る。
The processor 2 again operates the N01 circuit 6 as shown in FIG.
Logic "1" is sent to the processor 2 from the AND circuit 12 as described above, as shown in FIG.
When a reset signal is input to the processors 2 and 3 and the flip-flop 11, the processor 2 stops sending out the request signal at the falling edge of the reset signal, and becomes a logic "0" as shown in FIG. ” is sent to the N01 circuit 6.

又、フリップフロップ11はリセットされてAND回路
12と13に論理“0”を送出するため、プロセッサ2
に送出されていた許可信号としての論理“1”が停止し
、第3図■に示す如く論理“0”が送出される。
Also, since the flip-flop 11 is reset and sends a logic "0" to the AND circuits 12 and 13, the processor 2
The logic "1" as the permission signal that was being sent out stops, and the logic "0" is sent out as shown in FIG.

本実施例では、リクエスト信号と許可信号を用いた回路
を説明したが、プロセッサがメモリを駆動する時に使用
するライトイネーブル(WE)信号や語選択(RAS)
信号を使用しても良い。
In this embodiment, a circuit using a request signal and a permission signal has been described, but the write enable (WE) signal and word selection (RAS) signal used when the processor drives the memory
You can also use signals.

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

以上説明した如く、本発明は簡易な回路を追加するのみ
で、複数のプロセッサが一つのメモリをアクセスする際
の競合を防止することが可能となるため、従来のように
フラグをメモリに設定する必要が無い。従って、プロセ
ッサの動作を指示するファームウェアの作成時に、フラ
グの消去を考慮する必要が無く、ファームウェア作成を
容易とすることが出来る。
As explained above, the present invention makes it possible to prevent contention when multiple processors access a single memory by simply adding a simple circuit. There's no need. Therefore, when creating firmware that instructs the operation of the processor, there is no need to consider erasing the flag, and the firmware can be created easily.

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

第1図は本発明の詳細な説明するブロック図、第2図は
本発明の一実施例を示す回路のブロック図、 第3図は第2図の動作を説明するタイムチャートである
。 図において、 1はメモリ、    2,3はプロセッサ、  ′4は
許可手段、    5はバス、 ′6,7はN07回路、 8,9はNOR回路、10は
OR回路、   11はフリップフロップ、12、13
はAND回路である。
FIG. 1 is a block diagram explaining the present invention in detail, FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 3 is a time chart explaining the operation of FIG. 2. In the figure, 1 is a memory, 2 and 3 are processors, '4 is a permission means, 5 is a bus, '6 and 7 are N07 circuits, 8 and 9 are NOR circuits, 10 is an OR circuit, 11 is a flip-flop, 12, 13
is an AND circuit.

Claims (1)

【特許請求の範囲】 一つのメモリ(1)と、該メモリ(1)に対するアクセ
スの許可を要求するリクエスト信号を送出し、該リクエ
スト信号に対してアクセスを許可する許可信号を受信し
た時、該リクエスト信号の送出を継続して該メモリ(1
)に対するアクセスを行うと共に、リセット信号によっ
て送出中のリクエスト信号を停止する複数のプロセッサ
(2)(3)とを備えた装置において、 一つのプロセッサからリクエスト信号を受信した時、他
のプロセッサからのリクエスト信号を受信していない場
合は、許可信号を送出し、一つのプロセッサからリクエ
スト信号を受信した時、他のプロセッサからのリクエス
ト信号を受信していた場合は、許可信号を送出せず、前
記リセット信号を受信した時、送出中の許可信号を停止
する手段(4)を設けたことを特徴とするメモリアクセ
ス調停回路。
[Claims] When one memory (1) and a request signal requesting permission to access the memory (1) are sent, and a permission signal granting access to the request signal is received, Continuing to send the request signal, the memory (1
) and which stops the request signal being sent by a reset signal (2) and (3), when receiving a request signal from one processor, the If no request signal is received, a permission signal is sent, and when a request signal is received from one processor, if a request signal is received from another processor, no permission signal is sent, and the A memory access arbitration circuit comprising means (4) for stopping a permission signal being sent when a reset signal is received.
JP10607590A 1990-04-20 1990-04-20 Memory access arbitration circuit Pending JPH044455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10607590A JPH044455A (en) 1990-04-20 1990-04-20 Memory access arbitration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10607590A JPH044455A (en) 1990-04-20 1990-04-20 Memory access arbitration circuit

Publications (1)

Publication Number Publication Date
JPH044455A true JPH044455A (en) 1992-01-08

Family

ID=14424477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10607590A Pending JPH044455A (en) 1990-04-20 1990-04-20 Memory access arbitration circuit

Country Status (1)

Country Link
JP (1) JPH044455A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5553292A (en) * 1993-03-12 1996-09-03 International Business Machines Corporation Method and system for minimizing the effects of disruptive hardware actions in a data processing system
KR100818669B1 (en) * 2007-03-09 2008-04-02 한국과학기술원 Unit perfusion degree measuring device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5553292A (en) * 1993-03-12 1996-09-03 International Business Machines Corporation Method and system for minimizing the effects of disruptive hardware actions in a data processing system
KR100818669B1 (en) * 2007-03-09 2008-04-02 한국과학기술원 Unit perfusion degree measuring device

Similar Documents

Publication Publication Date Title
JPS5812611B2 (en) Data Tensou Seigiyohoushiki
JPH044455A (en) Memory access arbitration circuit
JPS5914775B2 (en) Common memory lock method
JPH05257903A (en) Multiprocessor system
JPS6029139B2 (en) Connection method between processing units
JPS59229662A (en) Common memory control circuit
JP3314948B2 (en) Data Exchange Method for Multi-CPU Programmable Controller
JPS61234447A (en) bus acquisition controller
JPH02257249A (en) Information processing system
JP3190862B2 (en) Memory control system and printer device provided with this memory control system
JPS6322344B2 (en)
JPH05324541A (en) Bus interface device
JPH03102558A (en) Transfer destination id designating circuit
JPS62186344A (en) address mapped register
JP2001075826A (en) Highly efficient semaphore processing method for parallel computers
JPH051502B2 (en)
JPH01169564A (en) Inter-processor synchronizing system
JPH0370816B2 (en)
JPH056905B2 (en)
JPH01248261A (en) Memory access control circuit in dual port memory
JPH0293971A (en) Memory access circuit
JPH036762A (en) Image memory direct access method
JPS60142755A (en) Competition preventing system of file access
JPS6215903B2 (en)
JPS61109167A (en) Multi-micro cpu control system