JPH04157557A - Memory protecting method - Google Patents

Memory protecting method

Info

Publication number
JPH04157557A
JPH04157557A JP28322990A JP28322990A JPH04157557A JP H04157557 A JPH04157557 A JP H04157557A JP 28322990 A JP28322990 A JP 28322990A JP 28322990 A JP28322990 A JP 28322990A JP H04157557 A JPH04157557 A JP H04157557A
Authority
JP
Japan
Prior art keywords
bus
signal
request signal
system reset
input
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
JP28322990A
Other languages
Japanese (ja)
Inventor
Makoto Kanda
神田 真
Takeshi Miura
剛 三浦
Hiroshi Takizawa
滝沢 洋
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 JP28322990A priority Critical patent/JPH04157557A/en
Publication of JPH04157557A publication Critical patent/JPH04157557A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a memory protecting method with small in circuit scale and in which no system reset is performed while shared memory is being accessed by attaching a priority decision circuit. CONSTITUTION:When a system reset signal is inputted to a system reset control signal 10-3, a main bus master 10 sends a preset signal to a bus acquisition circuit 10-2 at a time when no system bus is used by using the priority decision circuit 10-6, and a bus request signal is outputted, and a bus use permission signal can be obtained, thereby, all the sub bus masters 1, 2... can recognize the nonuse of the system bus. Since no access to the shared memory 11 is performed at that time, the system reset signal is sent to the main bus master 10 and the sub bus masters 1, 2,.... In such a way, the circuit scale can be reduced, and the system reset can be prevented from being performed while the shared memory is accessed.

Description

【発明の詳細な説明】 〔概 要〕 プロセッサと、該プロセッサよりバス獲得命令が入力す
るとバス使用要求信号を出力するバス獲得回路と、シス
テムリセット命令が入力すると主バス・マスタ及び全副
バス・マスタにシステムリセット信号を出力するシステ
ムリセット制御回路を有する該主バス・マスタと、 複数の、プロセッサとバス獲得回路とを有する副バス・
マスタと、 共有メモリとがシステムバスにて接続され、夫々のバス
・マスタが該共有メモリをアクセスする為に、該システ
ムバスを使用する時は、夫々のバス獲得回路よりバス使
用要求信号をバス制御ユニットに送り、バス使用許可信
号を得てから該共有メモリをアクセスするマルチバス・
マスタ型システムのメモリ保護方法に関し、 回路規模が小さくて共有メモリアクセス中にはシステム
リセットが行われないメモリ保護方法の提供を目的とし
、 主バス・マスタにおいて、 該システムリセット制御回路を、 システムリセット命令を受信すると、システムバス獲得
を要求するプリリセット信−号を出方し、又バス使用許
可信号が入力してからシステムリセット信号を出力する
ようにし、 又プロセッサよりのバス獲得要求信号及び該システムリ
セット制御回路よりのプリリセット信号を入力し、バス
獲得要求信号が先に入力していれば、入力がなくなる迄
プリリセット信号によるバス獲得要求信号の該バス獲得
回路への出力を保留し、プリリセット信号が先に入力し
ているとバス獲得要求信号出力を保留してプリリセット
信号によるバス獲得要求信号を出力する優先判定回路と
を設け、 システムリセット命令が該システムリセット制御回路に
入力すると、プリリセット信号によるバス獲得要求信号
を該優先判定回路に出力し、該優先判定回路では、バス
獲得要求信号が先に入力していれば、バス獲得要求信号
が無くなった時点で、バス獲得要求信号が入力していな
ければプリリセット信号入力時点で、 プリリセット信号によるバス獲得要求信号を該バス獲得
回路に入力し、バス獲得要求信号を出力させ、該バス制
御ユニットよりバス使用許可信号を得た時点で該システ
ムリセット制御回路はシステムリセット信号を該主バス
・マスタ及び全部の副バス・マスタに出力する構成とす
る。
[Detailed Description of the Invention] [Summary] A processor, a bus acquisition circuit that outputs a bus use request signal when a bus acquisition command is input from the processor, and a main bus master and all secondary bus masters when a system reset command is input. The main bus master has a system reset control circuit that outputs a system reset signal to the main bus master, and the sub bus master has a plurality of processors and bus acquisition circuits.
A master and a shared memory are connected by a system bus, and when each bus master uses the system bus to access the shared memory, each bus acquisition circuit sends a bus use request signal to the bus. A multi-bus system that accesses the shared memory after receiving a bus use permission signal from the control unit.
Regarding the memory protection method for master type systems, the purpose is to provide a memory protection method that has a small circuit scale and does not cause a system reset while accessing shared memory. Upon receiving the command, it outputs a pre-reset signal requesting acquisition of the system bus, outputs a system reset signal after inputting the bus use permission signal, and also outputs a bus acquisition request signal from the processor and the corresponding pre-reset signal. A pre-reset signal from a system reset control circuit is input, and if a bus acquisition request signal is input first, the output of the bus acquisition request signal by the pre-reset signal to the bus acquisition circuit is suspended until there is no more input; A priority determination circuit is provided which suspends the output of the bus acquisition request signal if the pre-reset signal is input first and outputs the bus acquisition request signal by the pre-reset signal, and when the system reset command is input to the system reset control circuit. , outputs a bus acquisition request signal based on a pre-reset signal to the priority determination circuit, and in the priority determination circuit, if the bus acquisition request signal is input first, the bus acquisition request signal is outputted as soon as the bus acquisition request signal disappears. If the signal is not input, at the time of inputting the pre-reset signal, input the bus acquisition request signal by the pre-reset signal to the bus acquisition circuit, output the bus acquisition request signal, and obtain the bus use permission signal from the bus control unit. At that point, the system reset control circuit is configured to output a system reset signal to the main bus master and all sub-bus masters.

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

本発明は、プロセッサと、該プロセッサよりバス獲得命
令が入力するとバス使用要求信号を出力するバス獲得回
路と、システムリセット命令が入力すると主バス・マス
タ及び全副バス・マスタにシステムリセット信号を出力
するシステムリセット制御回路を有する該主バス・マス
タと、複数の、プロセッサとバス獲得回路とを有する副
バス・マスタと、 共有メモリとがシステムバスにて接続され、夫々のバス
・マスタが該共有メモリをアクセスする為に、該システ
ムバスを使用する時は、夫々のバス獲得回路よりバス使
用要求信号をバス制御ユニットに送り、バス使用許可信
号を得てから該共有メモリをアクセスするマルチバス・
マスタ型システムにおいて、 主バス・マスタより該主バス・マスタ及び全部の副バス
・マスタに対してシステムリセット信号を出力した時、
データを破壊しない為に共有メモリアクセス完了後にリ
セットを行うメモリ保護方法の改良に関する。
The present invention includes a processor, a bus acquisition circuit that outputs a bus use request signal when a bus acquisition command is input from the processor, and a system reset signal that outputs a system reset signal to a main bus master and all sub-bus masters when a system reset command is input. A main bus master having a system reset control circuit, a plurality of sub bus masters having a plurality of processors and a bus acquisition circuit, and a shared memory are connected by a system bus, and each bus master is connected to the shared memory by a system bus. When using the system bus to access the shared memory, each bus acquisition circuit sends a bus use request signal to the bus control unit, obtains a bus use permission signal, and then accesses the shared memory.
In a master type system, when the main bus master outputs a system reset signal to the main bus master and all sub bus masters,
This invention relates to an improvement in a memory protection method that resets the shared memory after access is completed in order to prevent data destruction.

〔従来の技術〕[Conventional technology]

第3図は1例のシステムのブロック図、第4図は従来例
の主バス・マスタ及び副バス・マスタのブロック図であ
る。
FIG. 3 is a block diagram of an example system, and FIG. 4 is a block diagram of a conventional main bus master and sub-bus master.

マルチバス・マスタ型システムは第3図に示す如く、主
バス・マスタ10.副バス・マスタ1゜・・・n、バス
・マスタ間の通信データを記憶する共有メモリ11が、
システムバス13に接続され、各バス・マスタ10,1
.  ・・nが、システムバス13を獲得する時は、バ
ス使用要求信号BRQをバス制御ユニット12に送る。
A multi-bus master type system, as shown in FIG. 3, has main bus masters 10. A shared memory 11 that stores communication data between the sub-bus masters 1゜...n and the bus masters,
connected to the system bus 13, each bus master 10,1
.. . . n acquires the system bus 13, it sends a bus use request signal BRQ to the bus control unit 12.

バス制御ユニット12はバス使用要求の優先判定(通常
は先に入力した方を優先とする)を行い、システムバス
13が単独のバス・マスタにて使用されるよう優先度の
高いバス・マスタに対しバス使用許可信号BACKを送
出する。
The bus control unit 12 determines the priority of bus use requests (normally, the first input is given priority), and assigns the system bus 13 to a bus master with a higher priority so that the system bus 13 is used by a single bus master. A bus use permission signal BACK is sent to the host.

該使用許可信号BACKを受けたバス・マスタは共有メ
モリ11をアクセスする為等のシステムバス13のアク
セスが可能となる。
The bus master receiving the use permission signal BACK is enabled to access the system bus 13, such as to access the shared memory 11.

このシステムにおいて、主バス・マスタ10よす副バス
・マスタ1.・・nにシステムリセット信号を出力し、
リセットが行われた場合、共有メモリ11のデータ内容
が破壊されない為に、各バス・マスタ10,1.  ・
・nが共有メモリ11をアクセスしている途中ではリセ
ットを行わないようにメモリを保護する必要がある。
In this system, a primary bus master 10 and a secondary bus master 1 . ...outputs a system reset signal to n,
When a reset is performed, each bus master 10, 1 .・
- It is necessary to protect the memory so that it is not reset while n is accessing the shared memory 11.

この為に、従来、主バス・マスタ10は第4図(A)に
示す如く構成し、副バス・マスタl −nは第4図(B
)に示す如(構成している。
For this purpose, conventionally, the main bus master 10 is configured as shown in FIG. 4(A), and the sub bus masters l-n are configured as shown in FIG. 4(B).
).

第4図(A)(B)では、主バス・マスタ10のプロセ
ッサ10−1.例えば、副バス・マスタlのプロセッサ
11−1がシステムバス13を使用する時は、バス使用
要求信号HDRQをバス獲得回路10−2.11−2に
出力し、バス獲得回路10−2.11−2はバス制御ユ
ニット12にバス使用要求信号BRQI、BRQ2を出
力する。
In FIGS. 4(A) and 4(B), processors 10-1. of main bus master 10. For example, when the processor 11-1 of the sub-bus master l uses the system bus 13, it outputs the bus use request signal HDRQ to the bus acquisition circuit 10-2.11-2. -2 outputs bus use request signals BRQI and BRQ2 to the bus control unit 12.

バス獲得回路10−2.11−2がバス使用許可信号B
ACKI、BACK2を受信すると、プロセッサ10−
1.11−1はシステムバス13を使用するようになる
Bus acquisition circuit 10-2.11-2 receives bus use permission signal B
Upon receiving ACKI and BACK2, the processor 10-
1.11-1 will use the system bus 13.

主バス・マスタ10にはシステムリセット制御回路1O
−5を有しており、プロセッサl0−1又は手動スイッ
チよりシステムリセット命令が入力すると、システムリ
セット制御回路10−5は、主バス・マスタ102副バ
ス・マスタl−nのプロセッサ10−1.  l l−
1,・・−1n−1に対し、システムリセット信号を出
力する。
The main bus master 10 has a system reset control circuit 10
-5, and when a system reset command is input from the processor l0-1 or a manual switch, the system reset control circuit 10-5 controls the processors 10-1 . l l-
1,...-1n-1, a system reset signal is output.

主バス・マスタ109副バス・マスタ1〜nでは、共有
メモリ11のアクセス中に、リセットしないように、メ
モリ保護回路10−4.11−4゜・申・In−4を持
つようにしている。
The main bus master 109 and the sub bus masters 1 to n are provided with memory protection circuits 10-4, 11-4°, and In-4 to prevent resets during access to the shared memory 11. .

メモリ保護回路to−4,1l−4,・・・1n−4は
夫々、プロセッサ10−1.11−1〜In−1よりの
バス使用要求信号BRQI、BRQ2@・・、バス使用
許可信号BACK1.BACK2・・・を入力しており
、バス使用要求信号BRQ、バス使用許可信号BACK
よりシステムバス13を使用しているかを判定し、使用
していれば、バス使用要求信号BRQがな(なった時点
(共有メモリ11のアクセスはしていない時点)で、バ
ス使用完了と判断し、システムリセット信号を夫々プロ
セッサl O−1,11−1=ln −1に送り、シス
テムリセットを行うようにしている。
The memory protection circuits to-4, 1l-4, . . . 1n-4 receive bus use request signals BRQI, BRQ2@... and bus use permission signal BACK1 from the processors 10-1, 11-1 to In-1, respectively. .. BACK2... is input, bus use request signal BRQ, bus use permission signal BACK
It is determined whether the system bus 13 is being used, and if it is, it is determined that the bus use is complete when the bus use request signal BRQ becomes null (when the shared memory 11 is not accessed). , system reset signals are sent to the processors lO-1, 11-1=ln-1, respectively, to perform system reset.

このようにすれば、共有メモリllをアクセスしている
途中ではシステムリセットが行われな(なり、メモリ保
護となる。
By doing this, the system will not be reset while the shared memory 11 is being accessed (this will protect the memory).

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

しかしながら、主バス・マスタ10.副バス・マスタl
〜nにメモリ保護回路が必要となり、マルチバス・マス
タ型システムの回路規模が大きくなる問題点がある。
However, the primary bus master 10. Sub-bus master
~n requires a memory protection circuit, which poses a problem of increasing the circuit scale of the multi-bus master type system.

本発明は、マルチバス・マスタ型システムにおいて、回
路規模が小さくて共有メモリアクセス中にはシステムリ
セットが行われないメモリ保護方法の提供を目的として
いる。
An object of the present invention is to provide a memory protection method in a multi-bus master type system that has a small circuit scale and that does not cause a system reset during shared memory access.

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

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

第1図に示す如く、プロセッサ10−1と、該プロセッ
サ10−1よりバス獲得命令が入力するとバス使用要求
信号を出力するバス獲得回路l0−2と、システムリセ
ット命令が入力すると主バス・マスタ10及び全副バス
・マスタl、2゜・・にシステムリセット信号を出力す
るシステムリセット制御回路10’−3を有する主バス
・マスタ10と、 複数の、プロセッサとバス獲得回路とを有する副バス・
マスタl、2.・拳と、 共有メモリ11とがシステムバス13にて接続され、 夫々のバス・マスタ10.I、2.  ・・が該共有メ
モリ11をアクセスする為に、該システムバス13を使
用する時は、夫々のバス獲得回路よりバス使用要求信号
をバス制御ユニット12に送り、バス使用許可信号を得
てから該共有メモリ11をアクセスするマルチパス・マ
スタ型システムの、主バス・マスタ10において、 該システムリセット制御回路10−3を、システムリセ
ット命令を受信すると、システムバス獲得を要求するプ
リリセット信号を出力し、又バス使用許可信号が入力し
てからシステムリセット信号を出力するようにし、 又プロセッサ10−1よりのバス獲得要求信号及び該シ
ステムリセット制御回路1O−3よりのプリリセット信
号を入力し、バス獲得要求信号が先に入力していれば、
入力がなくなる迄プリリセット信号によるバス獲得要求
信号の該バス獲得回路10−2への出力を保留し、プリ
リセット信号が先に入力しているとバス獲得要求信号出
力を保留してプリリセット信号によるバス獲得要求信号
を出力する優先判定回路10−6とを設け、システムリ
セット命令が該システムリセット制御回路10−3に入
力すると、プリリセット信号によるバス獲得要求信号を
該優先判定回路10−6に出力し、該優先判定回路1O
−6では、バス獲得要求信号が先に入力していれば、該
共有メモリ11のアクセスが終わりバス獲得要求信号が
無くなった時点で、 バス獲得要求信号が入力していなければプリリセット信
号入力時点で、 プリリセット信号によるバス獲得要求信号を該バス獲得
回路1O−2に入力し、バス獲得要求信号を出力させ、
該バス制御ユニット12よりバス使用許可信号を得た時
点で該システムリセット制御回路1O−3はシステムリ
セット信号を、該主バス・マスタ1G及び全部の副バス
・マスタl、2゜・・に出力するようにする。
As shown in FIG. 1, there is a processor 10-1, a bus acquisition circuit 10-2 which outputs a bus use request signal when a bus acquisition command is input from the processor 10-1, and a main bus master circuit 10-2 which outputs a bus use request signal when a system reset command is input. a main bus master 10 having a system reset control circuit 10'-3 that outputs a system reset signal to all sub-bus masters 1, 2, . . .;
Master l, 2. - The fist and the shared memory 11 are connected by a system bus 13, and each bus master 10. I, 2. When using the system bus 13 to access the shared memory 11, each bus acquisition circuit sends a bus use request signal to the bus control unit 12, obtains a bus use permission signal, and then uses the system bus 13 to access the shared memory 11. In the main bus master 10 of the multipath master type system that accesses the shared memory 11, upon receiving the system reset command, the system reset control circuit 10-3 outputs a pre-reset signal requesting acquisition of the system bus. Also, the system reset signal is output after the bus use permission signal is input, and the bus acquisition request signal from the processor 10-1 and the pre-reset signal from the system reset control circuit 10-3 are input, and the bus use permission signal is input. If the acquisition request signal is input first,
The output of the bus acquisition request signal by the pre-reset signal to the bus acquisition circuit 10-2 is suspended until there is no input, and if the pre-reset signal has been input first, the output of the bus acquisition request signal is suspended and the pre-reset signal is output. A priority determination circuit 10-6 is provided which outputs a bus acquisition request signal based on the pre-reset signal, and when a system reset command is input to the system reset control circuit 10-3, the priority determination circuit 10-6 outputs a bus acquisition request signal based on the pre-reset signal. and the priority determination circuit 1O
-6, if the bus acquisition request signal has been input first, the time when access to the shared memory 11 is finished and the bus acquisition request signal disappears; if the bus acquisition request signal has not been input, the time when the pre-reset signal is input. inputting a bus acquisition request signal based on the pre-reset signal to the bus acquisition circuit 1O-2, causing the bus acquisition request signal to be output;
When the bus use permission signal is obtained from the bus control unit 12, the system reset control circuit 1O-3 outputs a system reset signal to the main bus master 1G and all the sub bus masters l, 2°, etc. I'll do what I do.

〔作 用〕[For production]

本発明によれば、主バス・マスタ10のプロセッサ10
−1又は外部よりシステムリセット命令がシステムリセ
ット制御回路10−3に入力すると、システムリセット
制御回路10−3はバス使用を要求するプリリセット信
号を優先判定回路10−6に出力する。
According to the invention, the processor 10 of the primary bus master 10
-1 or a system reset command is input to the system reset control circuit 10-3 from the outside, the system reset control circuit 10-3 outputs a pre-reset signal requesting bus use to the priority determination circuit 10-6.

優先判定回路10−6では、バス獲得要求信号が先に入
力していれば、該共有メモリ11のアクセスが終わりバ
ス獲得要求信号が無くなった時点で、 バス獲得要求信号が入力していなければプリリセット信
号入力時点で、 プリリセット信号によるバス獲得要求信号を該バス獲得
回路1O−2に入力し、バス獲得要求信号を出力させ、
バス制御ユニット12よりバス使用許可信号を得た時点
でシステムリセット制御回路10−3はシステムリセッ
ト信号を主バス・マスタ10及び全部の副バス・マスタ
l、2.・・に出力するようにする。
In the priority determination circuit 10-6, if the bus acquisition request signal is inputted first, when the shared memory 11 is accessed and the bus acquisition request signal disappears, if the bus acquisition request signal is not inputted, the priority determination circuit 10-6 At the time of inputting the reset signal, inputting a bus acquisition request signal based on the pre-reset signal to the bus acquisition circuit 1O-2, causing the bus acquisition request signal to be output;
At the time when the bus use permission signal is obtained from the bus control unit 12, the system reset control circuit 10-3 sends the system reset signal to the main bus master 10 and all the sub bus masters l, 2. Make it output to...

即ち、システムリセット信号がシステムリセット制御回
路l0−5に入力すると、主バス・マスタ10では、優
先判定回路10−6を用い、システムバスを使用してい
ない時点で、プリリセット信号をバス獲得回路10−2
に送り、バス使用要求信号を出力させ、バス使用許可信
号を得ることで、全副バス・マスタl、2.・・がシス
テムバスを使用していないことを知り、この時点ならば
共有メモリ11がアクセスされていないので、システム
リセット信号を主バス・マスタ10.副バス・マスタ1
.2.・・−に送る。
That is, when the system reset signal is input to the system reset control circuit 10-5, the main bus master 10 uses the priority determination circuit 10-6 to transmit the pre-reset signal to the bus acquisition circuit when the system bus is not in use. 10-2
, outputs a bus use request signal, and obtains a bus use permission signal, thereby all secondary bus masters l, 2. ... is not using the system bus, and since the shared memory 11 is not being accessed at this point, the system reset signal is sent to the main bus master 10. Sub bus master 1
.. 2. ...Send to -.

このようにすれば、各バス・マスタにメモリ保護回路を
設ける必要がなく、主バス・マスタ10のシステムリセ
ット制御回路10−3の改良及び優先判定回路10−6
を付加することでメモリ保護が出来るので、メモリ保護
が出来るマルチバス・マスタ型システムの回路構成を小
規模にすることが出来る。
In this way, it is not necessary to provide a memory protection circuit for each bus master, and the system reset control circuit 10-3 of the main bus master 10 can be improved and the priority determination circuit 10-6
Since memory protection can be achieved by adding , the circuit configuration of a multi-bus master type system capable of memory protection can be reduced in size.

〔実施例〕〔Example〕

第2図は本発明の実施例の主バス・マスタ及び副バス・
マスタのブロック図である。
FIG. 2 shows a main bus master and a sub bus master according to an embodiment of the present invention.
FIG. 2 is a block diagram of a master.

本発明では、第3図の主バス・マスタ1oを第2図(A
)に示す如く構成し、副バス・マスタl〜nを、第2図
(B)に示す如く、メモリ保護回路は持たず、プロセッ
サ11−1とバス獲得回路11−2を有する構成とし、
システムリセット信号は直接プロセッサ11−1に入力
し、入力するとシステムリセットをするようにする。
In the present invention, the main bus master 1o in FIG. 3 is replaced with the main bus master 1o in FIG.
), and the sub bus masters l to n are configured as shown in FIG. 2(B) without a memory protection circuit but with a processor 11-1 and a bus acquisition circuit 11-2,
The system reset signal is directly input to the processor 11-1, and upon input, the system is reset.

第2図(A)では、システムリセット制御回路10−3
を、 プロセッサ10−1又は手動スイッチよりシステムリセ
ット命令を受信すると、システムバス獲得を要求するプ
リリセット信号を出力し、又バス使用許可信号が入力し
てからシステムリセット信号を出力するようにする。
In FIG. 2(A), the system reset control circuit 10-3
When a system reset command is received from the processor 10-1 or a manual switch, a pre-reset signal requesting acquisition of the system bus is output, and a system reset signal is output after a bus use permission signal is input.

又プロセッサ10−1よりのバス獲得要求信号HDRQ
及び該システムリセット制御回路1o−3よりのバス獲
得要求のプリリセット信号RFLを入力し、バス獲得要
求信号HDRQが先に入力していれば、入力がなくなる
迄プリリセット信号RFLによるバス獲得要求信号の該
バス獲得回路10−2への出力を保留し、プリリセット
信号RFLが先に入力しているとバス獲得要求信号HD
RQの出力を保留してプリリセット信号RFLによるバ
ス獲得要求信号を出力する優先判定回路1〇−矛を設け
る。
Also, a bus acquisition request signal HDRQ from the processor 10-1
and the pre-reset signal RFL for the bus acquisition request from the system reset control circuit 1o-3 is input, and if the bus acquisition request signal HDRQ is input first, the bus acquisition request signal by the pre-reset signal RFL is input until the bus acquisition request signal HDRQ is inputted. If the output to the bus acquisition circuit 10-2 is suspended and the pre-reset signal RFL is input first, the bus acquisition request signal HD
A priority determination circuit 10 is provided which suspends the output of RQ and outputs a bus acquisition request signal based on a pre-reset signal RFL.

通常は、プロセッサl0−1よりのバス獲得要求信号H
DRQが優先判定回路10−6に入力されると、優先判
定回路10−6よりは、バス獲得要求信号IRQを出力
し、アンド回路21及びオア回路20に送られ、オア回
路20を介してバス獲得回路l0−2に送られ、バス使
用要求信号BRQIが、バス制御ユニッh12に出力さ
れる。
Normally, bus acquisition request signal H from processor l0-1
When DRQ is input to the priority determination circuit 10-6, the priority determination circuit 10-6 outputs a bus acquisition request signal IRQ, which is sent to the AND circuit 21 and the OR circuit 20, and the bus acquisition request signal IRQ is sent to the AND circuit 21 and the OR circuit 20. A bus use request signal BRQI is sent to the acquisition circuit l0-2 and output to the bus control unit h12.

そして、バス使用許可信号BACK1が入力すると、バ
ス獲得回路10−2はバス使用許可信号をアンド回路2
1.22に送り、アンド回路21の出力よりバス使用許
可信号HDAKがプロセッサ10−1に送られ、プロセ
ッサー0−1はシステムバス13を使用して共有メモリ
ー1をアクセスする。
Then, when the bus use permission signal BACK1 is input, the bus acquisition circuit 10-2 transfers the bus use permission signal to the AND circuit 2.
1.22, the bus use permission signal HDAK is sent from the output of the AND circuit 21 to the processor 10-1, and the processor 0-1 uses the system bus 13 to access the shared memory 1.

プロセッサto−1又は手動スイッチによりシステムリ
セット命令が該システムリセット制御回路10−3に入
力すると、プリリセット信号RFLによるバス獲得要求
信号を該優先判定回路1O−6にaカする。
When a system reset command is input to the system reset control circuit 10-3 by the processor TO-1 or a manual switch, a bus acquisition request signal based on the pre-reset signal RFL is sent to the priority determination circuit 1O-6.

優先判定回路10−6では、バス獲得要求信号HDRQ
が先に入力していれば、共有メモリ11のアクセスが終
わりバス獲得要求信号がHDRQ無くなった時点で、 バス獲得要求信号HDRQが入力していなければプリリ
セット信号RFL入力時点で、 プリリセット信号RFLによるバス獲得要求信号をバス
獲得回路10−2に入力し、バス獲得要求信号を出力さ
せ、バス制御ユニット12よりバス使用許可信号BAC
K1が入力すると、バス獲得回路10−2はバス使用許
可信号をアンド回路21.22に送り、アンド回路22
の出力よりバス使用許可信号RACKがシステムリセッ
ト制御回路10−3に送られ、システムリセット信号が
、プロセッサ10−1及び副バス・マスタ1〜nに送ら
れ、システムリセットとなる。
In the priority determination circuit 10-6, the bus acquisition request signal HDRQ
If the bus acquisition request signal HDRQ is inputted first, the pre-reset signal RFL is inputted when the access to the shared memory 11 is finished and the bus acquisition request signal HDRQ disappears.If the bus acquisition request signal HDRQ is not input, the pre-reset signal RFL is inputted. A bus acquisition request signal is input to the bus acquisition circuit 10-2, the bus acquisition request signal is outputted, and the bus control unit 12 outputs the bus use permission signal BAC.
When K1 is input, the bus acquisition circuit 10-2 sends a bus use permission signal to the AND circuits 21 and 22.
A bus use permission signal RACK is sent to the system reset control circuit 10-3 from the output of the system reset control circuit 10-3, and a system reset signal is sent to the processor 10-1 and sub-bus masters 1 to n to perform a system reset.

このようにすれば、各バス・マスタにメモリ保護回路を
設ける必要がなく、主バス・マスタ10のシステムリセ
ット制御回路10−3の改良及び優先判定回路1O−6
を付加することでメモリ保護が出来るので、マルチバス
・マスタ型システムの回路構成を小規模にすることが出
来る。
In this way, it is not necessary to provide a memory protection circuit for each bus master, and the system reset control circuit 10-3 of the main bus master 10 can be improved and the priority determination circuit 10-6 can be improved.
By adding , memory can be protected, so the circuit configuration of a multi-bus master type system can be made smaller.

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

以上詳細に説明せる如く本発明によれば、マルチバス・
マスタ型システムにおいて、共有メモリアクセス中にシ
ステムリセットをしなくするようにするのに、回路構成
が小規模で可能となる効果がある。
As explained in detail above, according to the present invention, multi-bus
In a master type system, the circuit configuration can be made small in order to avoid system reset during shared memory access.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の主バス・マスタ及び副バス・
マスタのブロック図、 第3図は1例のシステムのブロック図、第4図は従来例
の主バス・マスタ及び副バス・マスタのブロック図であ
る。 図において、 1.2.〜nは副バス・マスタ、 10は主バス・マスタ、 10−1.11−’1はプロセッサ、 10−2.11−2はバス獲得回路、 10−3.10−5はシステムリセット制御回路、lo
−6は優先判定回路、 11は共有メモリ、 10−4.11−4はメモリ保護回路、12はバス制御
ユニット、 13はシステムバス、 20はオア回路、 21.22はアンド回路を示す。 従来性′1のキバ人7人タLv:畠°1バスマス9の7
′口・・Jフ図第   4   図
FIG. 1 is a block diagram of the principle of the present invention, and FIG. 2 is a main bus master and sub bus master according to an embodiment of the present invention.
Master Block Diagram FIG. 3 is a block diagram of an example system, and FIG. 4 is a block diagram of a conventional main bus master and sub-bus master. In the figure, 1.2. ~n is the secondary bus master, 10 is the main bus master, 10-1.11-'1 is the processor, 10-2.11-2 is the bus acquisition circuit, 10-3.10-5 is the system reset control circuit ,lo
-6 is a priority determination circuit, 11 is a shared memory, 10-4.11-4 is a memory protection circuit, 12 is a bus control unit, 13 is a system bus, 20 is an OR circuit, and 21.22 is an AND circuit. Conventional '1 Kivajin 7 Lv: Hatake °1 Basmas 9 of 7
´口...Jff diagram Figure 4

Claims (1)

【特許請求の範囲】 プロセッサ(10−1)と、該プロセッサ(10−1)
よりバス獲得命令が入力するとバス使用要求信号を出力
するバス獲得回路(10−2)と、システムリセット命
令が入力すると主バス・マスタ(10)及び全副バス・
マスタ(1、2、・・)にシステムリセット信号を出力
するシステムリセット制御回路(10−3)を有する該
主バス・マスタ(10)と、 複数の、プロセッサとバス獲得回路とを有する副バス・
マスタ(1、2、・・)と、 共有メモリ(11)とがシステムバス(13)にて接続
され、 夫々のバス・マスタ(10、1、2、・・)が該共有メ
モリ(11)をアクセスする為に、該システムバス(1
3)を使用する時は、夫々のバス獲得回路よりバス使用
要求信号をバス制御ユニット(12)に送り、バス使用
許可信号を得てから該共有メモリ(11)をアクセスす
るマルチバス・マスタ型システムの、主バス・マスタ(
10)において、 該システムリセット制御回路(10−3)を、システム
リセット命令を受信すると、システムバス獲得を要求す
るプリリセット信号を出力し、又バス使用許可信号が入
力してからシステムリセット信号を出力するようにし、 又プロセッサ(10−1)よりのバス獲得要求信号及び
該システムリセット制御回路(10−3)よりのプリリ
セット信号を入力し、バス獲得要求信号が先に入力して
いれば、入力がなくなる迄プリリセット信号によるバス
獲得要求信号の該バス獲得回路(10−2)への出力を
保留し、プリリセット信号が先に入力しているとバス獲
得要求信号出力を保留してプリリセット信号によるバス
獲得要求信号を出力する優先判定回路(10−6)とを
設け、 システムリセット命令が該システムリセット制御回路(
10−3)に入力すると、プリリセット信号によるバス
獲得要求信号を該優先判定回路(10−6)に出力し、
該優先判定回路(10−6)では、バス獲得要求信号が
先に入力していれば、バス獲得要求信号が無くなった時
点で、 バス獲得要求信号が入力していなければプリリセット信
号入力時点で、 プリリセット信号によるバス獲得要求信号を該バス獲得
回路(10−2)に入力し、バス獲得要求信号を出力さ
せ、該バス制御ユニット(12)よりバス使用許可信号
を得た時点で該システムリセット制御回路(10−3)
はシステムリセット信号を該主バス・マスタ(10)及
び全部の副バス・マスタ(1、2、・・)に出力するよ
うにしたことを特徴とするメモリ保護方法。
[Claims] A processor (10-1) and the processor (10-1)
The bus acquisition circuit (10-2) outputs a bus use request signal when a bus acquisition command is input from the bus master (10), and the main bus master (10) and all secondary buses when a system reset command is input.
The main bus master (10) has a system reset control circuit (10-3) that outputs a system reset signal to the masters (1, 2, . . . ), and a sub-bus has a plurality of processors and bus acquisition circuits.・
The masters (1, 2,...) and the shared memory (11) are connected by a system bus (13), and each bus master (10, 1, 2,...) connects to the shared memory (11). In order to access the system bus (1
3), a multi-bus master type in which each bus acquisition circuit sends a bus use request signal to the bus control unit (12) and accesses the shared memory (11) after obtaining a bus use permission signal. The system's primary bus master (
In 10), when the system reset control circuit (10-3) receives the system reset command, it outputs a pre-reset signal requesting acquisition of the system bus, and after the bus use permission signal is input, it outputs the system reset signal. In addition, the bus acquisition request signal from the processor (10-1) and the pre-reset signal from the system reset control circuit (10-3) are input, and if the bus acquisition request signal is input first, , holds the output of the bus acquisition request signal by the pre-reset signal to the bus acquisition circuit (10-2) until there is no more input, and holds the output of the bus acquisition request signal if the pre-reset signal has been input first. A priority determination circuit (10-6) that outputs a bus acquisition request signal based on a pre-reset signal is provided, and a system reset command is issued to the system reset control circuit (10-6).
10-3), outputs a bus acquisition request signal based on the pre-reset signal to the priority determination circuit (10-6);
In the priority determination circuit (10-6), if the bus acquisition request signal is input first, the bus acquisition request signal is no longer present, and if the bus acquisition request signal is not input, the pre-reset signal is input. , inputs a bus acquisition request signal based on a pre-reset signal to the bus acquisition circuit (10-2), outputs the bus acquisition request signal, and when a bus use permission signal is obtained from the bus control unit (12), the system Reset control circuit (10-3)
A memory protection method characterized in that a system reset signal is output to the main bus master (10) and all the sub bus masters (1, 2, . . . ).
JP28322990A 1990-10-20 1990-10-20 Memory protecting method Pending JPH04157557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28322990A JPH04157557A (en) 1990-10-20 1990-10-20 Memory protecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28322990A JPH04157557A (en) 1990-10-20 1990-10-20 Memory protecting method

Publications (1)

Publication Number Publication Date
JPH04157557A true JPH04157557A (en) 1992-05-29

Family

ID=17662763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28322990A Pending JPH04157557A (en) 1990-10-20 1990-10-20 Memory protecting method

Country Status (1)

Country Link
JP (1) JPH04157557A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200318A (en) * 1993-12-16 1995-08-04 Internatl Business Mach Corp <Ibm> Data processing system with dynamic priority task scheduler

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200318A (en) * 1993-12-16 1995-08-04 Internatl Business Mach Corp <Ibm> Data processing system with dynamic priority task scheduler

Similar Documents

Publication Publication Date Title
US4494193A (en) Deadlock detection and resolution scheme
CA1221173A (en) Microcomputer system with bus control means for peripheral processing devices
US20030126381A1 (en) Low latency lock for multiprocessor computer system
JPH11513150A (en) Architecture for I / O processor integrating PCI to PCI bridge
CA1241762A (en) Interrupt mechanism for multi-microprocessing system having multiple busses
CN1118761C (en) Bus interface control circuit
US5640519A (en) Method and apparatus to improve latency experienced by an agent under a round robin arbitration scheme
JPH04157557A (en) Memory protecting method
JPS6184767A (en) Inter-system connecting method
WO1994009437A1 (en) Signal handling system with a shared data memory
JP2539117B2 (en) Multiprocessor system
JPS61292752A (en) Virtual computer system
JPH03252847A (en) System bus arbitrating system
JP3365496B2 (en) Graphics processing system and graphics processing method
JPH03240151A (en) Data transfer control system
JP4432268B2 (en) Bus arbitration system and interrupt processing method for a device serving as a bus master in this system
JPH02100746A (en) Multiprocessor bus
JPH05250314A (en) Information processor
JPS5858633A (en) Input/output channel processor
JPS6371749A (en) Memory protecting system
KR19990031220A (en) V. M. Bus Controls in V. M. Bus Systems
JPS62145345A (en) Control system for direct memory access interval
JPS60219849A (en) Packet processing unit
JPH08339345A (en) Information processing system
JPH0427584B2 (en)