JPS6215902B2 - - Google Patents
Info
- Publication number
- JPS6215902B2 JPS6215902B2 JP15483379A JP15483379A JPS6215902B2 JP S6215902 B2 JPS6215902 B2 JP S6215902B2 JP 15483379 A JP15483379 A JP 15483379A JP 15483379 A JP15483379 A JP 15483379A JP S6215902 B2 JPS6215902 B2 JP S6215902B2
- Authority
- JP
- Japan
- Prior art keywords
- memory access
- time
- access request
- time information
- information
- 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
- 238000000034 method Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Multi Processors (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】
本発明は、メモリアクセス制御方式、特に、デ
ータ処理装置に於けるメモリアクセス制御方式に
関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory access control method, and particularly to a memory access control method in a data processing device.
従来のメモリアクセス制御方式は第1図に示す
如く複数の要求元1―1,1―2,〜,1―nか
らのメモリアクセス要求が同時には1つの要求し
かなければその順序で、同時に複数個のメモリア
クセス要求があれば優先順序決定回路2で受付順
序が決定されメモリアクセス要求スタツク3(こ
こではスタツク数が4ケの場合が図示されてい
る)にメモリアクセス要求情報がスタツクされ、
その後は先入先出方式により受付順番にメモリア
クセス処理が行なわれていた。図中10―1,1
0―2,〜,10―nは夫々の要求元からのメモ
リアクセス要求情報、11はスタツクに受付けが
許された前記メモリアクセス要求情報10―1,
10―2,〜,10―n,の1つ、12はメモリ
装置4をアクセスする前記メモリアクセス要求ス
タツク3内のメモリアクセス要求情報ST1,
〜,ST4の1つである。 As shown in Fig. 1, in the conventional memory access control method, if there is only one memory access request from multiple request sources 1-1, 1-2, . If there are memory access requests, the priority order determining circuit 2 determines the acceptance order, and the memory access request information is stacked in the memory access request stack 3 (the case where the number of stacks is 4 is shown here).
Thereafter, memory access processing was performed in the order of reception using a first-in, first-out method. 10-1,1 in the figure
0-2, .
10-2, -, 10-n, 12 is memory access request information ST1, in the memory access request stack 3 that accesses the memory device 4.
〜, one of ST4.
ここで、メモリアクセス時間の方が論理回路動
作時間に比し一般に大きいのでメモリアクセス要
求スタツク3が詰まつてしまうことがあり、そこ
へ格納されているメモリアクセス要求情報ST1
〜ST4よりも要求優先度の高いメモリアクセス
要求があつても先に詰つているメモリアクセス要
求が順次全て処理されてしまわない限りメモリア
クセスが行なわれないことになる。この結果、要
求優先度の高いメモリアクセス要求が許容限度以
上に待たされることになり、特に、要求元として
高速の入出力装置からのメモリアクセス要求など
においてはデータロストやオーバランなどの結果
をまねくという欠点があつた。 Here, since the memory access time is generally longer than the logic circuit operating time, the memory access request stack 3 may become clogged, and the memory access request information ST1 stored therein may become clogged.
~ Even if there is a memory access request with a higher request priority than ST4, the memory access will not be performed unless all of the previously packed memory access requests are sequentially processed. As a result, high-priority memory access requests are forced to wait longer than the allowable limit, leading to data loss and overruns, especially for memory access requests from high-speed input/output devices as the request source. There were flaws.
これ等を救済する手段としてフアームウエア又
はソフトウエア等により再試行などの手段が講じ
られているが、場合によつては無視することので
きない再試行のためのわずらわしさやそのための
弊害や性能低下をまねく結果となつていた。 Measures such as retrying using firmware or software have been taken as a remedy for this problem, but in some cases, the troublesomeness of retrying and the resulting harm or performance degradation cannot be ignored. The results were obvious.
更に、近年は要求元としての演算処理装置や入
出力装置の高速化が目まぐるしく、上述した傾向
はますます強まつてくるので、再試行手段などで
はとうてい回避できない状況になることが予想さ
れている。 Furthermore, in recent years, the speed of arithmetic processing units and input/output devices that serve as request sources has increased rapidly, and the above-mentioned trends are expected to become even stronger, so it is expected that a situation will become impossible to avoid using retry methods. .
すなわち、演算処理装置が高速になるとそれに
比例して演算処理装置からのメモリアクセス要求
の頻度が増し、メモリアクセス要求スタツク3が
常に演算処理装置によつて占拠されてしまう傾向
となり、また、入出力装置が高速になるとそれに
比例して入出力装置からのメモリアクセス要求に
対して要求される許容ターンアラウンドタイムが
厳しくなるわけである。 In other words, as the speed of the arithmetic processing device increases, the frequency of memory access requests from the arithmetic processing device increases proportionally, and the memory access request stack 3 tends to be always occupied by the arithmetic processing device. As devices become faster, the allowable turnaround time required for memory access requests from input/output devices becomes stricter in proportion.
また、他の救済手段としてメモリ装置4をいく
つかのバンクに分割しそのバンク毎に独立にアク
セスができるようにし、かゝる欠点を緩和するよ
うにしているものもあるが、そのためにはかなり
の量のハードウエア増加を伴なうと同時に基本的
には何ら解決されたものではない。 In addition, as another remedy, the memory device 4 is divided into several banks so that each bank can be accessed independently, in order to alleviate such drawbacks, but this requires considerable effort. This involves an increase in the amount of hardware, and at the same time, there is basically no solution to the problem.
いきおい、要求元としての演算処理装置や入出
力装置の高速化に追従できるようにメモリアクセ
ス制御部の高速化やメモリ装置4そのものの高速
化へ走ることになるが、実際には前述のようなメ
モリアクセス要求が悪条件下で重なるのは比較的
まれであり、時間的に平均するとまだ充分余裕の
あるのが普通である。いずれにしても、従来のメ
モリアクセス制御方式はメモリアクセス要求の要
求元の高速化に伴なつてデータロストやオーバラ
ンを起しやすいという欠点があつた。 In order to keep up with the increasing speed of arithmetic processing units and input/output devices that are request sources, efforts are being made to speed up the memory access control unit and the memory device 4 itself, but in reality, the speed of the memory device 4 itself is increased. It is relatively rare for memory access requests to overlap under adverse conditions, and there is usually still plenty of time on average. In any case, conventional memory access control methods have the disadvantage that data loss and overruns are likely to occur as the speed of the requester for memory access requests increases.
本発明の目的はメモリアクセス要求スタツクに
要求が格納された後でも要求元の要求の強さに応
じて次のメモリサイクルを割当てることを可能と
することにより、入出力装置系でのデータロスト
やオーバラン障害が極めて少ないメモリアクセス
制御方式を提供することにある。 An object of the present invention is to prevent data loss in the input/output device system by making it possible to allocate the next memory cycle depending on the strength of the request source even after the request is stored in the memory access request stack. An object of the present invention is to provide a memory access control method with extremely few overrun failures.
本発明の他の目的はデータロストやオーバラン
に対してできるだけ少ないハードウエア量で実現
したメモリアクセス制御方式を提供することにあ
る。 Another object of the present invention is to provide a memory access control system that can prevent data loss and overrun with as little hardware as possible.
即ち、上述の如く待たせることのできるメモリ
アクセス要求は必要な限り待たせ、待たせること
のできない要求を先に処理することができるよう
にしたことにより、比較的まれな悪条件のために
わざわざ過剰な物量を投入したり、過剰性能を付
与したりする必要がなくなつた。 In other words, as mentioned above, memory access requests that can be made to wait are made to wait as long as necessary, and requests that cannot be made to wait can be processed first. There is no longer a need to invest in excessive amounts of materials or provide excessive performance.
本発明のメモリアクセス制御方式は、時刻を出
力する時刻計時部と、要求元からの時間情報を前
記時刻に加算して時刻情報を発生する加算回路
と、前記時間情報とともに前記要求元から供給さ
れたメモリアクセス要求情報を前記時刻情報と1
組として複数組格納するメモリアクセス要求スタ
ツクと、格納されている複数の前記時刻情報を相
互比較し最小の時刻情報を指示する比較結果信号
を出力する比較回路と、前記比較結果信号で指示
されたメモリアクセス要求情報をメモリ装置に出
力するセレクタとを含んで構成される。 The memory access control method of the present invention includes: a time clock unit that outputs a time; an addition circuit that adds time information from a request source to the time to generate time information; The memory access request information is combined with the time information.
a memory access request stack that stores a plurality of sets as a set; a comparison circuit that mutually compares a plurality of the stored time information and outputs a comparison result signal that indicates the minimum time information; and a comparison circuit that outputs a comparison result signal that indicates the minimum time information; and a selector that outputs memory access request information to the memory device.
すなわち、本発明のメモリアクセス制御方式
は、複数の要求元から出されるメモリアクセス要
求を受付順序に従がつてメモリアクセス要求スタ
ツクに一たん格納し、該メモリアクセス要求スタ
ツクの出力によつてメモリ装置をアクセスするメ
モリアクセス制御方式において、下記(1)〜(6)の手
段によつて構成される。 That is, in the memory access control method of the present invention, memory access requests issued from a plurality of request sources are temporarily stored in a memory access request stack according to the order of reception, and the memory device is controlled by the output of the memory access request stack. A memory access control method for accessing a memory is configured by the following means (1) to (6).
(1) 各要求元に設けた該要求元の性格に応じて決
定される待ち許容時間々隔情報である時間情報
をメモリアクセス要求情報と同時に送出する手
段。(1) Means provided for each request source to send time information, which is wait permissible time interval information determined according to the characteristics of the request source, at the same time as memory access request information.
(2) システム共通の計時間隔で計時を行ない時刻
を出力する時刻計時手段。(2) A time measurement means that measures time at a common system time interval and outputs the time.
(3) 要求元から送出される前項記載時間情報と、
前項時刻計時部からの時刻とを加算する手段。(3) The time information described in the preceding paragraph sent from the request source,
Means for adding the time from the time clock section in the previous section.
(4) 前記加算手段による加算結果としての時刻情
報と前記メモリアクセス要求情報とを組みにし
て格納することのできるスタツク手段。(4) Stack means capable of storing time information as a result of addition by the addition means and the memory access request information in combination.
(5) 前記スタツク手段のうちの時刻記憶部に格納
したすべての時刻情報について内容を比較しメ
モリアクセス要求の強さの一番高い(例えば最
少又は最大値の)メモリアクセス要求が格納さ
れているスタツク番号を出力する比較手段。(5) Compare the contents of all the time information stored in the time storage section of the stack means and determine that the memory access request with the highest strength (for example, the minimum or maximum value) is stored. A comparison means that outputs the stack number.
(6) 前記比較手段の出力により次のメモリサイク
ルを割当てるスタツク選択手段。(6) Stack selection means for allocating the next memory cycle based on the output of the comparison means.
次に、本発明の実施例について図面を参照して
説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第2図は本発明の一実施例で複数のメモリアク
セス要求元60―1,60―2,〜,60―nに
は従来有するメモリアクセス要求発生部62―
1,62―2,…の他に待ち許容時間間隔情報発
生部61―1,61―2,…が設けられている。 FIG. 2 shows an embodiment of the present invention, in which a plurality of memory access request sources 60-1, 60-2, .
1, 62-2, . . . , wait permissible time interval information generating units 61-1, 61-2, . . . are provided.
上記要求元60―1,60―2,〜,60―
n,からのメモリアクセス要求情報110―1,
110―2,〜,110―nはアクセス制御部5
0内の優先順序決定回路52へ送られ同時にメモ
リアクセス要求がきたときの優先順序制御がなさ
れる。 The above requester 60-1, 60-2, ~, 60-
Memory access request information 110-1 from n,
110-2, ~, 110-n are access control units 5
The memory access requests are sent to the priority order determination circuit 52 in 0, and priority order control is performed when memory access requests arrive at the same time.
アクセス権の与えられたメモリアクセス要求情
報はメモリ要求情報111と時間情報113とに
2分され、メモリ要求情報111はメモリ要求ス
タツク53の要求記憶部へ格納され、時間情報1
13(ti)は常時時刻を計時している時刻計時部
55からの時刻114(Ti)と加算回路56に
て加算され時刻情報115(Ti+ti)となり上記
メモリ要求情報111と組みにしてメモリアクセ
ス要求スタツク53の時刻記憶部へ格納される。
むろんメモリアクセス要求スタツク53に空きが
なければ上記動作が待たされる様制御される。上
記時刻記憶部に時刻情報115を格納する際該時
刻記憶部の有効ビツトをセツトし、後刻当該メモ
リアクセス要求が処理された時リセツトされる。
上記有効ビツトの初期値は全てリセツト状態であ
る。 Memory access request information to which access rights have been granted is divided into memory request information 111 and time information 113. Memory request information 111 is stored in the request storage section of the memory request stack 53, and time information 1
13(ti) is added to the time 114(Ti) from the time clock section 55 that constantly measures the time in the adder circuit 56, resulting in time information 115(Ti+ti), which is combined with the memory request information 111 and issued as a memory access request. It is stored in the time storage section of the stack 53.
Of course, if there is no free space in the memory access request stack 53, the above operation is controlled to wait. When storing the time information 115 in the time storage section, the valid bit of the time storage section is set, and is reset later when the memory access request is processed.
The initial values of the above valid bits are all in the reset state.
次に本発明の最大の特徴であるメモリアクセス
要求スタツク53内に格納されている複数のメモ
リアクセス要求情報のうち、最も緊急度の高いも
のが選択される様子を説明する。その前にこれま
でにでてきた時刻、時間に関する情報のそれぞれ
が有する意味について以下に述べる。 Next, a description will be given of how one of the plurality of pieces of memory access request information stored in the memory access request stack 53 is selected with the highest degree of urgency, which is the greatest feature of the present invention. Before that, the meaning of each of the time and time-related information that has been released so far will be described below.
時間情報ti;メモリアクセス要求を出してからメ
モリアクセスが許される迄に最大待つことが
許容される時間々隔。要求元の装置の性格に
よりそれぞれ適切な値が決められる。Time information ti: Maximum time interval allowed to wait after issuing a memory access request until memory access is granted. Appropriate values are determined depending on the characteristics of the requesting device.
時刻Ti;メモリアクセス要求をメモリ要求スタ
ツク53に格納することが許された時刻。Time Ti: Time at which a memory access request is allowed to be stored in the memory request stack 53.
時刻情報Ti+ti;メモリアクセス要求に対しメモ
リアクセスを許すことを最大待たせることが
許容される時刻。Time information Ti+ti: Time at which it is permissible to wait the maximum time for allowing memory access in response to a memory access request.
尚、以降の説明を解りやすくする為時間情報
ti,時刻Tiの単位はシステムクロツクtとする。 In addition, time information is provided to make the following explanation easier to understand.
The unit of ti and time Ti is the system clock t.
さて、メモリアクセス要求スタツク53の時刻
記憶部に格納されている複数の時刻情報Ti+tiは
それぞれ上記の意味を持つことになるので、この
中で最少の値を有するメモリアクセス要求がその
時刻近辺において最も先に処理される必要があ
る。すなわち、最も緊急度の高いメモリアクセス
要求であることは容易に理解できよう。 Now, since the plurality of time information Ti+ti stored in the time storage section of the memory access request stack 53 each has the above meaning, the memory access request having the smallest value among them is the most It needs to be processed first. In other words, it is easy to understand that this is the most urgent memory access request.
よつて、メモリアクセス要求スタツク53の時
刻記憶部から出力される時刻情報301,30
2,303,304(第2図に示す通りスタツク
数が4の場合につき述べている。以下同様)を比
較回路57にて比較し最小の値を有する時刻情報
の格納されているスタツク番号を示す比較結果信
号116にてセレクタ58を選択すれば、セレク
タの出力であるメモリアクセス要求情報112は
4つのメモリアクセス要求情報201,202,
203,204の中でその時刻近辺での最も緊急
度の高いメモリアクセス要求にもとずくメモリア
クセス要求情報となる。 Therefore, the time information 301, 30 output from the time storage section of the memory access request stack 53
2, 303, and 304 (as shown in FIG. 2, the case where the number of stacks is 4 is described. The same applies hereinafter) are compared in the comparator circuit 57, and the stack number in which the time information having the minimum value is stored is indicated. If the selector 58 is selected using the comparison result signal 116, the memory access request information 112 which is the output of the selector is divided into four pieces of memory access request information 201, 202,
This is memory access request information based on the memory access request with the highest degree of urgency around that time among 203 and 204.
なお、上記比較において、時刻情報301,3
02,303,304に有効ビツトがリセツトさ
れているものがあれば、比較の対象から外される
様比較回路57は構成されている。また、上述の
様にしてメモリアクセスが許可されたメモリアク
セス要求の入つていたスタツク番号の時刻記憶部
内有効ビツトはレジスタ59の出力117にてリ
セツトされる。 In addition, in the above comparison, the time information 301, 3
The comparison circuit 57 is configured so that if any of 02, 303, and 304 has its valid bit reset, it is excluded from comparison. Further, the valid bit in the time storage unit of the stack number containing the memory access request for which memory access was permitted as described above is reset at the output 117 of the register 59.
かくの如き動作が以後くり返されるわけである
が、要するにメモリアクセス要求情報112に基
づいてメモリ装置4をアクセスしていれば常にど
のメモリサイクルでも最も緊急度の高いメモリア
クセス要求に応えていることになり本発明の目的
が達成される。 Such operations are repeated thereafter, but in short, if the memory device 4 is accessed based on the memory access request information 112, the memory access request with the highest degree of urgency is always met in any memory cycle. Thus, the object of the present invention is achieved.
尚、時刻計時部55、メモリアクセス要求スタ
ツク53の時刻記憶部、加算回路56、比較回路
57、および、関連する信号線のビツト巾は経済
性の観点からあまり大きくすることはできない
が、実用性の面からもあまり大きくする必要もな
い。このため、時刻計時部55、および、加算回
路56におけるオーバフローに対し適切なる処理
が必要であるが、上述の実施例では、この部分は
省略してある。 Note that the bit widths of the time clock section 55, the time storage section of the memory access request stack 53, the addition circuit 56, the comparison circuit 57, and the related signal lines cannot be made very large from an economic standpoint; There is no need to make it too large from the point of view. For this reason, it is necessary to take appropriate measures against overflows in the time clock unit 55 and the adder circuit 56, but this part is omitted in the above-described embodiment.
以上の説明から理解できるように、要求元の性
格によりそれぞれの時間情報tiを適切に定めれば
最適のシステムを構成することが可能である。 As can be understood from the above explanation, it is possible to configure an optimal system by appropriately determining each time information ti depending on the characteristics of the request source.
さらに、時間情報tiをハードで固定的に設定す
る以外にフアームウエア、または、ソフトウエア
で任意に設定可能とした可変形とすることもでき
るが、これ等はすべて本発明に含まれるものであ
る。 Furthermore, instead of setting the time information ti fixedly using hardware, it can also be made variable so that it can be arbitrarily set using firmware or software, but all of these are included in the present invention. .
第3図はメモリアクセス要求の受付けとメモリ
サイクルタイムの割当てが、要求元のメモリアク
セス要求に応じて行なわれる様子の一例を示した
ものである。 FIG. 3 shows an example of how reception of a memory access request and allocation of memory cycle time are performed in accordance with the memory access request of the request source.
図中の要求受付順序を示す要求1,2,6,
8,9,11は演算処理装置などの如く原理的に
はメモリアクセスを充分待たせ得る装置からの要
求を示している。よつて時間情報tiの値が大きく
設定されている。また、要求4,5,10は高速
の入出力装置が接続されているデータチヤネル装
置からのメモリアクセス要求を示しており時間情
報tiの値は小さく設定されている。また、要求
3,7は中速の入出力装置が接続されているデー
タチヤネル装置からの要求を表わしている。 Requests 1, 2, 6, indicating the order of request reception in the diagram.
Reference numerals 8, 9, and 11 indicate requests from devices such as arithmetic processing units that, in principle, can make memory accesses wait for a long time. Therefore, the value of time information ti is set large. Further, requests 4, 5, and 10 indicate memory access requests from data channel devices to which high-speed input/output devices are connected, and the value of time information ti is set small. Further, requests 3 and 7 represent requests from data channel devices to which medium-speed input/output devices are connected.
図からも分る通りメモリアクセス要求が連続し
てきている限り4個のメモリアクセス要求スタツ
クは常にFULLの状態であり4つの要求が待たさ
れているので4つずつ時刻情報Ti+tiが比較さ
れ、最小のものから順にメモリサイクルタイム
C1,C2,……が割当てられてゆく状況が示され
ている。〇印内に番号を示したがその番号順に該
当するメモリアクセス要求に対しメモリサイクル
タイムが割当てられている。〇印は該当するメモ
リアクセス要求スタツクに登録されてはいるがそ
の時点での未処理のもの、/印は当該メモリアク
セス要求は既に処理されスタツクから消されたも
の、−印は未だ到着していないメモリアクセス要
求をそれぞれ表わしている。 As can be seen from the figure, as long as memory access requests continue, the four memory access request stacks are always in the FULL state and four requests are kept waiting, so the time information Ti + ti is compared four by four, and the minimum Memory cycle time from top to bottom
The situation in which C 1 , C 2 , ... are allocated is shown. The numbers are shown inside the circle, and the memory cycle time is allocated to the corresponding memory access requests in the order of the numbers. 〇 indicates that the memory access request has been registered in the corresponding memory access request stack but has not yet been processed, / indicates that the memory access request has already been processed and has been deleted from the stack, and - indicates that the memory access request has not yet arrived. Each represents a memory access request that is not available.
なお、ここでは時刻の単位はシステムクロツク
間隔t、メモリサイクルタイムは20tとしてい
る。 Here, the unit of time is the system clock interval t, and the memory cycle time is 20t.
ここで、心配されることは待てるからと言つて
いつまでも待たされはしないかということである
が、実際はメモリサイクルが経過する毎にサイク
ルタイム分(ここでは20t)だけ時刻が経過して
おりその分だけ待たされているメモリアクセス要
求の優先順序は次第に高くなつてくる。従がつ
て、最悪でも
ti/メモリサイクルタイム回目、図の例では400
t/20t=
20回目または、それ以前にそのメモリアクセス要
求の優先度が最高になり必ず処理される。しか
し、現実には時間情報tiの値の小さいメモリアク
セス要求が連続してしかも頻度高く発生すること
はなく、上式の値よりはるか以前に受付けられる
ことになる。 The concern here is that even if you can wait, you won't have to wait forever, but in reality, every time a memory cycle passes, the cycle time (20t in this case) has elapsed. The priority order of memory access requests that have been kept waiting will gradually become higher. Therefore, at worst, ti/memory cycle time is 400 in the example shown.
t/20t = At or before the 20th time, the memory access request has the highest priority and is always processed. However, in reality, memory access requests with small values of time information ti do not occur consecutively or frequently, and are accepted far before the value of the above equation.
第3図の右端に、実際に受付けて処理された時
刻が示されているが、何れも時刻情報Ti+tiより
かなり前に処理されたことを示している。 At the right end of FIG. 3, the times at which the requests were actually received and processed are shown, but both indicate that they were processed well before the time information Ti+ti.
尚、時刻情報Ti+tiと他の時刻情報Tj+tjの値
とが全く等しい場合は何れか一方のみが選択され
るように、比較回路57が構成されていることは
勿論である。 It goes without saying that the comparison circuit 57 is configured so that when the time information Ti+ti and the value of the other time information Tj+tj are completely equal, only one of them is selected.
本発明のメモリアクセス制御方式は時刻計時部
と、加算回路と、比較回路とを追加し、要求元か
らのメモリアクセス要求のときにメモリアクセス
要求情報のほかに時間情報の供給をうけて、時刻
と時間情報との加算結果として得られた複数の時
刻情報を相互比較して最小時刻情報に対応したメ
モリアクセス要求情報をメモリ装置に送ることに
より、後発の要求優先度の高いメモリアクセス要
求について、先にメモリアクセスができるため、
ハードウエア量の少ない増加で、データロストお
よびオーバランによる障害から極小化できるとい
う効果がある。 The memory access control method of the present invention adds a time clock section, an addition circuit, and a comparison circuit, and receives time information in addition to memory access request information when a memory access request is made from a request source. By mutually comparing multiple pieces of time information obtained as a result of adding the time information and the time information, and sending memory access request information corresponding to the minimum time information to the memory device, the subsequent memory access requests with high request priority can be processed. Since memory can be accessed first,
A small increase in the amount of hardware has the effect of minimizing failures due to data loss and overrun.
すなわち、本発明のメモリアクセス制御方式は
メモリアクセス要求をメモリアクセス要求スタツ
クに格納する際要求の強さ及び受付け時刻とを組
合せた時刻情報を同時に組みにして格納し、次の
メモリサイクルを割当てる場合スタツク内の時刻
情報の内容が最小のものに対応するメモリアクセ
ス要求を選択しメモリ装置をアクセスする様に構
成することにより、入出力装置系で発生するデー
タロストやオーバラン等の障害を極少にすること
ができるという効果がある。 That is, in the memory access control method of the present invention, when a memory access request is stored in a memory access request stack, time information that combines the strength of the request and the reception time is simultaneously stored as a set, and when the next memory cycle is allocated. By configuring the memory device to be accessed by selecting the memory access request that corresponds to the time information with the smallest content in the stack, problems such as data loss and overruns that occur in the input/output device system can be minimized. It has the effect of being able to
第1図は従来の一例を示すブロツク図、第2図
は本発明の一実施例を示すブロツク図、第3図は
第2図に示す実施例の動作を説明するための図で
ある。
1―1,1―2,〜,1―n…メモリアクセス
要求元、2…優先順序決定回路、3…メモリ要求
スタツク、4…メモリ装置、10―1,〜10―
n,11,12…メモリ要求情報、60―1,6
0―2,〜,60―n…メモリアクセス要求元、
61―1,…待ち許容時間々隔情報発生部、62
―1,…メモリアクセス要求発生部、110―
1,110―2,〜,110―n…メモリアクセ
ス要求情報、50…アクセス制御部、52…優先
順序決定回路、53…メモリアクセス要求スタツ
ク、55…時刻計時部、56…加算回路、57…
比較回路、58…セレクタ、59…レジスタ、1
11,201,202,203,204及び11
2…メモリアクセス要求情報、113…時間情
報、114…時刻、115,301,302,3
03及び304…時刻情報、116…比較結果信
号、117…リセツト信号。
FIG. 1 is a block diagram showing a conventional example, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a diagram for explaining the operation of the embodiment shown in FIG. 1-1, 1-2, ~, 1-n...Memory access request source, 2...Priority order determining circuit, 3...Memory request stack, 4...Memory device, 10-1, ~10-
n, 11, 12...Memory request information, 60-1, 6
0-2, ~, 60-n...Memory access request source,
61-1, ... Allowable waiting time interval information generation unit, 62
-1,...Memory access request generation unit, 110-
1,110-2, to, 110-n...Memory access request information, 50...Access control unit, 52...Priority order determining circuit, 53...Memory access request stack, 55...Time clock unit, 56...Addition circuit, 57...
Comparison circuit, 58...Selector, 59...Register, 1
11, 201, 202, 203, 204 and 11
2...Memory access request information, 113...Time information, 114...Time, 115, 301, 302, 3
03 and 304...Time information, 116...Comparison result signal, 117...Reset signal.
Claims (1)
時間情報を前記時刻に加算して時刻情報を発生す
る加算回路と、前記時間情報とともに前記要求元
から供給されたメモリアクセス要求情報を前記時
刻情報と1組として複数組格納するメモリアクセ
ス要求スタツクと、格納されている複数の前記時
刻情報を相互比較し最小の時刻情報を指示する比
較結果信号を出力する比較回路と、前記比較結果
信号で指示されたメモリアクセス要求情報をメモ
リ装置に出力するセレクタとを含むことを特徴と
するメモリアクセス制御方式。1. A time clock unit that outputs a time; an addition circuit that adds time information from a request source to the time to generate time information; and an add circuit that adds time information from a request source to the time to generate time information; a memory access request stack that stores a plurality of sets of time information; a comparison circuit that mutually compares the plurality of stored time information and outputs a comparison result signal instructing the minimum time information; 1. A memory access control method, comprising: a selector that outputs instructed memory access request information to a memory device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15483379A JPS5679354A (en) | 1979-11-29 | 1979-11-29 | Memory access control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15483379A JPS5679354A (en) | 1979-11-29 | 1979-11-29 | Memory access control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5679354A JPS5679354A (en) | 1981-06-29 |
| JPS6215902B2 true JPS6215902B2 (en) | 1987-04-09 |
Family
ID=15592869
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15483379A Granted JPS5679354A (en) | 1979-11-29 | 1979-11-29 | Memory access control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5679354A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5833744A (en) * | 1981-08-21 | 1983-02-28 | Canon Inc | information processing equipment |
| JP2514671B2 (en) * | 1987-11-10 | 1996-07-10 | 日本電信電話株式会社 | Data access control method |
-
1979
- 1979-11-29 JP JP15483379A patent/JPS5679354A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5679354A (en) | 1981-06-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4849882A (en) | Vector processing system for processing plural vector instruction streams | |
| US7360035B2 (en) | Atomic read/write support in a multi-module memory configuration | |
| JP3088241B2 (en) | System and method for coordinating assignment requests | |
| JP2008293484A (en) | Buffer memory sharing device | |
| US3447135A (en) | Peripheral data exchange | |
| US5568635A (en) | Physical memory allocation system, program execution scheduling system, and information processor | |
| US4358829A (en) | Dynamic rank ordered scheduling mechanism | |
| JPH07175698A (en) | File system | |
| KR20140048186A (en) | A memory controller and method of operation of such a memory controller | |
| US8490102B2 (en) | Resource allocation management using IOC token requestor logic | |
| US20050223147A1 (en) | Method and apparatus for allocating bus access rights in multimaster bus systems | |
| US20060047874A1 (en) | Resource management apparatus | |
| US6782441B1 (en) | Arbitration method and apparatus | |
| CA2323116A1 (en) | Graphic processor having multiple geometric operation units and method of processing data thereby | |
| US6425032B1 (en) | Bus controller handling a dynamically changing mix of multiple nonpre-emptable periodic and aperiodic devices | |
| JPS6215902B2 (en) | ||
| KR102230669B1 (en) | Apparatus and method for processing real-time parallel data | |
| US7281095B2 (en) | Memory device control system | |
| JPS594733B2 (en) | Kyoutsuba Seigiyo Cairo | |
| KR100973419B1 (en) | Bus Arbitration Method and Device | |
| US20050066097A1 (en) | Resource management apparatus | |
| JP7510382B2 (en) | System and method for arbitrating access to a shared resource - Patents.com | |
| CN121029323B (en) | Accelerator device and control method of accelerator device | |
| US12386734B2 (en) | Data processing device and associated memory management method | |
| JPH0376505B2 (en) |