[go: up one dir, main page]

JPH01109445A - Register filing device - Google Patents

Register filing device

Info

Publication number
JPH01109445A
JPH01109445A JP62266994A JP26699487A JPH01109445A JP H01109445 A JPH01109445 A JP H01109445A JP 62266994 A JP62266994 A JP 62266994A JP 26699487 A JP26699487 A JP 26699487A JP H01109445 A JPH01109445 A JP H01109445A
Authority
JP
Japan
Prior art keywords
data
mask
write
read
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.)
Pending
Application number
JP62266994A
Other languages
Japanese (ja)
Inventor
Teru Ishizuka
輝 石塚
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 JP62266994A priority Critical patent/JPH01109445A/en
Publication of JPH01109445A publication Critical patent/JPH01109445A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Complex Calculations (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To improve throughput in a whole data processor by independently reading the data of a storing part and a mask bit. CONSTITUTION:A storing part 101 stores writing data 14 to a storing element to be instructed by a writing instructing signal 3 and outputs the data, which are stored in the instructed storing element, to a reading means 103 as reading data 11 by a reading instructing signal 3. A mask register 102 stores writing data 17 by a writing instructing signal 2 and outputs the data to the reading means 103 as mask data 12. The reading means 103 outputs the reading instructing signal 3 to the storing part 101 and obtains the reading data 11 and the mask data 12 as inputs. Then, reading data 13 are outputted and one mask bit is selected out of the mask data 12. Then, this is outputted as a mask bit 19. Thus, the data of the storing part and the mask data can be respectively independently read.

Description

【発明の詳細な説明】 技術分野 本発明はレジスタファイル集積回路装置に関する。[Detailed description of the invention] Technical field The present invention relates to a register file integrated circuit device.

慢】J1垂 レジスタファイルは、任意の二つの記憶素子に対して同
時に読出しと書込みとが可能な高速メモリとして情報処
理装置の高速演算部等に広く使用されており、一般のメ
モリと同様に集積回路化されている。
J1 register file is widely used in high-speed calculation parts of information processing equipment as a high-speed memory that can read and write to any two storage elements at the same time, and it can be integrated like general memory. It is circuitized.

従来のレジスタファイル集積回路の一例を第7図に示す
。第7図を参照すると、本例におけるレジスタファイル
は、2つの記憶部10および11と、読出データ切替回
路12と、読出アドレスレジスタ13と、マスクレジス
タ読出指定回路14と、マスクレジスタ15と、書込デ
ータ切替回路16と、5つのアンド回路20,21.2
2.23および24と、2つのオア回路30および31
と、4つのゲート回路40.41.42および43とか
らなる。
An example of a conventional register file integrated circuit is shown in FIG. Referring to FIG. 7, the register file in this example includes two storage units 10 and 11, a read data switching circuit 12, a read address register 13, a mask register read designation circuit 14, a mask register 15, and a write data switching circuit 12. including data switching circuit 16 and five AND circuits 20, 21.2
2.23 and 24 and two OR circuits 30 and 31
and four gate circuits 40, 41, 42 and 43.

記憶部10および11はそれぞれ32語×9ビット/語
の記憶容量を有し、読出アドレス100および書込アド
レス101はそれぞれ6ビツトで構成される。記憶部1
0は読出アドレス10Gおよび書込アドレス101のそ
れぞれの最下位ビットが“0”のときに対応して選択さ
れ、記憶部11は読出アドレス100および書込アドレ
ス101それぞれの最下位ビットが“1′°のときに対
応して選択されるようになっている。
Storage units 10 and 11 each have a storage capacity of 32 words x 9 bits/word, and read address 100 and write address 101 each consist of 6 bits. Storage part 1
0 is selected when the least significant bit of each of the read address 10G and the write address 101 is “0”, and the storage unit 11 is selected when the least significant bit of each of the read address 100 and the write address 101 is “1”. It is designed to be selected correspondingly when °.

記憶部10および11の読出動作は、マスクレジスタ読
出指定信号105を“0”にして外部ルら続出アドレス
レジスタ13に読出アドレス10Gをセットすることに
より行われる。このとき、読出データ切!@路12は記
憶部10または11からの読出信号を受入れるようにな
る。記憶部10および11には読出アドレスの上位5ピ
ツトのみが入力されるので、両方の記憶部から読出信号
が読出データ切替回路12に同時に読出されるが、ゲー
ト回路41および42と、アンドn路22および23と
によつて、読出アドレス1.00の最下位ピットに応じ
て2つの続出信号のうちの1つのみが読出データ104
として外部に出力される。
The read operation of the storage units 10 and 11 is performed by setting the mask register read designation signal 105 to "0" and setting the read address 10G from the external address register 13. At this time, read data is cut off! @path 12 receives a read signal from storage unit 10 or 11. Since only the top five pits of the read address are input to the storage units 10 and 11, read signals from both storage units are simultaneously read out to the read data switching circuit 12. 22 and 23, only one of the two successive signals is read data 104 according to the lowest pit of read address 1.00.
is output externally as .

記憶部10および11の1語書込動作は、マスクレジス
タ書込指定信号107と2WI書込指定信号109とを
# O#として、書込アドレス101.ライトイネーブ
ル信号102a、 102bおよび書込データ103を
外部から供給することにより行われる。このとき、書込
データ切替回路16は、2I書込指定信号109が“0
″であるために、書込データ103を受入れるようにな
っているので、記憶部10および11に書込アドレス1
01の上位5ピツトと書込データ103とが同時に入力
されることになる。
The one-word write operation of the storage units 10 and 11 is performed using the mask register write designation signal 107 and the 2WI write designation signal 109 as #O#, and the write address 101. This is done by supplying write enable signals 102a, 102b and write data 103 from outside. At this time, the write data switching circuit 16 determines that the 2I write designation signal 109 is “0”.
'', the write data 103 is accepted, so the write address 1 is stored in the storage units 10 and 11.
The top five pits of 01 and write data 103 are input at the same time.

しかし、ゲートn路40と、オア回路30および31と
、アンド回路20および21とによってん込アドレス1
01の最下位ピットがライトイネーブル信号102aま
たは102bの一方のみを対応する記憶部に入力せしめ
るように輌御している。
However, due to the gate n path 40, the OR circuits 30 and 31, and the AND circuits 20 and 21, the address 1
The lowest pit of 01 controls only one of the write enable signals 102a and 102b to be input to the corresponding storage section.

記憶部10および11の1111込動作の他のモードは
、書込アドレス101として上位6ピツトのみを外部か
ら供給し、ライトイネーブル信号102aと102bと
を書込みたい記憶部に対応させて外部で切替えて供給す
ることによって実現させることができる。このようにす
ることにより、先に述べた1語書込が書込アドレス10
1の最下位ピットの変化に応じて記憶l110と11と
に交互に行われるのに対し、ライトイネーブル信号10
2aと102bとの切替同期を&lIlすることによっ
て記憶部10および11の複数アドレスに連続した書込
みを行わせる′ことが可能になる。
Another mode for the 1111 write operation of the storage units 10 and 11 is to externally supply only the upper six bits as the write address 101, and switch the write enable signals 102a and 102b externally in correspondence with the storage unit to be written. This can be achieved by supplying By doing this, the one-word write mentioned above will be performed at the write address 10.
The write enable signal 10 and 11 are alternately performed in response to changes in the lowest pit of 11 and 11, respectively.
By changing the switching synchronization between 2a and 102b, it becomes possible to perform continuous writing to a plurality of addresses in the storage units 10 and 11.

記憶部10および11の211■込動作は、マスクレジ
スタ書込指定信号107を“o″にし、2!1−込指定
信号109を“1”にして書込アドレス1゜1、ライト
イネーブル信号102a、 102bおよび書込データ
103a、 103bを外部から供給することにより行
われる。このとき、書込データ切替回路16は、21i
1込指定信号109が“1”であるために、書込データ
103bを受入れるようになっているので、記憶部10
には書込データ103aが、そして記憶部11には書込
データ103bが夫々入力されることになる。また、マ
スクレジスタ書込指定信号107が“0”で、かつ2!
ill込指定信号109が“1″′であるために、オア
回路30および31とアンド回路20および21とによ
って、ライトイネーブル信号102aと102bとはそ
れぞれ記憶部1oと11とに同時に夫々供給され、21
1書込動作が行われることになる。
In the 211■ write operation of the storage units 10 and 11, the mask register write designation signal 107 is set to "o", the 2!1-write designation signal 109 is set to "1", the write address is 1°1, and the write enable signal 102a is set. , 102b and write data 103a, 103b from the outside. At this time, the write data switching circuit 16
Since the 1-include designation signal 109 is “1”, the write data 103b is accepted, so the storage unit 10
The write data 103a is input to the storage unit 11, and the write data 103b is input to the storage unit 11, respectively. Also, the mask register write designation signal 107 is “0” and 2!
Since the ill-included designation signal 109 is "1'', the write enable signals 102a and 102b are simultaneously supplied to the storage units 1o and 11, respectively, by the OR circuits 30 and 31 and the AND circuits 20 and 21, and 21
1 write operation will be performed.

ところで、第7図に示したレジスタファイル集積回路を
8個だけ使用して、6411X72ピット/語のレジス
タファイルが構成され得る。1i11当り72ビツトの
データは演算器に供給されるが、このうちのパリティピ
ットを除く64ピツトが前述の各データビットに対応す
るのである。
Incidentally, a 6411.times.72 pit/word register file can be constructed using only eight register file integrated circuits shown in FIG. 72 bits of data per 1i11 are supplied to the arithmetic unit, of which 64 pits excluding the parity pit correspond to each of the aforementioned data bits.

マスクレジスタ15の読出しは、マスクレジスタ読出指
定信@105を“1”にしてこれをマスクレジスタ読出
指定回路14にセットすることによって行われる。この
ときゲート口路41を経た“1”は読出データ切!Il
路12がマスクレジスタ15の出力を受入れるように作
用し、読出データ104としてマスクレジスタ15の保
持内容が外部に取出せることになる。マスクレジスタ1
5の読出時には、記憶′PIA10もしくは11への1
語書込動作または記憶部10および11への21i!I
I込動作が同時に可能である。
Reading of the mask register 15 is performed by setting the mask register read designation signal @105 to "1" and set it in the mask register read designation circuit 14. At this time, “1” passed through the gate path 41 indicates that the read data is off! Il
The line 12 operates to accept the output of the mask register 15, and the contents held in the mask register 15 can be taken out as read data 104. Mask register 1
When reading 5, 1 to memory 'PIA10 or 11
Word write operation or 21i! to storage units 10 and 11! I
I-in operation is possible at the same time.

マスクレジスタ15の書込みは、マスクレジスタ書込指
定信号107を“1″にしてライトイネーブル信号10
2aと書込データ103aとを外部から供給することに
よって行われる。このとき、ゲート回路43を経たマス
クレジスタ書込指定信号107と−ライトイネーブル信
号102aとがアンド回路24においてアンド条件を満
足させ、よってマスクレジスタ15にライトイネーブル
信号102aを入力させることになる。マスクレジスタ
15の書込時には、記憶部10または11の読出動作が
同時に可能である。
Writing to the mask register 15 is performed by setting the mask register write designation signal 107 to “1” and turning on the write enable signal 10.
2a and write data 103a are supplied from outside. At this time, the mask register write designation signal 107 and the -write enable signal 102a that have passed through the gate circuit 43 satisfy the AND condition in the AND circuit 24, so that the write enable signal 102a is input to the mask register 15. When writing to the mask register 15, reading from the storage section 10 or 11 is possible at the same time.

なお、読出アドレスレジスタホールド信号106は、故
障診断時等のように読出アドレスレジスタ13の保持内
容を固定化させたいときに外部から供給される。また、
読出アドレスレジスタスルー信号108は、本しジスタ
ファイル集M回路が使用される回路または装置のタイミ
ングの関係上、読出アドレス10Gが読出アドレスレジ
スタ13をスルーして記憶部10および11に入力させ
たいときに外部から供給される。
Note that the read address register hold signal 106 is supplied from the outside when it is desired to fix the contents held in the read address register 13, such as during failure diagnosis. Also,
The read address register through signal 108 is used when the read address 10G is to pass through the read address register 13 and be input to the storage units 10 and 11 due to the timing of the circuit or device in which the register file collection M circuit is used. is supplied from outside.

第7図に示した例においては、書込アドレス101を直
接に記憶部10と11とに入力させているが、読出アド
レスレジスタ13のようにスルー状態に設定可能な書込
アドレスレジスタを設けるようにしてもよい。
In the example shown in FIG. 7, the write address 101 is input directly to the storage units 10 and 11, but a write address register that can be set to a through state like the read address register 13 may be provided. You may also do so.

第7図に示したレジスタファイル集積回路は、従来のレ
ジスタファイル梁積回路のうちその汎用性と高速性にお
いて最も高度な回路の一例である。
The register file integrated circuit shown in FIG. 7 is an example of the most advanced circuit in terms of versatility and high speed among conventional register file integrated circuits.

しかし、マスクレジスタ15の読出・書込が他の記憶部
10.11と共用されているため、記憶部のデータとマ
クスレジスタのデータとを同時に読出しあるいは書込み
とすることができないという欠点がある。
However, since reading and writing of the mask register 15 is shared with other storage units 10.11, there is a drawback that data in the storage unit and data in the mask register cannot be read or written at the same time.

また、データ処FI!装誼におで、マスクデータはビッ
ト毎に扱われるケースが多いが、前述の従来例ではビッ
ト毎に読出または書込ができないという欠点がある。
Also, data office FI! In design, mask data is often treated bit by bit, but the conventional example described above has a drawback in that it cannot be read or written bit by bit.

11立旦j 本発明は上述の欠点のうち読出し側に着目してなされた
ものであって、その目的とするところは、記憶部のデー
タとマスクデータとを夫々独立して読出し可能としたレ
ジスタファイル装置を提供することにある= 1豆立璽羞 本発明によるレジスタファイル装置は、複数のデータを
記憶可能な記憶部と、演算部へ供給すべき複数のマスク
データを保持するマスクレジスタと、前記マスクレジス
タ内のマスクデータの1つを読出す手段と、前記記憶部
内のデータの1つを読出す手段と、前記記憶部及び前記
マスクレジスタへ書込データを1込む♂過制御手段とを
含むことを特徴としている。
The present invention has been made by focusing on the reading side of the above-mentioned drawbacks, and its purpose is to provide a register that allows data in a storage section and mask data to be read independently. An object of the present invention is to provide a file device. A register file device according to the present invention includes: a storage section capable of storing a plurality of data; a mask register holding a plurality of mask data to be supplied to an arithmetic section; means for reading one of the mask data in the mask register; a means for reading one of the data in the storage; and an overcontrol means for loading one write data into the storage and the mask register. It is characterized by containing.

!直1 次に、本発明について図面を参照して説明する。! Shift 1 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の実施例であり、本発明の基本構成を示
すブロック図である。第1図において、書込手段104
は書込データ18が入力されると、書込指示信号1と書
込データ14とを記憶部101に対して出力し、または
/および書込指示信号2と書込データ17とをマスクレ
ジスタ102に対して出力する。
FIG. 1 is an embodiment of the present invention, and is a block diagram showing the basic configuration of the present invention. In FIG. 1, writing means 104
When write data 18 is input, outputs write instruction signal 1 and write data 14 to storage unit 101, and/or outputs write instruction signal 2 and write data 17 to mask register 102. Output for.

記憶部101は書込手段104より書込指示信号1と書
込データ14とが入力されると、記憶部101内の複数
の記憶素子のうち、書込指示信号1によって指示された
記11素子に1込データ14を格納する。また記憶部1
01は侵述する読出手段103より読出指示信号3が入
力されると、記憶部101内の複数の記憶素子のうち、
読出指示信@3によって指示された記m素子に格納され
ているデータを読出データ11として読出手段103に
対し出力する。
When the storage section 101 receives the write instruction signal 1 and the write data 14 from the writing means 104, the storage section 101 selects the 11 elements specified by the write instruction signal 1 among the plurality of storage elements in the storage section 101. 1-include data 14 is stored in . Also, storage unit 1
01 indicates that when the read instruction signal 3 is input from the read means 103, among the plurality of memory elements in the memory unit 101,
The data stored in the memory element designated by the read instruction signal @3 is outputted to the reading means 103 as read data 11.

マスクレジスタ102は書込手段104より書込指示信
号2と書込データ17とが入力されると、書込指示信号
2によって書込データ17を格納し、マスクデータ12
として読出手段103に対し出力する。この読出手段1
03は読出指示信号3を記憶部101に対して出力し、
読出データ11及びマスクデータ12を入力として読出
データ13を出力すると共に、マスクデータ12のうち
の1つのマスクビットを選択し、この読出マスクビット
19を出力する。
When the write instruction signal 2 and write data 17 are inputted from the write means 104, the mask register 102 stores the write data 17 according to the write instruction signal 2, and writes the mask data 12.
It is outputted to the reading means 103 as . This reading means 1
03 outputs read instruction signal 3 to storage unit 101;
It inputs read data 11 and mask data 12 and outputs read data 13, and also selects one mask bit of the mask data 12 and outputs this read mask bit 19.

第1図において、読出データ13と読出マスクビット1
9とがレジスタファイル集積回路の出力データとなり、
また書込データ18が当該レジスタファイル集積回路の
入力データとなっている。
In FIG. 1, read data 13 and read mask bit 1
9 is the output data of the register file integrated circuit,
Further, the write data 18 is input data to the register file integrated circuit.

第2図は第7図の従来のレジスタファイル集積回路と同
等の回路に本発明を応用した一例を示すブロック図であ
り、第1図と同等部分は同一符号により示されている。
FIG. 2 is a block diagram showing an example in which the present invention is applied to a circuit equivalent to the conventional register file integrated circuit shown in FIG. 7, and parts equivalent to those in FIG. 1 are designated by the same reference numerals.

第2図において、書込手段104は2個の1込データ1
8a、18bが入力されると、書込指示信号として書込
アドレス4.1込イネーブル5a 、 11込イネーブ
ル5b、書込イネーブル2を出力すると共に、3個の書
込データ14a、14b、17を出力する。書込アドレ
ス4と2個の書込イネーブル5a、5bとは記憶部10
1に入力され、2個の書込データ14a、14bの書込
指示信号として使用される。また書込イネーブル2はマ
スクレジスタ102に入力され、書込データ17の1込
指示信号とし使用される。
In FIG. 2, the writing means 104 writes two pieces of data 1.
When 8a and 18b are input, write address 4.1 write enable 5a, 11 write enable 5b, and write enable 2 are output as write instruction signals, and three pieces of write data 14a, 14b, and 17 are output. Output. The write address 4 and the two write enables 5a and 5b are the storage unit 10.
1 and is used as a write instruction signal for two pieces of write data 14a and 14b. Further, write enable 2 is input to mask register 102 and used as a 1 write instruction signal for write data 17.

記憶部101は書込アドレス4.2個の書込イネーブル
5a、5bおよび2個の♂込データ14a。
The storage unit 101 has 4 write addresses, 2 write enables 5a, 5b, and 2 female write data 14a.

14bが入力されると、書込アドレス4によって記憶部
101内の2個の記憶部211 、212のそれぞれの
記憶素子を指定し、書込イネーブル5aが“1”の時は
書込データ14aを記憶部211内の指定された記憶素
子に格納し、書込イネーブル5bが°1″の時は書込デ
ータ14bを記憶部212内の指定された記tQ素子に
格納する。したがって、書込イネーブル5aと書込イネ
ーブル5bとのいずれか一方が“1”の時は1個の書込
データが格納され、書込イネーブル5a、5bの両方が
“1″の時は2個の書込データが同時に格納されること
になる。
14b is input, the write address 4 specifies each storage element of the two storage units 211 and 212 in the storage unit 101, and when the write enable 5a is “1”, the write data 14a is specified. The write data 14b is stored in the specified memory element in the memory unit 211, and when the write enable 5b is 1'', the write data 14b is stored in the specified memory element in the memory unit 212. When either write enable 5a or write enable 5b is "1", one piece of write data is stored, and when both write enables 5a, 5b are "1", two pieces of write data are stored. They will be stored at the same time.

書込手段104内には、書込データ14bを決定する書
込データ選択回路243があり、書込制御手段241か
らの選択信号6によって2個の書込データ18a、18
bのいずれかを選択して書込データ14bとして出力す
る。
The write means 104 includes a write data selection circuit 243 that determines the write data 14b, and selects the two write data 18a, 18 by the selection signal 6 from the write control means 241.
b is selected and output as write data 14b.

書込制御手段241は前述の書込データ14bの選択信
号6の他に2個の書込イネーブル5a、5bをも出力す
る。例えば、書込データ18a−が連続する複数の(例
えば64個の)要素からなるベクトルデータの様な場合
、選択信号6によって書込データ18aを選択してこれ
を書込アドレス格納手段から出力される書込アドレス4
として、書込データ18aの連続する2個のデータに対
して同じアドレスを割り当て、291の書込イネーブル
5a、5bを交互に“1゛′として出力すれば、書込デ
ータ18aのベクトルデータのうち、要素数(例えば6
4個)の半数(例えば3211)は記憶部211に、他
の半数は記憶部212に連続的に格納される。また、同
様な(例えば64個の要素からなる)ベクトルデータの
うち、偶数1目の要素を8込データ18a、奇数番目の
要素を書込データ18bとして、それぞれ半数(例えば
32個)のベクトルデータを入力する様な場合は、選択
信号6によって書込データ18bを選択し、書込アドレ
ス4を連続的に割り当て、書込イネーブル5aおよび書
込イネーブル5bの両方を“1″として出力すれば、前
述の場合(!I書込−タ28aを選択した場合)の半分
の時間で同等な内容が記憶部211および記憶部212
に格納される。
The write control means 241 also outputs two write enables 5a and 5b in addition to the aforementioned selection signal 6 for the write data 14b. For example, if the write data 18a- is vector data consisting of a plurality of consecutive (for example, 64) elements, the write data 18a is selected by the selection signal 6 and outputted from the write address storage means. write address 4
If the same address is assigned to two consecutive pieces of write data 18a and the write enable bits 5a and 5b of 291 are outputted as "1'' alternately, then one of the vector data of write data 18a , the number of elements (e.g. 6
Half of them (for example, 3211) are stored in the storage unit 211, and the other half are stored in the storage unit 212 continuously. Also, among similar vector data (consisting of, for example, 64 elements), the first even-numbered element is set as 8-write data 18a, the odd-numbered element is set as write data 18b, and half (for example, 32 pieces) of vector data is generated. When inputting , write data 18b is selected by selection signal 6, write address 4 is assigned continuously, and both write enable 5a and write enable 5b are output as "1". Equivalent contents can be stored in the storage unit 211 and the storage unit 212 in half the time as in the case described above (when the !I write data 28a is selected).
is stored in

マスクレジスタ102は書込手段104より書込イネー
ブル2と書込データ17とが入力されると、書込イネー
ブル2によって書込データ17を格納し、マスクデータ
12として続出手段103に対してこれを出力する。こ
の読出手段103は読出指示信号として読出アドレス3
を記憶部101に対して出力し、2個の読出データ11
a、11bが供給されると共に、マスクデータ12をも
供給され、読出データ13と読出マスクビット1−9と
を出力する。
When the write enable 2 and write data 17 are inputted from the write means 104, the mask register 102 stores the write data 17 by the write enable 2, and sends it to the successive output means 103 as mask data 12. Output. This reading means 103 uses the read address 3 as a read instruction signal.
is output to the storage unit 101, and the two read data 11
a, 11b, and mask data 12 as well, and outputs read data 13 and read mask bits 1-9.

記憶部101は読出指示信号として読出アドレス3が入
力されると、記憶部101内の2個の記憶部211 、
、212のそれぞれの記憶素子な読出アドレス3によっ
て指定し、記憶素子に格納されているデータを読出デー
タ11a、11bとして出力する。
When the storage unit 101 receives the read address 3 as a read instruction signal, the two storage units 211 in the storage unit 101,
, 212, and outputs the data stored in the storage elements as read data 11a, 11b.

読出手段103内には読出データ13を決定する読出デ
ータ選択回路233があり、読出i11制御手段231
からの選択信号9によって2個の続出データ11a、1
1bおよびマスクデータ12のいずれかを選択してこれ
を読出データ13として出力する。
The readout means 103 includes a readout data selection circuit 233 that determines the readout data 13, and the readout i11 control means 231
Two successive data 11a, 1 are selected by the selection signal 9 from
1b and mask data 12 is selected and outputted as read data 13.

また、続出手段103内には読出マスクビット19を決
定するマスクビット選択回路234があり、読出アドレ
ス格納手段235による読出アドレス7によってマスク
データ12内の複数(例えば64個)のビットのうち、
読出アドレス7によって指定されたビットを選択し、こ
れを読出マスクビット19として出力する。
Further, the successive output means 103 includes a mask bit selection circuit 234 that determines the read mask bit 19, and selects one of the plurality of bits (for example, 64 bits) in the mask data 12 according to the read address 7 by the read address storage means 235.
The bit designated by read address 7 is selected and outputted as read mask bit 19.

第2図において、読出データ13と読出マスクビット1
9とがこのレジスタファイル集積回路の出力データであ
り、2個の書込データ18a、18bがレジスタファイ
ル集積回路の入力データである。
In FIG. 2, read data 13 and read mask bit 1
9 is output data of this register file integrated circuit, and two pieces of write data 18a and 18b are input data of the register file integrated circuit.

第3図は1個のマスクビットを読出す手段として、記憶
部101内の1個の記憶データを指定する読出アドレス
3と同様に、マスクデータ12内の1個のマスクビット
を指定する読出アドレスを使用する場合の一例を示すブ
ロック図である。第3図において、マスクビット選択回
路234は読出アドレスA(7)が入力されると、デコ
ーダ301によって選択信号Sを生成し、選択回路30
2の入力とする。選択回路302はマスクレジスタ10
2からのマスクデータM(12)が入力されると、選択
信号SによってマスクデータM内のいずれかのビットを
選択して読出マスクビットRM(19)を出力する構成
である。
FIG. 3 shows, as means for reading one mask bit, a read address that specifies one mask bit in mask data 12, similar to read address 3 that specifies one piece of stored data in storage unit 101. FIG. In FIG. 3, when the mask bit selection circuit 234 receives the read address A(7), the decoder 301 generates the selection signal S, and the selection circuit 30 generates the selection signal S.
2 input. The selection circuit 302 is the mask register 10
When the mask data M (12) from 2 is input, any bit in the mask data M is selected by the selection signal S and a read mask bit RM (19) is output.

第4図(A)は第3図で示したマスクビット選択回路2
34と同等の回路の具体例であり、入力される読出アド
レスA=(a  、a4.a5)が3ビットのデータで
、入力されるマスクデータM−(m  、 m  、 
m2 、・・・1m 71m p )がバリテイビット
mpを含む9ビツトのデータである場合の一例である。
FIG. 4(A) shows the mask bit selection circuit 2 shown in FIG.
This is a specific example of a circuit equivalent to No. 34, in which the input read address A=(a, a4.a5) is 3-bit data, and the input mask data M-(m, m,
This is an example in which the data (m2, . . . 1m 71mp) is 9-bit data including the validity bit mp.

マスクビット選択回路234に入ツノされた続出アドレ
スA= (a  、 a、s 、 a5 )はデコーダ
301の入力となり、第4図(B)に示すデコーダ30
1の入出力関係真l!Il値表に沿った論理構成によっ
て選択信号3−(s、ss O1・ 2゜ ・・・、S7)を生成してこれを選択回路302の入力
とする。選択回路302はマスクデータM−(mo 。
Successive addresses A=(a, a, s, a5) inputted to the mask bit selection circuit 234 become input to the decoder 301, and the decoder 30 shown in FIG. 4(B)
The input/output relationship of 1 is true! A selection signal 3-(s, ss O1·2° . . . , S7) is generated by a logical configuration according to the Il value table and is input to the selection circuit 302. The selection circuit 302 receives mask data M-(mo.

m  、m  、・;・、mI、m、)と選択信号S=
(So、S4.2.・・・、S7)とが入力されると、 論理式:RM−8,・m、+51−m、+52−m2 
+・+s7−mI RMP−m。
m, m, ·; ·, mI, m,) and selection signal S=
When (So, S4.2..., S7) is input, logical formula: RM-8, ·m, +51-m, +52-m2
+・+s7-mI RMP-m.

で表わされるマスクビットRM、パリティビットデ〜り
RMPを出力する。ここでRMP−mpは一般のデータ
処理装置において実施されているパリティ・チエツク用
のビットデータであり、本発明には直接関係しないが本
発明を実施する際にマスクビット選択回路より後段のチ
エツク回路等で使用される事が考えられるので、ブロッ
ク図内に示している。
It outputs a mask bit RM and a parity bit RMP expressed by . Here, RMP-mp is bit data for a parity check implemented in a general data processing device, and although it is not directly related to the present invention, when implementing the present invention, RMP-mp is bit data for a parity check performed in a general data processing device. It is shown in the block diagram because it may be used in applications such as

第5図は第4図(A)のマスクビット選択回路234を
発展さけて入力マスクデータのピット長を2倍にしたマ
スクビット選択回路の例である。この第5図において、
マスクビット選択回路234に入力された読出アドレス
A = (a2 、 a3 、 a4 。
FIG. 5 is an example of a mask bit selection circuit in which the mask bit selection circuit 234 of FIG. 4(A) is developed to double the pit length of input mask data. In this Figure 5,
Read address A input to mask bit selection circuit 234 = (a2, a3, a4).

a 〕のうち〕下位3ビットーa  、 a4 、 a
5 )はデコーダ301aの入力となり、上位1ビツト
=(a2〕はデコーダ301bの入力となる。デコーダ
301aは第4図(A)で示したデコーダ301と同等
であり、選択回路302a、選択回路302bは第4図
(A)で示した選択回路302と同等であり、マスクデ
ータM −(m  、 m  、 、−、mI、 m、
o。
a ] lower 3 bits - a , a4 , a
5) becomes the input of the decoder 301a, and the upper 1 bit = (a2) becomes the input of the decoder 301b.The decoder 301a is equivalent to the decoder 301 shown in FIG. 4(A), and the selection circuit 302a and the selection circuit 302b is equivalent to the selection circuit 302 shown in FIG. 4(A), and the mask data M - (m, m, , -, mI, m,
o.

”8− m9 l”’−m15” mI)1’が入力さ
れると、論理式: %式% で表わされるマスクビットRMtJ、RMLを出りする
When "8-m9l"'-m15"mI)1' is input, mask bits RMtJ and RML expressed by the logical formula: %formula% are output.

デコーダ301bは読出アドレスのビット〔a2〕を入
力とし、選択信号5=aS−a  を21 L2 生成し、これを選択回路302C,302dの各入力と
する。選択回路302CはマスクビットRMLJ、RM
Lと選択信号S、、S、とかλカされると、論理式:R
M−8,−RMU+8.−RMLで表わされるマスクビ
ットRMを出力する。選択回路302dはパリティビッ
トデータMPu−mDo。
The decoder 301b inputs bit [a2] of the read address, generates a selection signal 5=aS-a 21 L2, and inputs this to each of the selection circuits 302C and 302d. The selection circuit 302C selects mask bits RMLJ, RM
When L and selection signals S, , S, etc. are combined, the logical formula: R
M-8, -RMU+8. - Output mask bits RM denoted by RML. The selection circuit 302d receives parity bit data MPu-mDo.

MPL−mplと選択信qsU、s、とが入力さtLる
と、 論理式:RMP−80−MPLJ+SL −MPLで表
わされるパリティφビットデータRMPを出力する。
When MPL-mpl and selection signals qsU,s, are input tL, parity φ bit data RMP expressed by the logical formula: RMP-80-MPLJ+SL-MPL is output.

第6図は、マスクレジスタとして16ピツトのレジスタ
を備えた本発明のレジスタファイル集積回路を4個使用
した64ビツトのマスクレジスタを持つ装置においての
マスクビットの読出し手段の一例を示すブロック図であ
り、本発明の応用例である。第6図において、パリティ
ビットapを含む7ビツトの続出アドレスA−(a  
、al。
FIG. 6 is a block diagram showing an example of a mask bit reading means in a device having a 64-bit mask register using four register file integrated circuits of the present invention each having a 16-pit register as a mask register. , is an application example of the present invention. In FIG. 6, a 7-bit successive address A-(a
, al.

a 2 、a  、a 4.a 5− a p )のう
ち、下位の4ビツトのアドレスAI −(a2 、 a
3 、 a4 。
a 2 , a , a 4. a5-ap), the lower 4-bit address AI-(a2, a
3, a4.

aS)は4個のレジスタファイル集積回路601 、6
02.603,604.に入力され、それぞれの内部に
備えた16ビツトのマスクレジスタ内に記憶されている
マスクデータのうちの読出マスクビットRMO,RM1
.RM2.RM3を選択するために゛使用される。
aS) has four register file integrated circuits 601, 6
02.603,604. The read mask bits RMO and RM1 of the mask data input to and stored in the 16-bit mask register provided inside each
.. RM2. Used to select RM3.

上位2ピツトのアドレスAO= (a  、 al )
はデコーダ60Gの入力となり、 論理式” Suu”ao ” al−Sut”ao−T
1=SLU−ao −al 、 5LL−百0−al。
Address of top 2 pits AO = (a, al)
becomes the input of the decoder 60G, and the logical formula "Suu"ao"al-Sut"ao-T
1=SLU-ao-al, 5LL-100-al.

で表わされる選択信号SUu、Su4.S、U、SL、
を生成し、これを選択0路607の入力とする。
Selection signals SUu, Su4 . S, U, SL,
is generated, and this is input to the selection 0 path 607.

選択回路607はこれ等4個の読出マスクピットRMO
、RMI 、RM2 、RM3と、選択信号SUU、S
11.S1u、S1.とが入力されると、論理式:RM
−8−RMO+Su、・RMI +u S  −RM2+S11・RM3 【U で表わされるマスクビットRMを出力する。ここで、マ
スクビットRMは64ビツトのマスクデータのうちの読
出アドレスAで指定される1ビツトのデータとなってい
る。
The selection circuit 607 selects these four read mask pits RMO.
, RMI, RM2, RM3 and selection signals SUU, S
11. S1u, S1. When input, the logical formula: RM
-8-RMO+Su, .RMI +u S -RM2+S11.RM3 [Output the mask bit RM represented by U. Here, mask bit RM is 1-bit data specified by read address A out of 64-bit mask data.

1JJL1里 以上説明したように本発明によれば、記憶部のデータと
マスクビットとを独立に読出すことができる構成の採用
によって、従来技術による機能に加え記憶部のデータに
対するデータ処理とマスクデータのビット毎の処理とが
並行して実行することができるため、データ処理装向全
体での処理能力を向上させる事ができるという効果があ
る。本集積回路はベクトルデータ処理装置のベクトルレ
ジスタに使用すればその特徴を最大限に生かすことがで
きる。
As described above, according to the present invention, by employing a configuration that allows data in the storage section and mask bits to be read independently, data processing for data in the storage section and mask data can be performed in addition to the functions of the conventional technology. Since the bit-by-bit processing can be executed in parallel, the processing capacity of the entire data processing device can be improved. This integrated circuit can take full advantage of its features when used as a vector register in a vector data processing device.

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

第1図は本発明の実施例の基本構成を示すブロック図、
第2図は第1図のブロックの具体例を示す図、第3図は
マスクビット選択回路のブロックを示す図、第4図(A
)は第3rjAのマスクビット選択回路の具体例を示す
図、第4図(B)はデコーダの入出力関係の真理値表を
示す図、第5図はマスクビット選択回路の他の具体例の
10ツク図、第6図は本発明の一応用例を示すブロック
図、第7図は従来のレジスタファイル集積回路の1例の
10ツク図である。 主要部分の符号の説明 101・・・・・・記憶部 102・・・・・・マスクレジスタ 103・・・・・・読出手段 104−・・・・・書込手段
FIG. 1 is a block diagram showing the basic configuration of an embodiment of the present invention;
2 is a diagram showing a specific example of the block in FIG. 1, FIG. 3 is a diagram showing a block of the mask bit selection circuit, and FIG. 4 (A
) is a diagram showing a specific example of the mask bit selection circuit of the third rjA, FIG. 4(B) is a diagram showing a truth table of the input/output relationship of the decoder, and FIG. FIG. 6 is a block diagram showing an example of application of the present invention, and FIG. 7 is a block diagram of an example of a conventional register file integrated circuit. Explanation of symbols of main parts 101...Storage section 102...Mask register 103...Reading means 104-...Writing means

Claims (1)

【特許請求の範囲】[Claims] 複数のデータを記憶可能な記憶部と、演算部へ供給すべ
き複数のマスクデータを保持するマスクレジスタと、前
記マスクレジスタ内のマスクデータの1つを読出す手段
と、前記記憶部内のデータの1つを読出す手段と、前記
記憶部及び前記マスクレジスタへ書込データを書込む書
込制御手段とを含むことを特徴とするレジスタファイル
装置。
a storage section capable of storing a plurality of data; a mask register holding a plurality of mask data to be supplied to an arithmetic section; means for reading out one of the mask data in the mask register; 1. A register file device comprising: means for reading one; and write control means for writing write data into the storage section and the mask register.
JP62266994A 1987-10-22 1987-10-22 Register filing device Pending JPH01109445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62266994A JPH01109445A (en) 1987-10-22 1987-10-22 Register filing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62266994A JPH01109445A (en) 1987-10-22 1987-10-22 Register filing device

Publications (1)

Publication Number Publication Date
JPH01109445A true JPH01109445A (en) 1989-04-26

Family

ID=17438585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62266994A Pending JPH01109445A (en) 1987-10-22 1987-10-22 Register filing device

Country Status (1)

Country Link
JP (1) JPH01109445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5457443A (en) * 1992-03-30 1995-10-10 Yazaki Corporation Multifunctional combination switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5457443A (en) * 1992-03-30 1995-10-10 Yazaki Corporation Multifunctional combination switch

Similar Documents

Publication Publication Date Title
JPS6351287B2 (en)
JPS6140650A (en) Microcomputer
US4641278A (en) Memory device with a register interchange function
EP0057096A2 (en) Information processing unit
JPH01109445A (en) Register filing device
JP2812292B2 (en) Image processing device
JPH01169623A (en) Register filing device
JPS6329856A (en) Register file device
JPS6175444A (en) Register file integrated circuit
JPS6186839A (en) arithmetic processing unit
JPS6329857A (en) Register file device
JP3886314B2 (en) Data transfer circuit and semiconductor integrated circuit device using the same
JPS5849960B2 (en) Information check method
JPH0625966B2 (en) Micro program controller
JPS63231676A (en) Vector register control method
JPS629430A (en) Data buffer control system
JPS59207743A (en) General purpose logical circuit
JPH02224041A (en) Cache memory control circuit
JPS61123967A (en) Memory circuit
JPH0517574B2 (en)
JPS61249136A (en) Register file integrated circuit
JPS62249228A (en) Shift device
JPS6341091B2 (en)
JPS6373332A (en) Microprogram control system
JPH0452732A (en) Fuzzy inference mechanism