JPH0139136B2 - - Google Patents

Info

Publication number
JPH0139136B2
JPH0139136B2 JP16595583A JP16595583A JPH0139136B2 JP H0139136 B2 JPH0139136 B2 JP H0139136B2 JP 16595583 A JP16595583 A JP 16595583A JP 16595583 A JP16595583 A JP 16595583A JP H0139136 B2 JPH0139136 B2 JP H0139136B2
Authority
JP
Japan
Prior art keywords
memory
circuit
time
bank
register
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
JP16595583A
Other languages
Japanese (ja)
Other versions
JPS6057447A (en
Inventor
Koji Kinoshita
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 JP16595583A priority Critical patent/JPS6057447A/en
Publication of JPS6057447A publication Critical patent/JPS6057447A/en
Publication of JPH0139136B2 publication Critical patent/JPH0139136B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Complex Calculations (AREA)

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、情報処理装置における複数バンクで
構成されたメモリに一定間隔で配置されたデータ
のアクセス制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an access control method for data arranged at regular intervals in a memory composed of a plurality of banks in an information processing device.

従来技術 従来、複数バンクから構成されるメモリに対す
るアクセス制御する方式として、アクセスしよう
としているバンクが使用中であるか否かを判断す
るために、バンクが使用中であることを表示する
フリツプフロツプを少なくともバンクの数設け、
該フリツプフロツプの状態によりアクセスしよう
としているバンクが使用中でないことを確認し、
メモリに対してアクセス要求を送出している。ま
た、他の方式として使用したバンクのアドレス情
報を登録し、バンクアクセスサイクル時間保持
し、アクセスしようとしているバンクのアドレス
情報と登録されているアドレス情報とを比較する
ことによりアクセスしようとしているバンクが使
用中でないことを確認し、メモリに対してアクセ
ス要求を送出している。
Prior Art Conventionally, as a method for controlling access to a memory composed of multiple banks, in order to determine whether or not the bank to be accessed is in use, at least a flip-flop is installed to indicate that the bank is in use. Set the number of banks,
Check that the bank you are trying to access is not in use depending on the state of the flip-flop,
An access request is being sent to memory. Another method is to register the address information of the bank used, hold the bank access cycle time, and compare the address information of the bank you are trying to access with the registered address information. It confirms that it is not in use and sends an access request to the memory.

しかし、これらの方式では多数のバンクで構成
されているようなメモリでは、バンクが使用中で
あることを示すためのハードウエア量が増大する
という欠点がある。特に、メモリ上の複数のデー
タの連続アクセスを高速に行なうためには、バン
クアクセスサイクル時間内に同一バンクに対する
アクセス要求の発生をなるべく避けるように多数
のバンクでメモリを構成することが一般的であ
り、前述の欠点が顕在化してきている。
However, these methods have the disadvantage that in a memory configured with a large number of banks, the amount of hardware required to indicate that a bank is in use increases. In particular, in order to perform high-speed continuous access to multiple pieces of data on a memory, it is common to configure a memory with a large number of banks to avoid as much as possible access requests to the same bank within the bank access cycle time. However, the above-mentioned drawbacks are becoming more apparent.

発明の目的 本発明の目的は上述の欠点を除去し、少ないハ
ードウエア量でバンク管理を行なえるようにした
メモリアクセス制御方式を提供することにある 発明の構成 本発明の方式は、互いに独立にアクセス可能な
複数のバンクから構成されバンク順に番地付けが
なされたメモリに対する複数のデータがメモリ上
に一定間隔で配置されたデータのアクセスを制御
する方式であつて、 データの間隔を解読する手段と、 前記メモリのバンク数を知らしめる手段と、 前記メモリのバンクアクセスサイクル時間を知
らしめる手段と、 前記解読手段によつて解読された間隔情報と、
前記メモリのバンク数と、前記メモリのバンクア
クセスサイクル時間とにもとづいて前記メモリの
同一バンクに対して前記バンクアクセスサイクル
時間内にアクセス要求が送出されないように前記
メモリに対するアクセス要求を送出する周期を決
定する手段とを含む。
OBJECTS OF THE INVENTION An object of the present invention is to provide a memory access control method that eliminates the above-mentioned drawbacks and enables bank management with a small amount of hardware. A method for controlling access to a memory composed of a plurality of accessible banks and addressed in the order of the banks, in which a plurality of data are arranged at regular intervals on the memory, and a means for deciphering the data intervals. , means for informing the number of banks of the memory, means for informing the bank access cycle time of the memory, and interval information decoded by the decoding means;
Based on the number of banks of the memory and the bank access cycle time of the memory, the cycle for sending access requests to the memory is determined so that no access request is sent to the same bank of the memory within the bank access cycle time. and means for determining.

発明の実施例 次に本発明について図面を参照して詳細に説明
する。
Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings.

第1図を参照すると、本発明の一実施例は、要
素間距離レジスタ1、デコーダ回路2、周期決定
回路3、カウントレジスタ4、減算回路5、検出
回路6、レジスタ、およびオア回路8から構成さ
れている。ベクトルデータの要素間距離を保持す
るレジスタ1には結線101を介してベクトルデ
ータの要素間距離が供給され、結線110が論理
“1”のときに該要素間距離がストローブされ、
出力は結線102を介してデコード回路2に導か
れる。デコード回路2は結線102から与えられ
たベクトルデータの要素間距離を解読し、解読さ
れた要素間距離情報は結線103を介して回路3
に導かれる。
Referring to FIG. 1, one embodiment of the present invention includes an inter-element distance register 1, a decoder circuit 2, a period determining circuit 3, a count register 4, a subtraction circuit 5, a detection circuit 6, a register, and an OR circuit 8. has been done. The inter-element distance of the vector data is supplied to the register 1 that holds the inter-element distance of the vector data via the connection 101, and when the connection 110 is logic "1", the inter-element distance is strobed,
The output is led to decoding circuit 2 via connection 102. The decoding circuit 2 decodes the inter-element distance of the vector data given from the connection 102, and the decoded inter-element distance information is sent to the circuit 3 via the connection 103.
guided by.

回路3は結線103を介して与えられた要素間
距離情報と、結線104を介して与えられたメモ
リのバンク数情報と、結線105を介して与えら
れたバンクアクセスサイクル時間情報とに基い
て、メモリに対するアクセス要求信号を送出する
周期を決定する回路であり、決定された周期は結
線106を介してレジスタ4に導かれる。レジス
タ4は、結線106を介して供給されるアクセス
要求信号を送出する周期と結線108を介して供
給される減算回路5の出力とを、結線112の論
理値により選択的に格納するレジスタであり、格
納された値は結線107を介して減算回路5に供
給される。減算回路5は、結線107を介して供
給される前記レジスタ4の内容から1を減じる回
路であり、減算結果は結線108を介して前記レ
ジスタ4および検出回路6に与えられる。検出回
路6は結線108を介して供給される前記減算回
路5の出力が全ビツト0であることを検出する回
路であり、検出結果は結線109を介してオア回
路8に供給されるとともに、メモリに対する要求
信号を有効とする。
Based on the inter-element distance information given through the connection 103, the memory bank number information given through the connection 104, and the bank access cycle time information given through the connection 105, the circuit 3 performs the following operations. This is a circuit that determines the cycle for sending an access request signal to the memory, and the determined cycle is led to the register 4 via a connection 106. The register 4 is a register that selectively stores the period of transmitting the access request signal supplied via the connection 106 and the output of the subtraction circuit 5 supplied via the connection 108 according to the logical value of the connection 112. , the stored value is supplied to the subtraction circuit 5 via connection 107. The subtraction circuit 5 is a circuit that subtracts 1 from the contents of the register 4 supplied via a connection 107, and the subtraction result is provided to the register 4 and the detection circuit 6 via a connection 108. The detection circuit 6 is a circuit that detects that all bits of the output of the subtraction circuit 5 supplied via a connection 108 are 0, and the detection result is supplied to the OR circuit 8 via a connection 109 and is also sent to the memory. The request signal for is valid.

フリツプフロツプ7は結線110を介して供給
される前記レジスタ1のストローブ信号を1クロ
ツクサイクル保持するフリツプフロツプであり、
保持内容は結線111を介してオア回路8に導か
れる。オア回路8は結線111を介して供給され
る前記フリツプフロツプ7の保持内容と、結線1
09を介して供給される前記検出回路6の出力と
の論理和をとり、論理和結果は結線112を介し
て前記レジスタ4に導かれる。
Flip-flop 7 is a flip-flop that holds the strobe signal of register 1 supplied via connection 110 for one clock cycle;
The held contents are led to the OR circuit 8 via the connection 111. The OR circuit 8 receives the contents held in the flip-flop 7 supplied via the connection 111 and the connection 1
09, and the logical sum result is led to the register 4 via a connection 112.

第2図を参照すると、前記周期決定回路3は、
選択回路21、切上げ回路22、およびシフト回
路23から構成されている。
Referring to FIG. 2, the period determining circuit 3:
It is composed of a selection circuit 21, a round-up circuit 22, and a shift circuit 23.

線103―0ないし103―5には第1図にお
けるデコード回路2の出力である要素間距離情報
が伝送され、それぞれ要素間距離が32m,16×
(2m−1),8×(2m−1),4×(2m−1),2
×(2m−1)(ただしmは正の整数)であること
を示している。前記選択回路21は該要素間距離
情報を結線104を介して供給されるメモリのバ
ンク数情報により切替える回路で、出力は結線2
01―0ないし201―4によりシフト回路23
に導かれる。本実施例では、メモリのバンク数と
して16バンクならびに32バンクによる構成が可能
であると仮定し、16バンク構成時には前記結線2
01―0ないし201―4には結線103―1な
いし103―5の内容が32バンク構成時には結線
201―0ないし201―4に結線103―0な
いし103―4の内容がそれぞれ対応して該選択
回路21で選択されて出力される。結線105を
介して与えられる情報はバンクアクセスサイクル
時間を表わす。本実施例では16クロツクサイクル
以内のバンクアクセスサイクル時間を仮定する。
該結線105の時間値は回路22に供給される。
回路22では前記バンクアクセスサイクル時間の
2のべき乗になるように切上げて、結線202を
介してシフト回路23に供給する。シフト回路2
3では、結線202を介してシフト情報が供給さ
れ、結線201―0〜201―4の内容が下位桁
方向に桁移動され、余つたビツト位置には0が埋
められ、その結果は結線106―0〜106―4
を介して第1図のレジスタ4に与えられる。桁移
動数は、結線202の値が16、すなわちバンクア
クセスサイクル時間が9クロツクサイクル〜16ク
ロツクサイクルの時0ビツト、結線202の値が
8、すなわちバンクアクセスサイクル時間が5ク
ロツクサイクル乃至8クロツクサイクルの時1ビ
ツト、結線202の値が4、すなわちバンクアク
セスサイクル時間が3クロツクサイクルならびに
4クロツクサイクルの時2ビツトというようにし
て与えられる。
Lines 103-0 to 103-5 transmit inter-element distance information, which is the output of the decoding circuit 2 in FIG.
(2m-1), 8 x (2m-1), 4 x (2m-1), 2
×(2m−1) (where m is a positive integer). The selection circuit 21 is a circuit that switches the distance information between the elements according to the memory bank number information supplied via the connection 104, and outputs the information from the connection 2.
Shift circuit 23 by 01-0 to 201-4
guided by. In this embodiment, it is assumed that the number of memory banks is 16 and 32 banks, and when configuring 16 banks, the connection 2 is
01-0 to 201-4 correspond to the contents of connections 103-1 to 103-5, and when 32 banks are configured, the contents of connections 103-0 to 103-4 correspond to connections 201-0 to 201-4, respectively, and the selection is made. It is selected by the circuit 21 and output. The information provided via connection 105 represents the bank access cycle time. In this embodiment, it is assumed that the bank access cycle time is within 16 clock cycles.
The time value on connection 105 is supplied to circuit 22 .
The circuit 22 rounds up the bank access cycle time to a power of 2 and supplies it to the shift circuit 23 via the connection 202. Shift circuit 2
3, shift information is supplied via connection 202, the contents of connections 201-0 to 201-4 are shifted in the direction of lower digits, the remaining bit positions are filled with 0, and the result is transferred to connection 106- 0~106-4
1 to register 4 in FIG. The number of digit shifts is 0 bit when the value of connection 202 is 16, that is, the bank access cycle time is 9 clock cycles to 16 clock cycles, and 0 bit when the value of connection 202 is 8, that is, the bank access cycle time is 5 clock cycles to 16 clock cycles. One bit is given when there are eight clock cycles, and two bits are given when the value of connection 202 is 4, ie, the bank access cycle time is three clock cycles and four clock cycles.

次に第3A図および第3B図のタイムチヤート
を参照して本発明の動作を詳細に説明する。
Next, the operation of the present invention will be explained in detail with reference to the time charts of FIGS. 3A and 3B.

第3A図に示す例も第3B図に示す例もいずれ
もメモリの構成は16バンク構成であり、メモリの
番地付けは第4図のようになされているものとす
る。また、バンクアクセスサイクル時間は、いず
れも16クロツクサイクルであるとする。
It is assumed that both the example shown in FIG. 3A and the example shown in FIG. 3B have a memory configuration of 16 banks, and the memory addressing is as shown in FIG. 4. It is also assumed that the bank access cycle time is 16 clock cycles in each case.

第3A図は要素間距離D(以下要素間距離のこ
とを単に距離Dと称する)が1の時の動作例であ
る。
FIG. 3A shows an example of operation when the distance D between elements (hereinafter the distance between elements is simply referred to as distance D) is 1.

時刻t-1でレジスタ1のストローブ信号110
が論理“1”になると、時刻t0において前記レジ
スタ1に距離D、すなわち1が取込まれ、動作が
開始される。距離D=1のときはデコード回路2
からは距離D=1である旨の信号が出力され、線
103―5が論理“1”になり線103―0ない
し103―4はいずれも論理“0”になる。メモ
リのバンク数が16バンク構成であるから選択回路
21の出力である201―0ないし201―4は
2進表示で00001となつてシフト回路23に供給
される。線105を介して与えられるバンクアク
セスサイクル時間tc(以下バンクアクセスサイク
ル時間を単に時間tcと称する)は2進表示で
“10000”であり、線202の回路22の出力も2
進表示で“10000”、すなわち10進表示で16であ
り、前記シフト回路23のシフト数は0ビツトと
なり、該シフト回路23の出力は106―0〜1
06―4はビツト表示で“00001”、すなわち回路
3の出力であるメモリに対するアクセス要求信号
を送出する周期は1となり線106を介してレジ
スタ4に供給される。距離D=1のときに、周期
1すなわち毎クロツクサイクルメモリに対してア
クセス要求信号を送出すると、16バンク構成のメ
モリでは同一バンクに対してアクセス要求信号が
送出されるのは16クロツクサイクル後であり、時
間tcが16クロツクサイクルであると時間tc内に同
一のバンクに対するアクセス要求信号は送出され
ない。時刻t-1で前記線110が論理“1”であ
るから時刻t0ではフリツプフロツプ7の状態は論
理“1”であるからオア回路8の出力は論理
“1”になりレジスタ4には前記回路3の出力で
ある“1”が取込まれる。時刻t1では、減算回路
5で前記レジスタ4に保持されている値1から1
を減じるための出力が0になる。検出回路6に
“0”が供給されるため該回路6の出力は論理
“1”になり、メモリに対するアクセス要求信号
は有効になる。また前記線110は1クロツクサ
イクルだけ論理“1”になる信号であるから時刻
t0では前記線110は論理“0になり、前記レジ
スタ1は距離D、すなわち、“1”が引続いて保
持される。時刻t1で線107が論理“1”になる
ため、前記オア回路8の出力は論理“1”にな
り、前記レジスタ4には前記線106が取込まれ
る。時刻t1において前記レジスタ1の値は時刻t0
における値と同じ値であるため時刻t1における前
記線106は時刻t0と同じく“1”になつてい
る。したがつて時刻t2以降は時刻t1における動作
と同様の動作が行なわれ、前記レジスタ1に異な
つた距離Dがストロープされるまで続けられる。
Strobe signal 110 of register 1 at time t -1
When becomes logic "1", the distance D, that is, 1, is taken into the register 1 at time t0 , and the operation is started. When distance D=1, decoding circuit 2
A signal indicating that the distance D=1 is output from , the line 103-5 becomes logic "1", and the lines 103-0 to 103-4 all become logic "0". Since the number of memory banks is 16, the outputs 201-0 to 201-4 of the selection circuit 21 are supplied to the shift circuit 23 as 00001 in binary representation. The bank access cycle time t c (hereinafter referred to simply as time t c ) given via the line 105 is "10000" in binary representation, and the output of the circuit 22 on the line 202 is also 2.
It is "10000" in decimal notation, that is, 16 in decimal notation, and the shift number of the shift circuit 23 is 0 bits, and the output of the shift circuit 23 is 106-0 to 1.
06-4 is "00001" in bit representation, that is, the period for sending out the access request signal to the memory which is the output of the circuit 3 is 1, and is supplied to the register 4 via the line 106. When distance D = 1, if an access request signal is sent to the memory at cycle 1, that is, every clock cycle, in a memory with a 16-bank configuration, the access request signal will be sent to the same bank every 16 clock cycles. If the time t c is later and the time t c is 16 clock cycles, no access request signal for the same bank will be sent within the time t c . Since the line 110 is at logic "1" at time t - 1 , the state of flip-flop 7 is at logic "1" at time t0, so the output of OR circuit 8 becomes logic "1", and the register 4 has the logic "1". The output “1” of 3 is taken in. At time t1 , the subtraction circuit 5 converts the value 1 held in the register 4 to 1
The output for subtracting becomes 0. Since "0" is supplied to the detection circuit 6, the output of the circuit 6 becomes logic "1", and the access request signal to the memory becomes valid. Also, since the line 110 is a signal that becomes logic "1" for one clock cycle, the time
At time t 0 , the line 110 becomes a logic "0" and the register 1 continues to hold the distance D, i.e. "1". At time t 1 , the line 107 becomes a logic "1", so the OR The output of the circuit 8 becomes logic "1", and the line 106 is taken into the register 4. At time t1 , the value of the register 1 changes to the value at time t0 .
Since the value is the same as that at time t 1 , the line 106 at time t 1 is “1” as at time t 0 . Therefore, from time t 2 onwards, the same operation as at time t 1 is performed and continues until a different distance D is stropped in the register 1.

第3B図は距離Dが2である場合の動作例であ
る。
FIG. 3B shows an example of operation when the distance D is 2.

時刻t-1でレジスタ1ストローブ信号が論理
“1”になると、時刻t0において、前記レジスタ
1に距離D、すなわち、2が取込まれて動作が開
始される。
When the register 1 strobe signal becomes logic "1" at time t -1 , the distance D, ie, 2, is taken into the register 1 at time t 0 and the operation is started.

距離D=2のときは、デコード回路2から距離
D=2である旨の信号、すなわち線103−4が
論理“1”になり線103―0〜103―3なら
びに103―5が論理“0”になつて選択回路2
1に供給される。メモリのバンク数は16バンク構
成になつているから前記選択回路21の出力であ
る201―0〜201―4は2進表示で“00010”
となつてシフト回路23に供給される。線105
を介して与えられる時間tcは2進表示で“10000”
であり、回路22の出力202も2進表示で
“10000”、すなわち10進表示で16であるから前記
シフト回路23のシフト数は0ビツトとなり、該
シフト回路23の出力106―0〜106―4は
ビツト表示で“00010”、すなわち回路3の出力で
あるメモリに対するアクセス要求信号を送出する
周期106は2となりレジスタ4に供給される。
距離D=2のときに周期2、すなわち2クロツク
サイクルに1回ずつメモリに対してアクセス要求
信号を送出すると、16バンク構成のメモリでは同
一バンクに対してアクセス要求信号が送出される
のは8要素後の要素である。したがつて8に2を
乗じた値である16クロツクサイクル後であり、時
間tcが16クロツクサイクルであると時間tc内に同
一のバンクに対するアクセス要求信号は送出され
ない。時刻t-1で前記線110が論理“1”であ
るから時刻t0ではフリツプフロツプ7の状態は論
理“1”であり、オア回路8の出力は論理“1”
になりレジスタ4には前記回路3の出力である
“2”が取込まれる。
When the distance D=2, the signal indicating that the distance D=2 from the decoding circuit 2, that is, the line 103-4 becomes logic "1", and the lines 103-0 to 103-3 and 103-5 become logic "0". ”Selection circuit 2
1. Since the number of memory banks is 16, the outputs 201-0 to 201-4 of the selection circuit 21 are "00010" in binary representation.
The signal is then supplied to the shift circuit 23. line 105
The time t c given through is “10000” in binary representation
Since the output 202 of the circuit 22 is also "10000" in binary representation, that is, 16 in decimal representation, the shift number of the shift circuit 23 is 0 bits, and the outputs 106-0 to 106- of the shift circuit 23 are 4 is "00010" in bit representation, that is, the period 106 for sending out the access request signal to the memory which is the output of the circuit 3 is 2 and is supplied to the register 4.
When distance D = 2, if an access request signal is sent to the memory once every 2 cycles, that is, every 2 clock cycles, in a memory with a 16-bank configuration, the access request signal will be sent to the same bank. This is the element after 8 elements. Therefore, 16 clock cycles, which is the value obtained by multiplying 8 by 2, have passed, and if time t c is 16 clock cycles, no access request signal for the same bank will be sent within time t c . Since the line 110 is logic "1" at time t -1 , the state of flip-flop 7 is logic "1" at time t0 , and the output of OR circuit 8 is logic "1".
Then, the output of the circuit 3, which is "2", is taken into the register 4.

時刻t1で減算回路5は前記レジスタ4に保持さ
れている値がDから1を減じるため出力は1とな
る。検出回路6には1が供給され0が供給されな
いため、該回路6の出力は論理“0”となり、メ
モリに対するアクセス要求信号を有効とはしな
い。また前記線110は1クロツクサイクルだけ
論理“1”になるから時刻t0では前記線110は
論理“0”になり、前記レジスタ1には距離D、
すなわち“2”が引続いて保持される。前記フリ
ツプフロツプ7の状態が論理“0”になり、また
前記検出回路6の出力も論理“0”であるため、
前記オア回路8の出力は論理“0”で前記レジス
タ4には前記減算回路5の出力である“1”が取
込まれる。
At time t1 , the subtraction circuit 5 subtracts 1 from the value D held in the register 4, so the output becomes 1. Since the detection circuit 6 is supplied with 1 and not 0, the output of the circuit 6 becomes logic "0", and the access request signal to the memory is not valid. Also, since the line 110 becomes a logic "1" for one clock cycle, the line 110 becomes a logic "0" at time t0 , and the distance D,
That is, "2" is continuously held. Since the state of the flip-flop 7 is logic "0" and the output of the detection circuit 6 is also logic "0",
The output of the OR circuit 8 is logic "0" and the register 4 receives the output "1" of the subtraction circuit 5.

時刻t2では、前記レジスタ4に保持されている
値が“1”であり、前記減算回路5は“1”から
“1”を減じて“0”を出力して前記検出回路6
に供給される。該回路6の出力は論理“1”にな
り、結線109を介してメモリに対するアクセス
要求信号を有効とするとともに前記オア回路8の
出力を論理“1”にして前記レジスタ4に前記回
路3の出力を選択して取込ませる。前記レジスタ
1には“2”が引続いて保持されており、前記回
路3の出力は“2”となつて前記レジスタ4に供
給される。
At time t2 , the value held in the register 4 is "1", and the subtraction circuit 5 subtracts "1" from "1", outputs "0", and outputs "0" to the detection circuit 6.
supplied to The output of the circuit 6 becomes logic "1", which makes the access request signal for the memory valid through the connection 109, and also makes the output of the OR circuit 8 logic "1", so that the output of the circuit 3 is sent to the register 4. Select and import. The register 1 continues to hold "2", and the output of the circuit 3 becomes "2" and is supplied to the register 4.

時刻t3における状態は時刻t1における状態と同
じであるため、時刻t3は時刻t1における動作と同
様の動作を行なう。したがつて時刻t4における状
態は時刻t2における状態と同じ状態になるため時
刻t4における動作は時刻t2における動作と同様に
なる。したがつて、時刻t3以降は時刻t1,t2の動
作が繰返して行なわれ、前記レジスタ1に異なつ
た距離Dがストローブされるまで続けられる。
Since the state at time t 3 is the same as the state at time t 1 , the same operation as at time t 1 is performed at time t 3 . Therefore, the state at time t4 is the same as the state at time t2 , so the operation at time t4 is the same as the operation at time t2 . Therefore, after time t3 , the operations at times t1 and t2 are repeated until the register 1 is strobed with a different distance D.

発明の効果 本発明には、複数のデータの間隔を解読し、バ
ンクアクセスサイクル時間内に同一のバンクにア
クセス要求が送出されないようにアクセス要求を
送出する周期を決定する手段を設けることによ
り、少ないハードウエア量でベクトルデータのメ
モリアクセスにおけるメモリのバンク管理ができ
るという効果がある。
Effects of the Invention The present invention provides means for decoding the intervals between a plurality of pieces of data and determining the cycle for sending access requests so that access requests are not sent to the same bank within the bank access cycle time. This has the advantage that memory bank management in memory access of vector data can be performed using only a small amount of hardware.

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

第1図は本発明の一実施例を示す図、第2図は
第1図に示した回路3を詳細に示す図、第3A図
および第3B図は動作を説明するためのタイムチ
ヤートおよび第4図はメモリのバンク構成と番地
付けを示した図である。 第1図から第4図において、1…要素間距離レ
ジスタ、2…デコード回路、3…周期決定回路、
4…カウント・レジスタ、5…減算回路、6…検
出回路、7…フリツプフロツプ、8…オア回路、
101…要素間距離、110…要素間距離レジス
タストローブ信号、104…メモリバンク数情
報、105…バンクアクセスサイクル時間情報、
109…メモリアクセス要求有効信号、102,
103,106〜108,111,112…結
線、21…選択回路、22…切上げ回路、23…
シフト回路、201,202…結線。
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing details of the circuit 3 shown in FIG. 1, and FIGS. 3A and 3B are time charts and diagrams for explaining the operation. FIG. 4 is a diagram showing the bank structure and addressing of the memory. 1 to 4, 1...inter-element distance register, 2...decoding circuit, 3...cycle determining circuit,
4... Count register, 5... Subtraction circuit, 6... Detection circuit, 7... Flip-flop, 8... OR circuit,
101... Inter-element distance, 110... Inter-element distance register strobe signal, 104... Memory bank number information, 105... Bank access cycle time information,
109...Memory access request valid signal, 102,
103, 106 to 108, 111, 112... Connection, 21... Selection circuit, 22... Rounding up circuit, 23...
Shift circuit, 201, 202... connection.

Claims (1)

【特許請求の範囲】 1 互いに独立にアクセス可能な複数のバンクか
ら構成されバンク順に番地付けがなされたメモリ
に対する複数のデータがメモリ上に一定間隔で配
置された、またはされるデータのアクセスを制御
する方式であつて、 データの間隔を解読する手段と、 前記メモリのバンク数を知らしめる手段と、 前記メモリのバンクアクセスサイクル時間を知
らしめる手段と、 前記解読手段により解読された間隔情報と、前
記メモリのバンク数と、前記メモリのバンクアク
セスサイクル時間にもとづいて前記メモリの同一
バンクに対して前記バンクアクセスサイクル時間
内にアクセス要求が送出されないように前記メモ
リに対するアクセス要求を送出する周期を決定す
る手段とを含むことを特徴とするメモリアクセス
制御方式。
[Scope of Claims] 1. A plurality of data is arranged at regular intervals on the memory, or access to the data is controlled, to a memory that is composed of a plurality of banks that can be accessed independently and is addressed in the order of the banks. A method for decoding data intervals, means for informing the number of banks of the memory, means for informing the bank access cycle time of the memory, and interval information decoded by the decoding means, Based on the number of banks of the memory and the bank access cycle time of the memory, determine a cycle for sending access requests to the memory so that no access request is sent to the same bank of the memory within the bank access cycle time. A memory access control method comprising means for controlling.
JP16595583A 1983-09-09 1983-09-09 Memory access control system Granted JPS6057447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16595583A JPS6057447A (en) 1983-09-09 1983-09-09 Memory access control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16595583A JPS6057447A (en) 1983-09-09 1983-09-09 Memory access control system

Publications (2)

Publication Number Publication Date
JPS6057447A JPS6057447A (en) 1985-04-03
JPH0139136B2 true JPH0139136B2 (en) 1989-08-18

Family

ID=15822188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16595583A Granted JPS6057447A (en) 1983-09-09 1983-09-09 Memory access control system

Country Status (1)

Country Link
JP (1) JPS6057447A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2674809B2 (en) * 1988-11-07 1997-11-12 日本電気株式会社 Information processing device
JP3215105B2 (en) * 1990-08-24 2001-10-02 富士通株式会社 Memory access device

Also Published As

Publication number Publication date
JPS6057447A (en) 1985-04-03

Similar Documents

Publication Publication Date Title
EP0473275B1 (en) Memory control unit and memory unit
US4451881A (en) Data processing system bus for multiple independent users
CA1145004A (en) Data processing apparatus with serial and parallel priority
GB1570343A (en) Information storage and retrieval system
US4115854A (en) Channel bus controller
US4188669A (en) Decoder for variable-length codes
JPH0738170B2 (en) Random access memory device
US5201058A (en) Control system for transferring vector data without waiting for transfer end of the previous vector data
US3221310A (en) Parity bit indicator
US4831513A (en) Memory initialization system
JPH0139136B2 (en)
EP0057096A2 (en) Information processing unit
US4151375A (en) System for selectively shifting groups of bits for temporary storage in a processor memory of a telephone exchange
US3714634A (en) Method and system for sorting without comparator
US3665409A (en) Signal translator
JPS6156546B2 (en)
USRE34282E (en) Memory control system
EP0724219B1 (en) Memory system for storing information data and state-of-radio-transmission data
JP3168717B2 (en) Memory access circuit
JPS59172185A (en) Memory selecting system
SU842775A1 (en) Interface
SU752501A1 (en) Device for correcting information in read-only storage unit
SU1287172A1 (en) Device for generating message route in uniform computer system
JPS61285540A (en) Information processor
JP2680864B2 (en) Channel control system