JPS6130306B2 - - Google Patents
Info
- Publication number
- JPS6130306B2 JPS6130306B2 JP57108775A JP10877582A JPS6130306B2 JP S6130306 B2 JPS6130306 B2 JP S6130306B2 JP 57108775 A JP57108775 A JP 57108775A JP 10877582 A JP10877582 A JP 10877582A JP S6130306 B2 JPS6130306 B2 JP S6130306B2
- Authority
- JP
- Japan
- Prior art keywords
- priority
- access
- chp
- access request
- processing
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/18—Handling 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)
- Memory System (AREA)
Description
【発明の詳細な説明】
発明の技術分野
本発明は、データ処理システムにおけるアクセ
ス処理方式に関し、特にアクセス要求の優先順位
決定に際して、先に一旦選択され、処理過程での
何らかの理由により処理不能となつたアクセス要
求については再度、優先順位の決定から参加させ
るようにし、その際、高い優先順位を与えるよう
にして、アクセス処理時間の長いアクセス要求が
生じないようにしたアクセス処理方式に関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to an access processing method in a data processing system, and in particular, when determining the priority of access requests, an access request that is once selected and becomes unprocessable for some reason during the processing process is used. The present invention relates to an access processing method in which access requests that have already been accessed are allowed to participate again from the determination of priorities, and at that time, a high priority is given to prevent access requests that require a long access processing time from occurring.
技術の背景
第1図は、本発明が対象とするデータ処理シス
テムの一つの構成例を示している。同図におい
て、1,2は2台の中央処理装置CPU0,CPU1で
あり、3,4は4台のチヤネル処理装置CHP0〜
CHP3を省略して示す。また5はパイプライン方
式のメモリ制御装置MCU、6はメモリ装置
MSU、7はたとえばセツトアソシアテイブ方式
のバツフアメモリBS、8はそのデイレクトリ、
9は優先順位決定回路である。TECHNICAL BACKGROUND FIG. 1 shows an example of the configuration of a data processing system to which the present invention is applied. In the figure, 1 and 2 are two central processing units CPU 0 and CPU 1 , and 3 and 4 are four channel processing units CHP 0 to
CHP 3 is omitted. Also, 5 is a pipelined memory control unit MCU, and 6 is a memory device.
MSU, 7 is, for example, a set associative type buffer memory BS, 8 is its directory,
9 is a priority determining circuit.
MCUは、CPU0,CPU1,CHP0〜CHP3のそれ
ぞれから、随時MSUに対するアクセス要求を受
け付け、デイレクトリおよびBSを使用してバツ
フア方式による記憶制御を実行する。また、複数
のアクセス要求を同時に受け付けたときには、優
先順位決定回路が、一定の優先順位決定論理にし
たがつて1つのアクセス要求を選択し、それを実
行する。 The MCU accepts requests for access to the MSU from each of CPU 0 , CPU 1 , and CHP 0 to CHP 3 at any time, and executes storage control using a buffer method using the directory and BS. Further, when a plurality of access requests are received at the same time, the priority order determining circuit selects one access request according to a certain priority order determining logic and executes it.
各アクセス要求に対する優先順位の決定方式と
して、CHPとCPUの間の優先順位はCHPの方を
高くし、CPUとCPUの間の優先順位は、その装
置によつて定められている優先順位決定論理にし
たがつて順位を決定し、ループバツクからのもの
はもつとも優先順位を高くするものがある。以下
に、その概要と問題点を説明する。 As a priority determination method for each access request, the priority between CHP and CPU is set higher for CHP, and the priority between CPU and CPU is determined by the priority determination logic determined by the device. The priority is determined according to the priority of the loopback. The outline and problems are explained below.
MCUは、複数のCHPと複数のCPUからのアク
セス要求を受け付けたとき、それらの優先順位を
判定し、選ばれたアクセス要求を逐次、パイプラ
イン処理するが、MCUでの優先順位の判定方法
は、まず複数のCHPのアクセス要求に対し、
CHP間で第1の優先順位決定を行なつて、一つ
のアクセス要求を選択し、次にその選ばれた
CHPアクセス要求と、複数のCPUのアクセス要
求と、パイプラインを再度使用するためのループ
バツクアクセス要求との間で、第2の優先順位決
定を行なつて、一つのアクセス要求を選択するも
のであり、その選ばれたアクセス要求を逐次パイ
プラインに投入して処理を実行する。 When the MCU receives access requests from multiple CHPs and multiple CPUs, it determines their priorities and sequentially processes the selected access requests in a pipeline, but the method for determining priorities in the MCU is , First, in response to access requests from multiple CHPs,
A first priority determination is made between CHPs to select one access request and then
A second priority is determined between CHP access requests, multiple CPU access requests, and loopback access requests for reusing the pipeline, and one access request is selected. The selected access requests are sequentially submitted to the pipeline and processed.
このとき、第1の優先順位決定で選ばれた
CHPアクセス要求が、次のように獲得した優先
権が無効(NULLIFY)となる場合がある。 At this time, the selected
A CHP access request may have its acquired priority invalidated (NULLIFY) as follows:
(1) 第2の優先順位決定の処で、ループバツクか
らのアクセス要求とぶつかつた時には、ループ
バツクのアクセス要求は、再度パイプラインを
使用するために必ず優先権がとれなければなら
ず、CHPアクセス要求よりも優先順位を高く
設定されているため、CHPアクセスは優先権
がとれず、第1の優先順位決定で獲得した優先
権は無効となる。(1) In the second priority determination process, when an access request from loopback collides with an access request from loopback, the access request from loopback must be given priority in order to use the pipeline again, and CHP access Since the priority is set higher than the request, CHP access cannot take priority, and the priority obtained in the first priority determination is invalidated.
(2) 第2の優先順位決定の処で、CHPアクセス
が使用するバツフアメモリBSのバンクが、先
行してMCUで処理している他のアクセスによ
つてバンクビジーとなつているときや、制御
上、CHPアクセスを禁止する条件が発生して
いるときに、第1の優先順位決定で獲得した優
先権は無効となる。(2) In the second priority order determination, if the bank of the buffer memory BS used by the CHP access is busy due to another access being processed by the MCU in advance, or if the bank is busy due to control reasons. , when a condition prohibiting CHP access occurs, the priority obtained in the first priority determination becomes invalid.
(3) 第2の優先順位決定で優先権を獲得した
CHPアクセスがパイプラインへ投入された
後、バツフアメモリBS内にアクセスするデー
タが置かれていない(バツフアNOT
FOUND)ときで、更に先行してMCUで処理
されているバツフアNOT FOUNDのアクセス
が主記憶アクセス・ポート数と同数だけ存在
し、主記憶へアクセス中であつた場合には、主
記憶アクセス・ポートはビジーとなる。このビ
ジーを識別したパイプラインのタイミングを境
にして、以後のパイプライン処理を無効
(NULLIFY)とし、そのCHPアクセスは、再
度第1の優先順位決定からやり直す。(3) Obtained priority in the second priority determination
After a CHP access is entered into the pipeline, there is no data to be accessed in the buffer memory BS (battle NOT
FOUND), and if the number of buffer NOT FOUND accesses processed by the MCU in advance is the same as the number of main memory access ports, and the main memory is being accessed, the main memory access port becomes busy. After the timing of the pipeline identified as busy, subsequent pipeline processing is disabled (NULLIFY), and the CHP access is restarted from the first priority determination.
(4) セツトアソシアテイブ方式のバツフアメモリ
BSにおいては、セツトコンフリクト検出機能
により、先行するアクセスが使用するバツフア
メモリBSのセツトアドレスが、CHPアクセス
と同一セツトアドレスであることが判明したと
きには、セツトマツチとなつて、同一セツトへ
のアクセスすなわちCHPアクセスを禁止し、
以後のパイプライン処理を無効にして、その
CHPアクセスについては再度第1の優先順位
決定からとり直す。(4) Set associative buffer memory
In the BS, when the set conflict detection function determines that the set address of the buffer memory BS used by the preceding access is the same set address as the CHP access, a set match occurs and the access to the same set, that is, the CHP access, is determined to be a set match. prohibited,
Disable further pipeline processing and
Regarding CHP access, the first priority determination is started again.
以上のような、無効となつたCHPアクセス要
求が、再度第1の優先順位決定を取り直すとき
に、他のCHPのアクセス要求と競合した場合
に、本来であれば、先に処理されていたはずのそ
のCHPアクセス要求が、後からきたCHPアクセ
スによつて、負けることが起り得る。そのため、
追い抜いた後からきたCHPアクセス要求がMCU
で先に処理される影響により、本来先行処理され
た筈のCHPアクセス要求のアクセス処理時間
が、さらに長くなつてしまうという問題が生じ
る。 If the invalidated CHP access request as described above conflicts with another CHP access request when the first priority is determined again, it should have been processed first. It is possible that that CHP access request of a CHP access request is lost by a subsequent CHP access. Therefore,
The CHP access request that came after overtaking the MCU
Due to the effect of being processed first, a problem arises in that the access processing time for CHP access requests that should have originally been processed in advance becomes even longer.
また、他の方法として、第2優先順位決定の処
で優先権無効となつたCHPアクセスを、再度第
1の優先順位決定からとり直すのではなく、第2
の優先順位決定の処で優先権がとれるまで保持し
ておく方法がある。この場合優先権無効となつた
アクセス要求を保持しておくためのハードウエア
と、後続の他のCHPアクセス要求を第2の優先
順位決定に参加させたり、第2の優先順位決定で
待つているCHPアクセスを参加させたりするた
めの制御回路のハードウエアとが必要である。 In addition, as another method, instead of resetting the CHP access whose priority was invalidated in the second priority determination from the first priority determination,
There is a way to hold the priority until the priority is determined. In this case, hardware is required to hold the access request whose priority has been invalidated, and to allow other subsequent CHP access requests to participate in the second priority determination or wait in the second priority determination. Control circuit hardware is required to allow CHP access to participate.
発明の目的および構成
本発明の目的は、一度優先権無効となつた
CHPアクセス要求が、第1の優先順位決定に参
加するときには、優先順位を上げ、この優先順位
決定処理においては、他のCHPアクセス要求に
負けないようにして、一度優先無効となつた
CHPアクセス要求のアクセス処理時間を、少し
でも短縮することにある。Purpose and Structure of the Invention The purpose of the present invention is to
When a CHP access request participates in the first priority determination, the priority is raised, and in this priority determination process, the priority is raised so that it does not lose to other CHP access requests, and once the priority is invalidated.
The purpose is to shorten the access processing time for CHP access requests as much as possible.
本発明は、そのための構成として、
複数のアクセス要求装置からのアクセス要求に
対して優先順位を定めて処理を行ない、上記複数
のアクセス要求装置からの複数個のアクセス要求
を同時に受け付けたとき、それらの優先順位を決
定してその中から一つのアクセス要求を選択して
優先権を与えて処理を開始し、途中で処理の続行
が不能となつた場合、該アクセス要求の優先権を
無効化してアクセス要求を受け付けた状態に戻
し、そこで優先順位の決定をやり直す手段をそな
えたアクセス処理装置において、上記一度優先権
を無効にされたアクセス要求を次の優先順位の決
定に参加させる場合、優先順位を高くしてそのと
きの他のアクセス要求と競合させて処理すること
を特徴としている。 The present invention has a configuration for this purpose, in which access requests from a plurality of access requesting devices are processed by determining priorities, and when a plurality of access requests from the plurality of access requesting devices are simultaneously received, determines the priority order of the access requests, selects one access request from among them, gives priority and starts processing, and if it becomes impossible to continue processing midway through, the priority of the access request is invalidated. In an access processing device that is equipped with a means to return the access request to a state in which it is accepted and then re-determine the priority order, when the access request whose priority right has been invalidated is allowed to participate in the determination of the next priority order, the priority order The feature is that the access request is processed by raising the access request to a higher value and competing with other access requests at the time.
発明の実施例
以下に、本発明を実施例にしたがつて詳述す
る。EXAMPLES OF THE INVENTION The present invention will be described in detail below using examples.
第2図は、本発明を適用したメモリ制御装置
MCUの実施例構成を示したものである。なお図
は、便宜上本発明に関連のある回路部分のみを取
り出して示している。 FIG. 2 shows a memory control device to which the present invention is applied.
This figure shows an example configuration of an MCU. Note that the figure shows only the circuit portions related to the present invention for convenience.
同図中、11はCHPポートであり、CHP0〜
CHP3からのアドレスおよび制御信号を受け付け
る。12はCHPセレクタであり、後述するCHP
優先順位決定回路により制御される。13は
CHP優先順位決定回路であり、CHP0〜CHP3か
らのアクセス要求信号REQについて、まず1つ
のREQを選択し、その選択されたチヤネル
(SCHと表わす)のREQ信号を、更に他のアクセ
ス要求装置との間での優先順位判定のため出力す
る。13aは、各CHP毎に設けられている状態
表示テーブルであり、各CHPのアクセス要求の
処理状態およびポートのビジー状態などを表示す
る。なお、詳細は後述される。 In the figure, 11 is a CHP port, and CHP 0 to
Accepts address and control signals from CHP 3 . 12 is a CHP selector, which will be described later.
Controlled by a priority determination circuit. 13 is
This is a CHP priority determination circuit, which first selects one REQ among the access request signals REQ from CHP 0 to CHP 3 , and then transmits the REQ signal of the selected channel (expressed as SCH) to other access request devices. Output to determine priority between. 13a is a status display table provided for each CHP, which displays the processing status of access requests of each CHP, the busy status of ports, etc. Note that details will be described later.
14はCPUポートであり、CPU0,CPU1、選
択されたチヤネルSCH、そして図示されていな
いループバツク制御回路LBからの、アドレスお
よび制御信号を受け付ける。15はCPUセレク
タであり、後述する主優先順位決定回路により制
御される。 14 is a CPU port, which receives address and control signals from CPU 0 , CPU 1 , a selected channel SCH, and a loopback control circuit LB (not shown). Reference numeral 15 denotes a CPU selector, which is controlled by a main priority determining circuit, which will be described later.
16は主優先順位決定回路であり、CPUセレ
クタ15の入力対象CPU0,CPU1,SCH,LBに
ついて、それからのREQ信号の優先順位を決定
する。16aはCPU間の優先順位を表示するフ
ラグである。回路16から回路13へ出力される
信号は、SCHが選択されなかつたことを示
す。 16 is a main priority order determining circuit, which determines the priority order of the REQ signal for input targets CPU 0 , CPU 1 , SCH, and LB of the CPU selector 15 . 16a is a flag that indicates the priority order among CPUs. The signal output from circuit 16 to circuit 13 indicates that SCH has not been selected.
17はパイプラインであり、T1、T2、T3のス
テージのみを示す。T1V、T2V、T3Vは各ステー
ジのバリツド信号である。 17 is a pipeline, and only stages T 1 , T 2 and T 3 are shown. T 1 V, T 2 V, and T 3 V are the variable signals of each stage.
18は前述したセツトコンフリクト検出機能を
もつた回路である。19は実行開始されたアクセ
ス要求に対する処理不能条件の検出と無効化を行
う無効化制御回路である。20は禁止ゲートであ
り、上記回路18および19が処理続行不能
(NULLIFY)を指示したとき、バリツド信号を
反転して、実行不能信号を出力させる。 Reference numeral 18 denotes a circuit having the aforementioned set conflict detection function. Reference numeral 19 denotes an invalidation control circuit that detects and invalidates a condition that makes it impossible to process an access request that has started execution. Reference numeral 20 denotes a prohibition gate, which inverts the valid signal and outputs a disable signal when the circuits 18 and 19 instruct that processing cannot be continued (NULLIFY).
CHP優先順位決定回路13の基本的な順位決
定論理は、ポート番号順、予め指定した順、サイ
クリツクに変更する方法等、適当なものが使用で
きる。これに対して、一旦優先権を獲得しながら
,により無効となつたアクセス要求
の、再度の優先順位決定における優先順位を上げ
る手段が付加される。また、主優先順位決定回路
16の順位決定論理は、CPU<SCH<LBの順位
にしたがうこと、およびCPU同士についてはフ
ラグ16aの表示にしたがうこと、の2つであ
る。 As the basic ranking determination logic of the CHP priority determination circuit 13, any suitable method can be used, such as port number order, prespecified order, cyclic change method, etc. On the other hand, a means is added for raising the priority level in re-priority determination of an access request that once acquired priority but became invalid. Further, the order determining logic of the main priority order determining circuit 16 is two: following the order of CPU<SCH<LB, and following the display of the flag 16a for CPUs.
次に本発明により特徴づけられるところの、
CHP優先順位決定回路13における、優先権無
効アクセス要求に対する優先順位決定処理の制御
方式について、第2図の構成図をベースに、第3
図乃至第5図を参照して詳述する。 Next, the present invention is characterized by:
Regarding the control method of priority determination processing for priority invalid access requests in the CHP priority determination circuit 13, based on the configuration diagram in FIG.
This will be explained in detail with reference to FIGS. 5 to 5.
第3図は、各CHPのアクセス要求について管
理するためにそれぞれ設けられている状態表示テ
ーブル13aの構成例を示す。第1ビツトは、ア
クセス要求が発行されたとき“1”を表示する
(REQUEST)。第2ビツトは、1つのアクセス
要求が受付けられて優先順位決定処理中及びパイ
プライン処理中であり、CHPポート11がビジ
ーであることを示す(PORT BUSY)。第3ビツ
ト乃至第6ビツトは、受け付けられたアクセス要
求についてのポートにおける優先順位決定処理中
及びパイプライン処理中の制御状態を表示する状
態コードである(ACCEPTED 0、1、2、
3)。 FIG. 3 shows a configuration example of a status display table 13a provided for managing access requests of each CHP. The first bit displays "1" when an access request is issued (REQUEST). The second bit indicates that one access request has been accepted and priority determination processing and pipeline processing are in progress, and that the CHP port 11 is busy (PORT BUSY). The 3rd to 6th bits are status codes that indicate the control status during priority determination processing and pipeline processing at ports regarding accepted access requests (ACCEPTED 0, 1, 2,
3).
第4図は、第3図に示した状態表示テーブル1
3aの状態遷移図であり、全部で9つの状態から
なつている。 Figure 4 shows status display table 1 shown in Figure 3.
3a is a state transition diagram consisting of nine states in total.
はじめに、〔000000〕のリセツト状態にあり、
アクセス要求REQを受け付けたとき〔100000〕
に移る。ここでCHP優先順位決定回路13にお
いて第1段階の優先順位決定処理がなされ、ここ
で優先権を獲得したとき、すなわちアクセス要求
が選択されたとき(P)〔110110〕に移り、他
方、選択されないとき()には〔110000〕の状
態で選択されるまで待機する。 First, it is in the reset state of [000000],
When access request REQ is accepted [100000]
Move to. Here, the first stage priority determination process is performed in the CHP priority determination circuit 13, and when the priority is acquired here, that is, when the access request is selected, the process moves to (P) [110110], and on the other hand, when the access request is not selected, At time(), it waits in the state of [110000] until it is selected.
CHP優先順位決定回路13において選択され
たCHPアクセス要求は、次に主優先順位決定回
路16において第2段階の優先順位決定処理に参
加し、ここで選択されたとき(POK)には
〔110101〕に移り、実行(EXEC)されると
〔100100〕に移る。実行終了後次のアクセス要求
REQが受け付けられていれば〔100000〕に戻
り、他方、次のアクセス要求がないとき
()には〔000000〕に戻る。 The CHP access request selected in the CHP priority determination circuit 13 then participates in the second stage of priority determination processing in the main priority determination circuit 16, and when selected here (POK), the CHP access request is [110101] When it is executed (EXEC), it moves to [100100]. Next access request after execution ends
If the REQ is accepted, it returns to [100000], and on the other hand, if there is no next access request (), it returns to [000000].
しかし、そのCHPアクセス要求が第2段階の
処理で選択されなかつたときには()、
〔111011〕に移り、ここで高い優先順位を付与さ
れる。このため第1段階から選択され(P
(High))、〔111111〕となつて再び第2段階の処
理を受ける。ここで選択されたならば(POK)、
先の〔110101〕に移り実行される。しかし選択さ
れなかつた場合には()、〔111011〕に戻
り、第1段階での選択動作からやり直し、第2段
階で選択されるまで(POK)操り返す。 However, if the CHP access request is not selected in the second stage of processing (),
Move to [111011], where it is given higher priority. Therefore, it is selected from the first stage (P
(High)), [111111] and undergoes the second stage processing again. If selected here (POK),
The program moves to [110101] and is executed. However, if it is not selected, return to (), [111011], restart from the selection operation in the first step, and repeat the operation (POK) until it is selected in the second step.
他方、〔110101〕から実行(EXEC)に入つた
際、CHPアクセス要求が実行不能()とな
つたときには、〔111010〕に移り、第1段階で高
い優先順位を付与(P(HIGH))して選択さ
せ、第2段階の〔111111〕に移る。以下は先の場
合と同様である。 On the other hand, when entering execution (EXEC) from [110101], if the CHP access request becomes impossible to execute (), it moves to [111010] and is given a high priority (P (HIGH)) in the first stage. to select it and move on to the second step [111111]. The following is the same as the previous case.
また、3つ以上のCHPからのアクセス要求が
同時にMCU内に存在していて、かつ各アクセス
要求が処理続行不能(NULLIFY)で、再度第1
段階の優先順位決定からとり直すのをくり返すよ
うな状態が発生した時には、2つの高い優先順位
を付与(P(HIGH))されたアクセス要求同士
で競合して、いずれか一方が選択されない(
(HIGH))場合があるが、次のサイクルにおい
て、選択されなかつたアクセス要求に対する高い
優先順位は付与(P(HIGH))されたままであ
るから、選択されて(P(HISH))再び第2段
階の処理を受ける。以上の状態の遷移は、第3図
の〔111010〕から選択されず(())に
〔111011〕に移る場合と〔111011〕から選択され
ず(())に〔111011〕に留まる場合に
示される。 Also, if access requests from three or more CHPs exist in the MCU at the same time, and each access request cannot continue processing (NULLIFY), the first
When a situation arises in which it is necessary to repeatedly determine the priorities of the stages, two access requests with high priorities (P (HIGH)) compete with each other, and one of them is not selected (
(HIGH)), but in the next cycle, the high priority given to the unselected access request remains (P(HIGH)), so it is selected (P(HISH)) and the second undergo stage treatment. The above state transitions are shown in Figure 3 when it is not selected from [111010] and moves to [111011] (()), and when it is not selected from [111011] and remains at [111011] (()). It can be done.
このようにして、第2段階の優先順位決定処理
以降で、優先権を失つても、第1段階に戻つた際
直ちに選択されるように制御することができる。 In this way, even if priority is lost after the second stage priority determination process, control can be performed so that the priority is immediately selected when returning to the first stage.
第5図は、第4図に示した状態表示テーブルの
状態遷移を生成するための論理条件と、生成され
た状態表示に基づく制御内容とを示す動作例のタ
イミング図である。 FIG. 5 is a timing diagram of an operation example showing logical conditions for generating the state transition of the state display table shown in FIG. 4 and control contents based on the generated state display.
第5図において、aはクロツク周期を示し、E
−E間はCHPのクロツク周期である。CPUおよ
びMCUのクロツク周期は、E−E間の2分の1
となつている。bはポートビジー(PORT
BUSY)期間、cはMCU内部のポートビジー期
間、dはアクセス要求REQの存在期間、eは第
1段階で与えられる優先権PあるいはP
(HIGH)をもつ期間、f乃至gは状態表示コー
ドを示す。実線部は“1”、空白部は“0”を表
わしている。 In FIG. 5, a indicates the clock period, and E
-E is the CHP clock cycle. The clock period of the CPU and MCU is 1/2 between E and E.
It is becoming. b is port busy (PORT
BUSY) period, c is the port busy period inside the MCU, d is the existence period of the access request REQ, and e is the priority P or P given in the first stage.
(HIGH), f to g indicate status display codes. The solid line portion represents "1" and the blank portion represents "0".
また、jは第1段階のCHP優先順位決定回路
13の処理結果を示し、SEL REQはREQが選択
されたことを表わす。kは第2段階の主優先順位
決定回路16の処理結果CPU−Pを表わす。点
線は否定結果、実線は肯定結果である。そしてl
は出力信号POKあるいはの有無を示し、m
はその結果によるパイプラインの動作状態を示
す。nは第4図との対応を例示的に示している。 Further, j indicates the processing result of the first stage CHP priority determination circuit 13, and SEL REQ indicates that REQ has been selected. k represents the processing result CPU-P of the second stage main priority order determining circuit 16. A dotted line indicates a negative result, and a solid line indicates a positive result. and l
indicates the presence or absence of the output signal POK, m
indicates the operating status of the pipeline according to the result. n exemplarily indicates the correspondence with FIG. 4.
図中の0印は制御動作を起動するための入力論
理条件を表わし、これらを縦方向に連結して組合
わせた結果起動される制御動作は、矢印で示され
ている。たとえばでは、REQ=“1”、P=
“1”、ACPTD 0=“0”、ACPTD 1=“0”の
入力条件により〔SEL REQ〕を出力し、同時に
ACPTD1および2に“1”をセツトすることを
示している。では、SEL REQ=“1”とCPU
−P=“0”、すなわち第2段階における非選択か
ら信号を生成し、更にと状態コード
〔0110〕とから、状態コード〔1011〕をつくるこ
とを示す。そしてでは、パイプラインのT3ス
テージにおいて実行不能となり信号を生成
し、状態コードを〔1010〕に書き替えることを示
している。 The zero marks in the figure represent input logic conditions for activating control operations, and the control operations activated as a result of vertically connecting and combining these conditions are indicated by arrows. For example, REQ="1", P=
“1”, ACPTD 0 = “0”, ACPTD 1 = “0” input condition outputs [SEL REQ], and at the same time
This indicates that ACPTD1 and 2 are set to "1". Then, SEL REQ="1" and CPU
-P=“0”, that is, a signal is generated from non-selection in the second stage, and the status code [1011] is further generated from the status code [0110]. The following shows that it becomes unexecutable at the T3 stage of the pipeline, generates a signal, and rewrites the status code to [1010].
発明の効果
上述したように、本発明によれば、一度優先権
を獲得しながら何らかの事情で途中で優先権を失
つたCHPアクセス要求は、再度の優先順位決定
において他のCHPアクセス要求よりも優位な条
件をもたらされることにより、再実行への機会が
増し、処理の円滑化を図ることができる。Effects of the Invention As described above, according to the present invention, a CHP access request that once acquired priority but lost it midway through for some reason is given priority over other CHP access requests in re-prioritization. By providing suitable conditions, the chances of re-execution increase and processing can be made smoother.
第1図はデータ処理システムの典型的な構成例
図、第2図は実施例であるメモリ制御装置の構成
図、第3図は状態表示テーブルの説明図、第4図
は状態表示テーブルを用いたCHP優先順位決定
制御の状態遷移図、第5図は動作例のタイミング
図である。
図中、11はCHPポート、12はCHPセレク
タ、13はCHP優先順位決定回路、14はCPU
ポート、15はCPUセレクタ、16は主優先順
位決定回路、16aはCPU間の優先順位を示す
フラグ、17はパイプラインを示す。
Figure 1 is a typical configuration example of a data processing system, Figure 2 is a configuration diagram of a memory control device according to an embodiment, Figure 3 is an explanatory diagram of a status display table, and Figure 4 is an illustration of a status display table. FIG. 5 is a state transition diagram of CHP priority determination control and a timing diagram of an operation example. In the figure, 11 is a CHP port, 12 is a CHP selector, 13 is a CHP priority determination circuit, and 14 is a CPU
15 is a CPU selector, 16 is a main priority determining circuit, 16a is a flag indicating priority among CPUs, and 17 is a pipeline.
Claims (1)
に対して優先順位を定めて処理を行ない、上記複
数のアクセス要求装置からの複数個のアクセス要
求を同時に受け付けたとき、それらの優先順位を
決定してその中から一つのアクセス要求を選択し
て優先権を与えて処理を開始し、途中で処理の続
行が不能となつた場合、該アクセス要求の優先権
を無効化してアクセス要求を受け付けた状態に戻
し、そこで優先順位の決定をやり直す手段をそな
えたアクセス処理装置において、上記一度優先権
を無効にされたアクセス要求を次の優先順位の決
定に参加させる場合、優先順位を高くしてそのと
きの他のアクセス要求と競合させて処理すること
を特徴とするアクセス処理方式。1 Prioritize and process access requests from multiple access requesting devices, and when multiple access requests from the multiple access requesting devices are received at the same time, determine their priority and process them. If one access request is selected from among them, given priority, and processing is started, and it becomes impossible to continue the processing midway through, the priority of the access request is invalidated and the access request is returned to the state where the access request is accepted. Therefore, in an access processing device equipped with a means to re-determine the priority order, if the access request whose priority rights have been invalidated is to participate in the determination of the next priority order, the priority order is increased and the other access requests at that time are An access processing method characterized in that processing is performed in competition with access requests.
Priority Applications (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57108775A JPS58225463A (en) | 1982-06-24 | 1982-06-24 | Access processing system |
KR1019830002695A KR860000904B1 (en) | 1982-06-18 | 1983-06-16 | Access request controller in data processing system |
AU15883/83A AU540649B2 (en) | 1982-06-18 | 1983-06-17 | Access request control apparatus |
ES523396A ES8501545A1 (en) | 1982-06-18 | 1983-06-17 | AN ACCESS REQUIREMENT CONTROL UNIT IN A DATA PROCESSING SYSTEM. |
EP83303505A EP0097499B1 (en) | 1982-06-18 | 1983-06-17 | Access request control apparatus for a data processing system |
BR8303232A BR8303232A (en) | 1982-06-18 | 1983-06-17 | APPARATUS FOR ACCESS REQUEST CONTROL IN DATA PROCESSING SYSTEM |
DE8383303505T DE3380457D1 (en) | 1982-06-18 | 1983-06-17 | Access request control apparatus for a data processing system |
CA000430645A CA1193024A (en) | 1982-06-18 | 1983-06-17 | Access request control apparatus in data processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57108775A JPS58225463A (en) | 1982-06-24 | 1982-06-24 | Access processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS58225463A JPS58225463A (en) | 1983-12-27 |
JPS6130306B2 true JPS6130306B2 (en) | 1986-07-12 |
Family
ID=14493159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57108775A Granted JPS58225463A (en) | 1982-06-18 | 1982-06-24 | Access processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58225463A (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53111250A (en) * | 1977-02-21 | 1978-09-28 | Fujitsu Ltd | Interruption control system |
JPS6044711B2 (en) * | 1977-08-05 | 1985-10-04 | 日本電気株式会社 | interrupt control device |
-
1982
- 1982-06-24 JP JP57108775A patent/JPS58225463A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS58225463A (en) | 1983-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4755938A (en) | Access request control apparatus which reassigns higher priority to incomplete access requests | |
US5293500A (en) | Parallel processing method and apparatus | |
US5499356A (en) | Method and apparatus for a multiprocessor resource lockout instruction | |
US4149244A (en) | Data processing system including a program-executing secondary system controlling a program-executing primary system | |
KR20120036301A (en) | Programmable exception processing latency | |
EP0431326A2 (en) | Inter-processor interrupts in an n-element multi-processor | |
US7313794B1 (en) | Method and apparatus for synchronization of shared memory in a multiprocessor system | |
JP3400458B2 (en) | Information processing device | |
KR20080016421A (en) | System controller, same address request queuing prevention method and information processing device | |
US5696939A (en) | Apparatus and method using a semaphore buffer for semaphore instructions | |
JPS6134182B2 (en) | ||
EP0364226B1 (en) | A system for performing a serializing control of a reference to a main storage | |
JP3505728B2 (en) | Storage controller | |
GB2074764A (en) | Multiprocessor computer system | |
JPS6130306B2 (en) | ||
US5568631A (en) | Multiprocessor system with a shared control store accessed with predicted addresses | |
JP3006676B2 (en) | Multiprocessor | |
JP2872259B2 (en) | Multiprocessor system | |
WO2021037124A1 (en) | Task processing method and task processing device | |
KR860000904B1 (en) | Access request controller in data processing system | |
JP2000181711A (en) | Instruction fetch cancellation method | |
EP1403766A2 (en) | Balanced access to prevent gateword dominance in a multiprocessor write-into-cache environment | |
JPH0391055A (en) | Hardware lock setting method, hardware lock control device, hardware lock detection method and device | |
JPS58169275A (en) | Computer system with maintenance backup processor | |
JPH09146769A (en) | Pipeline processing equipment |