JPS5935263A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPS5935263A
JPS5935263A JP14494082A JP14494082A JPS5935263A JP S5935263 A JPS5935263 A JP S5935263A JP 14494082 A JP14494082 A JP 14494082A JP 14494082 A JP14494082 A JP 14494082A JP S5935263 A JPS5935263 A JP S5935263A
Authority
JP
Japan
Prior art keywords
memory
computer
access
signal
outputs
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
JP14494082A
Other languages
Japanese (ja)
Inventor
Shunji Morita
森田 俊二
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP14494082A priority Critical patent/JPS5935263A/en
Publication of JPS5935263A publication Critical patent/JPS5935263A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/18Handling requests for interconnection or transfer for access to memory bus based on priority control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent the influence of a fault exerting upon other computers, by permitting access within a specific time limit according to priority in a system wherein one memory is accessed by plural computers. CONSTITUTION:When a computer A has priority to a computer B and they generate memory requests MREQA and MREQB at the same time, a decision making circuit 7 outputs a gate signal MENa to open gates 3 and 5, permitting the computer A to access the memory 1. A timer 8 outputs a time limit signal TUa on the basis of a specific time limit. Consequently, the circuit 7 stops the output of the gate signal MENa and outputs a gate signal MENb to allow the computer B to access the memory 1 within the specific time limit.

Description

【発明の詳細な説明】 この発明は、複数のコンピュータで共用されるメモリの
アクセスン制御する回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a circuit for controlling access to a memory shared by a plurality of computers.

従来、この種の回路として第1図に示すものがあった。Conventionally, there has been a circuit of this type as shown in FIG.

第1図において、メモリ要求(信号)MREQ  A、
MREQ  Bはメモリ1に対するアクセス乞要求する
中央処理装置、即ちコンピュータA、B(図示せず)か
ら出力される信号であり。
In FIG. 1, memory request (signal) MREQ A,
MREQ B is a signal output from the central processing unit, ie, computers A and B (not shown), requesting access to the memory 1.

ゲート2に入力される。ゲート2は、メモリ要求MRE
Q  A、MREQ  Bに対応してゲート信号MEN
  A、MEN  BY出力するように*[1i12さ
れており、ここでは時間的に先に入力されたメモリ要求
MREQ  A(又はMREQ  B)に応答してゲー
ト信号MEN  人(又はMEN  B)を出力する。
Input to gate 2. Gate 2 is the memory request MRE
Gate signal MEN corresponds to Q A and MREQ B.
*[1i12 is set to output A, MEN BY, and here the gate signal MEN (or MEN B) is output in response to the memory request MREQ A (or MREQ B) input earlier in time. .

ゲート信号MEN  A、MEN  Bは、メモリ1の
アクセスのためにコンピュータA、Bのアドレス信号A
DRA、ADRBン開にさせるゲート6.4及びデータ
信号DATA  A、DATA  BY開にさせるゲー
ト5.6に入力される。
Gate signals MEN A and MEN B are address signals A and B of computers A and B for accessing memory 1.
It is input to a gate 6.4 which causes DRA and ADRB to open and a gate 5.6 which causes data signals DATA A and DATA BY to open.

動作において、例えばメモリ要求MREQ  Aがメモ
リ要求MREQ  Bより先に発生すると。
In operation, for example, if memory request MREQ A occurs before memory request MREQ B.

ゲート信号MEN  Aが出力され、ゲート3,5が開
く。これにより、コンピュータへのアドレス信号ADR
Aがゲート5乞介してメモリ1に供給され、メモリ1は
ゲート5ン介してデータ信号Ai読み出す(又は書き込
む)。コンピュータBは、このようなコンピュータAの
メモリ・アクセスが終了するまで待機させられ、メモリ
1に対するアクセスの衝突が回避される。
Gate signal MEN A is output and gates 3 and 5 are opened. This causes the address signal ADR to be sent to the computer.
A is supplied to the memory 1 through the gate 5, and the memory 1 reads (or writes) the data signal Ai through the gate 5. Computer B is made to wait until such memory access by computer A is completed, and a conflict in access to memory 1 is avoided.

従来のメモリ制御回路は、以上のように構成されている
ので、第1のコンピュータの不具合によリメモリ・アク
セスを終結できなくなったときは第2のコンピュータの
メモリ・アクセス開始後となってしまう欠点があった。
Since the conventional memory control circuit is configured as described above, it has the disadvantage that when the first computer fails to complete the rememory access due to a malfunction, the second computer starts accessing the memory. was there.

この発明は、上記のような従来のものの欠点ン除去す′
るためになされたもので、各コンピュータにメモリ・ア
クセスの最大許容時間乞設定しておき、この時間に達し
たときは強制的にメモリ・アクセスを他のコンピュータ
のために開放することにより、第1のコンピュータに故
障が発生してもこれを他のコンピュータに波及させない
ようにすることができるメモリ制御回路を提供するとと
t目的とする。
This invention eliminates the drawbacks of the conventional ones as described above.
This method was developed to provide a maximum allowable memory access time for each computer, and when this time is reached, the memory access is forcibly released for other computers. It is an object of the present invention to provide a memory control circuit that can prevent a failure from spreading to other computers even if a failure occurs in one computer.

以下、この発明の一実施例7図について説明する。第2
図において、第1図と同一符号は同一部分ン示し、7は
メモリ要求MREQ A、MREQ Bの入力に応答し
、それらに与えられている優先度に従ってゲート信号M
EN  a及びMEN  bのいずれか馨出力する判定
回路で、ゲート信号MENaはタイマ8、ゲート5及び
5に入力され。
Hereinafter, FIG. 7 will be described as an embodiment of the present invention. Second
In the figure, the same reference numerals as in FIG.
The gate signal MENa is input to the timer 8 and gates 5 and 5 in the determination circuit that outputs either EN a or MEN b.

ゲート信号MEN  bはタイマ9、ゲート4及び6に
入力される。タイマ8,9はゲート信号MEN  a、
MEN  bKより起動された後、所定時間後に時限信
号TU  a、TU  bi小出力ることKより、判定
回路7がゲート信号MBNa。
Gate signal MEN b is input to timer 9 and gates 4 and 6. Timers 8 and 9 receive gate signals MEN a,
After being activated by MEN bK, the time signal TU a, TU bi outputs a small amount after a predetermined period of time, so that the determination circuit 7 outputs the gate signal MBNa.

MEN  by小出力るのを停止させる。MEN by stops the small output.

動作において、例えばコンピュータA、B間の優先度が
A)Bに設定されている場合に、同時圧メモリ要求MR
EQ  A及びMREQ  Bが生起したとすると、判
定回路7はゲート信号MEN  aン出力する。これに
より、タイマ8は起動され、ゲート3及び5は開く。一
方、ゲート信号MENbは出力されないので、タイマ9
は起動されず、ゲート4及び6は閉状態にある。ゲート
5及び5が開となることによってコンピュータAによる
メモリ1のアクセスが可能となる。タイマ8は所定時限
許容過すると、時限信号TUa’g出力する。
In operation, for example, when the priority between computers A and B is set to A)B, the simultaneous pressure memory request MR
If EQ A and MREQ B occur, the determination circuit 7 outputs a gate signal MEN a. This starts timer 8 and opens gates 3 and 5. On the other hand, since gate signal MENb is not output, timer 9
is not activated and gates 4 and 6 are closed. By opening gates 5 and 5, computer A can access memory 1. The timer 8 outputs a time limit signal TUa'g when a predetermined time limit is exceeded.

これにより1判定回路7はゲート信号MEN  aの出
力を停止し、ここで待機中のコンピュータBのメモリ要
求MREQ  Bに応答し、ゲート信号MEN  by
<出力する。以下、コンピュータへの場合と同様の処理
によりコンピュータBによるメモリ1のアクセメンタイ
マ90制御により所定時限だけ可能にさせる。このよう
な処理は、コンピュータA(又はB)が故障によりメモ
リ1のアクセスを終結できなくなっても、アクセス開始
後、所定時限でコンピュータB(又はA)にアクセスす
ること7可能即ち開放することができる。
As a result, the 1 determination circuit 7 stops outputting the gate signal MEN a, responds to the memory request MREQ B of the computer B waiting here, and outputs the gate signal MEN by.
<Output. Thereafter, the computer B controls the acceleration timer 90 of the memory 1 to enable the processing for a predetermined period of time in the same manner as in the case of the computer. Such processing ensures that even if computer A (or B) is unable to complete access to memory 1 due to a failure, it is still possible to access computer B (or A) within a predetermined time period after access is started, that is, it can be released. can.

なお、上記実施例では各コンピュータ毎にタイマン設け
たがそれらの機能が大幅に違う場合は、より重要な機能
を有するコンピュータにのみメモリのコントロール権を
与えるようにしてもよい。
In the above embodiment, a timer is provided for each computer, but if the functions of these computers are significantly different, memory control rights may be given only to computers with more important functions.

この場合にはタイマya’1つ省略できる。In this case, one timer ya' can be omitted.

以上のように、複数のコンピュータにより一つのメモリ
tアクセスする形式のシステムにおいて。
As described above, in a system in which one memory t is accessed by multiple computers.

各コンピュータに許容するアクセスをそれらに与えられ
ている優先度に従って所定時限許容するようKしたので
、例え特定のコンピュータが故障しても他のコンピュー
タに故障?波及させることなく、メモリをアクセスする
ことができ、マルチ・コンピュータ・システムの信頼性
ン高めることができる効果がある。
Since we allowed access to each computer for a predetermined period of time according to the priority given to each computer, even if a particular computer malfunctions, it will not affect the other computers. The memory can be accessed without any influence, and the reliability of the multi-computer system can be improved.

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

第1図は従来のメモリ制御回路の回路図、第2図はこの
発明の一実施例によるメモリ制御回路の回路図である。 1・・・メモリ、2〜6・・−ゲート、7・・・判定回
路、8.9・・・タイマ。なお、図中、同一符号は同一
部分χ示す。 代理人 葛野信−(ほか1名) 第  1  図 第  2  図 35
FIG. 1 is a circuit diagram of a conventional memory control circuit, and FIG. 2 is a circuit diagram of a memory control circuit according to an embodiment of the present invention. 1...Memory, 2-6...-gate, 7...Judgment circuit, 8.9...Timer. Note that in the drawings, the same reference numerals indicate the same parts χ. Agent Makoto Kuzuno (and 1 other person) Figure 1 Figure 2 Figure 35

Claims (1)

【特許請求の範囲】[Claims] 複数の中央処理装置からそれぞれ出力されるメモリ・ア
クセスの要求信号及び上記各中央処理装置に対して予め
与えられているメモリ・アクセスのための優先質に従っ
て選択した一つの可能信号ン発生、する判定回路と、上
記可能信号により起動され所定時限後に上記可能信号の
発生ン禁止するタイマと、上記可能信号により対応する
上記中央処理装置のメモリ・アクセスのための信号をメ
モリに導くゲートと乞備えたメモリ制御回路。
determining whether to generate one possible signal selected in accordance with the memory access request signals output from each of the plurality of central processing units and the priority quality for memory access given in advance to each of the central processing units; a circuit, a timer that is activated by the enable signal and prohibits generation of the enable signal after a predetermined time period, and a gate that guides a signal for memory access of the central processing unit corresponding to the enable signal to the memory. Memory control circuit.
JP14494082A 1982-08-20 1982-08-20 Memory control circuit Pending JPS5935263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14494082A JPS5935263A (en) 1982-08-20 1982-08-20 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14494082A JPS5935263A (en) 1982-08-20 1982-08-20 Memory control circuit

Publications (1)

Publication Number Publication Date
JPS5935263A true JPS5935263A (en) 1984-02-25

Family

ID=15373718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14494082A Pending JPS5935263A (en) 1982-08-20 1982-08-20 Memory control circuit

Country Status (1)

Country Link
JP (1) JPS5935263A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62280126A (en) * 1986-05-28 1987-12-05 Toshimi Kato Solid-liquid transfer method and device
JPH0195355A (en) * 1987-10-07 1989-04-13 Mitsubishi Electric Corp Multiprocessor system
JPH01136261A (en) * 1987-11-24 1989-05-29 Yokogawa Electric Corp Bus controller
EP1162541A1 (en) * 2000-05-30 2001-12-12 Nec Corporation Cache memory control device for multi-processor system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52153347A (en) * 1976-06-15 1977-12-20 Fujitsu Ltd Input/output control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52153347A (en) * 1976-06-15 1977-12-20 Fujitsu Ltd Input/output control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62280126A (en) * 1986-05-28 1987-12-05 Toshimi Kato Solid-liquid transfer method and device
JPH0195355A (en) * 1987-10-07 1989-04-13 Mitsubishi Electric Corp Multiprocessor system
JPH01136261A (en) * 1987-11-24 1989-05-29 Yokogawa Electric Corp Bus controller
EP1162541A1 (en) * 2000-05-30 2001-12-12 Nec Corporation Cache memory control device for multi-processor system

Similar Documents

Publication Publication Date Title
JP5597546B2 (en) Bank sharing and refresh in shared multiport memory devices
JPH0221018B2 (en)
JPS5878246A (en) Access regulating apparatus and method
JPS5935263A (en) Memory control circuit
US5408612A (en) Microprocessor system for selectively accessing a processor internal register when the processor has control of the bus and partial address identifying the register
KR920002830B1 (en) Direct memory access controller
US5345378A (en) Method and apparatus for operating a programmable controller for controlling a technical process
US10884831B2 (en) Composable system
JPH02310786A (en) Microcomputer
JPS6010343B2 (en) Information processing system control method
JPS58105363A (en) Storage device
JPS61165172A (en) Memory access controlling system
JP2000010608A (en) Communication equipment, plc unit and display unit
KR100217743B1 (en) Common memory interface apparatus and method
JPH06274415A (en) Shared memory system
JP2837893B2 (en) Microcomputer device
JP2000047706A (en) System and method for controlling actuator
JPS6028022B2 (en) input/output processing unit
JPH0273420A (en) Semiconductor disk device
JPH02121053A (en) Test and set system
JP2002323919A (en) Controller for interface circuit
JPH01114955A (en) Memory protection system
JPH06231089A (en) Parallel processor
JPH064469A (en) Input/output device control system
JPH0142017B2 (en)