JPS6116101B2 - - Google Patents

Info

Publication number
JPS6116101B2
JPS6116101B2 JP55090375A JP9037580A JPS6116101B2 JP S6116101 B2 JPS6116101 B2 JP S6116101B2 JP 55090375 A JP55090375 A JP 55090375A JP 9037580 A JP9037580 A JP 9037580A JP S6116101 B2 JPS6116101 B2 JP S6116101B2
Authority
JP
Japan
Prior art keywords
memory
memory access
signal
central processing
circuit
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
JP55090375A
Other languages
Japanese (ja)
Other versions
JPS5715299A (en
Inventor
Teruaki Takegawa
Akihiko Suzuki
Kenichi Naka
Joichi Futaki
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.)
Panafacom Ltd
Original Assignee
Panafacom 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 Panafacom Ltd filed Critical Panafacom Ltd
Priority to JP9037580A priority Critical patent/JPS5715299A/en
Publication of JPS5715299A publication Critical patent/JPS5715299A/en
Publication of JPS6116101B2 publication Critical patent/JPS6116101B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Description

【発明の詳細な説明】 本発明は、二重化メモリのメモリアクセス制御
方式に関し、特に、複数の中央処理装置と、該複
数の中央処理装置から共通にアクセスされる二重
化されたメモリ装置とをそなえるデータ処理シス
テムにおいて、通常は両系のメモリ装置において
メモリアクセス要求を受付た中央処理装置の同期
をとりつつ処理を進め、片系の電源障害時は、も
う一方の正常な系のみで動作を行ない、電源の投
入・切断および電源障害時の動作を保証するよう
にしたメモリアクセス制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory access control method for a duplex memory, and in particular, to a memory access control method for a duplex memory, and in particular, to a memory access control system for a duplex memory, and in particular to a memory access control method for controlling data access control, which includes a plurality of central processing units and a duplex memory device commonly accessed by the plurality of central processing units. In a processing system, processing normally proceeds while synchronizing the central processing units that have received memory access requests in the memory devices of both systems, and in the event of a power failure in one system, only the other normal system operates. This invention relates to a memory access control method that guarantees operation when power is turned on/off and when a power failure occurs.

複数の中央処理装置(CPU)を有するマルチ
プロセツサシステムにおいて、システムの信頼性
を向上させるためにメモリを二重化する場合があ
るその場合、一方のメモリに障害が生じて、他方
のメモリに切替えるとき、一般には、中央処理装
置からのアクセスを中断して切替動作を行なうよ
うにしている。しかしながら、オンラインシステ
ム等で運用されるデータ処理システムにおいて
は、アクセスの中断は望ましくなく、中央処理装
置からのアクセス中も、二重系の内の片系の電源
投入、切断が行なえることが必要とされる。ま
た、電源障害もアクセスとは非同期に発生するの
で、障害によつて電源が切断される場合にも、メ
モリ・システムとして片肺運動が可能でなければ
ならない。
In multiprocessor systems with multiple central processing units (CPUs), memory may be duplicated to improve system reliability. In such cases, when one memory fails and the other memory is switched to. Generally, the switching operation is performed by interrupting access from the central processing unit. However, in a data processing system operated as an online system, interruption of access is not desirable, and it is necessary to be able to power on and off one of the dual systems even during access from the central processing unit. It is said that Furthermore, since power failures also occur asynchronously with access, the memory system must be able to operate with one lung even if the power is cut off due to a failure.

本発明は、二重化された共通メモリに対して中
央処理装置からのアクセスを止めずに、片系の電
源の投入・切断を可能にすることによつて、メモ
リ・システムの処理の連続性を保証し、システム
の保守性、可能性を高めることを目的とし、そし
てそのため本発明は、複数の中央処理装置と、該
複数の中央処理装置から共通にアクセスされる二
重化されたメモリ装置とをそなえるデータ処理シ
ステムにおいて、上記各メモリ装置に、自系電源
の切断または異常を示す電源異常信号を他系メモ
リ装置へ送出する回路と、上記複数の中央処理装
置からのメモリアクセス要求を選択するメモリア
クセス要求選択回路と、該メモリアクセス要求選
択回路で選択された中央処理装置の識別情報を他
系へ送出するとともに自系および他系の該中央処
理装置識別情報と他系からの上記電源異常信号と
にもとづいて自系メモリへのメモリアクセスを制
御するメモリアクセス選択同期制御回路とをそな
え、他系電源異常時および他系電源が正常状態に
せしめられてから所定の期間は他系からの上記中
央処理装置識別情報に関係なくメモリアクセスを
行ない得るようにし、上記所定期間経過後は両系
の上記中央処理装置識別情報にもとづいてメモリ
アクセスを行なうことを特徴とする。
The present invention guarantees the continuity of processing in a memory system by making it possible to turn on and off power to one system without stopping access from the central processing unit to the duplex common memory. It is an object of the present invention to improve the maintainability and possibility of the system, and for this purpose, the present invention provides a data processing system that includes a plurality of central processing units and a duplex memory device that is commonly accessed by the plurality of central processing units. In the processing system, each of the memory devices includes a circuit that sends a power abnormality signal to other memory devices indicating that the power supply of the own system is disconnected or abnormal, and a memory access request that selects memory access requests from the plurality of central processing units. A selection circuit and the memory access request selection circuit send the identification information of the central processing unit selected by the memory access request selection circuit to the other system, and the identification information of the central processing unit of the own system and the other system and the power abnormality signal from the other system. It is equipped with a memory access selection synchronization control circuit that controls memory access to the own system's memory, and the above-mentioned central processing from the other system is performed when there is an abnormality in the power supply of the other system and for a predetermined period after the power supply of the other system is brought into a normal state. The present invention is characterized in that memory access can be performed regardless of device identification information, and after the predetermined period has elapsed, memory access is performed based on the central processing unit identification information of both systems.

以下、本発明を図面により説明する。第1図
は、本発明が適用される実施例のデータ処理シス
テムのブロツク図であり、図中、1〜4は中央処
理装置(CPU)、5と6はメモリ・コントロー
ラ、7と8はメモリ・アレイ、9と10は電源ユ
ニツトである。第1図において、メモリ・コント
ローラ5、メモリ・アレイ7、電源ユニツト9が
一方のメモリ装置A系を構成し、メモリ・コント
ローラ6、メモリ・アレイ8、電源ユニツト10
が他方のメモリ装置B系を構成している。また、
メモリ・コントローラ5,6は、複数の中央処理
装置からのアクセス要求の受付を制御する競合制
御部11,12と、メモリのステータス及びエラ
ー情報等を保持するレジスタ、データチエツク回
路、プロテクシヨン機能部等を有する回路部1
3,14と、メモリ・アレイへのアクセスを制御
するメモリ制御部17,18と、両系間の同期制
御を行なう同期制御部15,16とから構成され
ている。本発明は、メモリ・コントローラ5,6
の構成に特徴を有するものであり、その動作を以
下に、説明する。第2図は、電源状態信号の接続
図であり、図中、5,6,9,10は第1図と同
一のもの、20と21は遅延回路、22と23は
フリツプフロツプ、24〜27はアンド回路、2
8と29はナンド回路、30〜33はインバー
タ、CUT信号は電源ユニツトからの第1予告信
号、INHは第2予告信号、PWFXは自系電源異常
を示す信号、PWFYは他系電源異常を示す信号、
CKはクロツク信号、Aはメモリコントローラが
シーケンス中(CPUサービス要求の処理中)で
ないことを示す信号である。第3図は、電源投
入・切断のタイムチヤートであり、まず、A系の
+5Vが電源投入され、電源ユニツト9からの+
5Vの保証を示すCUT信号がメモリ・コントロー
ラ5へ送出されると、メモリ・コントローラ5は
共通メモリとしての動作を開始する。その後、B
系の電源が投入されるが、同じく電源ユニツト1
0からのCUT信号によつて+5Vの保証がされた
後、共通メモリとして動作を開始し、後述するよ
うに、両系の選択同期動作の一致をとつた後に、
二重化メモリは同期運転に入る。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram of a data processing system according to an embodiment to which the present invention is applied. In the figure, 1 to 4 are central processing units (CPUs), 5 and 6 are memory controllers, and 7 and 8 are memories. - Arrays 9 and 10 are power supply units. In FIG. 1, a memory controller 5, a memory array 7, and a power supply unit 9 constitute one memory device A system, and a memory controller 6, a memory array 8, a power supply unit 10
constitutes the other memory device B system. Also,
The memory controllers 5 and 6 include contention control units 11 and 12 that control reception of access requests from multiple central processing units, registers that hold memory status and error information, etc., a data check circuit, and a protection function unit. Circuit section 1 having etc.
3 and 14, memory control units 17 and 18 that control access to the memory array, and synchronization control units 15 and 16 that perform synchronization control between both systems. The present invention provides memory controllers 5, 6
It is characterized by its configuration, and its operation will be explained below. FIG. 2 is a connection diagram of power supply status signals, in which 5, 6, 9, and 10 are the same as in FIG. 1, 20 and 21 are delay circuits, 22 and 23 are flip-flops, and 24 to 27 are AND circuit, 2
8 and 29 are NAND circuits, 30 to 33 are inverters, CUT signal is the first notice signal from the power supply unit, INH is the second notice signal, PWFX is a signal indicating an abnormality in the power supply of the own system, and PWFY indicates an error in the power supply of another system. signal,
CK is a clock signal, and A is a signal indicating that the memory controller is not in sequence (processing a CPU service request). Figure 3 is a time chart of power on/off. First, +5V of A system is turned on, and +5V from power supply unit 9
When the CUT signal indicating the guarantee of 5V is sent to the memory controller 5, the memory controller 5 starts operating as a common memory. After that, B
The system is powered on, but power supply unit 1
After +5V is guaranteed by the CUT signal from 0, it starts operating as a common memory, and as described later, after the selection synchronization operations of both systems are matched,
The duplex memory enters synchronous operation.

一方、電源の切断時においては、例えば、A系
の電源が切断されると、電源ユニツト9から第1
予告信号(CUT信号)“オフ”がメモリ・コント
ローラ5へ送出される。なお、電源障害時におい
ても、図示しないアラーム検出回路から上記
CUT信号“オフ”が送出される。メモリ・コン
トローラ5は、CUT信号“オフ”を遅延させた
第2予告信号(INM信号)“オフ”を作り出す。
この遅延時間は、電源ユニツトの出力ホールドア
ツプ時間以内とされる。そして、メモリ・コント
ローラ5はすべてのシーケンスを遅延時間内に終
了するようにして、CUT信号“オフ”を受信し
たことにより、実行中のシーケンスを正常終了さ
せて、その後INH信号“オフ”によつて中央処理
装置および他系とのインターフエース・ドライバ
回路(例えば、ナンド回路28,29からなるド
ライバ回路等)の入力をおさえることによりイン
タフエース上にノイズを出さぬようにする。すな
わち、 電源ユニツト9または10の異常により、電源
が5Vより0Vへ落ちる際、ナンド回路(ドライバ
回路)28または29よりノイズが出て正常系メ
モリコントローラの信号PWFXがオンしないよう
に、ナンド回路(ドライバ回路)28または29
に*INF信号を入力している。以後、B系のみの
片肺運転が可能なモードに切替えられる。上記し
たように、電源異常予告信号(CUT)は遅延回
路で一定時間遅延されてINHX信号となるが、こ
れは電源異常が起きた時点で動作中のシーケンス
を正常終了させるためであり、そのシーケンス終
了後は他系を電源異常とし電源異常の系を切離す
必要がある。そのためメモリコントローラは
CUT信号を受取つた後、シーケンス中でない場
合またはその時点のシーケンスが終了した場合、
クロツク信号によつてCUT信号をフリツプフロ
ツプにセツトし、PWFY(他系電源異常)として
いる。
On the other hand, when the power is cut off, for example, when the A system power is cut off, the first
A warning signal (CUT signal) “off” is sent to the memory controller 5. In addition, even in the event of a power failure, the alarm detection circuit (not shown)
CUT signal “off” is sent. The memory controller 5 generates a second notice signal (INM signal) "OFF" which is a delayed version of the CUT signal "OFF".
This delay time is within the output hold-up time of the power supply unit. Then, the memory controller 5 completes all sequences within the delay time, receives the CUT signal "off", normally completes the sequence being executed, and then receives the INH signal "off". Therefore, noise is prevented from being generated on the interface by suppressing the input to the central processing unit and the interface driver circuit (for example, the driver circuit consisting of NAND circuits 28 and 29) with other systems. In other words, when the power supply drops from 5V to 0V due to an abnormality in the power supply unit 9 or 10, the NAND circuit (driver circuit) 28 or 29 generates noise to prevent the signal PWFX of the normal memory controller from turning on. Driver circuit) 28 or 29
*INF signal is input to. Thereafter, the mode is switched to a mode that allows single-lung operation using only the B system. As mentioned above, the power abnormality warning signal (CUT) is delayed by a delay circuit for a certain period of time and becomes the INHX signal, but this is to ensure that the sequence that is currently operating at the time a power abnormality occurs is normally terminated. After completion, it is necessary to cause the other system to have a power failure and disconnect the system with the power failure. Therefore, the memory controller
After receiving the CUT signal, if the sequence is not in progress or the sequence at that point has ended,
The CUT signal is set in the flip-flop by the clock signal, and PWFY (other system power failure) is detected.

次に、第4図は、メモリ・コントローラ内にお
けるメモリ・アクセス選択同期制御回路の接続関
係を示すブロツク図であり、図中、5と6は第1
図、第2図と同一のもの、40と41はメモリ・
アクセス選択同期制御回路、42と43は中央処
理装置からのサービス要求の立上りを検出する立
上り検出回路、44と45は検出したサービス要
求信号を保持するバツフア、46と47はバツフ
アからのリクエスト(REQ)信号を選択して該
選択した中央処理装置の識別情報(CPC0.1信
号)とサービス要求を検出したことを示す信号
(HIT信号)をメモリ・アクセス選択同期制御回
路40,41へ送出する回路、48と49はメモ
リ・アクセス選択同期制御回路40,41からの
スタート(START)信号を受けてメモリ・アレ
イへのアクセスを制御するリード/ライト制御回
路である。メモリ・アクセス選択同期制御回路4
0と41は、互いに信号をやり取りしており、片
系のみの動作中に、他系の電源が投入されると、
両系のアクセス要求源選択を一致させてから同期
動作に入るようにされている。
Next, FIG. 4 is a block diagram showing the connection relationship of the memory access selection synchronization control circuit in the memory controller, and in the figure, 5 and 6 are the first
40 and 41 are the same as in FIG.
An access selection synchronization control circuit, 42 and 43 are rise detection circuits that detect the rise of a service request from the central processing unit, 44 and 45 are buffers that hold detected service request signals, and 46 and 47 are buffers that hold requests (REQ) from the buffers. ) signal and sends identification information of the selected central processing unit (CPC0.1 signal) and a signal indicating that a service request has been detected (HIT signal) to memory access selection synchronization control circuits 40 and 41 , 48 and 49 are read/write control circuits that control access to the memory array in response to START signals from the memory access selection synchronization control circuits 40 and 41. Memory access selection synchronization control circuit 4
0 and 41 exchange signals with each other, and when the other system is powered on while only one system is operating,
Synchronous operation is started after matching the access request source selections of both systems.

バツフア44および45には、CPU0〜CPU
3に対応したサービス要求のREQ信号がセツト
されるが、CPU0〜CPU3のアクセスタイミン
グによつては、最大4本のREQ信号が同時にオ
ンする。
Buffers 44 and 45 have CPU0 to CPU
The REQ signal for the service request corresponding to CPU 3 is set, but depending on the access timing of CPU0 to CPU3, up to four REQ signals are turned on at the same time.

CPUセレクシヨン回路46および47は、こ
のオンした最大4本のREQ信号より、メモリア
クセス選択同期制御回路40および41より指示
される優先順位(図示せず)に従い、最も高い優
先順位を持つREQ信号を選択し、選択したREQ
信号に対応したCUT番号をCPU0、1信号の2ビ
ツトで表示するとともに、サービス要求を受けた
ことを示すHIT信号をオンする。
The CPU selection circuits 46 and 47 select the REQ signal with the highest priority from among the four turned-on REQ signals at most, according to the priorities (not shown) instructed by the memory access selection synchronization control circuits 40 and 41. Selected and selected REQ
The CUT number corresponding to the signal is displayed in 2 bits of the CPU0 and 1 signals, and the HIT signal indicating that a service request has been received is turned on.

バツフア44および45に1つだけREQ信号
がセツトされた場合は、優先順位にかかわらずそ
のREQ信号に対応したCPU番号がCPC0、1信号
に表示されHIT信号がオンする。
When only one REQ signal is set in the buffers 44 and 45, the CPU number corresponding to that REQ signal is displayed on the CPC0 and 1 signals and the HIT signal is turned on, regardless of the priority.

第5図は、メモリ・アクセス選択同期制御回路
40,41のブロツク図であり、図中、50は比
較回路、51と52はそれぞれ4進カウンタA、
B、53はノア回路、54と55はアンド回路、
56と57はオア回路、HITX、Yおよび
CPC0.1X、Yは第4図と同一のものであり、X
は自系の、Yは他系からの信号、STARTは第4
図と同一のものであり、メモリアクセス開始を指
示する信号、CLOCKはクロツク信号、PWFXは
第2図と同一のものであり自系電源異常を示す信
号、PWFYは第2図と同一のものであり他系電源
異常を示す信号、*CUAVは1つのサービス要求
が終了したことを示す信号である。第5図の動作
は以下の通りである。他系電源異常の場合、
PWFYが“1”であるため、オア回路56の出力
が“1”となり、したがつて、自系HIT信号
(HITX)のみでSTART信号が発生され、メモリ
アクセスが行なわれる。次に、他系電源投入直後
は、自系と他系のサービス要求が一致しないこと
があるので、一定時間待つてからメモリアクセス
を行なう。すなわち、HITX信号がオンとなるこ
とにより、アンド回路54の出力は“1”とな
り、4進カウンタB52は、比較回路50による
比較一致がとれない限り、クロツク歩進を続け
て、4クロツク後にキヤリイ信号を発生する。そ
して、このキヤリイ信号によりオア回路56の出
力が“1”となり、自系HIT信号(HITX)のみ
でSTART信号が発生され、メモリアクセスが行
なわれる。もちろん、4進カウンタB52がキヤ
リイを発生する以前に、比較回路50において両
系のアクセス要求元コード情報が一致すれば、直
ちに、比較回路50の出力にもとづいてオア回路
57からSTART信号が発生される。
FIG. 5 is a block diagram of the memory access selection synchronization control circuits 40 and 41, in which 50 is a comparison circuit, 51 and 52 are quaternary counters A, respectively.
B, 53 is a NOR circuit, 54 and 55 are AND circuits,
56 and 57 are OR circuits, HITX, Y and
CPC0.1X, Y are the same as in Figure 4,
is the signal from the own system, Y is the signal from the other system, START is the 4th signal
The signal is the same as in the figure and indicates the start of memory access. CLOCK is the clock signal. PWFX is the same as in Fig. 2 and is the signal indicating a self-system power supply abnormality. PWFY is the same as in Fig. 2. *CUAV is a signal indicating that one service request has been completed. The operation of FIG. 5 is as follows. In case of power failure in other system,
Since PWFY is "1", the output of the OR circuit 56 becomes "1", and therefore, the START signal is generated only by the own system HIT signal (HITX), and memory access is performed. Next, since the service requests of the own system and the other system may not match immediately after the power of the other system is turned on, the memory access is performed after waiting for a certain period of time. That is, when the HITX signal is turned on, the output of the AND circuit 54 becomes "1", and the quaternary counter B52 continues to increment the clock until a match is found in the comparison circuit 50, and carries out a carry after four clocks. Generate a signal. Then, the carry signal causes the output of the OR circuit 56 to become "1", and the START signal is generated using only the own system HIT signal (HITX), and memory access is performed. Of course, if the access request source code information of both systems match in the comparator circuit 50 before the quaternary counter B52 generates a carry, the OR circuit 57 immediately generates a START signal based on the output of the comparator circuit 50. Ru.

一方、他系電源異常中はPWFYが“1”である
ためオア回路53の出力が“0”のままであり、
他方の4進カウンタA51は停止状態にされてい
る。そして、他系電源投入後はPWFYが“0”と
なるため、オア回路53は*CUAV信号(サービ
ス要求終了信号)が発生されるごとに、“1”を
出力し、その都度、4進カウンタA51をカウン
ト・アツプさせる。このようにして、4回目のサ
ービス要求に対する処理を終了すると、4進カウ
ンタA51はキヤリイ信号を発出し、オアゲート
53の出力を“0”とし、以降の4進カウンタA
51のカウント・アツプ動作を停止させる。それ
とともに、アンド回路54の出力を“0”とする
ので、4進カウンタB52も以後、停止状態とさ
れる。このため、他系電源投入後は、5回目以降
のサービス要求に対しては、比較回路50におい
て両系のアクセス要求元コードが一致しない限
り、オア回路57からSTART信号が発生されな
い。
On the other hand, when the power supply of another system is abnormal, PWFY is "1", so the output of the OR circuit 53 remains "0".
The other quaternary counter A51 is in a stopped state. Then, since PWFY becomes "0" after the other system power is turned on, the OR circuit 53 outputs "1" every time the *CUAV signal (service request end signal) is generated, and each time, the OR circuit 53 outputs "1" Count up A51. In this way, when the processing for the fourth service request is completed, the quaternary counter A51 issues a carry signal, sets the output of the OR gate 53 to "0", and the subsequent quaternary counter A
51 count up operation is stopped. At the same time, since the output of the AND circuit 54 is set to "0", the quaternary counter B52 is also stopped from now on. Therefore, after the other system is powered on, the OR circuit 57 will not generate a START signal for the fifth or subsequent service request unless the access request source codes of both systems match in the comparison circuit 50.

さらに補足して説明すると、 立上り検出回路42,43はクロツク同期によ
り立上り検出を行うため、CPU0〜3のサービ
ス要求のタイミングによつては、A系メモリコン
トローラのバツフア44にREQ信号がセツトさ
れたが、B系メモリコントローラのバツフア45
には次のクロツクでセツトされるということがあ
る。また複数のCPUが同時にサービス要求を出
したときには、同様に理由によりバツフア44,
45に異なるCPUに対応するREQ信号がセツト
されることがある。この場合、次のクロツクによ
り一致することはいうまでもない。このようにA
系B系で同期を取つて同一のCPUに対するサー
ビスを行うために、メモリアクセス選択同期制御
回路40,41においてHIT、CPC0、1信号を
互いにやりとりを行い、自系のHITX、CPC0、
1X信号と他系のHITY、CPC0、1Y信号を比較回
路50にて比較し、一致した場合、START信号
をオンし、メモリへのアクセスを行うことを指示
する。一致しない場合前述のごとく1クロツク後
には一致するため、それからSTART信号をオン
する。
To further explain, since the rising edge detection circuits 42 and 43 perform rising edge detection by clock synchronization, depending on the timing of service requests from CPUs 0 to 3, the REQ signal may be set in the buffer 44 of the A-system memory controller. However, the buffer of B series memory controller is 45.
may be set on the next clock. Also, when multiple CPUs issue service requests at the same time, the buffer 44,
45 may be set with REQ signals corresponding to different CPUs. In this case, it goes without saying that the next clock will match the clock. Like this A
In order to synchronize and service the same CPU in system B, memory access selection synchronization control circuits 40 and 41 exchange HIT, CPC0, and 1 signals with each other, and HITX, CPC0, and
The comparison circuit 50 compares the 1X signal with the HITY, CPC0, and 1Y signals of other systems, and if they match, turns on the START signal and instructs to access the memory. If they do not match, they will match after one clock as described above, so the START signal is then turned on.

他系が電源異常の場合比較回路50では一致
がとれないが、他系電源異常信号PWFYにより
オア回路56がオン状態となるため、自系のア
クセス要求信号HITXがオンすればアンド回路
55がオンしSTART信号がオンしメモリアク
セスを行う。
If there is a power failure in the other system, the comparison circuit 50 cannot find a match, but the OR circuit 56 is turned on by the power failure signal PWFY of the other system, so if the access request signal HITX of the own system is turned on, the AND circuit 55 is turned on. Then, the START signal turns on and memory access is performed.

他系電源投入後は、他系電源異常信号PWFY
がオフのため比較回路50で一致がとれたとき
メモリアクセスを開始する。しかし他系電源投
入直後は、自系バツフア44または45には
CPU0〜CPU3に対応したREQ信号が全てセ
ツトされ、電源投入直後の系のバツフアには全
てのREQ信号がセツトされていないことがあ
る。通常、二重化運転時は1クロツク後には比
較回路50で一致が取れるが、この場合は何ク
ロツク待つても一致が取れない。この他系電源
投入直後の一致がとれないサービス要求は、最
大でCPU台数に等しく、第4図の例では4回
である。
After powering on the other system, the other system power error signal PWFY
Since the comparison circuit 50 is off, memory access is started when a match is found in the comparison circuit 50. However, immediately after turning on the power of another system, the buffer 44 or 45 of the own system is
All REQ signals corresponding to CPU0 to CPU3 may be set, but not all REQ signals may be set to the buffers of the system immediately after power is turned on. Normally, during duplex operation, the comparator circuit 50 will find a match after one clock, but in this case no match will be found no matter how many clocks you wait. The number of unmatched service requests immediately after power is turned on for other systems is equal to the number of CPUs at most, and is four times in the example of FIG. 4.

このため他系電源投入直後の4回のサービス要
求は比較回路50で一致が取れなくても、自系の
みでアクセスを受付けるようにしている。
For this reason, even if the comparison circuit 50 cannot find a match for the four service requests immediately after power is turned on in other systems, accesses are accepted only in the own system.

すなわち、4進カウンタA51は他系電源異常
時はPWFY信号により歩進をとめられており、カ
ウンタ値は“0”となされている。
That is, the quaternary counter A51 is stopped from incrementing by the PWFY signal when there is an abnormality in the power supply of another system, and the counter value is set to "0".

他系電源投入直後は、PWFY信号がオフとなる
ため、サービス要求終了信号*CUAVによりノア
回路53がオフしカウンタA51は歩進する。こ
の*CUAV信号が4回オンすると、カウンタA5
1は“0”から“4”まで歩進しキヤリイ信号を
出力する。これによりノア回路53をオンし自ら
の歩進を禁止すると共に、アンド回路54をオフ
し、カウンタB52の歩進も禁止する。
Immediately after the power of the other system is turned on, the PWFY signal is turned off, so the NOR circuit 53 is turned off by the service request end signal *CUAV, and the counter A51 increments. When this *CUAV signal turns on four times, counter A5
1 increments from "0" to "4" and outputs a carry signal. As a result, the NOR circuit 53 is turned on and its own increment is prohibited, and the AND circuit 54 is turned off and the increment of the counter B52 is also prohibited.

従つて他系電源投入直後の4回のサービス要求
が処理されるまで、アンド回路54は自系の
HITX信号のオンと比較回路50で一致がとれな
いという条件でオンし、カウンタB52を歩進さ
せることにより、比較回路50で一致がとれない
ときも、4クロツク後、カウンタB52がキヤリ
イを出力し、START信号を発生してサービス要
求を処理する。
Therefore, the AND circuit 54 does not operate on the own system until the four service requests are processed immediately after the other system's power is turned on.
By turning on the HITX signal and incrementing the counter B52 under the condition that the comparison circuit 50 cannot find a match, the counter B52 outputs a carry signal after 4 clocks even when the comparison circuit 50 cannot find a match. , generates a START signal and processes the service request.

このように、第5図のメモリ・アクセス選択同
期制御回路は、 (1) 自系の電源のみ正常投入されているときは、
自系のメモリアクセス要求により、直ちに
START信号を発生し、 (2) 他系の電源投入直後は、自系のメモリアクセ
ス要求発生後、4クロツク待つても比較回路5
0による比較一致がとれない場合は、自系のメ
モリアクセス要求信号にもとづいてSTART信
号を発生し、 (3) 他系の電源投入後、4回のサービス要求に対
しては、両系の一致がとれなくても、自系のメ
モリアクセス要求信号にもとづいてSTART信
号を発生し、 (4) 他系の電源投入後、5回目以降のサービス要
求に対しては比較回路50による比較一致がと
れないかぎり、START信号を発出しないよう
にしている。
In this way, the memory access selection synchronization control circuit shown in Figure 5: (1) When only the own system is powered on normally,
Immediately due to a memory access request from the own system.
(2) Immediately after the other system is powered on, the comparison circuit 5
If a match cannot be obtained by comparison with 0, a START signal is generated based on the memory access request signal of the own system. (4) After the other system's power is turned on, the comparator circuit 50 can compare and match the fifth and subsequent service requests. The START signal is not emitted unless it is.

第6図は、第1図、第2図および第4図の関係
を示す図であり、図中、第1図、第2図および第
4図と同一番号のものは同一のものを表わしてい
る。
Fig. 6 is a diagram showing the relationship between Fig. 1, Fig. 2, and Fig. 4, and in the figure, the same numbers as in Fig. 1, Fig. 2, and Fig. 4 represent the same thing. There is.

また、第6図における60は第2図における番
号20,22,24,26,28を含む部分を示
し、同じく61は、第2図における番号21,2
3,25,27,29を含む部分を示す。
Further, 60 in FIG. 6 indicates a part including numbers 20, 22, 24, 26, and 28 in FIG.
3, 25, 27, and 29 are shown.

以上説明したように本発明によれば、二重化し
たメモリ装置間で、互いに電源異常信号のやり取
りを行ない、他系電源異常時および他系電源が正
常状態にせしめられてから所定の期間は他系から
のメモリアクセス要求元情報に関係なくメモリア
クセスを行ない得るようにし、所定期間経過後
は、両系のメモリアクセス要求元情報が一致した
ときのみメモリアクセスを行なうようにしたの
で、二重化した共通メモリ装置に対する中央処理
装置からのアクセスを止めずに、片系の電源投
入・切断が可能となり、メモリ・システムの処理
の連続性が電源異常によつて失なわれることな
く、システムの保守性および可用性を高めること
ができる。
As explained above, according to the present invention, the duplex memory devices exchange power supply abnormality signals with each other, and when the power supply of the other system is abnormal and for a predetermined period after the power supply of the other system is brought into a normal state, Memory access can be performed regardless of the memory access request source information from the system, and after a predetermined period of time, memory access is performed only when the memory access request source information of both systems matches. It is possible to power on and off one system without stopping access from the central processing unit to the device, and the continuity of memory system processing is not lost due to power failure, improving system maintainability and availability. can be increased.

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

第1図は本発明が適用される実施例のデータ処
理システムのブロツク図、第2図は電源状態信号
の接続図、第3図は電源投入・切断のタイムチヤ
ート、第4図はメモリ・コントローラ内における
メモリ・アクセス選択同期制御回路の接続関係を
示すブロツク図、第5図はメモリ・アクセス選択
同期制御回路のブロツク図、第6図は第1図、第
2図および第4図の関係を示す図である。図中、
1〜4は中央処理装置、5と6はメモリ・コント
ローラ、7と8はメモリ・アレイ、9と10は電
源ユニツト、40と41はメモリ・アクセス選択
同期制御回路、PWFXは自系電源異常を示す信
号、PWFYは他系電源異常を示す信号、START
はメモリアクセス開始を指示する信号である。
Fig. 1 is a block diagram of a data processing system according to an embodiment to which the present invention is applied, Fig. 2 is a connection diagram of power state signals, Fig. 3 is a time chart of power on/off, and Fig. 4 is a memory controller. FIG. 5 is a block diagram showing the connection relationship of the memory access selection synchronization control circuit in the memory access selection synchronization control circuit, and FIG. 6 shows the relationship between FIGS. FIG. In the figure,
1 to 4 are central processing units, 5 and 6 are memory controllers, 7 and 8 are memory arrays, 9 and 10 are power supply units, 40 and 41 are memory access selection synchronization control circuits, and PWFX is a self-system power supply abnormality detection circuit. PWFY is a signal indicating an abnormality in the power supply of another system, START
is a signal instructing the start of memory access.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の中央処理装置と、該複数の中央処理装
置から共通にアクセスされる二重化されたメモリ
装置とをそなえるデータ処理システムにおいて、
上記各メモリ装置に、自系電源の切断または異常
を示す電源異常信号を他系メモリ装置へ送出する
回路と、上記複数の中央処理装置からのメモリア
クセス要求を選択するメモリアクセス要求選択回
路と、該メモリアクセス要求選択回路で選択され
た中央処理装置の識別情報を他系へ送出するとと
もに自系および他系の該中央処理装置識別情報と
他系からの上記電源異常信号とにもとづいて自系
メモリへのメモリアクセスを制御するメモリアク
セス選択同期制御回路とをそなえ、他系電源異常
時および他系電源が正常状態にせしめられてから
所定の期間は他系からの上記中央処理装置識別情
報に関係なくメモリアクセスを行ない得るように
し、上記所定期間経過後は両系の上記中央処理装
置識別情報にもとづいてメモリアクセスを行なう
ことを特徴とする二重化メモリのメモリアクセス
制御方式。
1. In a data processing system comprising a plurality of central processing units and a duplicated memory device that is commonly accessed by the plurality of central processing units,
a circuit that sends a power abnormality signal to each of the memory devices indicating disconnection or abnormality of the power supply of the own system to the other memory devices; and a memory access request selection circuit that selects memory access requests from the plurality of central processing units; The identification information of the central processing unit selected by the memory access request selection circuit is sent to the other system, and the identification information of the central processing unit selected by the memory access request selection circuit is sent to the other system. Equipped with a memory access selection synchronization control circuit that controls memory access to the memory, the central processing unit identification information from the other system is used when the other system's power supply is abnormal and for a predetermined period after the other system's power supply is brought into a normal state. A memory access control method for a dual memory, characterized in that memory access can be performed regardless of the above, and after the elapse of the predetermined period, memory access is performed based on the central processing unit identification information of both systems.
JP9037580A 1980-07-02 1980-07-02 Memory access control system of doubled memory Granted JPS5715299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9037580A JPS5715299A (en) 1980-07-02 1980-07-02 Memory access control system of doubled memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9037580A JPS5715299A (en) 1980-07-02 1980-07-02 Memory access control system of doubled memory

Publications (2)

Publication Number Publication Date
JPS5715299A JPS5715299A (en) 1982-01-26
JPS6116101B2 true JPS6116101B2 (en) 1986-04-28

Family

ID=13996814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9037580A Granted JPS5715299A (en) 1980-07-02 1980-07-02 Memory access control system of doubled memory

Country Status (1)

Country Link
JP (1) JPS5715299A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5487927A (en) * 1992-01-24 1996-01-30 Revlon Consumer Products Corporation Decorating method and products

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB100768A (en) * 1916-04-03 1916-07-06 John Maxfield Improvements in and relating to Tuning Pins for Pianos.
JPS5164232A (en) * 1974-07-09 1976-06-03 Deiiteru Adomaito Haintsu Jidoberutomakiagekyojisochi

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4912626U (en) * 1972-05-10 1974-02-02

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB100768A (en) * 1916-04-03 1916-07-06 John Maxfield Improvements in and relating to Tuning Pins for Pianos.
JPS5164232A (en) * 1974-07-09 1976-06-03 Deiiteru Adomaito Haintsu Jidoberutomakiagekyojisochi

Also Published As

Publication number Publication date
JPS5715299A (en) 1982-01-26

Similar Documents

Publication Publication Date Title
US5345566A (en) Method and apparatus for controlling dual bus system
EP0077153B1 (en) Digital data processor with fault-tolerant bus protocol
US4358823A (en) Double redundant processor
US4453215A (en) Central processing apparatus for fault-tolerant computing
US4597084A (en) Computer memory apparatus
US7681073B2 (en) Arbitration system for redundant controllers, with output interlock and automatic switching capabilities
US4907228A (en) Dual-rail processor with error checking at single rail interfaces
EP0186006B1 (en) Multiprocessor system
US5255367A (en) Fault tolerant, synchronized twin computer system with error checking of I/O communication
US4916704A (en) Interface of non-fault tolerant components to fault tolerant system
US6687851B1 (en) Method and system for upgrading fault-tolerant systems
EP0306244B1 (en) Fault tolerant computer system with fault isolation
US4747041A (en) Automatic power control system which automatically activates and deactivates power to selected peripheral devices based upon system requirement
US5491787A (en) Fault tolerant digital computer system having two processors which periodically alternate as master and slave
US5249187A (en) Dual rail processors with error checking on I/O reads
US5068780A (en) Method and apparatus for controlling initiation of bootstrap loading of an operating system in a computer system having first and second discrete computing zones
EP0116344B1 (en) Power backed-up dual memory system
KR910007643B1 (en) Apparatus and method for serving interrupts utilizing pended bus
US5163138A (en) Protocol for read write transfers via switching logic by transmitting and retransmitting an address
US5634037A (en) Multiprocessor system having a shared memory with exclusive access for a requesting processor which is maintained until normal completion of a process and for retrying the process when not normally completed
US20040073836A1 (en) Predecessor and successor type multiplex system
JPS6116101B2 (en)
JP3415636B2 (en) Processor unit
JPH07114521A (en) Multimicrocomputer system
JPH0822441A (en) Information processor and its communication error detecting method