JPS6232547A - State reading-out and writing circuit for information processor - Google Patents

State reading-out and writing circuit for information processor

Info

Publication number
JPS6232547A
JPS6232547A JP60172595A JP17259585A JPS6232547A JP S6232547 A JPS6232547 A JP S6232547A JP 60172595 A JP60172595 A JP 60172595A JP 17259585 A JP17259585 A JP 17259585A JP S6232547 A JPS6232547 A JP S6232547A
Authority
JP
Japan
Prior art keywords
register
state
scan
selects
read
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
JP60172595A
Other languages
Japanese (ja)
Inventor
Toshiyuki Hattori
俊幸 服部
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 JP60172595A priority Critical patent/JPS6232547A/en
Publication of JPS6232547A publication Critical patent/JPS6232547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To make it unnecessary to provide an exclusive read-out path by constituting the titled device so that the first register selects information which is set in the course of its original operation at the time of a regular operation, and after a scan-in operation, the second register is selected and an output is provided to the first register. CONSTITUTION:A register 1 is a register for holding the state of other device, for instance, stop-run of a clock, diagnostic/regular modes, etc., a register 3 is an internal register of a state reading-out/writing circuit 6 of an information processor, and as for a register 2, when the register 1 is brought to a shift operation, an influence is exerted on other device, therefore, in its regular operation state, it has the same contents as those of the register 1, and can use a scan path in the same way as the register 3, when reading out or writing an internal state of a device. A selector 4 is provided for two inputs and four circuits, selects signal lines 108-111 when a signal line 103 is logic '0', selects signal lines 120-123 at the time of logic '1', and provides an output.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、情報処理装置における内部状態続出し/書込
み回路の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an improvement of an internal state successive/write circuit in an information processing device.

(従来の技術) 従来、スキャンパスに組込まれていないフリップフロッ
プより成るレジスタは、別途読出し専用のパスをもって
おり、他のスキャンパスで接続されているフリップフロ
ップとは別途の編集をして表示していた。
(Prior art) Conventionally, registers consisting of flip-flops that are not incorporated in a scan path have a separate read-only path, and are edited and displayed separately from flip-flops connected in other scan paths. was.

(発明が解決しようとする問題点) 上述した従来の情報処理装置では、フリップフロップを
スキャンパスに接続するとクロックを歩進するごとにそ
の内容が1ビツトずつシフトしてゆき、出力が他装置の
状態を制御していたりして、通常の動作では禁止されて
いる状態になる恐れのあるフリップフロップが存在する
ことがある。
(Problem to be Solved by the Invention) In the conventional information processing device described above, when a flip-flop is connected to the scan path, its contents are shifted by one bit each time the clock is incremented, so that the output of the flip-flop is shifted by one bit. There may be flip-flops that control states and may enter states that are prohibited in normal operation.

斯かる場合には読出し専用のバスを設ける必要があり、
表示tこはスキャンパスをもつフリップフロップとは別
の編集プログラムが必要であって、診断時やデバッグ時
の書込みが実行できないと云う欠点があった。
In such a case, it is necessary to provide a read-only bus,
This display requires an editing program separate from the flip-flop having a scan path, and has the disadvantage that writing during diagnosis or debugging cannot be executed.

本発明の目的は、他装置の状態を保持していてスキャン
パスに接続できない複数のフリップフロップより成る第
1のレジスタと、通常に上記第1のレジスタの内容と同
じ内容を保持しており、スキャンパスに接続されていて
、クロックを歩進することによって内部状態の読出し/
書込みができるようにした複数のフリップ70ツブより
成る第2のレジスタとを備え、通常の動作時には第1の
レジスタが本来の動作中にセットされるべき状態情報を
選び、スキャン動作後には第2のレジスタを選択して第
1のレジスタに出力できるようにして上記欠点を除去し
、読出し専用のパスを設ける必要がないように構成した
情報処理装置の状態読出し/書込み回路を提供すること
にある。
The object of the present invention is to have a first register consisting of a plurality of flip-flops that holds the state of other devices and cannot be connected to the scan path, and a first register that normally holds the same contents as the first register. It is connected to the scan path and reads the internal state by stepping the clock.
and a second register consisting of a plurality of 70 flips that can be written to.During normal operation, the first register selects the state information to be set during the original operation, and after the scan operation, the second register selects the state information to be set during the original operation. An object of the present invention is to provide a status read/write circuit for an information processing device configured to eliminate the above-mentioned drawbacks by selecting a register and outputting it to a first register, and eliminating the need to provide a read-only path. .

(問題点を解決するための手段) 本発明による情報処理装置の状態読出し/書込み回路は
第1および第2のレジスタと、セレクタとを具備して構
成したものである。
(Means for Solving the Problems) A state read/write circuit of an information processing device according to the present invention is configured to include first and second registers and a selector.

第1のレジスタは、他装置の状態を保持していてスキャ
ンパスに接続できないものである。
The first register holds the status of other devices and cannot be connected to the scan path.

第2のレジスタは、通常は第1のレジスタと同じ内容を
保持していてスキャンパスに接続され、クロックを歩進
することによって内部状態情報の読出し/書込みができ
るようにしたものである。
The second register normally holds the same contents as the first register and is connected to the scan path so that internal state information can be read/written by advancing the clock.

セレクタは通常の動作時には第1のレジスタが本来の動
作中にセットされるべき状態情報を選び、スキャンイン
動作後には第2のセレクタを選択して第1のレジスタに
出力するためのものである。
During normal operation, the selector selects the state information that should be set in the first register during its original operation, and after the scan-in operation, selects the second selector and outputs it to the first register. .

(実施例) 次に、本発明について図面を参照して説明する0 第1図は、本発明による情報処理装置の状態読出し/f
1:込み回路の一実施例を示すブロック図である。第1
図において、1〜3はそれぞれレジスタ、4はセレクタ
、5は制御回路、6は情報処理装置の状態読出し/書込
み回路である。
(Example) Next, the present invention will be explained with reference to the drawings.
FIG. 1 is a block diagram showing an example of an integrated circuit. 1st
In the figure, 1 to 3 are registers, 4 is a selector, 5 is a control circuit, and 6 is a status read/write circuit of the information processing device.

第1図において、レジスタ1は他装置の状態、例えばク
ロックの停止/走行や診断/通常モードなどを保持する
レジスタであり、通常は信号線108〜111上のデー
タがレジスタ1にセットされ、信号線116〜119を
介して他装置へ送出される。レジスタ3は、情報処理装
置の状態読出し/書込み回路6の内部レジスタであり、
レジスタ3の内容は演算器に入力され、その出力で他装
置の状態が乱されることはない。レジスタ2はレジスタ
1をシフト動作させると他装置に影響を与えるので、通
常の動作状態ではレジスタ1の内容と同じにしておいて
、装置の内部状態を読出したり、あるいは書込んだりあ
るときにはレジスタ3と同様にスキャンパスを使えるよ
うにしたものである。セレクタ4は2人力4回路のもの
で、信号線103が論理O(シフトモード)のときには
信号#j!108〜111を選択し、論理1(シフトモ
ード)のときには信号線120〜123を選択して出力
する。制御回路5はレジスタ1〜3のクロックやシフト
モード端子、ならびにセレクタ4のセレクト信号を制御
するものである。
In FIG. 1, register 1 is a register that holds the status of other devices, such as clock stop/running, diagnosis/normal mode, etc. Normally, data on signal lines 108 to 111 is set in register 1, and the signal It is sent to other devices via lines 116-119. The register 3 is an internal register of the status read/write circuit 6 of the information processing device,
The contents of register 3 are input to the arithmetic unit, and its output does not disturb the status of other devices. Register 2 affects other devices when register 1 is shifted, so in normal operating conditions, register 2 is kept the same as register 1, and when the internal state of the device is read or written, register 3 is used. This allows you to use scan paths in the same way as . The selector 4 has four circuits powered by two people, and when the signal line 103 is in logic O (shift mode), the signal #j! 108 to 111 are selected, and when the logic is 1 (shift mode), signal lines 120 to 123 are selected and output. The control circuit 5 controls the clocks and shift mode terminals of the registers 1 to 3, as well as the select signal of the selector 4.

第2図は、第1図におけるレジスタ1〜3の動作を詳細
に示す説明図である。レジスタ1〜3はクロックに同期
して動作する。8FT−0(シフトモードではない通常
の使用モード)では、HLD=Oであるならば入力デー
タが内部にセットされて、そのまま出力され、HLD−
1であるならば内部状態は変化せず、出力も変化しない
。5FT=1(シフトモード)ではHLDにかかわらず
8I(シフトイン)端子の値を取込んで1ビツトずつシ
フトする。
FIG. 2 is an explanatory diagram showing in detail the operations of registers 1 to 3 in FIG. 1. Registers 1 to 3 operate in synchronization with the clock. In 8FT-0 (normal usage mode, not shift mode), if HLD=O, input data is set internally and output as is, and HLD-
If it is 1, the internal state will not change and the output will not change either. When 5FT=1 (shift mode), the value of the 8I (shift in) terminal is taken in and shifted one bit at a time regardless of HLD.

第3図および第4図は、それぞれ第1図の情報処理装置
の状態読出し/書込み回路の動作を示すタイミングチャ
ートである。以下、第3図および第4図を参照して動作
を詳細に説明する。
3 and 4 are timing charts showing the operation of the status read/write circuit of the information processing device of FIG. 1, respectively. The operation will be described in detail below with reference to FIGS. 3 and 4.

第3図において 1.−1.ではレジスタ1〜3は通常
の動作状態であり、シフトモード=0である。このとき
、レジスタ2の内容はレジスタ1の内容と一致している
。t、以降ではシフトモード=Hこなり、クロックを歩
進すると内部状態が1ビツトずつシフトする。この情報
は、最終的に信号線120を通って制御回路5に読出さ
れる。
In Figure 3: 1. -1. In this case, registers 1 to 3 are in a normal operating state and shift mode=0. At this time, the contents of register 2 match the contents of register 1. After t, the shift mode=H, and when the clock is advanced, the internal state is shifted one bit at a time. This information is finally read out to the control circuit 5 through the signal line 120.

第4図は、第3図で読出したデータを元の状態に戻した
り、あるいは任意のレジスタに任意の値を設定したりす
るシフトイン動作を示したものである。
FIG. 4 shows a shift-in operation for returning the data read in FIG. 3 to its original state or setting an arbitrary value to an arbitrary register.

書込みたいデータを直列に信号線1064こ入力してク
ロックを歩進してゆくと、第3図と同様にしてシフトバ
スのなかをデータがシフトされてゆく。丁度、シフトす
るフリップ70ツブの数だけクロックを歩進したところ
でレジスタ1にクロックを送出すると、信号線120〜
123 を選択しているセレクタ4によってレジスタ2
の内容がレジスタ1ζこセットされ、レジスタ1にはシ
フト中に他装置の状態を乱すことなく任意の値が設定で
きることになる。
When the data to be written is serially input to the signal line 1064 and the clock is stepped, the data is shifted in the shift bus in the same manner as in FIG. When the clock is advanced by exactly the number of flips 70 to be shifted and the clock is sent to register 1, signal lines 120 to 120
Register 2 is selected by selector 4 which selects 123.
The contents of register 1ζ are set, and any value can be set in register 1 without disturbing the status of other devices during shifting.

(発明の効果) 以上説明したように本発明は、他装置の状態を保持して
いてスキャンパスに接続できない第1のレジスタと、通
常はそれと同じ内容を保持しており、スキャンパスに接
続されていて、クロックを歩進することにより内部状態
の読出し/書込みができるようにした第2のレジスタと
を備え、通常の動作時には第1のレジスタが本来の動作
中にセットされる情報を選択し、スキャンイン動作後に
は第2のレジスタを選択して第1のレジスタに出力する
ことによって、禁止状態であるために従来はスキャンパ
スに組込まれることのできなかったレジスタの内容を、
そのコピーを格納するレジスタをもつことによって状態
情報の読出し/4#込みが可能になると云う効果がある
(Effects of the Invention) As explained above, the present invention has a first register that holds the status of other devices and cannot be connected to the scan path, and a first register that normally holds the same contents and cannot be connected to the scan path. and a second register whose internal state can be read/written by incrementing the clock.During normal operation, the first register selects information that is set during normal operation. , after the scan-in operation, by selecting the second register and outputting it to the first register, the contents of the register that could not be incorporated into the scan path because it is in a prohibited state can be
Having a register to store the copy has the effect of making it possible to read/write the state information.

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

第1図は、本発明による情報処理装置の状態読出し/書
込み回路の一実施例を示すブロック図である。 第2図は、第1図のレジスタの動作例を説明する状態説
明図である。 第3図および第4図は、それぞれ第1図のレジスタの動
作例を示すタイミングチャートである。 1〜3・・・レジスタ  4・・・セレクタ5・・・制
御装置    6・・・情報処理装置101〜131・
・・信号線
FIG. 1 is a block diagram showing an embodiment of a status read/write circuit of an information processing apparatus according to the present invention. FIG. 2 is a state explanatory diagram illustrating an example of the operation of the register in FIG. 1. 3 and 4 are timing charts showing an example of the operation of the register shown in FIG. 1, respectively. 1-3...Register 4...Selector 5...Control device 6...Information processing device 101-131.
··Signal line

Claims (1)

【特許請求の範囲】[Claims] 他装置の状態を保持していてスキャンパスに接続できな
い第1のレジスタと、通常は前記第1のレジスタと同じ
内容を保持していて前記スキャンパスに接続されクロッ
クを歩進することによつて内部状態情報の読出し/書込
みができるようにした第2のレジスタと、前記通常の動
作時には前記第1のレジスタが本来の動作中にセットさ
れるべき状態情報を選び、スキャンイン動作後には前記
第2のセレクタを選択して前記第1のレジスタに出力す
るためのセレクタとを具備して構成したことを特徴とす
る情報処理装置の状態読出し/書込み回路。
A first register that holds the state of other devices and cannot be connected to the scan path, and a first register that normally holds the same contents as the first register and is connected to the scan path and advances the clock. A second register is configured to read/write internal state information, and during the normal operation, the first register selects the state information to be set during the original operation, and after the scan-in operation, the first register selects the state information to be set during the normal operation. 1. A state read/write circuit for an information processing device, comprising: a selector for selecting one of the two selectors and outputting the selected selector to the first register.
JP60172595A 1985-08-06 1985-08-06 State reading-out and writing circuit for information processor Pending JPS6232547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60172595A JPS6232547A (en) 1985-08-06 1985-08-06 State reading-out and writing circuit for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60172595A JPS6232547A (en) 1985-08-06 1985-08-06 State reading-out and writing circuit for information processor

Publications (1)

Publication Number Publication Date
JPS6232547A true JPS6232547A (en) 1987-02-12

Family

ID=15944760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60172595A Pending JPS6232547A (en) 1985-08-06 1985-08-06 State reading-out and writing circuit for information processor

Country Status (1)

Country Link
JP (1) JPS6232547A (en)

Similar Documents

Publication Publication Date Title
JP2632731B2 (en) Integrated circuit device
EP0261497A2 (en) Semaphore circuit for shared memory cells
JPS6232547A (en) State reading-out and writing circuit for information processor
JPH0695316B2 (en) Semiconductor integrated circuit
KR0170210B1 (en) Test circuit of memory device
JPS6214860B2 (en)
JP2518039B2 (en) Control memory load method for data processor
JPS6144342B2 (en)
JPS6150340B2 (en)
JP2785506B2 (en) Scan circuit
EP0173257B1 (en) Integrated circuit device
JPS63108747A (en) Gate array integrated circuit
JP2637276B2 (en) Tracer
JP2877505B2 (en) LSI mounting board and data processing device
JPS5939053B2 (en) Storage element specification method
JPS6113611B2 (en)
JPH0389178A (en) Semiconductor integrated circuit
JPH05265701A (en) Fifo memory
JPH06148291A (en) Boundary scanning register
JPH04310124A (en) Register file
JPH0776784B2 (en) Test pattern generator
JP2848619B2 (en) Test facilitation circuit
JPH04337484A (en) Scanning test system
JPS6020765B2 (en) logical device
JPS61240174A (en) Scanning circuit