JPH04140843A - Register file - Google Patents

Register file

Info

Publication number
JPH04140843A
JPH04140843A JP26442190A JP26442190A JPH04140843A JP H04140843 A JPH04140843 A JP H04140843A JP 26442190 A JP26442190 A JP 26442190A JP 26442190 A JP26442190 A JP 26442190A JP H04140843 A JPH04140843 A JP H04140843A
Authority
JP
Japan
Prior art keywords
address
output
selector
scan path
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
JP26442190A
Other languages
Japanese (ja)
Inventor
Yukio Takase
高瀬 幸夫
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP26442190A priority Critical patent/JPH04140843A/en
Publication of JPH04140843A publication Critical patent/JPH04140843A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To prevent a remarkable increase of the hardware quantity and the complication of the device by allowing a scan path to pass through only one address in a register file. CONSTITUTION:By setting a shift mode signal 10 to '0', an address to be read out of a read address line 12 is given to an output selector 3. The output selector 3 reads out the contents of the designated address from a register group 2. By setting a select signal 9 to '1', an input selector 1 selects an output of the output selector 3 sent through a signal line 8, and sends it to the register group 2. Subsequently, '0' number is designated by a write address line 11, and an output of the input selector 1 is written in the address '0' number of the register group 2. Next, the shift mode signal 10 is set to '1', and the contents of the address '0' number are read out by using a scan path.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はレジスタファイル、特に、スキャンパスを持つ
情報処理装置のレジスタファイルに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a register file, and particularly to a register file for an information processing device having a scan path.

〔従来の技術〕[Conventional technology]

従来のレジスタファイルは、スキャンパスをまったく持
たないか、すべてのレジスタにスキャンパスが通ってい
るかのどちらかであった。
Traditional register files either have no scan path at all or have a scan path through every register.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のレジスタファイルは、スキャンパスをま
ったく持たない場合、障害発生時等にレジスタファイル
のデータ内容を収集するために、外部に特別なレジスタ
や論理回路を持つことが必要で、装置が複雑化したり、
ハードウェア量が増えるという欠点がある、また、すべ
てのレジスタにスキャンパスが通っている場合は、スキ
ャンパスがまったくない場合に比べて著しくハードウェ
ア量が増加するという欠点がある。
If the conventional register file described above has no scan path at all, it is necessary to have special external registers and logic circuits in order to collect the data contents of the register file in the event of a failure, making the device complicated. or become
There is a disadvantage that the amount of hardware increases, and when a scan path passes through all registers, the amount of hardware increases significantly compared to a case where there is no scan path at all.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のレジスタファイルは、複数のワードに分割され
、その17−ドにだけスキャンパスを持つレジスタ群と
、レジスタ群の出力からリードアドレスで指定されたワ
ードを読み出す出力レジスタと、レジスタファイルへの
入力データと出力レジスタの出力の二者から1つを選択
してレジスタ群に入力する入力セレクタを有している。
The register file of the present invention is divided into a plurality of words, and includes a register group that has a scan path only in the 17th word, an output register that reads a word specified by a read address from the output of the register group, and a register file that reads a word specified by a read address from the output of the register group. It has an input selector that selects one of the input data and the output of the output register and inputs it to the register group.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図1あり、1
は入力データと出力セレクタ3の出力Q二者から1つを
選択し出力する入力セレクタ、2はシフトモードでない
ときはライトアドレスマ指定されたアドレスに入力セレ
クタ1の出力略書き込み、シフトモードのときはアドレ
ス0番Cスキャンパスがシフト動作を行うアドレスO番
〜F番(16進数)を付けられたレジスタ群、3(ルジ
スタ群2の各アドレス毎の出力から、リードアドレスで
指定されたアドレスの出力を選んで仕方する出力セレク
タである。
FIG. 1 is a block diagram 1 showing one embodiment of the present invention.
is an input selector that selects and outputs one of the input data and the output Q of output selector 3, and 2 is a write address when not in shift mode.The output of input selector 1 is approximately written to the specified address, when in shift mode. is a register group assigned addresses O to F (hexadecimal) where address 0 and C scan path performs a shift operation, and 3 (from the output of each address of register group 2, the address specified by the read address is This is an output selector that selects the output.

以下に本レジスタファイルの動作について述べる。まず
、はじめにシフトモードでない通常時の動作について述
べる。
The operation of this register file will be described below. First, the normal operation, which is not in shift mode, will be described.

セレクト信号9をOにすることにより、入力セレクタ1
は信号線4から送られてくる入力データを選択してレジ
スタ群2に送る。レジスタ群2は、入力セレクタ1の出
力を信号線5から受は取る。このときシフトモード信号
10はOなので、レジスタ群2は受は取ったデータをラ
イトアドレス線11で指定されたアドレスに書き込む。
By setting select signal 9 to O, input selector 1
selects the input data sent from the signal line 4 and sends it to the register group 2. Register group 2 receives the output of input selector 1 from signal line 5 . At this time, the shift mode signal 10 is O, so the register group 2 writes the received data to the address specified by the write address line 11.

リードアドレス線12でリードアドレスを指定すると、
セレクタ3はレジスタ群2から指定されたアドレスの出
力を選び出し、信号線7で外部に出力する。
When the read address is specified using the read address line 12,
The selector 3 selects the output of the specified address from the register group 2 and outputs it to the outside via the signal line 7.

次に、スキャンパスを使ってレジスタファイル内のデー
タを読み出すときの動作について述べる。
Next, we will describe the operation when reading data in the register file using the scan path.

まず、アドレス0番の内容は、シフトモード信号10を
1にしてスキャンパスを使うことにより読み出す。0番
以外のアドレスの内容は次のようにして読み出す。
First, the contents of address No. 0 are read by setting the shift mode signal 10 to 1 and using a scan path. The contents of addresses other than number 0 are read out as follows.

シフトモード信号10をOにして、出力セレクタ3にリ
ードアドレス線12から読み出したいアドレスを与える
。出力セレクタ3は指定されたアドレスの内容をレジス
タ群2から読み出す。セレクト信号9を1にすることに
より入力セレクタ1は、信号線8を通じて送られてくる
出力セレクタ3の出力を選び、レジスタ群2に送る。ラ
イトアドレス線11で0番を指定し、レジスタ群2のア
ドレス0番に入力セレクタ1の出力を書き込む。
The shift mode signal 10 is set to O, and the address to be read from the read address line 12 is given to the output selector 3. The output selector 3 reads the contents of the designated address from the register group 2. By setting the select signal 9 to 1, the input selector 1 selects the output of the output selector 3 sent through the signal line 8 and sends it to the register group 2. Specify number 0 on write address line 11 and write the output of input selector 1 to address number 0 of register group 2.

シフトモード信号10を1にして、スキャンパスを使っ
てアドレス0番の内容を読み出す。
Set the shift mode signal 10 to 1 and read the contents of address No. 0 using the scan path.

最後に、スキャンパスを使ってレジスタファイルにデー
タを書き込むときの動作について述べる。
Finally, we will discuss the operation when writing data to the register file using the scan path.

アドレス0番に書き込むときはシフトモード信号10を
1にしてスキャンパスを使って書き込む。他のアドレス
に書き込むときは、まずシフトモード信号10を1にし
てスキャンパスを使ってアドレス0番にデータを書き込
む。シフトモード信号10をOに戻した後、リードアド
レスにOを入力し、出力セレクタ3でアドレス0番の内
容を選択する。セレクト信号9を1にして入力セレクタ
1で出力セレクタ3の内容を選びレジスタ群2に送る。
When writing to address No. 0, shift mode signal 10 is set to 1 and writing is performed using a scan path. When writing to another address, first set the shift mode signal 10 to 1 and write data to address No. 0 using the scan path. After returning the shift mode signal 10 to O, input O to the read address and select the contents of address No. 0 with the output selector 3. The select signal 9 is set to 1, and the input selector 1 selects the contents of the output selector 3 and sends it to the register group 2.

ライトアドレス線1工で書き込みたいアドレスを指定し
、入力セレクタ1の出力を書き込む。
Specify the address you want to write using write address line 1, and write the output of input selector 1.

レジスタファイル中の1つのアドレスにのみスキャンパ
スを持ち、レジスタファイルの出力を再び入力すること
ができるよう入力セレクタを加えることで、ハードウェ
ア量の著しい増加や装置の複雑化を招くことなしに、レ
ジスタファイル内の任意のアドレスをスキャンパスを用
いて読み書きすることができる効果がある。
By having a scan path at only one address in the register file and adding an input selector so that the output of the register file can be input again, it is possible to do this without significantly increasing the amount of hardware or complicating the device. This has the advantage that any address within the register file can be read and written using a scan path.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、レジスタファイル内の1
つのアドレスにのみスキャンパスを通し、入力データと
自レジスタファイルの出力を選択して入力できる入力セ
レクタを持つことにより、バードウ、ア量の著しい増加
や装置を複雑化することなしに、レジスタファイル内の
任意のアドレスをスキャンパスから読み書きすることが
できる効果がある。
As explained above, the present invention provides one
By having an input selector that can selectively input input data and the output of its own register file by passing a scan path through only one address, it is possible to input data within the register file without significantly increasing the amount of data or complicating the device. This has the effect of being able to read and write any address from the scan path.

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

第1図は本発明の一実施例のブロック図である。 1・・・入力セレクタ、2・・・アドレス0からF(1
6進数)が付けられ、アドレスOにのみスキャンパスを
持つレジスタ群、3・・・出力セレクタ、4〜8・・・
データ信号線、9・・・入力セレクタのセレクト信号線
、10・・・シフトモード線、11・・・ライトアドレ
ス線、12−・・リードアドレス線。
FIG. 1 is a block diagram of one embodiment of the present invention. 1...Input selector, 2...Address 0 to F (1
A group of registers with a scan path only at address O, 3...output selector, 4 to 8...
Data signal line, 9... Select signal line of input selector, 10... Shift mode line, 11... Write address line, 12-... Read address line.

Claims (1)

【特許請求の範囲】[Claims] 複数のワードに分割され、その1ワードにだけスキャン
パスを持つレジスタ群と、前記レジスタ群に接続されリ
ードアドレスで指定されたワードを選択する出力セレク
タと、前記出力レジスタの出力と入力データの二者から
1つを選択し前記レジスタ群に入力する入力セレクタを
有することを特徴とするレジスタファイル。
A register group that is divided into a plurality of words and has a scan path in only one word; an output selector that is connected to the register group and selects a word specified by a read address; 1. A register file comprising an input selector for selecting one of the registers and inputting the selected register to the register group.
JP26442190A 1990-10-01 1990-10-01 Register file Pending JPH04140843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26442190A JPH04140843A (en) 1990-10-01 1990-10-01 Register file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26442190A JPH04140843A (en) 1990-10-01 1990-10-01 Register file

Publications (1)

Publication Number Publication Date
JPH04140843A true JPH04140843A (en) 1992-05-14

Family

ID=17402945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26442190A Pending JPH04140843A (en) 1990-10-01 1990-10-01 Register file

Country Status (1)

Country Link
JP (1) JPH04140843A (en)

Similar Documents

Publication Publication Date Title
US4835675A (en) Memory unit for data tracing
JP3081614B2 (en) Partial write control device
US6510483B1 (en) Circuit, architecture and method for reading an address counter and/or matching a bus width through one or more synchronous ports
JPH04140843A (en) Register file
JPS59132479A (en) Data processing circuit
JPH05113929A (en) Microcomputer
JP2693631B2 (en) Scan out control system
SU1339653A1 (en) Memory
JP2723843B2 (en) Dual port memory control circuit
JPH0743668B2 (en) Access control device
JPS61246848A (en) Operation hysteresis storage circuit
JPH03283188A (en) Memory system
JPS61161560A (en) Memory device
JPH04310124A (en) Register file
JPH03132851A (en) Write data degeneration circuit
JPH0377545B2 (en)
JPH05119123A (en) Shift path circuit
JPH04130917A (en) Electronic disk device
JPH04321993A (en) Storage control device
JPH0778722B2 (en) Register file method
JPH04333953A (en) Bank memory control system
JPH04345196A (en) Multi-screen display device
JPS6198467A (en) Register arrangement
JPS62219026A (en) Register file control system
JPH01246647A (en) Memory cycle selecting system