JPS5855536B2 - Common memory control circuit - Google Patents

Common memory control circuit

Info

Publication number
JPS5855536B2
JPS5855536B2 JP12205781A JP12205781A JPS5855536B2 JP S5855536 B2 JPS5855536 B2 JP S5855536B2 JP 12205781 A JP12205781 A JP 12205781A JP 12205781 A JP12205781 A JP 12205781A JP S5855536 B2 JPS5855536 B2 JP S5855536B2
Authority
JP
Japan
Prior art keywords
common memory
signal
terminal
output
cpu
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.)
Expired
Application number
JP12205781A
Other languages
Japanese (ja)
Other versions
JPS5822470A (en
Inventor
幹雄 大谷
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.)
Shinko Electric Co Ltd
Original Assignee
Shinko Electric Co 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 Shinko Electric Co Ltd filed Critical Shinko Electric Co Ltd
Priority to JP12205781A priority Critical patent/JPS5855536B2/en
Publication of JPS5822470A publication Critical patent/JPS5822470A/en
Publication of JPS5855536B2 publication Critical patent/JPS5855536B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 この発明は、2つの中央処理装置がメモリを共有する場
合に用いられるコモンメモリ制御回路に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a common memory control circuit used when two central processing units share memory.

例えば物品製造工場における製品製造ラインのプロセス
制御等を行なうための演算制御装置が処理すべき仕事は
大別して次のようになる。
For example, the tasks to be processed by an arithmetic and control device for controlling the process of a product manufacturing line in an article manufacturing factory can be broadly classified as follows.

[F]データ演算処理、 ■ 周辺端末装置の制御、 ■ 上位コンピュータとのデータ通信、 ■ プロセス制御機器の入出力(デジタル入出力、アナ
ログ入出力)、 ■ プロセス制御機器のシーケンス制御(デジタル入出
力、アナログ入出力による)、 ここで、上記■〜■の仕事を処理するためのプログラム
は、この演算制御装置のメーカー側において作成される
のが一般的である。
[F] Data calculation processing, ■ Control of peripheral terminal devices, ■ Data communication with host computer, ■ Input/output of process control equipment (digital input/output, analog input/output), ■ Sequence control of process control equipment (digital input/output) , by analog input/output) Here, the programs for processing the tasks (1) to (3) above are generally created by the manufacturer of this arithmetic and control device.

したがってこのプログラムを作成する場合のプログラム
言語としては、例えばアセンブラとかあるいはベーシッ
クBASIC等の通常のプログラム言語を使用すること
ができる。
Therefore, as a programming language for creating this program, a normal programming language such as assembler or basic BASIC can be used.

−力前記■の仕事を処理するためのプログラムは、ユー
ザー側で作成、あるいは変更するのが一般的である。
-Programs for processing the work described in (1) above are generally created or modified by the user.

そしてこの場合、ユーザにとっては、この■の仕事を処
理するためのプログラムを従来のりレージ−ケンスと同
様の考え方で作成し得ることが望ましい。
In this case, it is desirable for the user to be able to create a program for processing the task (2) using the same concept as the conventional recreation system.

すなわちこの場に使用されるプログラム言語は、リレー
シンボルと対比しながら簡単に理解することができるよ
うな専用のシーケンス制御用言語であることが望ましい
That is, it is desirable that the programming language used here be a dedicated sequence control language that can be easily understood by comparing it with relay symbols.

またこの種のシーケンス制御用言語を用いて作成される
プログラムが実行するシーケンス制御は、一般に極めて
速い応答速度が要求されるものである。
Furthermore, sequence control executed by a program created using this type of sequence control language generally requires extremely fast response speed.

したがって一般にシーケンス制御用言語を用いて作成さ
れたプログラムと通常のプログラム言語を用いて作成さ
れたプログラムとを一つのプログラム中に混在させ、こ
れを一台の中央処理装置(以下、CPUと称す)によっ
て実行させることには処理速度等に無理がある。
Therefore, in general, a program created using a sequence control language and a program created using a normal programming language are mixed in one program, and these programs are integrated into one central processing unit (hereinafter referred to as CPU). It is unreasonable in terms of processing speed, etc. to execute the process using

すなわちこの場合シーケンス制御が正しく実行されなく
なる恐れがある。
In other words, in this case, sequence control may not be executed correctly.

したがって、このような場合は通常のプログラム言語を
用いて作成されたプログラムを実行するCPUと例えば
シーケンス制御用語を用いて作成されたプログラムを実
行するCPUとを別個に設け、これらのCPUを共通メ
モリを介して接続することにより、互いに異なる種類の
プログラム言語を用いて作成された複数のプログラムを
並列に実行させることが望ましい。
Therefore, in such a case, a CPU that executes a program created using a normal programming language and a CPU that executes a program created using sequence control terms, for example, are provided separately, and these CPUs are stored in a common memory. It is desirable to run a plurality of programs created using different types of programming languages in parallel by connecting them via a .

そして、このような場合は2個のCPUと共通メモリと
の間で、共通メモリへのアクセスを制御するコモンメモ
リ制御回路が必要になるが、このコモンメモリ制御回路
は、アクセスの応答が素速い回路でなければならず、ま
た、構成が簡単であることが望ましい。
In such a case, a common memory control circuit is required to control access to the common memory between the two CPUs and the common memory, but this common memory control circuit has a quick access response. It must be a circuit, and it is desirable that the configuration be simple.

この発明は上述した事情に鑑みてなされたもので、構成
を簡単にし得るとともに、アクセス応答が素早いコモン
メモリ制御回路を提供するものである。
The present invention has been made in view of the above-mentioned circumstances, and it is an object of the present invention to provide a common memory control circuit that can be simplified in configuration and has a quick access response.

以下、この発明の一実施例を図面を参照して説明する。An embodiment of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例であるコモンメモリ制御回
路を用いたプロセス制御システムの構成を示すブロック
図である。
FIG. 1 is a block diagram showing the configuration of a process control system using a common memory control circuit, which is an embodiment of the present invention.

この図において、符号Aで示す部分は演算制御装置であ
り、この演算制御装置Aにおいて、1は第1のCPU1
2はこのCPU1が使用する通常のプログラム言語(例
えば、アセンブラ、ベーシック等)を用いて作成された
プログラムが格納される専用のメモリである。
In this figure, the part indicated by the symbol A is an arithmetic control device, and in this arithmetic control device A, 1 is a first CPU 1
Reference numeral 2 denotes a dedicated memory in which programs created using a normal programming language (for example, assembler, basic, etc.) used by the CPU 1 are stored.

また3は第2のCPU、4はこのCPU3が使用するシ
ーケンス制御用言語を用いて作成されたプログラムが格
納される専用のメモリである。
Further, 3 is a second CPU, and 4 is a dedicated memory in which a program created using a sequence control language used by this CPU 3 is stored.

またCPUI、3は、それらに付加された共通メモリコ
ントローラla、3a(コモンメモリ制御回路)を介し
て共通メモリ5にアクセス(データの書き込みおよび読
出し)をすることができるようになっている。
Further, the CPUI 3 can access the common memory 5 (write and read data) via common memory controllers la and 3a (common memory control circuit) added thereto.

次にCPU1の信号バス6には、プリンタ制御インター
フェース7、CRT制御インターフェース8、上位コン
ピュータインターフェース9、デジタル入出力装置10
、アナログ入出力装置11が接続され、また前記プリン
タ制御インターフェース7、CRTff?1Jffll
インターフェース8、上位コンピュータインターフェー
ス9にはプリンタ12、CRT(ブラウン管式画面表示
装置)13、前記CPU1の管理を行なう上位コンピュ
ータ14が各々接続されている。
Next, the signal bus 6 of the CPU 1 includes a printer control interface 7, a CRT control interface 8, a host computer interface 9, and a digital input/output device 10.
, analog input/output device 11 are connected, and the printer control interface 7, CRTff? 1Jffll
A printer 12, a cathode ray tube display (CRT) 13, and a host computer 14 for managing the CPU 1 are connected to the interface 8 and the host computer interface 9, respectively.

またCPU3の信号バス15には、このプロセス制御シ
ステムにおけるシーケンス制御を行なうために使用され
るデジタル信号のみの入出力を行なう複数のデジタル入
出力装置16.・・・、および同じくシーケンス制御を
行なうために使用されるアナログ信号のみの入出力を行
なう複数のアナログ入出力装置17、・・・が接続され
ている。
Further, the signal bus 15 of the CPU 3 includes a plurality of digital input/output devices 16. which input/output only digital signals used for sequence control in this process control system. . . . and a plurality of analog input/output devices 17, . . . which input/output only analog signals used for sequence control.

ここで、前記CPU1.3と共通メモリコントローラ1
a、3aと共通メモリ5等からなる演算制御装置Aを第
2図を参照して更に詳細に説明する。
Here, the CPU 1.3 and the common memory controller 1
The arithmetic and control unit A, which includes the common memory 5, etc., will be explained in more detail with reference to FIG.

第2図におけるCPU1において、端子REDYに、こ
のCPU1に接続された共通メモリ5がデータの読出し
または書込みが可能状態である場合には2値論理信号の
゛1″信号が供給され、可能状態でない場合は゛°0″
信号が供給される入力端子、端子ADD1はアドレス信
号を出力する出力端子、端子DAT1はデータ信号の入
出力を行なう入出力端子、端子5TBIはデータのスト
ローブ信号(書込み指令用の”1′”のパルス信号)を
出力する出力端子である。
In the CPU 1 in FIG. 2, a binary logic signal "1" is supplied to the terminal REDY when the common memory 5 connected to the CPU 1 is in a state where data can be read or written, and when it is not in a state where it is possible to read or write data. If ゛°0″
The input terminal to which the signal is supplied, the terminal ADD1 is the output terminal that outputs the address signal, the terminal DAT1 is the input/output terminal that inputs and outputs the data signal, and the terminal 5TBI is the data strobe signal ("1'" for the write command). This is an output terminal that outputs a pulse signal.

次にCPU3において、端子HLDはとのCPU3に対
し、同CPU3がメモリ5ヘアクセスすることを禁止要
求する場合にのみ゛°1″信号が供給される入力端子、
端子HLDAは前記端子HLDに°゛1′”信号が供給
されCPU3がこの禁止要求を受は付けた場合にn 1
n信号を出力する出力端子、端子ADD2はアドレス
信号を出力する出力端子、端子DAT2はデータ信号の
入出力を行なう入出力端子、端子5TB2はデータのス
トローブ信号を出力する出力端子である。
Next, in the CPU 3, the terminal HLD is an input terminal to which a "°1" signal is supplied only when the CPU 3 requests to prohibit the CPU 3 from accessing the memory 5.
The terminal HLDA outputs n 1 when the terminal HLD is supplied with the °1' signal and the CPU 3 accepts or accepts this prohibition request.
The terminal ADD2 is an output terminal that outputs an n signal, the terminal ADD2 is an output terminal that outputs an address signal, the terminal DAT2 is an input/output terminal that inputs and outputs a data signal, and the terminal 5TB2 is an output terminal that outputs a data strobe signal.

また共通メモリ5において、端子ADD3はアドレス信
号を入力する入力端子、端子DAT3はデータ信号の入
出力を行なう入出力端子、端子5TB3はデータのスト
ローブ信号を入力する入力端子である。
In the common memory 5, the terminal ADD3 is an input terminal for inputting an address signal, the terminal DAT3 is an input/output terminal for inputting/outputting a data signal, and the terminal 5TB3 is an input terminal for inputting a data strobe signal.

次に、共通メモリコントローラ1a、3aにおいて、1
8゜19.20はそれらの入力端子Eに”1′信号が供
給されると開状態になるゲート、21.22はそれらの
入力端子Eに″′1″信号が供給されると開状態になる
双方向ゲート、23は端子ADDIから供給されるアド
レス信号が共通メモリ5に割り当てられたアドレス領域
を示している場合はその出力端子Cから”1′信号を出
力し、またその入力端子Eに”1′”信号が供給される
と端子ADD1から供給されているアドレス信号を端子
ADD3へ送出するゲート回路である。
Next, in the common memory controllers 1a and 3a, 1
8゜19.20 are gates that open when a ``1'' signal is supplied to their input terminals E, and 21.22 open when a ``'1'' signal is supplied to their input terminals E. The bidirectional gate 23 outputs a "1' signal from its output terminal C when the address signal supplied from the terminal ADDI indicates an address area allocated to the common memory 5, and also outputs a "1' signal from its input terminal E. This gate circuit sends the address signal supplied from the terminal ADD1 to the terminal ADD3 when a "1'" signal is supplied.

24はその入力端子Rに供給される?+ 111信号の
立上りでリセットされ、その入力端子Sに供給される”
1′信号の立上りでセットされるフリップフロップ(以
下FFと称す:切換制御回路)であり、入力端子R,S
に供給される信号の立下りおよびこの信号のレベルは出
力に影響を与えない。
24 is supplied to its input terminal R? It is reset at the rising edge of the +111 signal and is supplied to its input terminal S.
This is a flip-flop (hereinafter referred to as FF: switching control circuit) that is set at the rising edge of the 1' signal, and has input terminals R and S.
The falling edge of the signal supplied to and the level of this signal have no effect on the output.

なお、出力端子Qはそのセット側の出力端子である。Note that the output terminal Q is the output terminal on the set side.

また25はインバータである。Further, 25 is an inverter.

次に、この第2図に示す回路の動作を説明する。Next, the operation of the circuit shown in FIG. 2 will be explained.

まずFF24は初期状態において図示せぬ回路によりセ
ットされている。
First, the FF 24 is set in an initial state by a circuit not shown.

ここで、端子ADD1から出力されているCPU1のア
ドレス信号が共通メモリ5のアドレス領域を示していな
い場合は、ゲート回路23の出力端子Cは゛′0″信号
を出力しているから、端子HLDの信号は゛′0″信号
、端子REDYに供給される信号は゛1″信号、端子H
LDAから出力される信号は゛°O″信号である。
Here, if the address signal of the CPU 1 output from the terminal ADD1 does not indicate the address area of the common memory 5, the output terminal C of the gate circuit 23 is outputting the "'0" signal, so the terminal HLD The signal is the ``0'' signal, the signal supplied to the terminal REDY is the ``1'' signal, the terminal H
The signal output from the LDA is the "O" signal.

したがってこの場合、ゲート18、双方向ゲート21.
ゲート回路23のゲートは共に閉状態、ゲート19,2
0、双方向ゲート22は共に開状態となるから、CPU
3は共通メモリ5にアクセスすることができる。
Therefore, in this case, gate 18, bidirectional gate 21 .
The gates of the gate circuit 23 are both closed, and the gates 19 and 2 are closed.
0, since both bidirectional gates 22 are in the open state, the CPU
3 can access the common memory 5.

次に、今、第3図のタイムチャートが示すように、時刻
t1において、端子ADD1から出力されたCPU1の
アドレス信号が共通メモリ5のアドレス領域を示した場
合(第3図の波形イにおける斜線部分に対応する)、ゲ
ート回路23の端子Cはu 111信号を出力するから
、CPU3の端子HLDの信号は゛1″信号になり(第
3図の口参照)、またFF24がリセットされるからC
PU1の端子REDYには゛0°′信号が供給される。
Next, as shown in the time chart of FIG. 3, if the address signal of the CPU 1 output from the terminal ADD1 indicates the address area of the common memory 5 at time t1 (the diagonal line in the waveform A of FIG. Since the terminal C of the gate circuit 23 outputs the u111 signal, the signal at the terminal HLD of the CPU 3 becomes the "1" signal (see the opening in Figure 3), and since the FF 24 is reset, the
A '0°' signal is supplied to the terminal REDY of PU1.

(第3図のハ参照)。(See c in Figure 3).

この結果、CPU1は共通メモリ5へのアクセスを持つ
状態になり、またCPU3は共通メモリ5へのアクセス
が禁止要求された状態になる。
As a result, the CPU 1 enters a state in which it has access to the common memory 5, and the CPU 3 enters a state in which access to the common memory 5 is requested to be prohibited.

次に、CPU3が時刻t2において共通メモリ5へのア
クセス禁止要求を受は付けると、端子HLDAから“1
″信号が出力されるから(第3図の二参照)、FF24
がセットされて端子RE DYに供給される信号が°1
″になると共に、ゲ゛−ト18、双方向ゲ゛−ト21、
ゲ゛−ト回路23のゲートは全て開状態になる。
Next, when the CPU 3 accepts the access prohibition request to the common memory 5 at time t2, the terminal HLDA outputs “1”.
” signal is output (see Figure 3, 2), FF24
is set and the signal supplied to the terminal REDY is °1
'', the gate 18, the bidirectional gate 21,
All gates of the gate circuit 23 are opened.

またこの時インバータ25の出力は°゛00パ信号るか
らゲート19 、20、双方向ゲート22は全て閉状態
になる。
Also, at this time, since the output of the inverter 25 is a 000p signal, the gates 19 and 20 and the bidirectional gate 22 are all closed.

この結果、CPU1は共通メモリ5へのデータの書込み
または同共通メモリ5からのデータの読出しが可能な状
態になり、一方CPU3は共通メモリ5へのアクセスが
禁止された状態になる。
As a result, the CPU 1 is enabled to write data to or read data from the common memory 5, while the CPU 3 is prohibited from accessing the common memory 5.

ここでCPU1は、共通メモリ5へのデータの書込み、
あるいは共通メモリ5からのデータの読出しを行なう。
Here, the CPU 1 writes data to the common memory 5,
Alternatively, data is read from the common memory 5.

次いで時刻t3においてCPUIが共通メモリ5へのア
クセスを完了すると、ゲート回路23の端子Cから出力
される信号は゛°0″信号となり、CPU1の端子HL
Dの信号が“′0″信号になるからCPU3に対する共
通メモリ5へのアクセス禁止要求が解除される。
Next, at time t3, when the CPUI completes access to the common memory 5, the signal output from the terminal C of the gate circuit 23 becomes the "°0" signal, and the terminal HL of the CPU1
Since the signal D becomes the "'0" signal, the request for inhibiting access to the common memory 5 to the CPU 3 is released.

次いで時刻t4になるとCPU3はこの禁止要求の解除
を受は付けて端子HLDAの信号を゛O″信号に復帰さ
せる。
Next, at time t4, the CPU 3 accepts the cancellation of this prohibition request and returns the signal at the terminal HLDA to the "O" signal.

この結果CPU1,3は共に時刻t1以前の状態と同一
の状態になる。
As a result, both CPUs 1 and 3 are in the same state as before time t1.

このようにこの第2図に示した構成によればCPU1と
CPU3とは共通メモリ5をお互いの動作を伺ら妨げる
ことなく、かつあたかも専用のメモリの如くに使用する
ことができる。
In this manner, according to the configuration shown in FIG. 2, the CPUs 1 and 3 can use the common memory 5 as if it were a dedicated memory without interfering with each other's operations.

次に、第1図に示したプロセス制御システムの全体の動
作について説明する。
Next, the overall operation of the process control system shown in FIG. 1 will be explained.

CPU1はメモリ2に格納されているプログラム(通常
のプログラム言語を用いて作成されたプログラム)に従
い、プリンタ12における印字、CRT13における表
示、上位コンピュータ14との情報の交換、デジタル入
出力装置10を介してのシーケンス制御以外に使用され
るデジタル信号の入出力、アナログ入出力装置11を介
してのシーケンス制御以外に使用されるアナログ信号の
入出力を行ないこのプロセスにおけるシーケンス制御以
外のすべてのデータ演算処理、プロセスデータの入出力
等の制御を行なう。
The CPU 1 performs printing on the printer 12, displaying on the CRT 13, exchanging information with the host computer 14, and communicating via the digital input/output device 10 in accordance with the program stored in the memory 2 (a program created using a normal programming language). Input/output of digital signals used for purposes other than sequence control, input/output of analog signals used for purposes other than sequence control via the analog input/output device 11, and perform all data calculation processing other than sequence control in this process. , controls input/output of process data, etc.

一方CPU3はメモリ4に格納されているプログラム(
シーケンス制御用言語を用いて作成されたプログラム)
に従い、デジタル入出力装置16、・・・およびアナロ
グ入出力装置17゜・・・を介してこのプロセス制御シ
ステムにおけるシーケンス制御のみを行なう。
On the other hand, the CPU 3 runs the program stored in the memory 4 (
program created using a sequence control language)
Accordingly, only sequence control in this process control system is performed via the digital input/output devices 16, . . . and analog input/output devices 17°, .

そしてこの場合、CPU1はCPU3から共通メモリ5
を介して必要な情報を読み込むことができ、またCPU
3はCPU1から共通メモリ5を介して必要な情報を読
み込むことができる。
In this case, CPU1 uses common memory 5 from CPU3.
The necessary information can be read through the CPU.
3 can read necessary information from the CPU 1 via the common memory 5.

このように、この実施例による演算制御装置を用いたプ
ロセス制御システムによれば、共通メモリ5に対するア
クセスが素速いので、通常のプログラム言語を用いて作
成されたプログラムと、シーケンス制御用言語を用いて
作成されたプログラムとをお互いの中央処理装置の動作
を何ら妨げることなく並列に実行させることができ、こ
れによりプロセス全体の制御を行なうことができる。
As described above, according to the process control system using the arithmetic control device according to this embodiment, access to the common memory 5 is quick, so that programs created using a normal programming language and a sequence control language can be used. It is possible to execute programs created in parallel with each other without interfering with the operations of each other's central processing units, thereby making it possible to control the entire process.

以上説明したように、この発明によれば、第1、第2の
中央処理装置が共有するコモンメモリへのアクセスを制
御するコモンメモリ制御回路において、前記第1の中央
処理装置が出力するアドレス情報が前記コモンメモリの
アドレス範囲にある時は前記アドレス情報が出力されて
いる間前記第2のCPUヘアクセス禁止要求を出力する
ゲート回路と、前記アクセス禁止要求が出力されると同
時に前記第1の中央処理装置を待期状態にし、かつ前記
第2の中央処理装置が前記アクセス禁止要求を受は入れ
て応答信号を出力すると前記第1の中央処理装置の待期
状態を解除する切換制御回路とを具備したので、極めて
簡単に構成することができるとともに、速い応答性を得
ることができる。
As explained above, according to the present invention, in the common memory control circuit that controls access to the common memory shared by the first and second central processing units, address information output by the first central processing unit is within the address range of the common memory, a gate circuit outputs an access prohibition request to the second CPU while the address information is being output; a switching control circuit that puts the central processing unit in a standby state and releases the first central processing unit from the standby state when the second central processing unit accepts the access prohibition request and outputs a response signal; Since it is equipped with the following, it is possible to configure it extremely easily and to obtain fast response.

また、各中央処理装置におけるプログラム上の負担が全
くないので、システムが作り易い利点が得られる。
Furthermore, since there is no burden on the program in each central processing unit, there is an advantage that the system is easy to create.

したがって、2つの中央処理装置に互いに異なる種類の
プログラム言語を用いて作成された複数のプログラムを
並列に実行させる場合などは特に有効である。
Therefore, it is particularly effective when two central processing units are made to execute in parallel a plurality of programs created using different types of programming languages.

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

第1図はこの発明の一実施例をプロセス制御システムに
適用した場合の構成例を示すブロック図、第2図は同実
施例における演算制御装置の詳細を示す構成図、第3図
は同実施例を説明するためのタイムチャートである。 1・・・・・・第1の中央処理装置、1 a 、 3a
・・・・・・共通メモリコントローラ(コモンメモリ制
御回路)、3・・・・・・第2の中央処理装置、5・・
・・・・共通メモリ(コモンメモリ)、23・・・・・
・ゲート回路、24・・・・・・フリップフロップ(切
換制御回路)。
FIG. 1 is a block diagram showing a configuration example when an embodiment of the present invention is applied to a process control system, FIG. 2 is a block diagram showing details of an arithmetic and control device in the same embodiment, and FIG. It is a time chart for explaining an example. 1...First central processing unit, 1a, 3a
...Common memory controller (common memory control circuit), 3...Second central processing unit, 5...
...Common memory (common memory), 23...
- Gate circuit, 24...Flip-flop (switching control circuit).

Claims (1)

【特許請求の範囲】[Claims] 1 第1、第2の中央処理装置が共有するコモンメモリ
へのアクセスを制御するコモンメモリ制御回路において
、前記第1の中央処理装置が出力するアドレス情報が前
記コモンメモリのアドレス範囲にある時は前記アドレス
情報が出力されている間前記第2のCPUヘアクセス禁
止要求を出力するゲート回路と、前記アクセス禁止要求
が出力されると同時に前記第1の中央処理装置を待期状
態にし、かつ前記第2の中央処理装置が前記アクセス禁
止要求を受は入れて応答信号を出力すると前記第1の中
央処理装置の待期状態を解除する切換制御回路とを具備
することを特徴とするコモンメモリ制御回路。
1. In a common memory control circuit that controls access to a common memory shared by first and second central processing units, when the address information output by the first central processing unit is within the address range of the common memory, a gate circuit that outputs an access prohibition request to the second CPU while the address information is output; and a gate circuit that puts the first central processing unit in a standby state at the same time as the access prohibition request is output; Common memory control characterized by comprising a switching control circuit that releases the standby state of the first central processing unit when the second central processing unit accepts the access prohibition request and outputs a response signal. circuit.
JP12205781A 1981-08-04 1981-08-04 Common memory control circuit Expired JPS5855536B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12205781A JPS5855536B2 (en) 1981-08-04 1981-08-04 Common memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12205781A JPS5855536B2 (en) 1981-08-04 1981-08-04 Common memory control circuit

Publications (2)

Publication Number Publication Date
JPS5822470A JPS5822470A (en) 1983-02-09
JPS5855536B2 true JPS5855536B2 (en) 1983-12-10

Family

ID=14826547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12205781A Expired JPS5855536B2 (en) 1981-08-04 1981-08-04 Common memory control circuit

Country Status (1)

Country Link
JP (1) JPS5855536B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0760330B2 (en) * 1986-06-14 1995-06-28 三菱電機株式会社 Combined control device
US4831582A (en) * 1986-11-07 1989-05-16 Allen-Bradley Company, Inc. Database access machine for factory automation network

Also Published As

Publication number Publication date
JPS5822470A (en) 1983-02-09

Similar Documents

Publication Publication Date Title
US4380798A (en) Semaphore register including ownership bits
US4056847A (en) Priority vector interrupt system
US4177511A (en) Port select unit for a programmable serial-bit microprocessor
JPS6143345A (en) Memory device
JPS5855536B2 (en) Common memory control circuit
US4814977A (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfers
JPH0752409B2 (en) Process controller Single memory chip Shadowing technology
JPS59229662A (en) Common memory control circuit
JPS605029B2 (en) Operation management device for multiple computer systems
JPS603049A (en) Bus interface apparatus
JPH053018B2 (en)
JPH0683765A (en) Microcomputer
JPS6113628B2 (en)
JPH02207363A (en) Data transfer system, device controller, and memory controller
JPS59165171A (en) Individual resetting system of multiprocessor system
JPS6214866B2 (en)
JPS63196968A (en) Input/output controller
JPH0724044B2 (en) Computer system with DMA access
JPH04330549A (en) Controller
JPH0642229B2 (en) Information processing equipment
JPH044465A (en) System for controlling access to memory
JPH0635845A (en) Access control circuit device
JPH06103154A (en) Shared memory controller
JPS5921062B2 (en) Memory contention control method
JPH02302861A (en) Information processor