JPS6155708B2 - - Google Patents
Info
- Publication number
- JPS6155708B2 JPS6155708B2 JP13196380A JP13196380A JPS6155708B2 JP S6155708 B2 JPS6155708 B2 JP S6155708B2 JP 13196380 A JP13196380 A JP 13196380A JP 13196380 A JP13196380 A JP 13196380A JP S6155708 B2 JPS6155708 B2 JP S6155708B2
- Authority
- JP
- Japan
- Prior art keywords
- access
- address
- data
- vector
- address generation
- 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
- 230000015654 memory Effects 0.000 claims description 26
- 238000000034 method Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 2
- 230000005055 memory storage Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/80—Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
- G06F15/8053—Vector processors
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Complex Calculations (AREA)
Description
【発明の詳細な説明】
本発明はアクセス制御方式に関し、特に複数の
ベクトルデータメモリから読出してベクトルレジ
スタにセツトする場合、アクセス回数を減少する
ために、メモリに対し単一の要求によつて、複数
個のデータを読み出すことが可能とするアクセス
(以下パラアクセスと呼ぶことにする)を行なう
ようにしたアクセス制御方式に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an access control scheme, in particular when reading from multiple vector data memories and setting them in vector registers, in order to reduce the number of accesses, a single request is made to the memory. The present invention relates to an access control system that performs access (hereinafter referred to as para-access) that allows reading a plurality of pieces of data.
ベクトル演算を行なう場合、通常はベクトル演
算に必要なベクトルデータは比較的アクセスの遅
いメモリ・ストレージ・ユニツト(MSU)に格
納されている。演算器がMSUから直接これらの
ベクトルデータを順次読出して演算を行うとすれ
ば、その演算速度が遅くなる。それ故、高速にア
クセスできるベクトルレジスタを設け、ベクトル
レジスタに演算に必要な多数のベクトルデータを
MSUからあらかじめ読出してセツトしておき、
このセツトされたベクトルデータを使用してベク
トル演算が行なわれている。 When performing vector operations, the vector data required for the vector operations is typically stored in a relatively slow access memory storage unit (MSU). If the arithmetic unit sequentially reads these vector data directly from the MSU and performs calculations, the calculation speed will be slow. Therefore, a vector register that can be accessed at high speed is provided, and a large amount of vector data required for calculation is stored in the vector register.
Read it from MSU in advance and set it.
Vector operations are performed using this set vector data.
第1図はシステム構成の一例を示し、1は中央
処理装置、2はベクトル処理装置である。ベクト
ル処理装置2でベクトル命令が実行される。この
ベクトル命令にもとづき命令制御部5は起動信号
とともにベクトルデータa0の論理アドレスLA、
ベクトルデータa0,a1,a2……aoが格納されて
いる間隔を示す要素間距離a、読出すべきベクト
ルデータ数VL、読出したベクトルデータをセツ
トすべきベクトルレジスタ7のベクトルレジスタ
番号、アクセスオペレーシヨン等をアクセス制御
部6に対し伝達する。アクセス制御部6はこれに
よりベクトルデータa0,a1,……aoのアドレス
を論理アドレスLAと要素間距離dの値から順次
作成してメモリ制御装置3に対し必要とするベク
トルデータ数だけアクセス要求を行なう。メモリ
制御装置3では中央処理装置1またはベクトル処
理装置2からの要求に対し、いずれか選択して
MSU4へ読出し要求アドレスを送出する。かく
して読出したベクトルデータa0,a1……aoをベ
クトルレジスタ7の所定の位置にセツトし、これ
にもとづき演算実行部8によりベクトル演算が行
なわれることになる。したがつて、MSU4から
上記ベクトルデータa0,a1……aoを読出すため
にこれらのベクトルデータ毎にアクセス要求を行
なわなければならず、アクセス回数が非常に多く
なるという問題が存在する。また転送量を増加さ
せるために多くの物量が必要となるという欠点が
あつた。 FIG. 1 shows an example of a system configuration, where 1 is a central processing unit and 2 is a vector processing unit. Vector processing device 2 executes vector instructions. Based on this vector command, the command control unit 5 sends the logical address LA of vector data a 0 ,
Vector data a 0 , a 1 , a 2 ...inter-element distance a indicating the interval at which a o is stored, the number of vector data to be read VL, the vector register number of the vector register 7 to which the read vector data is to be set. , access operation, etc., to the access control unit 6. The access control unit 6 thereby sequentially creates addresses for vector data a 0 , a 1 , ...a o from the logical address LA and the value of the inter-element distance d, and provides the memory control device 3 with the required number of vector data. Make an access request. The memory control unit 3 selects either the central processing unit 1 or the vector processing unit 2 in response to requests from the central processing unit 1 or the vector processing unit 2.
Sends the read request address to MSU4. The vector data a 0 , a 1 . Therefore, in order to read the vector data a 0 , a 1 . . Another drawback is that a large amount of material is required to increase the amount of data transferred.
したがつて本発明ではMSUに対してアクセス
する場合、パラアクセスすることによりアクセス
回数を減少するようにし、さらに物量を増加させ
ることなく転送量を増加させることが可能とした
アクセス制御方式を提供することを目的とするも
のであつて、このために本発明におけるアクセス
制御方式では、ベクトルデータが格納されるメモ
リとこのメモリから読出されたベクトルデータが
セツトされるベクトルレジスタとこのベクトルレ
ジスタにセツトされたベクトルデータにもとづき
演算を行なう演算手段を備えたデータ処理装置に
おいて、ベクトルデータの要素間距離と最初のエ
レメントのアドレスとによりアドレスを発生し、
ベクトルデータをアクセスするデータアクセス制
御方式であつて、複数のアドレス発生手段および
対応する複数のリクエスト手段とベクトルデータ
の要素間距離が所定の大きさ以下であることを検
出する手段とを設け、ベクトルデータの要素間距
離が所定の大きさ以下であることを検出した場合
には複数のアドレス発生手段およびリクエスト手
段のうちの1組によりパラアクセス制御を行なう
ことを特徴とする。 Therefore, the present invention provides an access control method that reduces the number of accesses by performing para-access when accessing an MSU, and further increases the amount of transfer without increasing the amount of material. To this end, the access control method of the present invention includes a memory in which vector data is stored, a vector register in which vector data read from this memory is set, and a vector register in which vector data is set. In a data processing device equipped with an arithmetic means for performing an arithmetic operation based on the vector data, an address is generated based on the inter-element distance of the vector data and the address of the first element,
A data access control method for accessing vector data, which includes a plurality of address generation means, a plurality of corresponding request means, and a means for detecting that the distance between elements of vector data is less than or equal to a predetermined size. The present invention is characterized in that when it is detected that the distance between data elements is less than or equal to a predetermined size, one set of a plurality of address generation means and request means performs para-access control.
以下本発明の一実施例を第2図乃至第4図にも
とづき説明する。 An embodiment of the present invention will be described below with reference to FIGS. 2 to 4.
第2図は本発明の一実施例概略図、第3図はそ
のデータ系の詳細図、第4図はアドレス発生系の
詳細図である。 FIG. 2 is a schematic diagram of an embodiment of the present invention, FIG. 3 is a detailed diagram of its data system, and FIG. 4 is a detailed diagram of its address generation system.
図中他図と同符号部は同一部分を示し、3′は
メモリ制御装置、5は命令制御部、5−1は要素
間距離識別部、5−2は命令発信制御部、6′は
アクセス制御部、9はアクセスパイプAデータ処
理部、10はアクセスパイプBデータ処理部、1
1はアドレス送出部、12はアドレス発生制御回
路、13−0〜13−7はエラーチエツク回路、
14−0〜14−7はエラー訂正部、15−0〜
15−7は各バスのポート、16−0〜16−3
はアドレス演算回路、17−0〜17−3は論理
アドレスレジスタ、18−0〜18−3はデイス
タンスレジスタ、19−0〜19−3はアドレス
変換回路、20−0〜20−3はアドレス出力レ
ジスタである。 In the figure, the same reference numerals as in other figures indicate the same parts, 3' is a memory control device, 5 is an instruction control section, 5-1 is an inter-element distance identification section, 5-2 is an instruction transmission control section, and 6' is an access section. 1 is a control unit; 9 is an access pipe A data processing unit; 10 is an access pipe B data processing unit;
1 is an address sending unit, 12 is an address generation control circuit, 13-0 to 13-7 are error check circuits,
14-0~14-7 are error correction units, 15-0~
15-7 is each bus port, 16-0 to 16-3
is an address calculation circuit, 17-0 to 17-3 are logical address registers, 18-0 to 18-3 are distance registers, 19-0 to 19-3 are address conversion circuits, and 20-0 to 20-3 are addresses. It is an output register.
第2図において、メモリ制御装置3′は、メモ
リ制御装置3と同様にMSU4に対するアクセス
制御を行なうものであるが、アドレス発生制御回
路12からの制御信号にもとづき、通常のアクセ
ス制御の外にMSUをパラアクセスするパラアク
セス制御を行なうことを可能としている。ここで
パラアクセスとは、一回のアクセス要求で、アク
セス先のアドレスから一定範囲内のアドレスに格
納された複数のデータを並行して同時にアクセス
するものである。図示のものでは、アクセスパイ
プAデータ処理部9およびアクセスパイプBデー
タ処理部10とメモリ制御装置3′との間にそれ
ぞれ4本のバスからなるA0およびB0のアクセス
パイプが設けられており、各アクセスバスのバス
幅は、例えば8バイトである。それ故、パラアク
セスの場合には、一回のアクセス要求によりこれ
ら4本のアクセスバスから伝達されるデータは例
えば32バイトとなる。このときエレメント数は、
データを8バイト単位で扱う8バイト命令の場合
には要素間距離が8バイトであれば最大転送可能
なエレメント数は4エレメントであり、4バイト
単位で扱う4バイト命令の場合には要素間距離が
8バイトであれば最大転送可能なエレメント数は
4エレメントであり、要素間距離が4バイトあれ
ば最大転送可能なエレメント数は8エレメントで
あり、1バイト単位で扱う1バイト命令の場合に
は同様に最大32エレメントとなる。ベクトルレジ
スタ7の1エレメントは例えば8バイト単位であ
るので、1バイト命令として処理される時は上位
7バイトに「0」を記入し、4バイト命令として
処理されるときは上位4バイトあるいは下位4バ
イトに「0」を記入してベクトルレジスタにセツ
トすることになる。またベクトルレジスタ7に対
するバスは、アクセスパイプAデータ処理部9お
よびアクセスパイプBデータ処理部10からそれ
ぞれ8バイト幅のバスが4本設けられているの
で、ベクトルレジスタ7に対しては一回に4エレ
メント伝達できることになる。 In FIG. 2, the memory control device 3' performs access control to the MSU 4 like the memory control device 3, but based on the control signal from the address generation control circuit 12, the memory control device 3' performs access control to the MSU 4 in addition to normal access control. This makes it possible to perform para-access control. Here, para-access refers to simultaneously accessing a plurality of pieces of data stored at addresses within a certain range from the access destination address in parallel with a single access request. In the illustrated example, access pipes A 0 and B 0 each consisting of four buses are provided between the access pipe A data processing section 9 and the access pipe B data processing section 10 and the memory control device 3'. , the bus width of each access bus is, for example, 8 bytes. Therefore, in the case of para-access, the data transmitted from these four access buses in response to a single access request is, for example, 32 bytes. At this time, the number of elements is
In the case of an 8-byte instruction that handles data in 8-byte units, if the inter-element distance is 8 bytes, the maximum number of elements that can be transferred is 4 elements, and in the case of a 4-byte instruction that handles data in 4-byte units, the inter-element distance If is 8 bytes, the maximum number of elements that can be transferred is 4 elements, and if the distance between elements is 4 bytes, the maximum number of elements that can be transferred is 8 elements. Similarly, the maximum number of elements is 32. One element of the vector register 7 is, for example, an 8-byte unit, so when it is processed as a 1-byte instruction, "0" is written in the upper 7 bytes, and when it is processed as a 4-byte instruction, the upper 4 bytes or the lower 4 This will write ``0'' into the byte and set it in the vector register. Furthermore, since four buses each having a width of 8 bytes are provided for the vector register 7 from the access pipe A data processing section 9 and the access pipe B data processing section 10, four buses for the vector register 7 are provided at one time. This means that elements can be transmitted.
このように要素間距離が例えば8バイト以下の
アクセスであれば1つのアクセス要求に対し複数
の要素を伝達することを可能とし、これを前述し
ているようにパラアクセスとする。これに対し
て、例えば要素間距離が8バイトをこえるような
アクセスは、MSUに格納されているデータが離
散的であるため1つのアクセス要求に対し1要素
を転送するような要素単位のアクセスとする。こ
のとき、MCU3′に対してのアクセス要求は、
MCU3′とアドレス発生部からのバスで接続され
る本数のアクセス要求(アドレス発生部11で発
生されるアドレスはA〜Dの4組)を行うことを
可能とし、たとえばアクセスパイプAデータ処理
部9の転送量に見合うだけのアクセス要求を発生
することを可能としている。 In this way, if the distance between elements is, for example, 8 bytes or less, it is possible to transmit a plurality of elements in response to one access request, and this is referred to as a para-access as described above. On the other hand, accesses where the distance between elements exceeds 8 bytes, for example, are accesses in element units where one element is transferred in response to one access request because the data stored in the MSU is discrete. do. At this time, the access request to MCU3' is
It is possible to make as many access requests as the number connected by the bus from the MCU 3' and the address generation section (the addresses generated by the address generation section 11 are 4 sets A to D), for example, the access pipe A data processing section 9 This makes it possible to generate access requests commensurate with the amount of data transferred.
アドレス発生部Aは、第4図に示す如く、アド
レス演算回路16−0、論理アドレスレジスタ1
7−0、デイスタンスレジスタ18−0、アドレ
ス変換回路19−0およびアドレス出力レジスタ
20−0が設けられている。いま、命令制御部5
から、アクセス先のベクトルデータを示す論理ア
ドレスLAと要素間距離dが印加されたとき、こ
れらのデータはそれぞれ論理アドレスレジスタ1
7−0およびデイスタンスレジスタ18−0にセ
ツトされる。これにもとづきアドレス演算回路1
6−0が順次アドレス計算を行ない、この演算結
果が論理アドレスレジスタ17−0にセツトされ
る。この時アドレス演算回路16−0、論理アド
レスレジスタ17−0、デイスタンスレジスタ1
8−0によつて順次アドレス計算を実行している
時は、アドレス発生制御回路により命令発信制御
部5−2に対してアドレス発生部が動作中である
ことを、アクセスパイプAアドレス発生動作信号
もしくはアドレス発生部Bについてはアクセスパ
イプBアドレス発生動作信号によつて通知され
る。 As shown in FIG. 4, the address generation section A includes an address calculation circuit 16-0, a logical address register 1
7-0, a distance register 18-0, an address conversion circuit 19-0, and an address output register 20-0. Now, the command control unit 5
, when the logical address LA indicating the vector data to be accessed and the inter-element distance d are applied, these data are respectively stored in the logical address register 1.
7-0 and distance register 18-0. Based on this, address calculation circuit 1
6-0 sequentially performs address calculation, and the result of this calculation is set in the logical address register 17-0. At this time, address calculation circuit 16-0, logical address register 17-0, distance register 1
When sequential address calculation is performed by 8-0, the address generation control circuit sends an access pipe A address generation operation signal to the instruction generation control unit 5-2 to inform that the address generation unit is in operation. Alternatively, the address generation section B is notified by the access pipe B address generation operation signal.
演算結果が論理アドレスレジスタにセツトされ
るとアドレス変換回路19−0で論理アドレスが
物理アドレスに変換され、このようにして得られ
たアクセス先であるMSUの物理アドレスがアド
レス出力レジスタ20−0にセツトされ、この物
理アドレスがアドレスバスA1に送出されること
になる。そしてアドレス発生部B〜アドレス発生
部Dも、上記アドレス発生部Aと同様に構成され
ている。 When the operation result is set in the logical address register, the logical address is converted into a physical address by the address conversion circuit 19-0, and the physical address of the MSU that is the access destination obtained in this way is transferred to the address output register 20-0. This physical address will be sent to address bus A1 . The address generating sections B to D are also constructed in the same manner as the address generating section A described above.
アドレス発生制御回路12はアドレス送出部1
1に対応してメモリ制御装置3′に対するアクセ
ス要求信号と、データバスを制御するバス制御信
号を発生するとともに、アクセス命令がたとえば
8バイト以下の要素間距離のものか否かを識別す
るデイスタンス識別回路12−0が設けられてい
る。そして要素間距離が8バイト以下の時には1
つのアクセス要求に対し、MSU4より読み出さ
れた複数個の要素をアクセスパイプAデータ処理
部ないし、アクセスパイプBデータ処理部で処理
するため、例えばアドレス発生部Aでのアクセス
要求に対して読み出された複数個の要素はアクセ
スパプAデータ処理部で処理し、さらにアクセス
パイプBデータ処理部で処理出きるようにパラア
クセス制御をするようにしている。 The address generation control circuit 12 is the address sending section 1
1, it generates an access request signal to the memory control device 3' and a bus control signal for controlling the data bus, and also identifies whether or not the access command has an inter-element distance of, for example, 8 bytes or less. An identification circuit 12-0 is provided. And when the distance between elements is less than 8 bytes, 1
In response to an access request, multiple elements read from the MSU 4 are processed by the access pipe A data processing unit or the access pipe B data processing unit. The access pipe A data processing section processes the plurality of elements, and para-access control is performed so that they can be further processed by the access pipe B data processing section.
また、要素間距離が8バイトをこえる場合には
MSU4に格納されているデータや離散的である
ため1つのアクセス要求に対し、1要素を転送す
るような各要素単位のアクセスが行なわれる。こ
の場合例えばアクセスパイプAデータ処理部で処
理されるデータはアドレス発生部A−D全てを使
用して複数の要素に対応したアクセス要求を出す
ように制御される。アドレス発生制御回路は、
MCU3′に対しパラアクセスでアクセス要求が行
なわれるか要素単位のアクセスでアクセス要求が
行なわれるかを制御している。 Also, if the distance between elements exceeds 8 bytes,
Since the data stored in the MSU 4 is discrete, each element is accessed in response to one access request, such as transferring one element. In this case, for example, data processed by the access pipe A data processing section is controlled so that access requests corresponding to a plurality of elements are issued using all address generation sections A to D. The address generation control circuit is
It controls whether an access request is made to the MCU 3' by para-access or element-by-element access.
いまデータ処理に際して命令制御部5から起動
信号が発生される場合、命令制御部5では発信し
ようとするアクセス命令の要素間距離が要素間距
離識別部5−1によつて識別される。もし、8バ
イト以下のパラアクセスの場合は、アクセスパイ
プAデータ処理部に対応するアドレス発生部Aが
空いているかどうかを示すアクセスパイプAアド
レス発生動作信号が動作中でないか、もしくはア
ドレス発生部Bが空いているかどうかを示すアク
セスパイプBアドレス発生動作信号が動作中でな
いかを調査し、もし両方の信号が動作中である時
は命令の発信が命令発信制御部5−2によつて保
留される。いずれか一方が動作中でないことが判
明した時、動作中でないアクセスパイプに対して
命令の発信が行なわれる。8バイトをこえる場合
は両方のアクセスパイプアドレス発生動作信号が
動作中でない時、発信が行なわれる。 When a start signal is generated from the command control section 5 during data processing, the inter-element distance of the access command to be transmitted is identified in the command control section 5 by the inter-element distance identification section 5-1. If the para-access is 8 bytes or less, either the access pipe A address generation operation signal indicating whether the address generation section A corresponding to the access pipe A data processing section is free is not operating, or the address generation section B It is checked whether the access pipe B address generation operation signal indicating whether the access pipe B is vacant or not is active, and if both signals are active, the command transmission is suspended by the command transmission control section 5-2. Ru. When it is determined that one of the access pipes is not active, a command is issued to the access pipe that is not active. If the number exceeds 8 bytes, the transmission is performed when both access pipe address generation operation signals are not active.
命令制御部5の命令発信制御部5−2より起動
信号が発信され、同時にアクセス制御部6′に対
してアクセス先のベクトルデータの先頭アドレス
(論理アドレス)LA、要素間距離d、要素数
VL、ベクトルレジスタ番号、アクセスオペレー
シヨン等が伝達される。これによりアドレス発生
制御回路12のデイスタンス識別回路12−0が
上記要素間距離が8バイト以下か否かを識別す
る。そして8バイト以下の場合にはパラアクセス
が行なわれるようにアドレス発生制御回路12に
よつて制御が行なわれる。 An activation signal is transmitted from the command transmission control unit 5-2 of the command control unit 5, and at the same time, the start address (logical address) LA of the vector data to be accessed, the inter-element distance d, and the number of elements are sent to the access control unit 6'.
VL, vector register number, access operation, etc. are transmitted. As a result, the distance identification circuit 12-0 of the address generation control circuit 12 identifies whether the distance between the elements is 8 bytes or less. If the number is 8 bytes or less, control is performed by the address generation control circuit 12 so that para-access is performed.
(1) このパラアクセスが行なわれる場合、命令制
御部5では、発信する時点において、要素間距
離識別部5−1であらかじめ8バイト以下であ
ることを検出し、アクセスパイプAアドレス発
生動作信号もしくは、アクセスパイプBアドレ
ス発生動作信号のいずれかが動作中でないかも
しくはいずれも動作中でないことを調査し、動
作中でないアクセスパイプのアドレス発生部に
対してオペレーシヨンが発信される。発信され
たオペレーシヨンは、もしアクセスパイプAに
発信が行なわれるとアドレス発生部Aを使用し
てアドレス発生が行なわれ、オペレーシヨンは
アクセスパイプAデータ処理部のバスA0を使
用してデータ転送が行なわれる。このときアド
レス発生制御回路12はメモリ制御装置3′に
対してアドレスバスA1だけで命令を実行して
いることを伝える。このときアドレス発生部A
では上記先頭アドレスLA、要素間距離dおよ
び要素数VLにもとづき、そのアドレス演算回
路16−0によりアクセス先の論理アドレスが
順次算出され、この論理アドレスがアドレス変
換回路19−0により物理アドレスに変換され
る。アクセス先の論理アドレスを順次算出して
いる間、アドレス発生部AがアクセスパイプA
によつて使用中であることを命令発信制御部5
−2に対してアクセスパイプAアドレス発生動
作信号によつて通知される。そしてこのように
して順次得られた物理アドレスがアドレス出力
レジスタ20−0を経由してアドレスバスA1
に伝達され、これと同時にアクセス要求信号
RQA及びバス制御信号をメモリ制御装置に伝
達する。これにもとづきメモリ制御装置3′は
MSU4をアクセスし、必要とするベクトルデ
ータを順次読出す。MSU4は、第3図に示す
如く、複数のメモリモジユール4−0,4−1
……4−7により構成され、図示番号で示した
アドレスの如く、格納データはインタリーブさ
れ、またダブルワードアドレスで各メモリモジ
ユールに格納されている。そしてMSU4から
読出されたベクトルデータは、メモリ制御装置
3′において、13−0,13−1,……13
−7でシンドローム発生が行なわれ、これにも
とづき読出したベクトルデータに訂正可能なエ
ラーが存在する場合、エラー訂正部14−0,
14−1,……14−7にてエラーが訂正され
る。そしてポート15−0,15−2,15−
4および15−6のいずれかにアクセス要求信
号と共に送出されたバス制御信号によつて選択
された後に伝達され、アクセスパイプAの転送
バスA0を経由してアクセスパイプAデータ処
理部9に伝達され、ベクトルレジスタ7にセツ
トされる。このようにして1アクセス要求に対
してアクセスパイプAの転送バスA0の32バイ
ト分だけのベクトルデータを読出すことができ
る。勿論アドレス発生部Aに起動が行なわれな
く、Bに起動が行なわれる場合にはアクセスパ
イプBの転送バスB0を使用して上記の如くベ
クトルデータが送出されるものである。勿論こ
の場合にはメモリ制御装置3′に対してアドレ
スバスB1および要求信号RQB及びバス制御信
号によつて命令を実行することが伝達され、パ
ラアクセスがアドレスバスB1から伝達される
アドレス情報により実行されることがメモリ制
御装置3′で認識されることになる。(1) When this para-access is performed, the instruction control unit 5 detects in advance that the distance is 8 bytes or less at the time of transmission by the inter-element distance identification unit 5-1, and then generates an access pipe A address generation operation signal or , access pipe B address generation operation signals are not in operation, or none of them are in operation, and an operation is transmitted to the address generation section of the access pipe that is not in operation. If the transmitted operation is transmitted to access pipe A, address generation section A is used to generate an address, and the operation transfers data using bus A0 of access pipe A data processing section. will be carried out. At this time, the address generation control circuit 12 notifies the memory control device 3' that the command is being executed using only the address bus A1 . At this time, address generation section A
Then, based on the start address LA, the distance between elements d, and the number of elements VL, the address calculation circuit 16-0 sequentially calculates the logical address of the access destination, and this logical address is converted into a physical address by the address conversion circuit 19-0. be done. While the logical address of the access destination is being calculated sequentially, the address generation unit A is connected to the access pipe A.
The command transmission control unit 5 indicates that the command is being used by the
-2 is notified by the access pipe A address generation operation signal. The physical addresses sequentially obtained in this way are sent to the address bus A1 via the address output register 20-0.
At the same time, the access request signal is transmitted to
Communicate RQA and bus control signals to the memory controller. Based on this, the memory control device 3'
Access MSU4 and sequentially read the required vector data. As shown in FIG. 3, the MSU 4 has multiple memory modules 4-0 and 4-1.
. . 4-7, and the stored data is interleaved as indicated by the numbers in the figure, and is stored in each memory module at double word addresses. The vector data read from the MSU 4 is then stored at 13-0, 13-1, . . . 13 in the memory control device 3'.
-7, and if there is a correctable error in the vector data read based on this, the error correction unit 14-0,
Errors are corrected in steps 14-1, . . . , 14-7. and port 15-0, 15-2, 15-
4 and 15-6 by the bus control signal sent together with the access request signal, and is transmitted to the access pipe A data processing unit 9 via the transfer bus A0 of access pipe A. and set in vector register 7. In this way, 32 bytes of vector data from transfer bus A0 of access pipe A can be read out in response to one access request. Of course, if address generating section A is not activated but address generating section B is activated, vector data is sent out using transfer bus B0 of access pipe B as described above. Of course, in this case, execution of the command is transmitted to the memory control device 3' by the address bus B1 , the request signal RQB, and the bus control signal, and the para access is transmitted from the address bus B1 to the address information transmitted from the address bus B1 . The memory control device 3' recognizes that the process is executed by the process.
以上の説明から明らかなように、アクセスパ
イプAとアクセスパイプBとは別々のオペレー
シヨンに対して、各々独立にパラアクセスが可
能である。 As is clear from the above description, access pipe A and access pipe B can each independently perform para-access for different operations.
(2) しかしながら要素間距離識別部5−1が要素
間距離を8バイト越えたアクセスオペレーシヨ
ンと識別した場合には、パラアクセス制御は行
なわず、アドレス発生部A〜Dを使用して、1
つのアクセス要求に対して1要素のデータを転
送するような各要素単位のアクセスを行うよ
う、離散的なアドレスの発生が行なわれる。こ
のため、命令発信制御部5−2ではアクセスパ
イプAアドレス発生動作信号及びアクセスパイ
プBアドレス発生動作信号が共に動作中でない
時アクセス命令の発信が可能となる。この場合
には、アドレス発生制御回路12はアドレス発
生部A〜Dから一度に4エレメントのアドレス
(先ず、LA、LA+D、LA+2D、LA+3D、次
にLA+4D、LA+5D、LA+6D、LA+7Dとな
るように)を発生する。このときメモリ制御装
置3′に対しては4本の各バスに対応するアド
レスバスA1〜D1とアクセス要求信号RQA〜
RQDによつてアドレスを伝達すると共にバス
制御信号によておよびアクセスパイプAで実行
していることを認識させ、データ転送される時
点でアクセスパイプAデータ処理部にデータを
転送するように制御される。データは4本のリ
クエスト手段RQA〜RQDに対応してアクセス
され、1度に4エレメント分のデータが処理さ
れる。しかしながらアドレスによりメモリがぶ
つかる場合にはアクセスが遅れる。前述のパラ
アクセスになる場合にはメモリの連続領域への
アクセスとなる為、自分自身のアクセスでぶつ
かるようなことはない。(2) However, if the inter-element distance identification unit 5-1 identifies an access operation that exceeds the inter-element distance by 8 bytes, para-access control is not performed, and address generation units A to D are used to
Discrete addresses are generated so that access is performed for each element, such as transferring one element of data in response to one access request. Therefore, the command transmission control unit 5-2 can transmit an access command when both the access pipe A address generation operation signal and the access pipe B address generation operation signal are not in operation. In this case, the address generation control circuit 12 receives four element addresses at once from the address generation sections A to D (first LA, LA+D, LA+2D, LA+3D, then LA+4D, LA+5D, LA+6D, LA+7D). Occur. At this time, address buses A 1 to D 1 corresponding to each of the four buses and access request signals RQA to
The address is transmitted by the RQD, and the bus control signal is used to recognize that the data is being executed in the access pipe A, and the data is controlled to be transferred to the access pipe A data processing section at the time the data is transferred. Ru. Data is accessed in correspondence with the four request means RQA to RQD, and data for four elements is processed at one time. However, if the address conflicts with the memory, access will be delayed. In the case of the above-mentioned para-access, it is an access to a continuous area of memory, so there is no chance of conflict with your own access.
以上説明の如く本発明によればアクセスすべき
要素間距離に応じてパラアクセスを行ない、一回
のアクセス要求に対し複数個のデータを並行して
同時にアクセスできるようにしたので、アクセス
回数を減少することができ、データ処理能率を向
上することができる。 As explained above, according to the present invention, para access is performed according to the distance between elements to be accessed, and multiple pieces of data can be accessed simultaneously in parallel in response to a single access request, thereby reducing the number of accesses. data processing efficiency can be improved.
第1図は従来のベクトルデータをアクセスする
場合の説明図、第2図は本発明の一実施例概略
図、第3図はそのデータ系の詳細図、第4図はそ
のアドレス発生の詳細図である。
図中、1は中央処理装置、2はベクトル処理装
置、3,3′はメモリ制御装置、4はメモリスト
レージ・ユニツト、4−0〜4−7はメモリモジ
ユール、5は命令制御部、6,6′はアクセス制
御部、7はベクトルレジスタ、8は演算実行部、
9はアクセスパイプAデータ処理部、10はアク
セスパイプBデータ処理部、11はアドレス送出
部、12はアドレス発生制御回路、13−0〜1
3−7はエラーチエツク回路、14−0〜14−
7はエラー訂正部、15−0〜15−7はポート
をそれぞれ示す。
Fig. 1 is an explanatory diagram of conventional vector data access, Fig. 2 is a schematic diagram of an embodiment of the present invention, Fig. 3 is a detailed diagram of the data system, and Fig. 4 is a detailed diagram of address generation. It is. In the figure, 1 is a central processing unit, 2 is a vector processing unit, 3 and 3' are memory control units, 4 is a memory storage unit, 4-0 to 4-7 are memory modules, 5 is an instruction control unit, and 6 , 6' is an access control unit, 7 is a vector register, 8 is an arithmetic execution unit,
9 is an access pipe A data processing section, 10 is an access pipe B data processing section, 11 is an address sending section, 12 is an address generation control circuit, 13-0 to 1
3-7 is an error check circuit, 14-0 to 14-
7 is an error correction unit, and 15-0 to 15-7 are ports, respectively.
Claims (1)
モリから読出されたベクトルデータがセツトされ
るベクトルレジスタとこのベクトルレジスタにセ
ツトされたベクトルデータにもとづき演算を行な
う演算手段を備えたデータ処理装置において、ベ
クトルデータの要素間距離と最初のエレメントの
アドレスとによりアドレスを発生し、ベクトルデ
ータをアクセスするデータアクセス制御方式であ
つて、複数のアドレス発生手段および対応する複
数のリクエスト手段と、ベクトルデータの要素間
距離が所定の大きさ以下であることを検出する手
段とを設け、ベクトルデータの要素間距離が所定
の大きさ以下であることを検出した場合には、複
数のアドレス発生手段およびリクエスト手段のう
ちの1組によりパラアクセス制御を行なうことを
特徴とするアクセス制御方式。1. In a data processing device equipped with a memory in which vector data is stored, a vector register in which vector data read from this memory is set, and an arithmetic means for performing an operation based on the vector data set in this vector register, A data access control method that generates an address based on the inter-element distance and the address of the first element and accesses vector data, which uses a plurality of address generation means, a plurality of corresponding request means, and an inter-element distance of vector data. is less than a predetermined size, and when it is detected that the distance between elements of vector data is less than a predetermined size, one of the plurality of address generation means and request means is provided. An access control method characterized by performing para-access control using one set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13196380A JPS5757370A (en) | 1980-09-22 | 1980-09-22 | Access control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13196380A JPS5757370A (en) | 1980-09-22 | 1980-09-22 | Access control system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5757370A JPS5757370A (en) | 1982-04-06 |
JPS6155708B2 true JPS6155708B2 (en) | 1986-11-28 |
Family
ID=15070307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13196380A Granted JPS5757370A (en) | 1980-09-22 | 1980-09-22 | Access control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5757370A (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
NL8202096A (en) * | 1982-05-21 | 1983-12-16 | Esmil Bv | HEAT EXCHANGER CONTAINING A GRANULAR CONTAINING VERTICAL TUBES. |
JPS58205281A (en) * | 1982-05-25 | 1983-11-30 | Toyo Commun Equip Co Ltd | Fast fourier transformation device |
JPS59212977A (en) * | 1983-05-18 | 1984-12-01 | Fujitsu Ltd | Vector data processing device |
JPS6073786A (en) * | 1983-09-29 | 1985-04-25 | Fujitsu Ltd | Vector data processing device |
JPS60217443A (en) * | 1984-04-12 | 1985-10-31 | Nec Corp | Storage control system |
JPS61202246A (en) * | 1985-03-05 | 1986-09-08 | Fujitsu Ltd | Memory access control method |
JPS61221964A (en) * | 1985-03-28 | 1986-10-02 | Nec Corp | Vector data processor |
-
1980
- 1980-09-22 JP JP13196380A patent/JPS5757370A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS5757370A (en) | 1982-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2974526B2 (en) | Data transfer processing method and data transfer processing device | |
JPH04246745A (en) | Memory access system | |
JPH0479026B2 (en) | ||
JPS6155708B2 (en) | ||
US6108755A (en) | Asynchronous access system to a shared storage | |
JPS6119062B2 (en) | ||
JPS6113629B2 (en) | ||
US20020174282A1 (en) | Multiprocessor system | |
JPS6136845A (en) | single chip microcomputer | |
JPS6035698B2 (en) | data processing system | |
JP2002123420A (en) | Memory access device | |
JPS6259825B2 (en) | ||
JPS592058B2 (en) | Storage device | |
JPH0140432B2 (en) | ||
JPS6363940B2 (en) | ||
EP1990725B1 (en) | Central processing unit, central processing unit control method, and information processing system | |
JP2976443B2 (en) | Information processing device that exchanges data via system bus | |
JPH05250310A (en) | Data processor | |
JPS6337419B2 (en) | ||
JPS6356573B2 (en) | ||
JP3207329B2 (en) | Bus controller and bus transfer method | |
JP3595131B2 (en) | Plant control system | |
SU1410709A1 (en) | Computer to peripheral device interface | |
JPS58203568A (en) | Multi-processor system | |
JPS60142450A (en) | memory system |