JPS61255448A - Memory access control device - Google Patents

Memory access control device

Info

Publication number
JPS61255448A
JPS61255448A JP9759585A JP9759585A JPS61255448A JP S61255448 A JPS61255448 A JP S61255448A JP 9759585 A JP9759585 A JP 9759585A JP 9759585 A JP9759585 A JP 9759585A JP S61255448 A JPS61255448 A JP S61255448A
Authority
JP
Japan
Prior art keywords
data
address information
circuit
memory unit
memory
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.)
Granted
Application number
JP9759585A
Other languages
Japanese (ja)
Other versions
JPH0448262B2 (en
Inventor
Naoto Kaji
直人 梶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP9759585A priority Critical patent/JPS61255448A/en
Publication of JPS61255448A publication Critical patent/JPS61255448A/en
Publication of JPH0448262B2 publication Critical patent/JPH0448262B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PURPOSE:To forecast the timing in which the memory unit comes to be the nonuse condition and to hasten the access by calculating the number of the waiting clock cycle from the relation between the final address information of the first data and the head address information of the second data, and the cycle time of the memory unit. CONSTITUTION:By the access of the first data, the number of factors and a distance D between factors are supplied to the first shifting circuit 1, the data length is calculated, and further, the address information of the final factor of the first data is calculated at the first adder circuit 2. By the access of the second data, the final and head address information difference of both data is calculated at the second adder circuit through a complement circuit 3, and the address information difference is outputted from the second shifting circuit by the relation of the distance between factors of the first and second data obtained from a comparing circuit 7. The fourth adder circuit 13 outputs the control signal of a gate circuit 14 from the difference the highest order bit to show the size relation of the regularized cycle time information and the address information, and outputs and controls the adder value of the output of TC-1 from the third adder circuit 12 and the complement circuit 10.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置において、複数の要素から成るデ
ータを連続してアクセス制御するメモリアクセス制御装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a memory access control device that continuously controls access to data consisting of a plurality of elements in an information processing device.

(従来の技術) 情報処理装置のメモリアクセス制御装置において、複数
要素がそれぞれメモリ上に一定間隔で配置されているも
のとする。従来、斯かる複数要素から成るデータのアク
セス法として、1要素ずつアクセスしようとしているメ
モリ単位が使用状態であるか否かを試験し、このメモリ
単位が使用状態でなければメモ’JK対してアクセス要
求信号を送出するという方式が提案されている。例えば
、特公昭57−56751号において斯かる方式による
と、メモリ単位の数が少なければハードウェア量が少な
くてすむが、メモリ単位の数が多いとハードウェア量が
多くなる。
(Prior Art) In a memory access control device for an information processing device, it is assumed that a plurality of elements are respectively arranged at regular intervals on a memory. Conventionally, the method of accessing data consisting of multiple elements is to test whether the memory unit to be accessed element by element is in the used state, and if this memory unit is not in the used state, access to Memo 'JK is performed. A method has been proposed in which a request signal is sent. For example, according to the method disclosed in Japanese Patent Publication No. 57-56751, if the number of memory units is small, the amount of hardware is small, but if the number of memory units is large, the amount of hardware is increased.

複数の要素から成るデータを取扱う装置は、一般にメモ
リ単位の数を多くし、メモリ単位内の競合を避ける傾向
にあり、ハードウェア量の増加が顕著になってくる。こ
のようなハードウェア量の増加を解消するための方法と
して、メモリ単位内の競合が起らないようにすべてのメ
モリ単位を使用状態にしてメモリに対するアクセス要求
信号の送出を制限する方式が提案されでいる。
Devices that handle data consisting of a plurality of elements generally tend to increase the number of memory units to avoid contention within the memory units, resulting in a noticeable increase in the amount of hardware. As a method to solve this increase in the amount of hardware, a method has been proposed in which all memory units are kept in use and the sending of access request signals to the memory is restricted to prevent contention within memory units. I'm here.

(発明が解決しよりとする問題点) 上述した従来技術では、先行するデータにおいて最#!
要素に対するアクセス要求信号を送出した後、メモリ単
位のサイクル時間分はすべてのメモリ単位が使用状態に
なっておシ、後続するデータのアクセスにより、先行デ
ータによってアクセスされないメモリ単位へアクセスを
実行しようとする場合も、メモリ単位のサイクル時間だ
け待たされることになって性能が劣化するという問題が
おる。
(Problems to be Solved by the Invention) In the above-mentioned conventional technology, the highest number in the preceding data!
After sending an access request signal to an element, all memory units are in use for the memory unit cycle time, and subsequent data accesses attempt to access memory units that are not accessed by previous data. Even in this case, there is a problem that the performance deteriorates because the user is forced to wait for the cycle time of each memory unit.

本発明の目的は、第1のデータの最終要素のアドレス情
報を計算し、このアドレス情報を第2のデータの先頭要
素のアドレス情報と比較し、アドレス情報間の関係とメ
モリ単位のサイクル時間とから待合せクロックサイクル
数を計算できるようにして上記欠点を除去し、待ち時間
を短縮できるように構成したメモリアクセス制御装置を
提供することにある。
The purpose of the present invention is to calculate the address information of the last element of the first data, compare this address information with the address information of the first element of the second data, and calculate the relationship between the address information and the cycle time of the memory unit. It is an object of the present invention to provide a memory access control device configured to be able to calculate the number of waiting clock cycles from the above, thereby eliminating the above-mentioned drawbacks and shortening the waiting time.

(問題点を解決するための手段) 本発明によるメモリアクセス制御装置は、相互に独立し
てアクセス可能であって、複数のメモリ単位順に番地付
けされたメモリに対して、それぞれメモリ上に一定間隔
で配置された複数の要素から成るデータのアクセスを制
御することができるものであって、第1および第2の供
給手段と、第1の計算手段と、アドレス保持手段と、距
離情報保持手段と、第2の計算手段とを具備して構成し
たものである。
(Means for Solving the Problems) A memory access control device according to the present invention provides a memory access control device that can be accessed independently of each other and that is arranged at regular intervals on the memory for each memory that is addressed in the order of a plurality of memory units. The device is capable of controlling access to data consisting of a plurality of elements arranged in the first and second supply means, the first calculation means, the address holding means, and the distance information holding means. , and second calculation means.

第1の供給手段は、データの要素数を供給するためのも
のであり、第2の供給手段は、先頭要素のメモリ単位−
アドレス情報を供給するためのものである。
The first supply means is for supplying the number of data elements, and the second supply means is for supplying the number of data elements, and the second supply means is for supplying the number of data elements.
It is for supplying address information.

第1の計算手段は、データの要素数、先頭要素のメモリ
単位のアドレス情報、ならびに要素間の間隔情報から最
終要素のメモリ単位のアドレス情報を計算するためのも
のである。
The first calculating means is for calculating the address information of the memory unit of the last element from the number of data elements, the address information of the memory unit of the first element, and the interval information between elements.

アドレス保持手段は、最終要素のメモリ単位のアドレス
情報を保持するためのものである。
The address holding means is for holding address information of the memory unit of the final element.

距離情報保持手段は、特定のデータに対して要素間距離
を与える情報を保持するためのものである。
The distance information holding means is for holding information that provides an inter-element distance for specific data.

第2の計算手段は、アドレス保持手段に保持されている
特定のデータに対して最終要素のメモリ単位のアドレス
情報と、特定のデータに引続いてアクセスされる第2の
特定のデータの先頭要素のメモリ単位のアドレス情報と
の差を計算することにより、特定のデータのアクセスに
より使用状態になっているメモリ単位に対する第2の特
定のデータによるアクセス要素を送出できる時間間隔を
計算するためのものである。
The second calculation means calculates the memory unit address information of the final element for the specific data held in the address holding means and the first element of the second specific data to be accessed subsequent to the specific data. This method is for calculating the time interval at which an access element based on a second specific data can be sent to a memory unit that is in use due to an access of specific data by calculating the difference between the address information of the memory unit and the address information of the second specific data. It is.

(実施例) 次に1本発明について図面を参照して説明する。(Example) Next, one embodiment of the present invention will be explained with reference to the drawings.

第1図は、本発明によるメモリアクセス制御装置の一実
施例を示すブロック図である。第1図を参照すると、本
発明の実施例は第1〜第4の加算回路2,6.12.お
よび13と、第1および第2のし、ジスタ4および5と
、第1および第2のシフト回路1および9と、第1〜第
8の2の補数回路3,10.および11と、比較回路7
と、減算回路8と、ゲート回路14とから構成されてい
る。
FIG. 1 is a block diagram showing an embodiment of a memory access control device according to the present invention. Referring to FIG. 1, the embodiment of the present invention includes first to fourth adder circuits 2, 6, 12, . and 13, first and second registers 4 and 5, first and second shift circuits 1 and 9, first to eighth two's complement circuits 3, 10 . and 11, and comparison circuit 7
, a subtraction circuit 8, and a gate circuit 14.

第1図において、第1のシフト回路1は信号線102か
ら供給される要素数VLと信号線103から供給される
要素間距離りとからデータ長(VL−1)XDを計算し
、これを信号線104よシ第1の加算回路2に供給する
。第1の加算回路2は信号線101よシ供給される先頭
要素のアドレス情報と信号線104から供給されるデー
タ長とを加えて、最終要素のアドレス情報を得て信号線
105よυ第1のレジスタ4に供給する。
In FIG. 1, the first shift circuit 1 calculates the data length (VL-1)XD from the number of elements VL supplied from the signal line 102 and the distance between elements supplied from the signal line 103, and The signal is supplied to the first adder circuit 2 through the signal line 104. The first adder circuit 2 adds the address information of the first element supplied from the signal line 101 and the data length supplied from the signal line 104, obtains the address information of the last element, and adds the address information of the first element supplied from the signal line 105. is supplied to register 4 of.

第1の2の補数回路5は、信号線101よシ供給される
先頭要素のアドレス情報の2の補数を計算し、信号線1
06よシ第2の加算回路6に供給する。
The first two's complement circuit 5 calculates the two's complement of the address information of the leading element supplied from the signal line 101, and
06 is supplied to the second adder circuit 6.

第1のレジスタ4は第1の加算回路2の出力であるデー
タの最終要素のアドレス情報を保持し、信号線107よ
シ第2の加算回路6に供給する。
The first register 4 holds the address information of the final element of the data output from the first adder circuit 2, and supplies it to the second adder circuit 6 via the signal line 107.

第2の加算回路6は信号線106よシ供給される上記先
頭要素のアドレス情報の2の補数と、信号線107よシ
供給される上記データの最終要素のアドレス情報とを加
え、上記データの最終要素のアドレス情報と上記データ
の先頭要素のアドレス情報との差を計算し、信号線11
0よ多出力する。
The second adder circuit 6 adds the two's complement of the address information of the head element supplied from the signal line 106 and the address information of the last element of the data supplied from the signal line 107, The difference between the address information of the last element and the address information of the first element of the data is calculated, and the signal line 11
Outputs more than 0.

第2のレジスタ5は信号線103より供給される要素間
距離りを保持し、信号線10Bよシ比較回路7に供給す
る。比較回路1は第2のレジスタ6によって保持された
要素間距離と、信号線105により供給される要素間距
離とを比較し、等しいか、または大きい値Eを信号線1
11により第2のシフト回路9に送出する。
The second register 5 holds the inter-element distance supplied from the signal line 103 and supplies it to the comparison circuit 7 via the signal line 10B. The comparison circuit 1 compares the inter-element distance held by the second register 6 and the inter-element distance supplied by the signal line 105, and selects an equal or larger value E to the signal line 1.
11 to the second shift circuit 9.

減算回路8は信号線109よシ供給されるメモリ単位の
サイクル時間情報の値TCを1だけ減じてTC−1を生
成し、信号線112よυ第8の加算回路12および第8
の2の補数回路11に送出する。第1のシフト回路9は
信号線111より供給される比較回路の出力Eと、信号
線110より供給される上記アドレス情報との差により
〔(上記アドレス情報の差)÷E〕を計算し、信号線1
13よシ送出する。
The subtraction circuit 8 subtracts by 1 the value TC of the cycle time information of the memory unit supplied through the signal line 109 to generate TC-1, and the subtraction circuit 8 generates TC-1 by subtracting the value TC of the cycle time information of the memory unit supplied through the signal line 109.
2's complement circuit 11. The first shift circuit 9 calculates [(difference in the address information)÷E] based on the difference between the output E of the comparison circuit supplied from the signal line 111 and the address information supplied from the signal line 110, Signal line 1
13, send it out.

第2の2の補数回路10は信号線113よシ供給される
〔(上記アドレス情報の差)÷E〕の2の補数を計算し
、信号線114よシ第8の加算回路12に供給する。第
8の8の補数回路11は信号線112より供給される上
記TC−1の2の補数を計算し、信号線116よシ第4
の加算回路15に送出する。第8の加算回路12は信号
線114より供給される第2の2の補数回路10の出力
と、信号線112により供給される上記TC−1とを加
え、信号線116よりゲート回路14に出力する。
The second two's complement circuit 10 calculates the two's complement of [(difference in the above address information)÷E] supplied through the signal line 113 and supplies it to the eighth adder circuit 12 through the signal line 114. . The eighth 8's complement circuit 11 calculates the 2's complement of the TC-1 supplied from the signal line 112, and
The signal is sent to the adder circuit 15. The eighth adder circuit 12 adds the output of the second two's complement circuit 10 supplied from the signal line 114 and the above-mentioned TC-1 supplied from the signal line 112, and outputs the result to the gate circuit 14 from the signal line 116. do.

第4の加算回路13は信号線113よシ供給される〔(
上記アドレス情報の差)十E〕と、信号線115より供
給される上記TC−1の2の補数とを加え、最上位ビッ
トを信号線117よシゲート回路14に送出する。ゲー
ト回路14は信号線117により供給される信号の論理
値により、信号線116により供給されるデータか、あ
るいは%Olかを出力し、上記出力が待合せに必要なり
ロックサイクル数を与えることになる。
The fourth adder circuit 13 is supplied with signal line 113 [(
The difference in address information (10E) is added to the two's complement of TC-1 supplied from the signal line 115, and the most significant bit is sent to the signal line 117 to the siggate circuit 14. The gate circuit 14 outputs the data supplied by the signal line 116 or %Ol depending on the logical value of the signal supplied by the signal line 117, and the above output is necessary for waiting and provides the number of lock cycles. .

次に、以上のような構成における動作を詳細に説明する
Next, the operation in the above configuration will be explained in detail.

本実施例では、メモリ単位の数が64、メモリ単位のサ
イクル時間が16クロツクサイクル、データの要素数が
最大64個までと仮定する。最初に、第1のデータの要
素間距離と第2のデータの要素間距離とがともに%11
の場合について説明する。第1のデータのアクセス要求
が発せられると、第1のシフト回路1には信号線102
よシ要素数が供給され、信号線105よシ要素間距離D
(=1)が供給され、データ長が計算され、信号線10
4よシ第1の加算回路2にこのデータ長が供給される。
In this embodiment, it is assumed that the number of memory units is 64, the cycle time of the memory unit is 16 clock cycles, and the number of data elements is up to 64. First, both the inter-element distance of the first data and the inter-element distance of the second data are %11.
The case will be explained below. When a first data access request is issued, the signal line 102 is connected to the first shift circuit 1.
The number of elements is supplied, and the distance D between the elements is supplied to the signal line 105.
(=1) is supplied, the data length is calculated, and the signal line 10
This data length is supplied to the first adder circuit 2.

第1の加算回路2では上記データ長と、信号線101よ
シ供給される先頭要素のアドレス情報とを加算して第1
のデータの最終要素のアドレス情報を計算し、信号線1
05により第1のレジスタ4に供給する。第1のレジス
タ4では第2のデータのアクセス要求が発せられるまで
上記最終要素のアドレス情報が保持される。
The first adding circuit 2 adds the above data length and the address information of the leading element supplied from the signal line 101,
calculates the address information of the final element of the data, and connects the signal line 1
05 to the first register 4. The first register 4 holds the address information of the final element until a second data access request is issued.

第2のレジスタ5には信号線10Mにより第1のデータ
の要素間距離D=1が供給され、第2のデータのアクセ
ス要求が発せられるまで第2のレジスタ6にこのデータ
が保持される。第1のデータのアクセス要求のメモリへ
の送出が開始されると、第2のデータのアクセス要求が
発せられる。
The inter-element distance D=1 of the first data is supplied to the second register 5 via the signal line 10M, and this data is held in the second register 6 until a second data access request is issued. When the sending of the first data access request to the memory is started, a second data access request is issued.

第2のデータアクセス要求が発せられると、信号線10
1よシ送られてくる先頭要素のアドレス情報が第1の2
の補数回路3に加えられ、2の補数を求めた後で信号線
106により第2の加算回路6に供給される。第2の加
算回路6では、第1のレジスタ4に保持されている第1
のデータの最終要素のアドレス情報と、第2のデータの
先頭要素のアドレス情報との差を計算する。
When a second data access request is issued, signal line 10
The address information of the first element sent from 1 to 2 is the first 2.
is added to the complement circuit 3, and after obtaining the two's complement, is supplied to the second adder circuit 6 via the signal line 106. In the second adder circuit 6, the first
The difference between the address information of the last element of the data and the address information of the first element of the second data is calculated.

比較回路Tには第2のレジスタ5に保持されている第1
のデータの要素間距離(% 1 #)と、信号線105
より供給される第2のデータ要素間距離(% 1 #)
とが入力され、上記両者が等しいか、あるいは大きいと
きに%11が第2のシフト回路9に供給される。第2の
シフト回路9では第2の加算回路6により求められた〔
(アドレス情報0差)十E〕、すなわちアドレス情報の
差を信号線113よす出力する。
The comparison circuit T has the first data held in the second register 5.
The distance between elements of the data (% 1 #) and the signal line 105
Distance between second data elements supplied by (% 1 #)
is input, and when the above two are equal or larger, %11 is supplied to the second shift circuit 9. In the second shift circuit 9, the [
(0 difference in address information) 10E], that is, the difference in address information is output to the signal line 113.

第4の加算回路13では第2のシフト回路9の出力であ
るアドレス情報の差と、第3の2の補数回路11によっ
て求められたTC−1の2の補数とを加算する。上記ア
ドレス情報の差と上記正規化されたサイクル時間情報の
大小関係を示す最上位ビットとをゲート回路14を制御
するための制御信号として信号線117よシゲート回路
14に供給する。すなわち、上記アドレス情報の差がT
C−1、すなわち%151以上ある場合にはゲート回路
14の出力が%Olとなる。そこで、第1のデータのメ
モリに対するアクセスが終了すると、即刻、第2のデー
タのメモリに対してアクセス要求信号を送出することか
可能である。第2図(A)は、アドレス情報の差が11
51の場合のデータ状態を示す説明図である。アドレス
情報の差力β151未満の場合には、第4の加算回路1
3によって%151を減じるため、第4の加算回路13
の出力は負になシ、信号線117からallが出力され
る。
The fourth adder circuit 13 adds the difference in address information output from the second shift circuit 9 and the two's complement of TC-1 obtained by the third two's complement circuit 11. The difference in the address information and the most significant bit indicating the magnitude relationship of the normalized cycle time information are supplied to the gate circuit 14 through the signal line 117 as a control signal for controlling the gate circuit 14. In other words, the difference in the above address information is T
C-1, that is, %151 or more, the output of the gate circuit 14 becomes %Ol. Therefore, as soon as the access to the memory for the first data is completed, it is possible to immediately send an access request signal to the memory for the second data. Figure 2 (A) shows that the difference in address information is 11.
51 is an explanatory diagram showing a data state in case of No. 51. FIG. If the difference in address information is less than β151, the fourth adder circuit 1
To subtract %151 by 3, the fourth adder circuit 13
The output is negative, and all is output from the signal line 117.

したがって、第3の加算回路12の内容がゲート回路1
4から信号[119を介して送出される。
Therefore, the contents of the third adder circuit 12 are the same as those of the gate circuit 1.
4 via the signal [119.

第3の加算回路12では、TC−1から第2のシフト回
路9の出力、すなわち上記アドレス情報の差を減じた値
が出力されている。例えば、アドレス情報の差が114
1であると、第2図(’ B )に例えば、第1のデー
タの要素間距離が%21であって第2のデータの要素間
距離が%11である場合には、比較回路7からは%21
が出力され、第2のシフト回路9からは〔(アドレス情
報の差)→2〕が出力される。上記アドレス情報O差が
30以上であると、第2のシフト回路9の出力は80÷
2、すなわち16以上であり、第4の加算回路13よシ
送出される制御信号の値は%Olになる。よって、ゲー
ト回路14からは待合せクロックサイクル数として%O
lが出力される。すなわち、第1のデータのメモリに対
するアクセスが終了すると、すぐに:gK2のデータの
メモリに対するアクセス要求信号を送出することか可能
となる。
The third adder circuit 12 outputs the output of the second shift circuit 9 from TC-1, that is, the value obtained by subtracting the difference in the address information. For example, the difference in address information is 114
1, as shown in FIG. 2 ('B), for example, if the distance between elements of the first data is %21 and the distance between elements of the second data is %11, then is%21
is output, and the second shift circuit 9 outputs [(difference in address information)→2]. If the address information O difference is 30 or more, the output of the second shift circuit 9 is 80÷
2, that is, 16 or more, and the value of the control signal sent from the fourth adder circuit 13 is %Ol. Therefore, the gate circuit 14 outputs %O as the number of waiting clock cycles.
l is output. That is, as soon as the access to the first data memory is completed, it becomes possible to send an access request signal to the data memory of gK2.

第8図(A)は、アドレス情報の差が30の場合の状態
を示す説明図である。アドレス情報の差が80未満の場
合には、第2のシフト回路9よシ出力される値は15未
満であるので、第4の加算回路13の出力は負になシ、
信号線117からはゲート回路14を制御する信号とし
て%11が出力される。いま、アドレス情報の差を26
と仮定す示すように第8の加算回路12の出力は115
−14=1’となシ、第4の加算回路13の出力は%1
4−15=−1#となって最上位ビットの出力は111
となる。したがって、ゲート回路14の出力、すなわち
待合せに必要なりロックサイクルは1クロツクサイクル
になる。第2のデータのメモリに対するアクセス要求信
号の送出は、メモリに対して第1のデータの最終要素の
アクセス要求信号が送出されるタイミングから待合せク
ロックサイクル数+1クロツクサイクルの後から開始さ
れる。
FIG. 8(A) is an explanatory diagram showing a state when the difference in address information is 30. If the difference in address information is less than 80, the value output from the second shift circuit 9 is less than 15, so the output of the fourth adder circuit 13 is negative.
%11 is output from the signal line 117 as a signal for controlling the gate circuit 14. Now, the difference in address information is 26
Assuming that the output of the eighth adder circuit 12 is 115 as shown,
-14=1', the output of the fourth adder circuit 13 is %1
4-15=-1# and the most significant bit output is 111
becomes. Therefore, the output of the gate circuit 14, that is, the lock cycle required for waiting is one clock cycle. Sending of the access request signal to the memory for the second data starts after the number of waiting clock cycles plus one clock cycle from the timing at which the access request signal for the final element of the first data is sent to the memory.

この場合には、メモリに対して第1のデータの最終要素
のアクセス要求が送出されたタイミングの2クロツクサ
イクル後からメモリに対するアクセス要求信号の送出が
開始される。また、アドレス情報の差が負になる場合に
も64を法とした加算が行われるので、第8の加算回路
12の出力をそのまま利用でき、同様に取扱うことがで
きる。
In this case, the sending of the access request signal to the memory is started two clock cycles after the timing at which the access request for the last element of the first data is sent to the memory. Furthermore, even when the difference in address information is negative, since addition is performed modulo 64, the output of the eighth adder circuit 12 can be used as is and handled in the same way.

次に、第1のデータの要素間距離と第2のデータの要素
間距離とが異なる場合について説明する。
Next, a case where the inter-element distance of the first data and the inter-element distance of the second data are different will be described.

ると、第2のシフト回路9から26÷2、すなわち13
が出力されるので、加算回路12から亀15−18=2
#がゲート回路14に供給される。
Then, from the second shift circuit 9, 26÷2, that is, 13
is output, so the addition circuit 12 outputs turtle 15-18=2
# is supplied to the gate circuit 14.

ゲート回路14は上記の値2を待合せに必要なりロック
サイクルとして出力する。したがって、メモリに対して
第1のデータの最終要素のアクセス要求が送出されてか
ら2+1=8クロツクサイクルの後に、メモリに対する
アクセス要求信号の送出が開始される。ここで、第3図
CB)は上記状態を示す説明図である。
The gate circuit 14 outputs the above value 2 as a lock cycle necessary for waiting. Therefore, after 2+1=8 clock cycles after the access request for the last element of the first data is sent to the memory, the sending of the access request signal to the memory is started. Here, FIG. 3 CB) is an explanatory diagram showing the above state.

(発明の効果) 以上説明したように本発明は、第1のデータの最終要素
のアドレス情報を計算し、このアドレス情報を第2のデ
ータの先頭要素のアドレス情報と比較し、アドレス情報
間の関係とメモリ単位のサイクル時間とから待合せクロ
ックサイクル数を計算できるようにして、メモリ単位が
使用状態ではなくなるタイミングを予測し、#!2のデ
ータのアクセス要求信号を早めることができるという効
果がある。
(Effects of the Invention) As explained above, the present invention calculates the address information of the last element of the first data, compares this address information with the address information of the first element of the second data, and calculates the address information of the first element of the second data. Make it possible to calculate the number of waiting clock cycles from the relationship and the cycle time of the memory unit, predict when the memory unit will no longer be in use, and #! This has the effect of speeding up the data access request signal in step 2.

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

第1図は、本発明によるメモリアクセス制御装置の一実
施例を示すブロック図である。 第2図および第8図は、それぞれアドレス情報とアクセ
ス要求信号を送出するタイミングとの関係を示す説明図
である。 1.9・書・シフト回路 2.8.12.13・・・加算回路 !、10.11・・・2の補数回路 4.6φ会・レジスタ 7・・・比較回路 8・・・減算回路 14・・・ゲート回路
FIG. 1 is a block diagram showing an embodiment of a memory access control device according to the present invention. FIG. 2 and FIG. 8 are explanatory diagrams showing the relationship between address information and the timing of sending an access request signal, respectively. 1.9.Write/Shift circuit 2.8.12.13... Addition circuit! , 10.11...2's complement circuit 4.6φ circuit/Register 7...Comparison circuit 8...Subtraction circuit 14...Gate circuit

Claims (1)

【特許請求の範囲】[Claims] 相互に独立してアクセス可能であつて複数のメモリ単位
順に番地付けされたメモリに対して、それぞれ前記メモ
リ上に一定間隔で配置された複数の要素から成るデータ
のアクセスを制御することができるメモリアクセス制御
装置であつて、前記データの要素数を供給するための第
1の供給手段と、先頭要素のメモリ単位にアドレス情報
を供給するための第2の供給手段と、前記データの要素
数、前記先頭要素のメモリ単位のアドレス情報、ならび
に要素間の間隔情報から最終要素のメモリ単位のアドレ
ス情報を計算するための第1の計算手段と、前記最終要
素のメモリ単位のアドレス情報を保持するためのアドレ
ス保持手段と、特定のデータに対して要素間距離を与え
る情報を保持するための距離情報保持手段と、前記アド
レス保持手段に保持されている前記特定のデータに対し
て最終要素のメモリ単位のアドレス情報と前記特定のデ
ータに引続いてアクセスされる第2の特定のデータの先
頭要素のメモリ単位のアドレス情報との差を計算するこ
とにより、前記特定のデータのアクセスにより使用状態
になつているメモリ単位に対する第2の特定のデータに
よるアクセス要素を送出できる時間間隔を計算するため
の第2の計算手段とを具備して構成したことを特徴とす
るメモリアクセス制御装置。
A memory capable of controlling access to data consisting of a plurality of elements arranged at regular intervals on each memory, which can be accessed independently of each other and which are addressed in the order of a plurality of memory units. an access control device comprising: a first supply means for supplying the number of elements of the data; a second supply means for supplying address information to a memory unit of a leading element; the number of elements of the data; a first calculation means for calculating memory unit address information of the final element from the memory unit address information of the first element and inter-element interval information; and for holding the memory unit address information of the final element; address holding means, distance information holding means for holding information giving an inter-element distance for specific data, and a memory unit of a final element for the specific data held in the address holding means. By calculating the difference between the address information of the memory unit of the first element of the second specific data that is accessed subsequent to the specific data, the memory unit becomes in use state by accessing the specific data. a second calculation means for calculating a time interval at which an access element based on second specific data can be sent to a memory unit in which the memory access control apparatus is configured.
JP9759585A 1985-05-08 1985-05-08 Memory access control device Granted JPS61255448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9759585A JPS61255448A (en) 1985-05-08 1985-05-08 Memory access control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9759585A JPS61255448A (en) 1985-05-08 1985-05-08 Memory access control device

Publications (2)

Publication Number Publication Date
JPS61255448A true JPS61255448A (en) 1986-11-13
JPH0448262B2 JPH0448262B2 (en) 1992-08-06

Family

ID=14196586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9759585A Granted JPS61255448A (en) 1985-05-08 1985-05-08 Memory access control device

Country Status (1)

Country Link
JP (1) JPS61255448A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63229540A (en) * 1987-03-19 1988-09-26 Nec Corp Memory access control system
JPH0247742A (en) * 1988-08-09 1990-02-16 Agency Of Ind Science & Technol Busy time control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63229540A (en) * 1987-03-19 1988-09-26 Nec Corp Memory access control system
JPH0247742A (en) * 1988-08-09 1990-02-16 Agency Of Ind Science & Technol Busy time control system

Also Published As

Publication number Publication date
JPH0448262B2 (en) 1992-08-06

Similar Documents

Publication Publication Date Title
JPH01265347A (en) Address generating device
JPH0479026B2 (en)
JPH0139138B2 (en)
JPH076122A (en) Method and apparatus for request of data
JPS61255448A (en) Memory access control device
US5677859A (en) Central processing unit and an arithmetic operation processing unit
US4567571A (en) Memory control for refreshing in a step mode
JPS59200361A (en) Digital processor and processing system
JPH04323755A (en) Dma device
JPS58189770A (en) Vector processor
JPS5931736B2 (en) Queue management method
JPH07122856B2 (en) Storage access control device
JPH05120205A (en) Processor system with address conversion device for dma transfer and dma transfer method
JP2550964B2 (en) Memory access control method
JP2635863B2 (en) Central processing unit
JPH02140852A (en) Dma transfer controller
JPS61128371A (en) Vector processor
JPH0467661B2 (en)
JPH05204832A (en) Dma bus arbitration system
JPH0736665A (en) Arithmetic unit
JPH01191964A (en) Transfer method for memory bus data
JPH0139137B2 (en)
JPH07113914B2 (en) Memory controller
JPS5953928A (en) Input/output control device
JPH05128279A (en) One-chip microcomputer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees