JPH0448262B2 - - Google Patents

Info

Publication number
JPH0448262B2
JPH0448262B2 JP9759585A JP9759585A JPH0448262B2 JP H0448262 B2 JPH0448262 B2 JP H0448262B2 JP 9759585 A JP9759585 A JP 9759585A JP 9759585 A JP9759585 A JP 9759585A JP H0448262 B2 JPH0448262 B2 JP H0448262B2
Authority
JP
Japan
Prior art keywords
data
address information
memory
signal line
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP9759585A
Other languages
Japanese (ja)
Other versions
JPS61255448A (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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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

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要素ずつ
アクセスしようとしているメモリ単位が使用状態
であるか否かを試験し、このメモリ単位が使用状
態でなければメモリに対してアクセス要求信号を
送出するという方式が提案されている。例えば、
特公昭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 a used state, and if this memory unit is not in a used state, an access request to the memory is issued. A method of transmitting a signal has been proposed. for example,
According to this method in Special Publication No. 57-56751,
If the number of memory units is small, the amount of hardware will be small, but if the number of memory units is large, the amount of hardware will be large.

複数の要素から成るデータを取扱う装置は、一
般にメモリ単位の数を多くし、メモリ単位内の競
合を避ける傾向にあり、ハードウエア量の増加が
顕著になつてくる。このようなハードウエア量の
増加を解消するたの方法として、メモリ単位内の
競合が起らないようにすべてのメモリ単位を使用
状態にしてメモリに対するアクセス要求信号の送
出を制限する方式が提案されている。
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 hardware amount, 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. ing.

(発明が解決しようとする問題点) 上述した従来技術では、先行するデータにおい
て最終要素に対するアクセス要求信号を送出した
後、メモリ単位のサイクル時間分はすべてのメモ
リ単位が使用状態になつており、後続するデータ
のアクセスにより、先行データによつてアクセス
されないメモリ単位へアクセスを実行しようとす
る場合も、メモリ単位のサイクル時間だけ待たさ
れることになつて性能が劣化するという問題があ
る。
(Problems to be Solved by the Invention) In the above-mentioned conventional technology, after sending an access request signal to the final element in the preceding data, all memory units are in a used state for the cycle time of the memory unit. Even when an attempt is made to access a memory unit that has not been accessed by the preceding data by accessing subsequent data, there is a problem in that performance deteriorates because the user is forced to wait for the cycle time of the 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 eliminate the above-mentioned drawbacks and shorten waiting time by making it possible to calculate the number of waiting clock cycles from the data.

(問題点を解決するための手段) 本発明によるメモリアクセス制御装置は、相互
に独立してアクセス可能であつて、複数のメモリ
単位順に番地付けされたメモリに対して、それぞ
れメモリ上に一定間隔で配置された複数の要素か
ら成るデータのアクセスを制御することができる
ものであつて、第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 which can be accessed independently of each other and which is arranged at regular intervals on the memory for each of the memories that are 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 address information to the memory unit of the first element.

第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. and the address information of the memory unit to calculate the time interval during which an access element based on the second specific data can be sent to the memory unit that is in use due to the access of the specific data. It is.

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

第1図は、本発明によるメモリアクセス制御装
置の一実施例を示すブロツク図である。第1図を
参照すると、本発明の実施例は第1〜第4の加算
回路2,6,12、および13と、第1および第
2のレジスタ4および5と、第1および第2のシ
フト回路1および9と、第1〜第3の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, and first and second shift registers. It is composed of circuits 1 and 9, first to third two's complement circuits 3, 10 and 11, a comparison circuit 7, a subtraction circuit 8, and a gate circuit 14.

第1図において、第1のシフト回路1は信号線
102から供給される要素数VLと信号線103
から供給される要素間距離Dとからデータ長
(VL−1)×Dを計算し、これを信号線104よ
り第1の換算回路2に供給する。第1の加算回路
2は信号線101より供給される先頭要素のアド
レス情報と信号線104から供給されるデータ長
とを加えて、最終要素のアドレス情報を得て信号
線105より第1のレジスタ4に供給する。
In FIG. 1, the first shift circuit 1 has a number of elements VL supplied from a signal line 102 and a signal line 103.
The data length (VL-1)×D is calculated from the inter-element distance D supplied from the signal line 104, and is supplied to the first conversion circuit 2 from 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 to the first register. Supply to 4.

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

第1のレジスタ4は第1の加算回路2の出力で
あるデータの最終要素のアドレス情報を保持し、
信号線107より第2の加算回路6に供給する。
第2の加算回路6は信号線106より供給される
上記先頭要素のアドレス情報の2の補数と、信号
線107より供給される上記データの最終要素の
アドレス情報とを加え、上記データの最終要素の
アドレス情報と上記データの先頭要素のアドレス
情報との差を計算し、信号線110より出力す
る。
The first register 4 holds address information of the final element of data that is the output of the first adder circuit 2,
The signal is supplied to the second addition circuit 6 from the signal line 107.
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, and adds the address information of the last element of the data supplied from the signal line 107 to and the address information of the first element of the data is calculated and output from the signal line 110.

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

減算回路8は信号線109より供給されるメモ
リ単位のサイクル時間情報の値TCを1だけ減じ
てTC−1を生成し、信号線112より第3の加
算回路12および第3の2の補数回路11に送出
する。第1のシフト回路9は信号線111より供
給される比較回路の出力Eと、信号線110より
供給される上記アドレス情報との差により〔(上
記アドレス情報の差)÷E〕を計算し、信号線1
13より送出する。
The subtraction circuit 8 subtracts the cycle time information value TC of the memory unit supplied from the signal line 109 by 1 to generate TC-1, and the subtraction circuit 8 subtracts by 1 the value TC of the cycle time information of the memory unit supplied from the signal line 109, and generates TC-1 from the signal line 112. Send it to 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
Send from 13.

第2の2の補数回路10は信号線113より供
給される〔(上記アドレス情報の差)÷E〕の2の
補数を計算し、信号線114より第3の加算回路
12に供給する。第3の3の補数回路11は信号
線112より供給される上記TC−1の2の補数
を計算し、信号線115より第4の加算回路13
に送出する。第3の加算回路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 from the signal line 113 and supplies it to the third adder circuit 12 from the signal line 114. The third three's complement circuit 11 calculates the two's complement of the TC-1 supplied from the signal line 112, and the fourth adder circuit 13 is connected to the signal line 115.
Send to. The third adder circuit 12 uses the signal line 114
The output of the second 2's complement circuit 10 supplied from the circuit 10 and the above-mentioned TC-1 supplied from the signal line 112 are added, and the result is output from the signal line 116 to the gate circuit 14.

第4の加算回路13は信号線113より供給さ
れる〔(上記アドレス情報の差)÷E〕と、信号線
115より供給される上記TC−1の2の補数と
を加え、最上位ビツトを信号線117よりゲート
回路14に送出する。ゲート回路14は信号線1
17により供給される信号の論理値により、信号
線116により供給されるデータか、あるいは
“0”かを出力し、上記出力が待合せに必要なク
ロツクサイクル数を与えることになる。
The fourth adder circuit 13 adds [(difference in the above address information)÷E] supplied from the signal line 113 and the two's complement of the above TC-1 supplied from the signal line 115, and calculates the most significant bit. It is sent to the gate circuit 14 from the signal line 117. Gate circuit 14 is connected to signal line 1
Depending on the logic value of the signal provided by line 17, it will output either the data provided by signal line 116 or a "0", said output giving the number of clock cycles required for queuing.

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

本実施例では、メモリ単位の数が64、メモリ単
位のサイクル時間が16クロツクサイクル、データ
の要素数が最大64個までと仮定する。最初に、第
1のデータの要素間距離と第2のデータの要素間
距離とがともに“1”の場合について説明する。
第1のデータのアクセス要求が発せられると、第
1のシフト回路1には信号線102より要素数が
供給され、信号線103より要素間距離D(=1)
が供給され、データ長が計算され、信号線104
より第1の加算回路2にこのデータ長が供給され
る。第1の加算回路2では上記データ長と、信号
線101より供給される先頭要素のアドレス情報
とを加算して第1のデータの最終要素のアドレス
情報を計算し、信号線105により第1のレジス
タ4に供給する。第1のレジスタ4では第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, a case where both the inter-element distance of the first data and the inter-element distance of the second data are "1" will be described.
When a first data access request is issued, the number of elements is supplied to the first shift circuit 1 from the signal line 102, and the inter-element distance D (=1) is supplied from the signal line 103.
is supplied, the data length is calculated, and the signal line 104 is
This data length is supplied to the first adder circuit 2. The first adder circuit 2 calculates the address information of the last element of the first data by adding the above data length and the address information of the first element supplied from the signal line 101. Supplied to register 4. The first register 4 holds the address information of the final element until a second data access request is issued.

第2のレジスタ5には信号線103により第1
のデータの要素間距離D=1が供給され、第2の
データのアクセス要求が発せられるまで第2のレ
ジスタ5にこのデータが保持される。第1のデー
タのアクセス要求のメモリへの送出が開始される
と、第2のデータのアクセス要求が発せられる。
第2のデータアクセス要求が発せられると、信号
線101より送られてくる先頭要素のアドレス情
報が第1の2の補数回路3に加えられ、2の補数
を求めた後で信号線106により第2の加算回路
6に供給される。第2の加算回路6では、第1の
レジスタ4に保持されている第1のデータの最終
要素のアドレス情報と、第2のデータの先頭要素
のアドレス情報との差を計算する。
The second register 5 is connected to the first register by a signal line 103.
An inter-element distance D=1 of the data is supplied, and this data is held in the second register 5 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.
When a second data access request is issued, the address information of the leading element sent from the signal line 101 is added to the first two's complement circuit 3, and after obtaining the two's complement, the address information of the first element is sent from the signal line 106 to the The signal is supplied to the adder circuit 6 of No.2. The second adder circuit 6 calculates the difference between the address information of the last element of the first data held in the first register 4 and the address information of the first element of the second data.

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

第4の加算回路13では第2のシフト回路9の
出力であるアドレス情報の差と、第3の2の補数
回路11によつて求められたTC−1の2の補数
とを加算する。上記アドレス情報の差と上記正規
化されたサイクル時間情報の大小関係を示す最上
位ビツトとをゲート回路14を制御するための制
御信号として信号線117よりゲート回路14に
供給する。すなわち、上記アドレス情報の差が
TC−1、すなわち“15”以上ある場合にはゲー
ト回路14の出力が“0”となる。そこで、第1
のデータのメモリに対するアクセスが終了すると
即刻、第2にデータのメモリに対してアクセス要
求信号を送出することが可能である。第2図A
は、アドレス情報の差が“15”の場合のデータ状
態を示す説明図である。アドレス情報の差が
“15”未満の場合には、第4の加算回路13によ
つて“15”を減じるため、第4の加算回路13の
出力は負になり、信号線117から“1”が出力
される。 したがつて、第3の加算回路12の内
容がゲート回路14から信号線119を介して送
出される。第3の加算回路12では、TC−1か
ら第2のシフト回路9の出力、すなわち上記アド
レス情報の差を減じた値が出力されている。例え
ば、アドレス情報の差が“14”であると、第2図
Bに示すように第3の加算回路12の出力は“15
−14=1”となり、第4の加算回路13の出力は
“14−15=−1”となつて最上位ビツトの出力は
“1”となる。したがつて、ゲート回路14の出
力、すなわち待合せに必要なクロツクサイクルは
1クロツクサイクルになる。第2のデータのメモ
リに対するアクセス要求信号の送出は、メモリに
対して第1のデータの最終要素のアクセス要求信
号が送出されるタイミングから待合せクロツクサ
イクル数+1クロツクサイクルの後から開始され
る。
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 from a signal line 117 as a control signal for controlling the gate circuit 14. In other words, the difference in the above address information is
When there is TC-1, that is, "15" or more, the output of the gate circuit 14 becomes "0". Therefore, the first
As soon as access to the data memory is completed, it is possible to send an access request signal to the second data memory. Figure 2A
is an explanatory diagram showing a data state when the difference in address information is "15". If the difference in address information is less than "15", the fourth adder circuit 13 subtracts "15", so the output of the fourth adder circuit 13 becomes negative, and the signal line 117 outputs "1". is output. Therefore, the contents of the third adder circuit 12 are sent out from the gate circuit 14 via the signal line 119. 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, if the difference in address information is "14", the output of the third adder circuit 12 is "15" as shown in FIG. 2B.
-14=1", the output of the fourth adder circuit 13 becomes "14-15=-1", and the output of the most significant bit becomes "1". Therefore, the output of the gate circuit 14, i.e. The clock cycle required for queuing is one clock cycle.The access request signal to the memory for the second data is sent from the timing when the access request signal for the final element of the first data is sent to the memory. It starts after the number of waiting clock cycles plus one clock cycle.

この場合には、メモリに対して第1のデータの
最終要素のアクセス要求が送出されたタイミング
の2クロツクサイクル後からメモリに対するアク
セス要求信号の送出が開始される。また、アドレ
ス情報の差が負になる場合にも64を法とした加
算が行われるので、第3の加算回路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, since addition is performed modulo 64 even when the difference in address information is negative, the output of the third 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.

例えば、第1のデータの要素間距離が“2”で
あつて第2のデータの要素間距離が“1”である
場合には、比較回路7からは“2”が出力され、
第2のシフト回路9からは〔アドレス情報の差)
÷2〕が出力される。上記アドレス情報の差が30
以上であると、第2のシフト回路9の出力は30÷
2、すなわち15以上であり、第4の加算回路13
より送出される制御信号の値は“0”になる。よ
つて、ゲート回路14からは待合せクロツクサイ
クル数として“0”が出力される。すなわち、第
1のデータのメモリに対するアクセスが終了する
と、すぐに第2のデータのメモリに対するアクセ
ス要求信号を送出することが可能となる。第3図
Aは、アドレス情報の差が30の場合の状態を示す
説明図である。アドレス情報の差が30未満の場合
には、第2のシフト回路9より出力される値は15
未満であるので、第4の加算回路13の出力は負
になり、信号線117からはゲート回路14を制
御する信号として“1”が出力される。いま、ア
ドレス情報の差を26と仮定すると、第2のシフ
ト回路9から26÷2、すなわち13が出力されるの
で、加算回路12から“15−13=2”がゲート回
路14に供給される。ゲート回路14は上記の値
2を待合せに必要なクロツクサイクルとして出力
する。したがつて、メモリに対して第1のデータ
の最終要素のアクセス要求が送出されてから2+
1=3クロツクサイクルの後に、メモリに対する
アクセス要求信号の送出が開始される。ここで、
第3図Bは上記状態を示す説明図である。
For example, if the inter-element distance of the first data is "2" and the inter-element distance of the second data is "1", the comparator circuit 7 outputs "2",
From the second shift circuit 9 [difference in address information]
÷2] is output. The difference in the above address information is 30
With the above, the output of the second shift circuit 9 is 30÷
2, that is, 15 or more, and the fourth addition circuit 13
The value of the control signal sent from the controller becomes "0". Therefore, the gate circuit 14 outputs "0" as the number of waiting clock cycles. That is, as soon as the access to the memory for the first data is completed, it becomes possible to send an access request signal to the memory for the second data. FIG. 3A is an explanatory diagram showing a state when the difference in address information is 30. If the difference in address information is less than 30, the value output from the second shift circuit 9 is 15
Therefore, the output of the fourth adder circuit 13 becomes negative, and "1" is output from the signal line 117 as a signal for controlling the gate circuit 14. Now, assuming that the difference in address information is 26, the second shift circuit 9 outputs 26÷2, that is, 13, so the adder circuit 12 supplies "15-13=2" to the gate circuit 14. . The gate circuit 14 outputs the above value 2 as the clock cycle necessary for waiting. Therefore, after the access request for the final element of the first data is sent to the memory, 2+
After 1=3 clock cycles, the sending of the access request signal to the memory is started. here,
FIG. 3B is an explanatory diagram showing the above state.

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

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

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

Claims (1)

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

Families Citing this family (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
JPS61255448A (en) 1986-11-13

Similar Documents

Publication Publication Date Title
CA2050129C (en) Dynamic bus arbitration with grant sharing each cycle
JP4040704B2 (en) Data processing system and method
JPS62115571A (en) Vector access control system
JPH0139138B2 (en)
JPH0448262B2 (en)
JPS6290742A (en) Method and apparatus for upgrading performance of cpu
JPH11232214A (en) Processor for information processor and its controlling method
JP2624388B2 (en) DMA device
JPS59200361A (en) Digital processor and processing system
JP2550964B2 (en) Memory access control method
JPH0139137B2 (en)
JPS5931736B2 (en) Queue management method
JPS62239250A (en) Memory access controller
JPH02140852A (en) Dma transfer controller
JPH05128279A (en) One-chip microcomputer
JPH04123160A (en) Receiving data processing system
JPS584375B2 (en) Memory access control method
JPS6054065A (en) Synchronous controller
JPS63229540A (en) Memory access control system
JPH05120205A (en) Processor system with address conversion device for dma transfer and dma transfer method
JP2001297053A (en) Circuit and method for issuing dma request
JPH09259074A (en) Memory access circuit
JP2004015206A (en) Microcomputer with built-in analog / digital converter
JPH07182272A (en) Dma controller circuit
JPS6058500B2 (en) Access control method

Legal Events

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