JPH06202894A - Shared memory control circuit - Google Patents

Shared memory control circuit

Info

Publication number
JPH06202894A
JPH06202894A JP4257870A JP25787092A JPH06202894A JP H06202894 A JPH06202894 A JP H06202894A JP 4257870 A JP4257870 A JP 4257870A JP 25787092 A JP25787092 A JP 25787092A JP H06202894 A JPH06202894 A JP H06202894A
Authority
JP
Japan
Prior art keywords
shared memory
circuit
data
control circuit
memory control
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
JP4257870A
Other languages
Japanese (ja)
Inventor
Chikara Suzuki
主税 鈴木
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4257870A priority Critical patent/JPH06202894A/en
Publication of JPH06202894A publication Critical patent/JPH06202894A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To speed up the processing on the shared memory circuit and to reduce the occupancy time of the shared memory circuit by providing plural control sections controlling device to be controlled according to the instructions of a high order device. CONSTITUTION:The circuit is provided with plural control sections 10 and 20 controlling device 2 to be controlled according to the instructions of a high order device 1. The control sections 10 and 20 include processor circuits 11 and 21, shared memory circuits 12 and 22, shared memory circuits 13 and 23. When it receives an asynchronous write instruction from the processor circuit 11, it instructs the data writing in the shared memory circuit 13 and instructs the data storage in the shared memory control circuit 22. When it receives a synchronous writing instruction from the processor 11, it instructs the data writing in the shared memory circuit 13 and instructs the shared memory control circuit 22 to write the data and the data already stored in the shared memory circuit 23. When the writing only in an own system shared memory circuit is completed by the asynchronous writing instruction, the next processing can be performed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は複数プロセッサがアクセ
ス可能な共有メモリ回路に関し、特に共有メモリ制御回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shared memory circuit accessible by a plurality of processors, and more particularly to a shared memory control circuit.

【0002】[0002]

【従来の技術】従来、磁気ディスク装置などを被制御装
置とする情報処理システムでは、同一の被制御装置に対
して複数の制御部を備えて構成されることがある。すな
わち、このようにして情報処理システムの処理能力を増
大させるとともに、被制御装置を含む情報処理システム
全体の信頼性の向上を期している。
2. Description of the Related Art Conventionally, in an information processing system in which a controlled device is a magnetic disk device or the like, a plurality of control units may be provided for the same controlled device. That is, in this way, the processing capability of the information processing system is increased and the reliability of the entire information processing system including the controlled device is improved.

【0003】上記の複数の制御部は同一の被制御装置を
制御するために制御データを共有する必要があり、各制
御部に設けた共有メモリ回路には共通の制御データを保
持するようにしている。
It is necessary for the plurality of control units to share control data in order to control the same controlled device, and the shared memory circuit provided in each control unit holds common control data. There is.

【0004】図4は#1系および#2系の各制御部がそ
れぞれの共有メモリ回路にデータを書込む場合の動作を
示す説明図である。同図において#1系制御部が動作し
て共有メモリ回路にデータを書込む指示を発生したとき
(41)、#1系制御部はそのデータを#2系制御部に
転送し(42)、それぞれの共有メモリ回路にデータの
書込みを指示する(43)。そして#1系制御部は#1
系自身の共有メモリ回路にデータの書込みを実行し(4
4,45)、#2系制御部からの書込み終了通知を待つ
(46)。
FIG. 4 is an explanatory diagram showing the operation when each control unit of the # 1 system and the # 2 system writes data in the respective shared memory circuits. In the figure, when the # 1 system control unit operates to generate an instruction to write data in the shared memory circuit (41), the # 1 system control unit transfers the data to the # 2 system control unit (42), Data writing is instructed to each shared memory circuit (43). And the # 1 system controller is # 1
Write data to the shared memory circuit of the system itself (4
4, 45), and waits for a write end notification from the # 2 system control unit (46).

【0005】#2系制御部はデータおよび書込み指示を
#1系制御部から受信したとき(48,49)、#2系
自身の共有メモリ回路にデータを書込み(50,5
1)、書込み終了通知を#1系制御部に送出する。
When the # 2 system controller receives the data and the write instruction from the # 1 system controller (48, 49), it writes the data to the shared memory circuit of the # 2 system itself (50, 5).
1), a write end notification is sent to the # 1 system control unit.

【0006】#1系制御部は#2系制御部における書込
み動作の終了を確認した後、次のマイクロ命令を実行す
る(46,47)。
After confirming the end of the write operation in the # 2 system control unit, the # 1 system control unit executes the next microinstruction (46, 47).

【0007】上記のように各系の制御部に設けられた共
有メモリ制御回路は、共有メモリ回路の書き込みアドレ
ス及び書き込みデータの制御及び書き込み動作制御を行
う。アドレス及びデータは、自系からの書き込みであれ
ばプロセッサ回路からの書き込みにより、他系からの書
き込みであれば他系の共有メモリ制御回路から転送され
てきたデータが書き込まれる。すなわち、従来の書込み
処理は上記のような同期書込み処理である。
The shared memory control circuit provided in the control section of each system as described above controls the write address and write data of the shared memory circuit and controls the write operation. The address and the data are written by the processor circuit when writing from the own system, and the data transferred from the shared memory control circuit of the other system is written when writing from another system. That is, the conventional writing process is the synchronous writing process as described above.

【0008】[0008]

【発明が解決しようとする課題】上述した従来の共有メ
モリ制御回路では、書き込み動作が発生した場合両共有
メモリ回路に対して書き込みを行うので、毎回書き込み
終了が自系及び他系から報告されないと書き込み動作を
行ったプロセッサは次の処理を開始できない。また、そ
のためファームウェア処理が遅くなるという欠点があっ
た。
In the above-mentioned conventional shared memory control circuit, since writing is performed to both shared memory circuits when a write operation occurs, the write completion must be reported from the own system and other systems every time. The processor that has performed the write operation cannot start the next processing. Moreover, there is a drawback that the firmware processing becomes slower.

【0009】[0009]

【課題を解決するための手段】本発明の共有メモリ制御
回路は、上位装置の指示に従って被制御装置を制御する
複数の制御部を有し、前記制御部はプロセッサ回路と共
有メモリ制御回路と共有メモリ回路とをそれぞれ含み、
第一のプロセッサ回路から非同期書込み指示を受けたと
きには第一の共有メモリ回路にデータの書込みを指示す
ると共に第二の共有メモリ制御回路に前記データの格納
を指示し、前記第一のプロセッサ回路から同期書込み指
示を受けたときには前記第一の共有メモリ回路にデータ
の書込みを指示すると共に前記データおよび既に格納し
ているデータを第二の共有メモリ回路に書込むことを前
記第二の共有メモリ制御回路に指示するようにして構成
されている。
A shared memory control circuit according to the present invention has a plurality of control units for controlling a controlled device according to an instruction from a host device, and the control units share a processor circuit and a shared memory control circuit. Each including a memory circuit,
When the asynchronous write instruction is received from the first processor circuit, the first shared memory circuit is instructed to write the data, and the second shared memory control circuit is instructed to store the data. When receiving the synchronous write instruction, instructing the first shared memory circuit to write the data, and writing the data and the already stored data to the second shared memory circuit, the second shared memory control It is configured to instruct the circuit.

【0010】また、本発明の共有メモリ制御回路におい
て、第一の共有メモリ制御回路が転送したデータを格納
する第二の共有メモリ制御回路はFIFO回路を具備
し、前記データを前記FIFO回路に保持するようにし
て構成されている。
In the shared memory control circuit of the present invention, the second shared memory control circuit for storing the data transferred by the first shared memory control circuit has a FIFO circuit, and the data is held in the FIFO circuit. It is configured to do.

【0011】[0011]

【実施例】次に本発明について図面を参照しながら説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0012】図1は本発明の一実施例を示す構成図であ
る。同図において本発明による共有メモリ制御回路12
および22は#1制御部10および#2制御部20にそ
れぞれ含まれている。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, the shared memory control circuit 12 according to the present invention is shown.
And 22 are included in the # 1 control unit 10 and the # 2 control unit 20, respectively.

【0013】#1制御部10および#2制御部20は上
位装置1の指示に従って被制御装置2を制御する。すな
わち、被制御装置2が磁気ディスク装置であれば、上位
装置1が送出する情報を被制御装置2に書込んだり読出
したりする処理動作を制御する。
The # 1 control unit 10 and the # 2 control unit 20 control the controlled device 2 according to an instruction from the host device 1. That is, when the controlled device 2 is a magnetic disk device, it controls the processing operation of writing and reading the information sent from the higher-level device 1 to the controlled device 2.

【0014】#1制御部10は、上記の処理動作を制御
するプロセッサ回路11と,メモリICからなる共有メ
モリ回路13と,プロセッサ回路11からのマイクロ命
令または#2制御部20の共有メモリ制御回路22から
の指示により共有メモリ回路13の制御を行う共有メモ
リ制御回路12とにより構成されている。また、同様に
して#2制御部20は、プロセッサ回路21と,メモリ
ICからなる共有メモリ回路23と,プロセッサ回路2
1からのマイクロ命令または#1制御部10の共有メモ
リ制御回路12からの指示により共有メモリ回路23の
制御を行う共有メモリ制御回路22とにより構成されて
いる。
The # 1 control unit 10 includes a processor circuit 11 for controlling the above processing operation, a shared memory circuit 13 including a memory IC, a micro instruction from the processor circuit 11 or a shared memory control circuit of the # 2 control unit 20. The shared memory control circuit 12 controls the shared memory circuit 13 in accordance with an instruction from 22. Similarly, the # 2 control unit 20 includes a processor circuit 21, a shared memory circuit 23 including a memory IC, and a processor circuit 2.
The shared memory control circuit 22 controls the shared memory circuit 23 in response to a micro instruction from 1 or an instruction from the shared memory control circuit 12 of the # 1 control unit 10.

【0015】図2は共有メモリ制御回路12の構成を示
す説明図である。同図において共有メモリ制御回路12
の主要部は、シーケンス制御回路12aと,アドレスF
IFO回路12bと,データFIFO回路12cとを有
する。
FIG. 2 is an explanatory diagram showing the configuration of the shared memory control circuit 12. In the figure, the shared memory control circuit 12
Of the sequence control circuit 12a and the address F
It has an IFO circuit 12b and a data FIFO circuit 12c.

【0016】シーケンス制御回路12aは同期信号を入
力したとき共有メモリ回路書込み信号を送出し、同時に
アドレスFIFO回路12bから書込みアドレス,デー
タFIFO回路12cから書込みデータを共有メモリ回
路13に送出して書込み動作を実行する。さらに、#2
制御部20から転送されて来たデータを共有メモリ制御
回路12に書込む。
The sequence control circuit 12a sends a shared memory circuit write signal when a synchronizing signal is input, and at the same time, sends a write address from the address FIFO circuit 12b and write data from the data FIFO circuit 12c to the shared memory circuit 13 to perform a write operation. To execute. In addition, # 2
The data transferred from the control unit 20 is written in the shared memory control circuit 12.

【0017】また、シーケンス制御回路12aは非同期
信号を入力したとき終了信号を送出し、アドレスFIF
O回路12bおよびデータFIFO回路12cの内容を
そのまま保持する。
Further, the sequence control circuit 12a sends an end signal when the asynchronous signal is inputted, and the address FIF
The contents of the O circuit 12b and the data FIFO circuit 12c are retained as they are.

【0018】なお、共有メモリ制御回路22も上記と同
様にして構成されている。
The shared memory control circuit 22 is also constructed in the same manner as above.

【0019】図3は上記の共有メモリ制御回路における
非同期書込みの動作を示す説明図である。同図におい
て、プロセッサ回路1からのマイクロ命令をデコードし
そのマイクロ命令が非同期書込み指示であると、共有メ
モリ制御回路12は#1系の共有メモリ回路13への書
き込みを指示し、#2系の共有メモリ制御回路22に書
込みデータを転送する(31,32,33)。
FIG. 3 is an explanatory diagram showing an asynchronous write operation in the shared memory control circuit. In the figure, when the micro instruction from the processor circuit 1 is decoded and the micro instruction is an asynchronous write instruction, the shared memory control circuit 12 instructs the shared memory circuit 13 of the # 1 system to write, and the shared memory control circuit 12 of the # 2 system. The write data is transferred to the shared memory control circuit 22 (31, 32, 33).

【0020】共有メモリ制御回路22は、内部にあるレ
ジスタ(FIFO回路)に上記の書き込みデータを格納
する(37)。
The shared memory control circuit 22 stores the write data in the internal register (FIFO circuit) (37).

【0021】また、共有メモリ制御回路12は共有メモ
リ回路13へデータを書込み、その終了を待って次の処
理を行う(34,35,36)。すなわち、#2系の共
有メモリ回路23への書込みを実行せずに#1系のプロ
セッサ回路11は次の処理を実行できる。
Further, the shared memory control circuit 12 writes the data in the shared memory circuit 13, waits for the end thereof, and then performs the next processing (34, 35, 36). That is, the processor circuit 11 of the # 1 system can execute the following processing without writing to the shared memory circuit 23 of the # 2 system.

【0022】他方、プロセッサ回路11からのマイクロ
命令をデコードして本マイクロ命令が同期書込みである
と、#1系の共有メモリ制御回路12は本データを共有
メモリ回路13に書込み、また、#2系共有メモリ制御
回路22に対して本データの書込みを指示すると同時に
共有メモリ制御回路22の内部レジスタに格納されてい
るデータを共有メモリ回路23に書込むことを指示す
る。
On the other hand, if the microinstruction from the processor circuit 11 is decoded and this microinstruction is synchronous writing, the # 1 system shared memory control circuit 12 writes this data to the shared memory circuit 13 and # 2. The system shared memory control circuit 22 is instructed to write this data, and at the same time, the data stored in the internal register of the shared memory control circuit 22 is instructed to be written to the shared memory circuit 23.

【0023】共有メモリ制御回路22は、本データの書
込み及び格納されていたデータの書込みを行い、共有メ
モリ回路23に対する書込み終了時に#1系の共有メモ
リ制御回路12に書込み終了を通知する。共有メモリ制
御回路12は、#2系からの書込み終了と#1系の書込
み終了を確認して書込み終了をプロセッサ回路11に報
告する。
The shared memory control circuit 22 writes the main data and the stored data, and notifies the # 1 system shared memory control circuit 12 of the completion of the writing when the writing to the shared memory circuit 23 is completed. The shared memory control circuit 12 confirms the end of writing from the # 2 system and the end of writing in the # 1 system, and reports the end of writing to the processor circuit 11.

【0024】なお、#2制御部20の共有メモリ制御回
路22も上記と同様に動作する。
The shared memory control circuit 22 of the # 2 controller 20 operates in the same manner as above.

【0025】上記のようにして各プロセッサ回路からの
マイクロ命令により、同期/非同期書込み指示を判断
し、非同期書き込みであると自系の共有メモリ回路に対
するデータ書込みが終了した時点でプロセッサ回路に書
込み終了報告が行われるので、プロセッサ回路は本終了
報告を待って次のファームウェア処理を行うことが可能
となる。
As described above, the micro-instruction from each processor circuit determines the synchronous / asynchronous write instruction, and if it is asynchronous write, the writing to the processor circuit ends when the data writing to the shared memory circuit of its own system ends. Since the report is made, the processor circuit can wait for the completion report and perform the next firmware process.

【0026】[0026]

【発明の効果】以上説明したように本発明は、非同期書
き込み指示により自系共有メモリ回路のみの書き込みが
完了すれば次の処理を行うことができる。したがって共
有メモリ回路に関する処理を高速化するとともに、共有
メモリ回路の占有時間を少なくできるという効果があ
る。
As described above, according to the present invention, the following processing can be performed if the writing of only the own system shared memory circuit is completed by the asynchronous writing instruction. Therefore, there is an effect that the processing related to the shared memory circuit can be speeded up and the occupied time of the shared memory circuit can be reduced.

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

【図1】本発明の一実施例を示す構成図。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】共有メモリ制御回路の構成を示す説明図。FIG. 2 is an explanatory diagram showing a configuration of a shared memory control circuit.

【図3】非同期書込みの動作を示す説明図。FIG. 3 is an explanatory diagram showing an operation of asynchronous writing.

【図4】同期書込みの動作を示す説明図。FIG. 4 is an explanatory diagram showing a synchronous writing operation.

【符号の説明】[Explanation of symbols]

1 上位装置 2 被制御装置 10,20 制御部 11,21 プロセッサ回路 12,22 共有メモリ制御回路 12a シーケンス制御回路 12b アドレスFIFO回路 12c データFIFO回路 13,23 共有メモリ回路 DESCRIPTION OF SYMBOLS 1 Upper device 2 Controlled device 10,20 Control part 11,21 Processor circuit 12,22 Shared memory control circuit 12a Sequence control circuit 12b Address FIFO circuit 12c Data FIFO circuit 13,23 Shared memory circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 上位装置の指示に従って被制御装置を制
御する複数の制御部を有し、前記制御部はプロセッサ回
路と共有メモリ制御回路と共有メモリ回路とをそれぞれ
含み、第一のプロセッサ回路から非同期書込み指示を受
けたときには第一の共有メモリ回路にデータの書込みを
指示すると共に第二の共有メモリ制御回路に前記データ
の格納を指示し、前記第一のプロセッサ回路から同期書
込み指示を受けたときには前記第一の共有メモリ回路に
データの書込みを指示すると共に前記データおよび既に
格納しているデータを第二の共有メモリ回路に書込むこ
とを前記第二の共有メモリ制御回路に指示することを特
徴とする共有メモリ制御回路。
1. A plurality of control units for controlling a controlled device according to an instruction from a host device, wherein the control units include a processor circuit, a shared memory control circuit, and a shared memory circuit, respectively. When receiving the asynchronous write instruction, the first shared memory circuit is instructed to write the data, the second shared memory control circuit is instructed to store the data, and the synchronous write instruction is received from the first processor circuit. Occasionally, instructing the first shared memory circuit to write data and instructing the second shared memory control circuit to write the data and the already stored data in the second shared memory circuit. Characteristic shared memory control circuit.
【請求項2】 請求項1記載の共有メモリ制御回路にお
いて、第一の共有メモリ制御回路が転送したデータを格
納する第二の共有メモリ制御回路はFIFO回路を具備
し、前記データを前記FIFO回路に保持することを特
徴とする共有メモリ制御回路。
2. The shared memory control circuit according to claim 1, wherein the second shared memory control circuit for storing the data transferred by the first shared memory control circuit comprises a FIFO circuit, and the data is transferred to the FIFO circuit. A shared memory control circuit, characterized in that
JP4257870A 1992-09-28 1992-09-28 Shared memory control circuit Pending JPH06202894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4257870A JPH06202894A (en) 1992-09-28 1992-09-28 Shared memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4257870A JPH06202894A (en) 1992-09-28 1992-09-28 Shared memory control circuit

Publications (1)

Publication Number Publication Date
JPH06202894A true JPH06202894A (en) 1994-07-22

Family

ID=17312324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4257870A Pending JPH06202894A (en) 1992-09-28 1992-09-28 Shared memory control circuit

Country Status (1)

Country Link
JP (1) JPH06202894A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0997219A (en) * 1995-09-29 1997-04-08 Nec Corp Backup circuit
JP2003323263A (en) * 2002-04-30 2003-11-14 Hitachi Ltd Common memory control method and control system
JP2008022228A (en) * 2006-07-12 2008-01-31 Fujitsu Ltd Semiconductor memory and information processor therewith
JP2014523010A (en) * 2011-12-14 2014-09-08 株式会社日立製作所 Storage apparatus and memory control method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01159740A (en) * 1987-12-17 1989-06-22 Yokogawa Electric Corp Duplex computer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01159740A (en) * 1987-12-17 1989-06-22 Yokogawa Electric Corp Duplex computer system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0997219A (en) * 1995-09-29 1997-04-08 Nec Corp Backup circuit
JP2003323263A (en) * 2002-04-30 2003-11-14 Hitachi Ltd Common memory control method and control system
JP2008022228A (en) * 2006-07-12 2008-01-31 Fujitsu Ltd Semiconductor memory and information processor therewith
JP2014523010A (en) * 2011-12-14 2014-09-08 株式会社日立製作所 Storage apparatus and memory control method thereof

Similar Documents

Publication Publication Date Title
JPH01277928A (en) Printer
JPH06202894A (en) Shared memory control circuit
JPH0341856B2 (en)
JP2000227895A (en) Device and method for transferring image data
JP2577604Y2 (en) Image memory and data processing device
JP2821176B2 (en) Information processing device
JP2522412B2 (en) Communication method between programmable controller and input / output device
JPH03241442A (en) Store buffer control system
JP2638505B2 (en) Bus interface device
JPH05189357A (en) Method and device for data chaining control
JPS6343784B2 (en)
JPH0621984B2 (en) Micro program load method
JPH054694B2 (en)
JPH0512221A (en) Data exchange speeding up system between multi cpu
JPH05204830A (en) Input/output controller
JPH06103154A (en) Shared memory controller
JPH07175744A (en) Channel control system
JPH03110681A (en) Continuous read processing method for image information
JPH0381854A (en) Memory access system
JPS62196730A (en) Stage control system for data processor
JPS61166670A (en) Bus switching system for service processor
JPH02299014A (en) Data copying/comparing system
JPH10326155A (en) Time slot generation device and its action confirming method
JPH02136949A (en) Input/output controller
JPH02307149A (en) Direct memory access control system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19950620