JPH0137778B2 - - Google Patents

Info

Publication number
JPH0137778B2
JPH0137778B2 JP55091427A JP9142780A JPH0137778B2 JP H0137778 B2 JPH0137778 B2 JP H0137778B2 JP 55091427 A JP55091427 A JP 55091427A JP 9142780 A JP9142780 A JP 9142780A JP H0137778 B2 JPH0137778 B2 JP H0137778B2
Authority
JP
Japan
Prior art keywords
memory
access request
copy
central processing
data
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
JP55091427A
Other languages
Japanese (ja)
Other versions
JPS5717067A (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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP9142780A priority Critical patent/JPS5717067A/en
Publication of JPS5717067A publication Critical patent/JPS5717067A/en
Publication of JPH0137778B2 publication Critical patent/JPH0137778B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 本発明は、複数の中央処理装置と、二重化メモ
リとを有する情報処理システムにおいて、複数の
中央処理装置が均等にメモリをアクセスできると
共に、一方のメモリのデータを他方のメモリに複
写する処理を中央処理装置の処理を妨害すること
なく行い得るようになつた共通メモリの競合制御
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an information processing system having a plurality of central processing units and a dual memory, in which the plurality of central processing units can equally access the memory, and data in one memory can be transferred to the other memory. The present invention relates to a common memory contention control method that allows copying to memory to be performed without interfering with the processing of a central processing unit.

共通メモリへのアクセス要求の競合制御方式と
しては、中央処理装置毎にタイム・スロツトを割
当てアクセス要求の発した中央処理装置は該当す
るタイム・スロツトにおいてのみアクセスが許可
される方式、或いは原則として先に発生したアク
セス要求を受付け、アクセス要求が競合した場合
には固定の優先順位に従つて1つのアクセス要求
を受付ける方式などが従来より知られている。し
かし前者の方式では各中央処理装置のアクセスは
割当てられたタイム・スロツトが来るまで待たさ
れるので、アクセス要求が重ならず競合が存在し
ない場合でも、直ちにメモリをアクセスすること
が出来なくなり、実質的なアクセス・タイムが長
くなると言う欠点が存在する。また、後者の優先
順位固定方式では、常にアクセス・タイムの長い
ものと短いものが存在してしまう。
Conflict control methods for access requests to common memory include methods in which a time slot is allocated to each central processing unit and the central processing unit that has issued an access request is permitted access only in the corresponding time slot, or a method in which the central processing unit issuing the access request is allowed access only in the corresponding time slot, or in principle Conventionally, a method is known in which an access request generated at a time is accepted, and if there is a conflict of access requests, one access request is accepted according to a fixed priority order. However, in the former method, access by each central processing unit is made to wait until the allocated time slot arrives, so even if access requests do not overlap and there is no contention, the memory cannot be accessed immediately, and in effect The disadvantage is that the access time becomes longer. Furthermore, in the latter fixed priority system, there are always some access times with long access times and some with short access times.

ところで、メモリを二重化し、書込みは両方の
メモリに対して行い、読出しはマスタ側のメモリ
から行う情報処理システムが知られている。この
種の情報処理システムにおいては、一方のメモリ
に障害が発生した場合に障害メモリをシステムか
ら切離し、障害メモリの修理を行い、修理が完了
した後で、他方のメモリのデータを一方のメモリ
に複写する必要がある。優先順位を可変にする
と、データ複写のためのメモリ・アクセス要求に
対して所定の優先順位を与えることが不可能とな
る。データ複写のためのメモリ・アクセスが高い
と、中央処理装置のメモリ・アクセス要求が待た
されると言う事態が発生し、システムの処理能力
が低下する。
Incidentally, an information processing system is known in which memory is duplicated, writing is performed to both memories, and reading is performed from the master side memory. In this type of information processing system, when a fault occurs in one memory, the faulty memory is isolated from the system, the faulty memory is repaired, and after the repair is completed, the data in the other memory is transferred to the other memory. Need to make a copy. Making the priorities variable makes it impossible to give a predetermined priority to memory access requests for data copying. If the memory access for data copying is high, a situation occurs in which the central processing unit's memory access request is made to wait, and the processing capacity of the system is reduced.

本発明は、上記の考案に基づくものであつて、
二重化メモリを有する情報処理システムにおい
て、中央処理装置が均等にメモリをアクセスでき
ると共に、中央処理装置の処理を妨害することな
く、データ複写が行われるようになつた共通メモ
リの競合制御方式を提供することを目的としてい
る。
The present invention is based on the above invention, and includes:
To provide a contention control method for a common memory in which a central processing unit can access the memory equally and data can be copied without interfering with the processing of the central processing unit in an information processing system having dual memory. The purpose is to

そしてそのため本発明の共通メモリの競合制御
方式は、 複数の中央処理装置1−0ないし1−nと、2
個のメモリ3−0,3−1と、それぞれが1個の
メモリと1対1に対応するメモリ・コントローラ
2−0,2−1と、各中央処理装置1−0ないし
1−nと2個のメモリ3−0,3−1間に設けら
れたバス4と、2個のメモリ・コントローラ2−
0,2−1間に設けられた複写バス5とを具備
し、且つ複写データが一方のメモリ・コントロー
ラによつて一方のメモリから読出され、複写デー
タが複写バス5を介して他方のメモリ・コントロ
ーラに転送され、他方のメモリに書き込まれる二
重化メモリを有する情報処理システムにおいて、 各メモリ・コントローラ2−0,2−1の中
に、複数のメモリ・アクセス要求が競合したとき
優先順位に従つてその内の一つを選択するアクセ
ス要求選択回路9と、データ複写を制御する複写
制御回路10とを設け、 アクセス要求選択回路9の中に、自己のメモリ
に対するアクセス処理が終了する度にその計数値
が更新される1個のカウンタ22を設け、 且つアクセス要求選択回路9を、複写制御回路
10からのメモリ・アクセス要求に対しては常に
最下位の優先順位を与え、中央処理装置1−0な
いし1−nからのメモリ・アクセス要求に対して
は上記カウンタ22の値に応じて変化する優先順
位を与えるよう構成したこと を特徴とするものである。
Therefore, the common memory contention control method of the present invention is based on a plurality of central processing units 1-0 to 1-n and 2.
memories 3-0 and 3-1, memory controllers 2-0 and 2-1 each having a one-to-one correspondence with one memory, and each central processing unit 1-0 to 1-n and 2. A bus 4 provided between two memories 3-0 and 3-1, and two memory controllers 2-
0, 2-1, and the copy data is read from one memory by one memory controller, and the copy data is transferred to the other memory via the copy bus 5. In an information processing system having a dual memory where data is transferred to one controller and written to the other's memory, each memory controller 2-0, 2-1 has a memory access request in which multiple memory access requests compete in order of priority. An access request selection circuit 9 that selects one of them and a copy control circuit 10 that controls data copying are provided. One counter 22 whose numerical value is updated is provided, and the access request selection circuit 9 always gives the lowest priority to the memory access request from the copy control circuit 10, and the central processing unit 1-0 The memory access requests from 1 to 1-n are characterized in that they are given priorities that change according to the value of the counter 22.

第1図ないし第3図は本発明が適用される二重
化メモリを有する情報処理システムを説明するも
のであつて、第1図は二重化メモリを有する情報
処理システムの概要を示す図、第2図は第1図の
メモリ・コントローラの1実施例のブロツク図、
第3図は第1図の情報処理システムにおける複写
データの流れを説明する図である。また、第4図
ないし第7図は本発明を説明するものであつて、
第4図は本発明の1実施例の概要を示す図、第5
図は第4図のカウンタの値と優先順位の関係を示
す図、第6図は本発明の要部の1実施例のブロツ
ク図、第7図は第6図の装置の動作を説明するタ
イムチヤートである。
FIGS. 1 to 3 explain an information processing system having a duplex memory to which the present invention is applied, in which FIG. 1 is a diagram showing an overview of the information processing system having a duplex memory, and FIG. A block diagram of one embodiment of the memory controller of FIG.
FIG. 3 is a diagram illustrating the flow of copy data in the information processing system of FIG. 1. In addition, FIGS. 4 to 7 are for explaining the present invention, and
FIG. 4 is a diagram showing an outline of one embodiment of the present invention, and FIG.
The figure shows the relationship between the value of the counter in Figure 4 and the priority order, Figure 6 is a block diagram of one embodiment of the main part of the present invention, and Figure 7 is a timing diagram explaining the operation of the device in Figure 6. It's a chat.

第1図ないし第3図において、1−0ないし1
−nは中央処理装置、2−0と2−1はメモリ・
コントローラ、3−0と3−1はメモリ、4は共
通バス、5は複写バス、6−0ないし6−nは共
通バス制御回路、7はエラー検出・修正回路、8
はモード制御回路、9はアクセス要求選択回路、
10は複写制御回路、11はメモリ制御回路、1
2−0ないし12−nは信号バス、13−0ない
し13−nはアクセス要求信号線、14はバス、
15ないし19は信号線、20はバス、21−0
と21−1はメモリ・バスをそれぞれ示してい
る。
In Figures 1 to 3, 1-0 to 1
-n is the central processing unit, 2-0 and 2-1 are the memory
controller, 3-0 and 3-1 are memories, 4 is a common bus, 5 is a copy bus, 6-0 to 6-n are common bus control circuits, 7 is an error detection/correction circuit, 8
9 is a mode control circuit; 9 is an access request selection circuit;
10 is a copy control circuit, 11 is a memory control circuit, 1
2-0 to 12-n are signal buses, 13-0 to 13-n are access request signal lines, 14 is a bus,
15 to 19 are signal lines, 20 is a bus, 21-0
and 21-1 indicate memory buses, respectively.

第1図において、中央処理装置1−0ないし1
−nのそれぞれは、メモリ3−0,3−1を用い
てオンライン処理を行う。例えば、中央処理装置
1−0がライト要求を発すると、同一のデータが
メモリ3−0,3−1に書込まれ、リード要求を
発すると、メモリ3−0又は3−1のいずれか一
方から読出されたデータが中央処理装置1−0に
送られる。いずれのメモリからデータを読出すべ
きかの選択は、その時点でのメモリ・コントロー
ラ2−0,2−1の状態による。例えばメモリ・
コントローラ2−0がマスターでメモリ・コント
ローラ2−1がスレーブの場合には、マスター側
であるメモリ・コントローラ2−0が選択され
る。ここで言うマスタ、スレーブ等のメモリ・コ
ントローラの状態はモード制御回路8に保持され
ている。メモリ3−0又は3−1から読出された
データにエラーが検出されたとすると、マスタ、
スレーブの入れ替えを行なつた後、障害メモリ側
をシステムから切離し、障害メモリ側の修理を行
う。いま、メモリ3−1に障害が発生したとする
と、メモリ3−1の修理期間中においても、中央
処理装置1−0ないし1−nは正常なメモリ3−
0を使用して本来のオンライン処理を続行する。
メモリ3−1の修理が完了した時、メモリ3−0
の全内容を読出し、これをメモリ・コントローラ
2−0、複写バス5およびメモリ・コントローラ
2−1を介してメモリ3−1に送り、メモリ3−
1に書込む。上記のデータの複写は、メモリ3−
0と3−1がビジイでないこと及び中央処理装置
からのアクセス要求が存在しないことを確認して
行われる。
In FIG. 1, central processing units 1-0 to 1
-n performs online processing using memories 3-0 and 3-1. For example, when the central processing unit 1-0 issues a write request, the same data is written to memories 3-0 and 3-1, and when it issues a read request, either memory 3-0 or 3-1 writes the same data. The data read from the CPU 1-0 is sent to the central processing unit 1-0. The selection from which memory data should be read depends on the state of the memory controllers 2-0 and 2-1 at that time. For example, memory
If the controller 2-0 is the master and the memory controller 2-1 is the slave, the memory controller 2-0 on the master side is selected. The states of the memory controllers, such as master and slave, are held in the mode control circuit 8. If an error is detected in the data read from memory 3-0 or 3-1, the master,
After replacing the slave, disconnect the faulty memory from the system and repair the faulty memory. Now, if a failure occurs in the memory 3-1, the central processing units 1-0 to 1-n will continue to use the normal memory 3-n even during the repair period of the memory 3-1.
0 to continue the original online processing.
When the repair of memory 3-1 is completed, memory 3-0
, and sends it to the memory 3-1 via the memory controller 2-0, the copy bus 5, and the memory controller 2-1.
Write to 1. The above data can be copied from memory 3-
This is done after confirming that 0 and 3-1 are not busy and that there is no access request from the central processing unit.

第2図はメモリ・コントローラの1実施例のブ
ロツク図である。なお、メモリ・コントローラ2
−0と2−1は全く同一構成である。共通バス制
御回路6−0ないし6−nのそれぞれは、中央処
理装置との間のデータ転送を制御するものであ
る。エラー検出・修正回路7は、エラー検出、修
正ばかりでなく、エラー修正コードを生成するも
のである。モード制御回路8は、中央処理装置の
アクセスを受けているとか、中央処理装置のアク
セスを受けながらデータ複写を行つているとか、
マスタであるとか、スレーブであるとかいうメモ
リ・コントローラの状態を記憶するものである。
アクセス要求選択回路9は、ビジイ・チエツクを
行うと共に優先順位にしたがつてアクセス要求を
選択するものである。アクセス要求選択回路9
は、メモリがビジイでなく且つ信号線13−0な
いし13−n上にアクセス要求が存在しない場合
に限り、信号線16又は18上の複写要求を選択
することが出来る。複写制御回路10は、データ
複写を制御するものであり、正常系(複写データ
送出側)となつた場合にはメモリからのデータの
読出しや読出しデータの送出などを行い、修復系
(複写データ受信側)となつた場合にはデータの
受信や受信データのメモリへの書込みなどを行
う。メモリ制御回路11は、メモリ・ライトのと
きにはライト・スタート信号、アドレス情報およ
び書込みデータの送出などを行い、メモリ・リー
ドのときにはリード・スタート信号およびアドレ
ス情報の送出、並びに読出しデータの受信などを
行う。
FIG. 2 is a block diagram of one embodiment of a memory controller. Note that memory controller 2
-0 and 2-1 have exactly the same configuration. Each of the common bus control circuits 6-0 to 6-n controls data transfer with the central processing unit. The error detection/correction circuit 7 not only detects and corrects errors, but also generates error correction codes. The mode control circuit 8 may be accessed by the central processing unit or copying data while being accessed by the central processing unit.
It stores the status of the memory controller, such as master or slave.
The access request selection circuit 9 performs a busy check and selects access requests according to priority. Access request selection circuit 9
can select a copy request on signal line 16 or 18 only if the memory is not busy and there are no access requests on signal lines 13-0 through 13-n. The copy control circuit 10 controls data copying, and when the system becomes a normal system (copy data sending side), it reads data from the memory and sends the read data, and performs the repair system (copy data receiving side). side), it receives data and writes the received data to memory. The memory control circuit 11 sends a write start signal, address information, and write data when writing memory, and sends a read start signal and address information, and receives read data when reading memory. .

中央処理装置1−0ないし1−nのいずれかが
メモリ・アクセス要求を送出すると、アクセス選
択回路9でビジイ・チエツクおよびアクセス要求
の選択が行われる。アクセス要求が受付けられる
と、メモリに対するリード又はライトが行われ
る。
When one of the central processing units 1-0 to 1-n sends out a memory access request, the access selection circuit 9 performs a busy check and selects the access request. When an access request is accepted, reading or writing to the memory is performed.

データの複写は下記のようにして行われる。い
ま、第3図に示すように、メモリ3−0の内容を
メモリ3−1へ移す場合を想定すると、メモリ・
コントローラ2−1に対してコピイ・コマンドが
発行される。コピイ・コマンドを受付けると、メ
モリ・コントローラ2−1はデータ複写モードと
なる。データ複写モードとなると、複写要求が生
成され、複写制御回路10および複写バス5を介
してメモリ・コントローラ2−0に送られる。メ
モリ・コントローラ2−0において複写要求が受
付けられると、メモリ・コントローラ2−0の複
写制御回路10はメモリ3−0から1ブロツクの
データを読出す。なお、データは純データとエラ
ー修正コードとから構成されているものである。
メモリ・コントローラ2−0の複写制御回路10
は、読出したデータを複写バス5を介してメモ
リ・コントローラ2−1へ送る。メモリ・コント
ローラ2−1の複写制御回路10は、受信したデ
ータをメモリ3−1へ書込む。この書込みが終了
した後、同一データがメモリ3−1から読出さ
れ、メモリ・コントローラ2−1のエラー検出・
修正回路7によつてチエツクされる。この際、修
正不可能なエラーが検出されたときには、割込み
によつてこの旨が中央処理装置側に通知される。
上記の処理を繰返すことによつて、メモリ3−0
の全内容がメモリ3−1にコピーされる。
Data copying is performed as follows. Now, assuming that the contents of memory 3-0 are to be transferred to memory 3-1 as shown in Figure 3, the memory
A copy command is issued to controller 2-1. Upon receiving the copy command, the memory controller 2-1 enters the data copy mode. When the data copy mode is entered, a copy request is generated and sent to the memory controller 2-0 via the copy control circuit 10 and the copy bus 5. When the copy request is accepted by the memory controller 2-0, the copy control circuit 10 of the memory controller 2-0 reads one block of data from the memory 3-0. Note that the data is composed of pure data and an error correction code.
Copy control circuit 10 of memory controller 2-0
sends the read data to the memory controller 2-1 via the copy bus 5. The copy control circuit 10 of the memory controller 2-1 writes the received data to the memory 3-1. After this writing is completed, the same data is read from the memory 3-1, and the memory controller 2-1 detects an error.
It is checked by the correction circuit 7. At this time, when an uncorrectable error is detected, this is notified to the central processing unit by an interrupt.
By repeating the above process, memory 3-0
The entire contents of are copied to memory 3-1.

上記のように、アクセス要求選択回路9は、複
写要求に対して最下位の優先順位を与えている。
しかしながら、中央処理装置1−0ないし1−n
のそれぞれが均等にメモリをアクセスできるよう
にすることが望ましい。本発明はこのような要求
に応えるものである。第4図ないし第7図は本発
明の1実施例を説明するものであつて、第4図な
いし第7図において、AないしEはアクセス要求
源、22は4進カウンタ、23は優先順位判定回
路、24は優先順位エンコーダ、25ないし29
はゲートをそれぞれ示している。アクセス要求元
A,B,C,Dは中央処理装置1−0,1−1,
1−2,1−3に対応するものであり、アクセス
要求源Eはデータ複写要求源に対応するものであ
る。また、カウンタ22と優先順位判定回路23
は、アクセス要求選択回路9の中に存在するもの
である。第5図に示すように優先順位判定回路2
3は、4進カウンタ22の内容に応じてアクセス
要求源A,B,C,Dに対する優先順位を循環さ
せると共に、アクセス要求源Eに対する優先順位
を常に最下位に保つものである。例えば、4進カ
ウンタ22の値が数値“0”のときには、アクセ
ス要求源Aに対して最も高い順位が与えられ、
B,C,D,Eの順に優先順位が低くされる。ま
た、4進カウンタ22の値が数値“3”のときに
は、アクセス要求源Dに対して最も高い優先順位
が与えられ、A、B、C、Eの順に優先順位が低
くされる。
As described above, the access request selection circuit 9 gives the lowest priority to the copy request.
However, central processing units 1-0 to 1-n
It is desirable that each of them be able to access memory equally. The present invention meets these demands. 4 to 7 illustrate one embodiment of the present invention. In FIGS. 4 to 7, A to E are access request sources, 22 is a quaternary counter, and 23 is a priority order determination source. circuit, 24, priority encoder, 25 to 29;
indicates each gate. Access request sources A, B, C, and D are central processing units 1-0, 1-1,
1-2 and 1-3, and the access request source E corresponds to the data copy request source. In addition, a counter 22 and a priority determination circuit 23
exists in the access request selection circuit 9. As shown in FIG.
3 rotates the priorities of access request sources A, B, C, and D according to the contents of the quaternary counter 22, and always maintains the priority of access request source E at the lowest level. For example, when the value of the quaternary counter 22 is the numerical value "0", the highest ranking is given to the access request source A,
The priority is lowered in the order of B, C, D, and E. Furthermore, when the value of the quaternary counter 22 is the numerical value "3", the highest priority is given to the access request source D, and the priority is given lower in the order of A, B, C, and E.

第6図は第4図の優先順位判定回路23を詳細
に示すものである。第6図において、REQA,
B,C,D,Eはそれぞれアクセス要求源A,
B,C,D,Eからのアクセス要求であり、
CPC0およびCPC1は選択されたアクセス要求
を識別するものであり、また、CUAVはアクセ
ス要求の処理が終了したことを示す信号である。
FIG. 6 shows the priority determination circuit 23 of FIG. 4 in detail. In Figure 6, REQA,
B, C, D, and E are access request sources A and B, C, D, and E, respectively.
Access requests from B, C, D, and E.
CPC0 and CPC1 identify the selected access request, and CUAV is a signal indicating that the processing of the access request has been completed.

第7図に示すように4進カウンタの内容が
“0”であると、信号A,B,Cがすべて低レベ
ルとなる。この状態の下では、ゲート25,2
6,27の出力状態は、それぞれ信号*REQA,
*REQB,*REQCによつて変化可能である。
As shown in FIG. 7, when the content of the quaternary counter is "0", signals A, B, and C all become low level. Under this condition, gates 25, 2
The output states of 6 and 27 are signals *REQA and
Can be changed by *REQB and *REQC.

この状態の下では、優先順位エンコーダ24の
入力には、高い優先順位の入力ピン番号7には信
号*REQAが入力可能となり、以下同様に入力
ピン6,5,4,3,2,1,0の順に信号*
REQB,*REQC,*REQD,*REQA,*
REQB,*REQC,*REQEが入力可能である。
この状態の下で例えば、*REQAと*REQBが低
レベルになると、アクセス要求源Aのアクセス要
求が選択される。また、*REQAが存在せず、
*REQB,*REQC,*REQDおよび*REQEが
存在する場合にはアクセス要求源Bのアクセス要
求が選択される。
Under this state, the signal *REQA can be input to the input pin number 7 of the priority encoder 24, which has a high priority, and the input pins 6, 5, 4, 3, 2, 1, etc. Signal * in order of 0
REQB, *REQC, *REQD, *REQA, *
REQB, *REQC, *REQE can be input.
Under this state, for example, when *REQA and *REQB become low levels, the access request of access request source A is selected. Also, *REQA does not exist,
If *REQB, *REQC, *REQD, and *REQE exist, the access request of access request source B is selected.

4進カウンタ22の内容が“1”となると、信
号Aが高レベルとなり、ゲート25の出力は高レ
ベルに固定され、優先順位エンコーダの入力ピン
7は高レベルのままとなる。優先順位エンコーダ
は、高レベルの入力信号は無視する。信号B,C
は低レベルのままであるから、ゲート26,27
の出力は、信号*REQB,*REQCで変化可能で
あり、この場合の優先順位は、第5図に示すよう
に、アクセス要求源B,C,D,A,Eの順とな
る。この状態の下で、例えば*REQBと*REQC
が低レベルとなると、アクセス要求源Bのアクセ
ス要求が選択される。同じ状態の下で、*
REQAのみが低レベルとなれば、アクセス要求
源Aの要求が選択される。
When the content of the quaternary counter 22 becomes "1", the signal A goes high, the output of the gate 25 is fixed at a high level, and the input pin 7 of the priority encoder remains at a high level. The priority encoder ignores high level input signals. Signal B, C
remains at a low level, so gates 26 and 27
The output can be changed by the signals *REQB and *REQC, and the priority in this case is the order of access request sources B, C, D, A, and E, as shown in FIG. Under this condition, for example *REQB and *REQC
When the level becomes low, the access request of access request source B is selected. Under the same conditions, *
If only REQA is at a low level, the request of access request source A is selected.

4進カウンタ22の内容が“2”となると、信
号AとBは高レベルとなり、信号Cのみが低レベ
ルのままなので、ゲート27の出力のみが変化可
能となる。すると、優先順位はC,D,A,B,
Eの順となる。
When the content of the quaternary counter 22 becomes "2", the signals A and B go high and only the signal C remains low, so that only the output of the gate 27 can change. Then, the priority order is C, D, A, B,
The order is E.

4進カウンタ22の内容が“3”になると、信
号A,B,Cの全てが高レベルとなり、ゲート2
5,26,27の出力は全て高レベル状態に固定
され、したがつてアクセス要求源Dに対して最も
高い優先順位が与えられ、以下A,B,C,Eの
順に優先順位が低くなる。以後、4進カウンタ2
2の内容は、0、1、2、3と循環するが、アク
セス要求源Eの優先順位は常に最下位であり、ア
クセス要求源A,B,C,Dの優先順位のみが第
5図のように循環する。
When the content of the quaternary counter 22 becomes "3", all of the signals A, B, and C become high level, and the gate 2
The outputs of 5, 26, and 27 are all fixed at a high level state, so that the highest priority is given to the access request source D, and the priority is lowered in the order of A, B, C, and E thereafter. From now on, quaternary counter 2
The contents of 2 cycle through 0, 1, 2, and 3, but the priority of access request source E is always the lowest, and only the priority of access request sources A, B, C, and D is as shown in FIG. It circulates like this.

以上の説明から明らかなように、本発明によれ
ば、二重化メモリを有する情報処理システムにお
いて、中央処理装置からの時間制限付きのメモ
リ・アクセス要求に対しては循環した優先順位が
割当られるのでその時間内で処理が可能であり、
時間制限のないデータ複写のためのメモリ・アク
セス要求に対しては常に最下位の優先順位を割当
て他のメモリ・アクセス要求がなかつた場合のみ
アクセスが許可されるので、二重化メモリを有す
る情報処理システムの処理を低下させることな
く、各アクセス源の要求に応えることが出来る。
As is clear from the above description, according to the present invention, in an information processing system having dual memory, a rotating priority is assigned to time-limited memory access requests from the central processing unit. Processing can be done within the specified time,
Memory access requests for data copying with no time limit are always assigned the lowest priority and access is permitted only when there are no other memory access requests, so information processing systems with dual memory It is possible to meet the requests of each access source without degrading the processing of the access source.

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

第1図ないし第3図は本発明が適用される二重
化メモリを有する情報処理システムを説明するも
のであつて、第1図は二重化メモリを有する情報
処理システムの概要を示す図、第2図は第1図の
メモリ・コントローラの1実施例のブロツク図、
第3図は第1図の情報処理システムにおける複写
データの流れを説明する図である。また、第4図
ないし第7図は本発明を説明するものであつて、
第4図は本発明の1実施例の概要を示す図、第5
図は第4図のカウンタの値と優先順位の関係を示
す図、第6図は本発明の要部の1実施例のブロツ
ク図、第7図は第6図の装置の動作を説明するタ
イムチヤートである。 AないしE……アクセス要求源、22……4進
カウンタ、23……優先順位判定回路、24……
優先順位エンコーダ、25ないし29……ゲー
ト。
FIGS. 1 to 3 explain an information processing system having a duplex memory to which the present invention is applied, in which FIG. 1 is a diagram showing an overview of the information processing system having a duplex memory, and FIG. A block diagram of one embodiment of the memory controller of FIG.
FIG. 3 is a diagram illustrating the flow of copy data in the information processing system of FIG. 1. In addition, FIGS. 4 to 7 are for explaining the present invention, and
FIG. 4 is a diagram showing an outline of one embodiment of the present invention, and FIG.
The figure shows the relationship between the value of the counter in Figure 4 and the priority order, Figure 6 is a block diagram of one embodiment of the main part of the present invention, and Figure 7 is a timing diagram explaining the operation of the device in Figure 6. It's a chat. A to E... access request source, 22... quaternary counter, 23... priority determination circuit, 24...
Priority encoder, 25 to 29...gate.

Claims (1)

【特許請求の範囲】 1 複数の中央処理装置1−0ないし1−nと、
2個のメモリ3−0,3−1と、それぞれが1個
のメモリと1対1に対応するメモリ・コントロー
ラ2−0,2−1と、各中央処理装置1−0ない
し1−nと2個のメモリ3−0,3−1間に設け
られたバス4と、2個のメモリ・コントローラ2
−0,2−1間に設けられた複写バス5とを具備
し、且つ複写データが一方のメモリ・コントロー
ラによつて一方のメモリから読出され、複写デー
タが複写バス5を介して他方のメモリ・コントロ
ーラに転送され、他方のメモリに書き込まれる二
重化メモリを有する情報処理システムにおいて、 各メモリ・コントローラ2−0,2−1の中
に、複数のメモリ・アクセス要求が競合したとき
優先順位に従つてその内の1つを選択するアクセ
ス要求選択回路9と、データ複写を制御する複写
制御回路10とを設け、 アクセス要求選択回路9の中に、自己のメモリ
に対するアクセス処理が終了する度にその計数値
が更新される1個のカウンタ22を設け、 且つアクセス要求選択回路9を、複写制御回路
10からのメモリ・アクセス要求に対しては常に
最下位の優先順位を与え、中央処理装置1−0な
いし1−nからのメモリ・アクセス要求に対して
は上記カウンタ22の値に応じて変化する優先順
位を与えるよう構成したこと を特徴とする共通メモリの競合制御方式。
[Claims] 1. A plurality of central processing units 1-0 to 1-n,
Two memories 3-0, 3-1, memory controllers 2-0, 2-1 each having a one-to-one correspondence with one memory, and each central processing unit 1-0 to 1-n. A bus 4 provided between two memories 3-0 and 3-1 and two memory controllers 2
-0, 2-1, and the copy data is read from one memory by one memory controller, and the copy data is read from the other memory via the copy bus 5. - In an information processing system that has a dual memory that is transferred to one controller and written to the other memory, each memory controller 2-0, 2-1 has a system that follows the priority order when multiple memory access requests conflict. An access request selection circuit 9 that selects one of the access requests and a copy control circuit 10 that controls data copying are provided. One counter 22 whose count value is updated is provided, and the access request selection circuit 9 is always given the lowest priority to the memory access request from the copy control circuit 10, and the central processing unit 1- 1. A contention control system for a common memory, characterized in that memory access requests from 0 to 1-n are given priorities that vary according to the value of the counter 22.
JP9142780A 1980-07-04 1980-07-04 Conflict control system of common memory Granted JPS5717067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9142780A JPS5717067A (en) 1980-07-04 1980-07-04 Conflict control system of common memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9142780A JPS5717067A (en) 1980-07-04 1980-07-04 Conflict control system of common memory

Publications (2)

Publication Number Publication Date
JPS5717067A JPS5717067A (en) 1982-01-28
JPH0137778B2 true JPH0137778B2 (en) 1989-08-09

Family

ID=14026067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9142780A Granted JPS5717067A (en) 1980-07-04 1980-07-04 Conflict control system of common memory

Country Status (1)

Country Link
JP (1) JPS5717067A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0721747B2 (en) * 1983-03-31 1995-03-08 富士通株式会社 Scan method in magnetic disk controller
KR100599752B1 (en) 2004-06-23 2006-07-12 삼성에스디아이 주식회사 Secondary Battery and Electrode Assembly Used in the Same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5384656A (en) * 1976-12-30 1978-07-26 Fujitsu Ltd Precedence control system

Also Published As

Publication number Publication date
JPS5717067A (en) 1982-01-28

Similar Documents

Publication Publication Date Title
US5345566A (en) Method and apparatus for controlling dual bus system
EP0397476B1 (en) Error logging data storing system
US5146607A (en) Method and apparatus for sharing information between a plurality of processing units
US5841963A (en) Dual information processing system having a plurality of data transfer channels
US4381542A (en) System for interrupt arbitration
EP0057275B1 (en) Digital data storage system
US5557753A (en) Information processing unit having a multiplexed bus and a bus control method therefor
US7191359B2 (en) Fail-safe controller
JPH0137778B2 (en)
GB1600174A (en) Data processing system
EP0251686B1 (en) Method and apparatus for sharing information between a plurality of processing units
US6216189B1 (en) Error master detector
US6625678B1 (en) Livelock avoidance method
JP3127941B2 (en) Redundant device
US5175832A (en) Modular memory employing varying number of imput shift register stages
JPS63231652A (en) Memory copy system for control system
JPH08202672A (en) Decentralized multiprocessing system
JPH0238969B2 (en)
EP0626647B1 (en) Copying apparatus for carrying out a copying operation between an active processing system and a stand-by one
CN1004945B (en) address control device
JPS6017137B2 (en) Duplicated memory data copying method
JPH0562384B2 (en)
JPS584427A (en) Multi-computer system with multiple serial bus loops
KR0146521B1 (en) Bus Protocol Controller and Data Transfer Method in Multiprocessor Systems
JP3012402B2 (en) Information processing system