JPS6113611B2 - - Google Patents

Info

Publication number
JPS6113611B2
JPS6113611B2 JP55082479A JP8247980A JPS6113611B2 JP S6113611 B2 JPS6113611 B2 JP S6113611B2 JP 55082479 A JP55082479 A JP 55082479A JP 8247980 A JP8247980 A JP 8247980A JP S6113611 B2 JPS6113611 B2 JP S6113611B2
Authority
JP
Japan
Prior art keywords
flip
scan
supplied
flop
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP55082479A
Other languages
Japanese (ja)
Other versions
JPS578856A (en
Inventor
Ryozo Nishina
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8247980A priority Critical patent/JPS578856A/en
Publication of JPS578856A publication Critical patent/JPS578856A/en
Publication of JPS6113611B2 publication Critical patent/JPS6113611B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は、情報処理装置、特に、診断機能を有
する情報処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing apparatus, and particularly to an information processing apparatus having a diagnostic function.

一般に、診断機能を有する情報処理装置は、処
理装置と診断制御部とを含んで構成される。
Generally, an information processing device having a diagnostic function is configured to include a processing device and a diagnostic control section.

この処理装置はさらに、組合せ回路と、順序回
路とで構成されている。この組合せ回路はある時
点における入力と、順序回路の状態とにより出力
が決定され、AND,OR等のゲート回路で構成さ
れる。これに対して、順序回路は過去に加えられ
た入力と、そのときの入力とによつて次の状態と
しての出力が決定され、これは、例えば、複数個
の記憶素子で構成され、これらの記憶素子の組合
せによつて内部状態が表現される。この記憶素子
としては主としてフリツプフロツプが使用され
る。処理装置の状態を表わすフリツプフロツプの
内容は障害時のログアウト、あるいは試験診断時
にその内容を表示するだけでなく、試験診断時に
この内容を自由に設定できる必要があり、これら
のフリツプフロツプの内容の表示および設定をい
かに簡単な回路で、かつ効率よく実現するかが装
置を設計する上で重要な問題となつている。
This processing device further includes a combinational circuit and a sequential circuit. The output of this combinational circuit is determined by the input at a certain point in time and the state of the sequential circuit, and is composed of gate circuits such as AND and OR. On the other hand, in a sequential circuit, the output as the next state is determined by the inputs applied in the past and the inputs at that time. Internal states are expressed by combinations of memory elements. A flip-flop is mainly used as this memory element. The contents of the flip-flops that indicate the status of the processing unit must not only be displayed when logging out in the event of a failure or during test diagnosis, but also be able to be freely set during test diagnosis. An important issue in device design is how to implement settings efficiently and with a simple circuit.

ここで、フリツプフロツプの内容の表示および
設定を行なう1つの方法は、複数個のフリツプフ
ロツプの各々を組合せ回路により表示、設定する
ものである。しかし、この方法はフリツプフロツ
プの数が増大するに従つて、表示、設定用の金物
量が増大するという問題があつた。
Here, one method for displaying and setting the contents of a flip-flop is to display and set each of a plurality of flip-flops using a combinational circuit. However, this method has a problem in that as the number of flip-flops increases, the amount of hardware for display and setting increases.

他の1つの方法としては、試験診断の対象とな
る処理装置の記憶素子、例えば、フリツプフロツ
プを診断モードにした際に各フリツプフロツプを
直列に接続したシフトレジスタとして構成するも
のであり、その一例を第1図に示す。
Another method is to configure the memory elements of the processing device to be tested and diagnosed, such as flip-flops, as shift registers connected in series when the flip-flops are put into the diagnostic mode. Shown in Figure 1.

第1図は本発明ならびに従来の処理装置の一例
を示すブロツク図で、試験診断の対象となる処理
装置1はn個のフリツプフロツプFFo〜FFo-1
含んで構成されている。
FIG. 1 is a block diagram showing an example of a processing device according to the present invention and a conventional processing device.A processing device 1 to be tested and diagnosed includes n flip-flops FFo to FFO-1 .

フリツプフロツプFFo〜FFo-1の各モード入力
端子SMおよび各クロツク入力端子CLKには、
各々診断モード信号Mおよびクロツク信号Cが供
給される。また、フリツプフロツプFFo〜FFo-1
の各情報出力端子OUTは、次段のフリツプフロ
ツプの情報入力端子SINに接続される。初段のフ
リツプフロツプFFo-1の情報入力端SINにはスキ
ヤンイン信号Sinが供給され、終段のフリツプフ
ロツプFFoの情報出力端子OUTから診断モード
信号Mが供給されているときに処理装置1からの
スキヤンアウト信号Soutが出力される。
Each mode input terminal SM and each clock input terminal CLK of flip-flops FFo to FF o-1 have
A diagnostic mode signal M and a clock signal C are provided, respectively. Also, flip-flop FFo ~ FF o-1
Each information output terminal OUT of is connected to the information input terminal SIN of the next stage flip-flop. When the scan-in signal Sin is supplied to the information input terminal SIN of the first-stage flip-flop FF o-1 , and the diagnostic mode signal M is supplied from the information output terminal OUT of the final-stage flip-flop FFo, the scan-out from the processing device 1 occurs. A signal Sout is output.

診断モード信号Mが供給されない場合には、前
記フリツプフロツプFFo〜FFo-1相互間の接続は
論理的に非接続状態となり、処理装置1は通常の
動作をする。
When the diagnostic mode signal M is not supplied, the flip-flops FFo to FFO-1 are logically disconnected, and the processing device 1 operates normally.

診断モード信号Mが供給されている場合は、ク
ロツク信号Cが供給されるごとに、フリツプフロ
ツプFFo〜FFo-1はシフト動作をし、フリツプフ
ロツプFFoにはフリツプフロツプFF1の状態が設
定されると共にフリツプフロツプFF1にはフリツ
プフロツプFF2(図示せず)の状態が設定され
る。このとき、フリツプフロツプFFo-1にはスキ
ヤンイン信号Sinの状態が設定される。
When the diagnostic mode signal M is supplied, each time the clock signal C is supplied, the flip-flops FFo to FF o-1 perform a shift operation, and the state of the flip-flop FF1 is set in the flip-flop FFo. The state of flip-flop FF2 (not shown) is set in FF1 . At this time, the state of the scan-in signal Sin is set in the flip-flop FF o-1 .

このようにしてフリツプフロツプFFo〜FFo-1
すなわち、複数の記憶素子は、診断モードMが供
給されているときには1つのシフトレジスタを構
成し順次クロツク信号Cを供給することによりス
キヤンアウト信号Soutとしてフリツプフロツプ
FF0〜FFo-1の内容が時系列となつて現われる。
In this way the flip-flop FFo ~ FF o-1
That is, when the diagnostic mode M is supplied, the plurality of storage elements constitute one shift register and sequentially supply the clock signal C to the flip-flop as the scan-out signal Sout.
The contents of FF 0 to FF o-1 appear in chronological order.

第1図には、処理装置1が1つのシフトレジス
タを構成している例を示したが、これを複数のシ
フトレジスタ、例えば物理的な実装単位であるパ
ツケージ毎に1つのシフトレジスタを構成するよ
うに分割することも可能である。
FIG. 1 shows an example in which the processing device 1 configures one shift register, but this can be configured to include multiple shift registers, for example, one shift register for each package, which is a physical implementation unit. It is also possible to divide it as follows.

このようにして複数の記憶素子から読み出され
た処理装置1の内容は前記シフト動作により失わ
れ、これを元の状態に戻す必要がある。この1つ
の方法として、フリツプフロツプFFo-1の情報入
力端子SINに供給されているスキヤンイン信号
SinのかわりにフリツプフロツプFF0の情報出力
端子OUTからのスキヤンアウト信号Soutを供給
するように接続する方法があるが、一般には試験
診断を制御する診断制御部とのインターフエース
の同期化が容易であること、該インターフエース
の巾は一般に複数ビツトであること、前記フリツ
プフロツプFF0〜FFo-1の内容を一部変更する場
合その制御が容易であることなどによりシフトバ
ツフアを使用する方法が採用されている。
The contents of the processing device 1 read out from the plurality of storage elements in this manner are lost due to the shift operation, and it is necessary to restore the contents to the original state. One method is to use the scan-in signal supplied to the information input terminal SIN of flip-flop FF o-1.
There is a method of connecting to supply the scan-out signal Sout from the information output terminal OUT of flip-flop FF 0 instead of Sin, but it is generally easy to synchronize the interface with the diagnostic control section that controls test diagnosis. The method of using a shift buffer is adopted because the width of the interface is generally multiple bits, and it is easy to control when partially changing the contents of the flip-flops FF 0 to FF o-1. ing.

シフトバツフアは読み出しの対象となるフリツ
プフロツプFF0〜FFo-1のビツト数nと同じか、
それ以上のビツト数を有し、スキヤンアウト信号
Soutとして現われるフリツプフロツプFF0
FFo-1の内容の時系列をバツフアリングし、又元
の状態に戻す場合にはこのシフトバツフアの内容
がスキヤンイン信号Sinとして処理装置1に供給
される。
Is the shift buffer the same as the number of bits n of the flip-flops FF 0 to FF o-1 to be read?
If the number of bits is higher than that, the scan-out signal
Flip-flop FF appearing as Sout 0 ~
When the time series of the contents of FF o-1 is buffered and returned to its original state, the contents of this shift buffer are supplied to the processing device 1 as a scan-in signal Sin.

従来の情報処理装置はこのシフトバツフアを含
んでおり、このシフトバツフアはフリツプフロツ
プで構成されていたため以下の問題があつた。
Conventional information processing apparatuses include this shift buffer, and since this shift buffer is composed of flip-flops, the following problems occur.

その1つは、試験診断の対象となる処理装置1
のフリツプフロツプの数が増えるに従つて上述し
たようにシフトバツフアのビツト数も増える。こ
こで、フリツプフロツプをパツケージを単位とし
て分割してシフトバツフアのビツト数を削減した
場合にも、最近の集積回路技術の進歩による高密
度化によりパツケージ当りのフリツプフロツプの
数は増大する傾向にあり、シフトバツフアをフリ
ツプフロツプで構成することは金物量の上で問題
があつた。
One of them is the processing device 1 that is the target of test diagnosis.
As the number of flip-flops increases, the number of bits in the shift buffer also increases, as described above. Even if flip-flops are divided into packages to reduce the number of bits in the shift buffer, the number of flip-flops per package tends to increase due to recent advances in integrated circuit technology, which increases the number of bits in the shift buffer. Constructing with flip-flops had a problem in terms of the amount of hardware needed.

他の1つの問題は処理装置の内容の一部を変更
する場合シフトバツフアの制御に以下に説明する
ような無駄が生じ、従つて処理時間が増大すると
いう問題があつた。
Another problem is that when a part of the contents of the processing device is changed, there is a waste in controlling the shift buffer as will be explained below, and the processing time increases accordingly.

この問題を図面を用いて、以下にさらに詳細に
説明する。
This problem will be explained in more detail below using the drawings.

第2図は、従来の情報処理装置の一例を示すブ
ロツク図で、試験診断の対象となる処理装置1は
パツケージ毎に分割されたm個のフリツプフロツ
プ群FF1〜FFMからなり、各フリツプフロツプ群
FF1〜FFMは診断モードの際にはそれぞれ1つの
シフトレジスタを構成し、その構成は第1図と同
様である。
FIG. 2 is a block diagram showing an example of a conventional information processing device. The processing device 1 to be tested and diagnosed consists of m flip-flop groups FF 1 to FF M divided into packages.
FF 1 to FF M each constitute one shift register in the diagnostic mode, and the configuration is the same as that in FIG. 1.

各フリツプフロツプ群FF1〜FFMにそれぞれ供
給されるクロツク信号C1〜CMは診断モードの際
には選択されたフリツプフロツプ群に対応したク
ロツク信号が供給されるよう制御される。
The clock signals C 1 -CM supplied to each flip-flop group FF 1 -FFM are controlled so that the clock signal corresponding to the selected flip-flop group is supplied in the diagnostic mode.

切替回路2は診断制御部3から与えられるパツ
ケージアドレス(図示せず)によりフリツプフロ
ツプのスキヤンアウト信号Sout1〜SoutMのうちの
いずれか1つを選択し、その出力はスキヤンアウ
ト信号Soutによりシフトバツフア4に供給され
る。
The switching circuit 2 selects one of the flip-flop scan-out signals Sout 1 to Sout M based on the package address (not shown) given from the diagnostic control unit 3, and its output is sent to the shift buffer 4 according to the scan-out signal Sout. supplied to

シフトバツフア4はフリツプフロツプ群FF1
FFMのうちの最大のもののビツト数と同じすなわ
ち、i>j>kならば、iビツトの容量を持ち、
スキヤンアウト信号Sout、設定データdあるい
はスキヤンイン信号Sinであるシフトバツフア4
のビツトi−1の出力のいずれか1つを入力とし
これらの入力がビツト0に設定されると共に、そ
の内容は1ビツトだけ左にシフトされる。シフト
バツフア4のビツトi−1の出力はスキヤンイン
信号Sinにより処理装置1に供給される。
Shift buffer 4 is a flip-flop group FF 1 ~
If the number of bits is the same as the largest one of F M , that is, i>j>k, then it has a capacity of i bits,
Shift buffer 4 which is scan out signal Sout, setting data d or scan in signal Sin
These inputs are set to bit 0, and their contents are shifted to the left by one bit. The output of bit i-1 of shift buffer 4 is supplied to processing device 1 by scan-in signal Sin.

第2図に示す回路構成のもので、フリツプフロ
ツプ群FFMの内容の表示およびデータ設定の動
作を以下に説明する。
The operation of displaying the contents of the flip-flop group FFM and setting data using the circuit configuration shown in FIG. 2 will be described below.

表示の場合、選択されたフリツプフロツプ群
FFMに格納されているデータfMO〜fMK-1が読
み出されてスキヤンアウト信号SoutMとして切替
回路2により選択され、クロツク信号CMが供給
されるごとに出力されるスキヤンアウト信号
Soutによりシフトバツフア4のビツト0に設定
されるとともに、シフトバツフア4の内容は1ビ
ツトだけ左にシフトされる。上記動作をフリツプ
フロツプ群FFMのビツト数Kに等しいk回繰り
返すことによりフリツプフロツプ群FFMのデー
タfMO〜fMK-1はシフトバツフア4に設定され
る。
If displayed, the selected flip-flop group
The data f MO to f MK-1 stored in the FFM are read out and selected as the scan out signal Sout M by the switching circuit 2, and the scan out signal is output every time the clock signal C M is supplied.
Bit 0 of shift buffer 4 is set by Sout, and the contents of shift buffer 4 are shifted to the left by one bit. By repeating the above operation k times equal to the number of bits K of the flip-flop group FFM, the data f MO to f MK-1 of the flip-flop group FFM are set in the shift buffer 4.

また、フリツプフロツプ群FFMのデータfMO
〜fMK-1のうちフリツプフロツプFFMo〜
FFMa-1のデータfMO〜fMa-1のaビツトを変更
する場合、フリツプフロツプ群FFMのデータfM
〜fMK-1は前記動作により一旦シフトバツフア
4に設定され、シフトバツフア4の制御によりフ
リツプフロツプ群FFMに設定すべき設定データ
dがシフトバツフア4に準備される。
Also, the data f MO of the flip-flop group FFM
~f Flip-flop FFMo of MK-1 ~
When changing bit a of FFM a-1 data f MO ~f Ma-1 , data f M of flip-flop group FFM is changed.
O to f MK-1 are temporarily set in the shift buffer 4 by the above operation, and setting data d to be set in the flip-flop group FFM is prepared in the shift buffer 4 under the control of the shift buffer 4.

第3図a〜dは第2図に示すシフトバツフア4
に格納したデータの格納状態を示す図である。
Figures 3a to 3d show the shift buffer 4 shown in Figure 2.
FIG.

第3図aは、前記動作によりシフトバツフア4
に設定されたフリツプフロツプ群FFMの状態を
示し、第3図bは第3図aに示す状態からシフト
バツフア4の内容をi―kビツト左にシフトした
状態を示す。
FIG. 3a shows that the shift buffer 4 is
FIG. 3b shows a state in which the contents of the shift buffer 4 are shifted to the left by ik bits from the state shown in FIG. 3a.

格納したデータを変更する場合、変更の内容と
して、第2図に示すシフトバツフア4の入力の1
つである設定データdが供給され、シフトバツフ
ア4の入力として該設定データdを選択し、aビ
ツト左にシフトする。このシフト後の状態を第3
図cに示す。この後、シフトバツフア4の入力と
してシフトバツフア4のビツトi-1を選択しk−
aビツト左にシフトすることにより、フリツプフ
ロツプ群FFMに設定すべきデータが第3図dに
示すように、シフトバツフア4に準備される。こ
のようにフリツプフロツプ群FFMに設定すべき
データの準備にはフリツプフロツプ群FFMのビ
ツト数にkに無関係にiビツトのシフト動作を必
要とする。
When changing the stored data, input 1 of the shift buffer 4 shown in FIG.
A certain setting data d is supplied, and the setting data d is selected as an input to the shift buffer 4 and shifted to the left by a bit. The state after this shift is
Shown in Figure c. After this, bit i -1 of shift buffer 4 is selected as the input of shift buffer 4 and k-
By shifting a bit to the left, the data to be set in the flip-flop group FFM is prepared in the shift buffer 4, as shown in FIG. 3d. In this way, preparing the data to be set in the flip-flop group FFM requires a shift operation of i bits, regardless of the number of bits k in the flip-flop group FFM.

シフトバツフア4に準備されたデータのフリツ
プフロツプ群FFMへの設定は以下のように行な
われ、これは表示の際、フリツプフロツプ群
FFMのシフト動作により失われた元の内容を戻
す動作と同様である。
The data prepared in shift buffer 4 is set to the flip-flop group FFM as follows.
This is similar to the operation of restoring the original contents lost due to FFM's shift operation.

第2図において、シフトバツフア4のビツトi
−1の出力はスキヤンイン信号Sinにより処理装
置1へ供給され、クロツク信号CMを1クロツク
供給することによりフリツプフロツプFFk-1に設
定されると共に、フリツプフロツプ群FFMの内
容は1ビツトだけ右にシフトされる。これと併せ
て、シフトバツフア4の内容は1ビツトだけ左に
シフトされる。上記動作をi回繰り返すことによ
り、シフトバツフア4のビツトk-0〜0の内容が
フリツプフロツプFFM0〜FFMk-1に設定され
る。
In FIG. 2, bit i of shift buffer 4
The output of -1 is supplied to the processing unit 1 by the scan-in signal Sin, and by supplying the clock signal CM for one clock, it is set to the flip-flop FF k-1 , and the contents of the flip-flop group FFM are shifted to the right by one bit. be done. In conjunction with this, the contents of shift buffer 4 are shifted to the left by one bit. By repeating the above operation i times, the contents of bits k -0 to 0 of shift buffer 4 are set to flip-flops FFM 0 to FFM k-1 .

なお、シフトバツフア4の内容のフリツプフロ
ツプ群FFMへの設定はシフトバツフア4の内容
を一旦i−kビツト左にシフトした後、上記動作
をk回繰り返すことによつても可能であるが、い
ずれの場合にもシフトバツフア4はiビツトシフ
トする必要がある。
The contents of the shift buffer 4 can also be set to the flip-flop group FFM by once shifting the contents of the shift buffer 4 to the left by i-k bits and then repeating the above operation k times. Also, shift buffer 4 needs to be shifted by i bits.

すなわち、従来の情報処理装置は、表示の場合
にはk+i回、設定の場合にはk+2i回シフトす
る必要があり、フリツプフロツプ群のビツト数k
に無関係な余分なシフトを行なうという無駄が生
じ従つて処理時間が増大するという欠点があつ
た。
That is, in the conventional information processing device, it is necessary to shift k+i times for display and k+2i times for setting, and the number of bits in the flip-flop group k
The drawback is that extra shifts unrelated to the process are wasted and processing time increases.

また、従来の情報処理装置は、フリツプフロツ
プで構成されているため、金物量を削減できない
という欠点もあつた。
Furthermore, since conventional information processing devices are constructed with flip-flops, they also have the disadvantage that the amount of hardware cannot be reduced.

本発明の目的は、金物量を削減し、処理時間が
短縮できる情報処理装置を提供することにある。
An object of the present invention is to provide an information processing device that can reduce the amount of hardware and shorten processing time.

本発明の情報処理装置は、診断モード信号の供
給時に直列接続されてクロツク信号の供給ごとに
スキヤンイン信号が入力されシフトされスキヤン
アウト信号が出力されるシフトレジスタとなる複
数の記憶素子を含む処理装置と、前記クロツク信
号が供給されるごとに更新されたアドレス情報を
出力するアドレスレジスタと、前記アドレス情報
が供給されるごとに前記スキヤンアウト信号およ
び設定データが書き込まれ前記スキヤンイン信号
として読み出す記憶回路とを含んで構成される。
The information processing device of the present invention is a processing device including a plurality of storage elements connected in series when a diagnostic mode signal is supplied, and serving as a shift register to which a scan-in signal is input and shifted each time a clock signal is supplied, and a scan-out signal is output. an address register that outputs updated address information each time the clock signal is supplied; and a memory circuit in which the scan-out signal and setting data are written and read out as the scan-in signal each time the address information is supplied. It consists of:

すなわち、本発明の情報処理装置は、複数の記
憶素子を含み、各記憶素子は診断モードの際には
シフトレジスタとして直列に接続される処理装置
と、アドレスレジスタの内容にあらかじめ定めら
れた値を加算する加算回路と、前記アドレスレジ
スタにより指定されるアドレスに読み書き可能な
記憶回路を備え、該記憶回路の入力は前記シフト
レジスタの出力と接続すると共に、該記憶回路の
出力は前記シフトレジスタの入力と接続し、前記
処理装置が診断モードの際には前記シフトレジス
タを制御し、該シフトレジスタの出力を前記記憶
回路へ書き込むと共に前記アドレスレジスタを更
新するよう制御し、また前記アドレスレジスタを
更新しながら前記記憶回路の内容を読み出し、前
記シフトレジスタに書き込むよう制御する制御手
段とを含んで構成される。
That is, the information processing device of the present invention includes a plurality of storage elements, and each storage element stores a predetermined value in the contents of an address register and a processing device connected in series as a shift register in the diagnosis mode. It includes an adder circuit that performs addition and a memory circuit that can read and write data at the address specified by the address register, the input of the memory circuit being connected to the output of the shift register, and the output of the memory circuit being connected to the input of the shift register. and when the processing device is in a diagnostic mode, controls the shift register, writes the output of the shift register to the storage circuit and updates the address register, and updates the address register. and control means for reading out the contents of the storage circuit and writing them into the shift register.

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

第4図は、本発明の一実施例を示すブロツク図
で、試験診断の対象となる処理装置1と、切替回
路2と、診断制御部5と、診断制御部5内に設け
られた記憶回路6と、アドレスレジスタ7と、加
算回路8が図示されている。
FIG. 4 is a block diagram showing an embodiment of the present invention, showing a processing device 1 to be tested and diagnosed, a switching circuit 2, a diagnostic control unit 5, and a storage circuit provided in the diagnostic control unit 5. 6, an address register 7, and an adder circuit 8 are shown.

処理装置1と、切替回路2は、第2図の処理装
置1および切替回路2と同様の構成である。
The processing device 1 and the switching circuit 2 have the same configuration as the processing device 1 and the switching circuit 2 shown in FIG.

記憶回路6は、lワード×1ビツトの容量を持
ち、そのワードアドレスはアドレスレジスタ7に
より指定される。記憶回路6への書込データはス
キヤンアウト信号Soutあるいは設定データdの
いずれかが供給され、また、その読出データはス
キヤンイン信号として処理装置1に供給される。
The memory circuit 6 has a capacity of 1 word×1 bit, and its word address is designated by the address register 7. The write data to the memory circuit 6 is supplied with either the scan-out signal Sout or the setting data d, and the read data is supplied to the processing device 1 as a scan-in signal.

加算回路8は、クロツク信号C1〜CMが供給さ
れるごとにアドレスレジスタ7の内容に1だけ加
算し、その出力はアドレスレジスタ7に設定され
る。
Adder circuit 8 adds 1 to the contents of address register 7 each time clock signals C 1 -C M are supplied, and its output is set in address register 7 .

アドレスレジスタ7は記憶回路6のアドレスを
保持し、加算回路8の出力、あるいは定数のいず
れかが設定される。
The address register 7 holds the address of the memory circuit 6, and either the output of the adder circuit 8 or a constant is set therein.

第4図に示す構成のもとでフリツプフロツプ群
FFMの内容の表示およびデータ設定の動作を以
下に説明する。
Under the configuration shown in Figure 4, the flip-flop group
The operation of displaying the contents of FFM and setting data will be explained below.

診断モードの際、選択されたフリツプフロツプ
FFMへはクロツク信号CMによりクロツクが順次
供給され、フリツプフロツプ群FFMは供給され
たクロツク数だけシフト動作を行ない、スキヤン
アウト信号SoutMにはフリツプフロツプFM0
FFMk-1の内容が時系列となつて現われる。スキ
ヤンアウト信号SoutMは切替回路2により選択さ
れ、スキヤンアウト信号Soutにより記憶回路6
に供給される。
When in diagnostic mode, the selected flip-flop
Clocks are sequentially supplied to the FFM by the clock signal CM , and the flip-flop group FFM performs a shift operation by the number of supplied clocks, and the scan-out signal Sout M is supplied with flip-flops FM 0 to FM.
The contents of FFM k-1 appear in chronological order. The scan-out signal Sout M is selected by the switching circuit 2, and the scan-out signal Sout M is selected by the storage circuit 6.
is supplied to

ここで前記スキヤンアウト信号Soutは、記憶
回路6のアドレス0以降に書き込まれるものと
し、アドレスレジスタ7には先ず定数0が設定さ
れる。スキヤンアウト信号Soutは記憶回路6に
書き込まれると、アドレスレジスタ7の内容はク
ロツク信号CMの供給により加算回路8により1
だけ加算され、また、フリツプフロツプ群FFM
の内容は1ビツトだけ右にシフトされる。上記動
作をk回繰り返すことによりフリツプフロツプ
FFM0〜FFMk-1の内容は記憶回路6のアドレス
O〜k-1に設定される。上記動作より失われたフ
リツプフロツプ群FFMの内容を元の状態に戻す
場合アドレスレジスタ7には先ず定数0が設定さ
れる。アドレスレジスタ7で指定された記憶回路
6のアドレス0の内容はスキヤンイン信号12に
より処理装置1へ供給される。クロツク信号CM
に1クロツク供給することにより記憶回路6のア
ドレス0の内容はフリツプフロツプFFMk-1に設
定されると共に、フリツプフロツプ群FFMの内
容は1ビツトだけ右にシフトされる。この後アド
レスレジスタ7の内容は1だけ加算される。上記
動作をk回繰り返すことにより記憶回路6のアド
レス0〜k-1の内容がフリツプフロツプFFM0
FFMk-1に設定される。
Here, it is assumed that the scan-out signal Sout is written in the memory circuit 6 after address 0, and a constant 0 is first set in the address register 7. When the scan-out signal Sout is written to the memory circuit 6, the contents of the address register 7 are changed to 1 by the adder circuit 8 by supplying the clock signal C M.
is added, and also the flip-flop group FFM
The contents of are shifted one bit to the right. By repeating the above operation k times, flip-flop
The contents of FFM 0 to FFM k-1 are set to addresses O to k -1 of the memory circuit 6. When restoring the contents of the flip-flop group FFM lost due to the above operation to their original state, a constant 0 is first set in the address register 7. The contents of address 0 of the storage circuit 6 specified by the address register 7 are supplied to the processing device 1 by a scan-in signal 12. Clock signal C M
By supplying one clock to the memory circuit 6, the contents of address 0 of the memory circuit 6 are set to the flip-flop FFM k-1 , and the contents of the flip-flop group FFM are shifted to the right by one bit. After this, the contents of address register 7 are incremented by 1. By repeating the above operation k times, the contents of addresses 0 to k -1 of the memory circuit 6 are changed to the flip-flop FFM 0 to
Set to FFM k-1 .

フリツプフロツプ群FFMの任意のビツトを変
更する場合、フリツプフロツプ群FFMの内容は
前記動作により一旦記憶回路6に設定され、記憶
回路6とアドレスレジスタ7の制御により、フリ
ツプフロツプ群FFMに設定すべきデータが記憶
回路6に準備される。変更の内容は記憶回路6の
1つの入力である設定データdとして供給され、
記憶回路6の入力として該設定データdを選択し
アドレスレジスタ7に対応するアドレスを初期設
定後、記憶回路6に書き込まれ、アドレスレジス
タの内容は1だけ加算される。上記動作は必要回
数繰り返される。
When changing any bit of the flip-flop group FFM, the contents of the flip-flop group FFM are temporarily set in the memory circuit 6 by the above operation, and the data to be set in the flip-flop group FFM is stored under the control of the memory circuit 6 and address register 7. The circuit 6 is prepared. The content of the change is supplied as setting data d, which is one input of the memory circuit 6,
After selecting the setting data d as an input to the memory circuit 6 and initializing the address corresponding to the address register 7, it is written into the memory circuit 6, and the contents of the address register are incremented by 1. The above operation is repeated as many times as necessary.

第5図aは前記動作により記憶回路6に設定さ
れたフリツプフロツプ群FFMの状態を示す。こ
のうち、フリツプフロツプFFM0〜FFMa-1のa
ビツトを変更する場合、アドレスレジスタ7には
定数0が初期設定された後、前記書込動作がa回
繰り返される。このときの状態を第5図bに示
す。このようにして表示の場合には2k回、デー
タ設定の場合には2k+a回記憶回路6とアドレ
スレジスタ7を制御することで済むことになる。
FIG. 5a shows the state of the flip-flop group FFM set in the memory circuit 6 by the above operation. Among these, a of flip-flop FFM 0 to FFM a-1
When changing bits, the address register 7 is initialized to a constant 0, and then the write operation is repeated a number of times. The state at this time is shown in FIG. 5b. In this way, it is sufficient to control the storage circuit 6 and address register 7 2k times for display and 2k+a times for data setting.

すなわち、本発明の情報処理装置は、表示の場
合はi−k回、データ設定の場合は2i−k−a回
(ik,a)の余分のシフトを行なうことを要
しない。
That is, the information processing apparatus of the present invention does not require extra shifts i-k times for display and 2i-k-a times (ik, a) for data setting.

本発明の情報処理装置は、シフトバツフアの代
りに、記憶回路を用いることにより、フリツプフ
ロツプの使用を回避でき、かつ、情報を表示なら
びに設定するときに余分なシフトを行なわないで
すむため、金物量の削減ができるとともに、診断
時に処理装置に対する情報の読出書込時間が短縮
できて処理時間が短縮できるという効果がある。
By using a memory circuit instead of a shift buffer, the information processing device of the present invention can avoid the use of flip-flops and eliminate the need for extra shifts when displaying and setting information. This has the effect of reducing the amount of time required for reading and writing information to the processing device during diagnosis, thereby reducing the processing time.

すなわち、本発明の情報処理装置は、シフトバ
ツフアの代りに記憶回路とアドレスレジスタによ
り構成することにより以下の効果がある。
That is, the information processing apparatus of the present invention has the following effects by being configured with a memory circuit and an address register instead of a shift buffer.

(1) 最近の集積回路技術の進歩により大容量の記
憶回路が入手可能となり、フリツプフロツプで
構成するよりも金物量が削減できる。
(1) Recent advances in integrated circuit technology have made it possible to obtain large-capacity memory circuits, which require less metal than flip-flops.

(2) 無駄な制御が減少し、従つて処理時間が減少
する。
(2) Wasteful control is reduced, and therefore processing time is reduced.

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

第1図は、本発明ならびに従来の処理装置を説
明するためのブロツク図、第2図は情報処理装置
の一例を示すブロツク図、第3図は第2図に示す
シフトバツフアのデータ格納状態を示す図、第4
図は本発明の情報処理装置の一実施例を示すブロ
ツク図、第5図は第4図に示す記憶回路のデータ
格納状態を示す図である。 1…処理装置、2…切替回路、3,5…診断制
御部、4…シフトバツフア、6…記憶回路、7…
アドレスレジスタ、8…加算回路、FF0
FFo-1、FF10〜FFMk-1…フリツプフロツプ、
FF1〜FFM…フリツプフロツプ群、SM…モード
入力端子、CLK…クロツク入力端子、SIN…情報
入力端子、OUT…情報出力端子、M…診断モー
ド信号、C,C1〜CM…クロツク信号、Sin…ス
キヤンイン信号、Sout,Sout1〜SoutM…スキヤン
アウト信号、b…定数信号、d…設定データ、f
MO〜fMK-1…格納データ。
FIG. 1 is a block diagram for explaining the present invention and a conventional processing device, FIG. 2 is a block diagram showing an example of an information processing device, and FIG. 3 shows a data storage state of the shift buffer shown in FIG. 2. Figure, 4th
The figure is a block diagram showing one embodiment of the information processing apparatus of the present invention, and FIG. 5 is a diagram showing the data storage state of the memory circuit shown in FIG. 4. DESCRIPTION OF SYMBOLS 1... Processing device, 2... Switching circuit, 3, 5... Diagnostic control part, 4... Shift buffer, 6... Memory circuit, 7...
Address register, 8...addition circuit, FF 0 ~
FF o-1 , FF1 0 ~ FFM k-1 ...Flip-flop,
FF 1 to FF M ...Flip-flop group, SM...Mode input terminal, CLK...Clock input terminal, SIN...Information input terminal, OUT...Information output terminal, M...Diagnostic mode signal, C, C1 to C M ...Clock signal, Sin...Scan-in signal, Sout, Sout 1 ~ Sout M ...Scan-out signal, b...Constant signal, d...Setting data, f
MO ~ f MK-1 ...Stored data.

Claims (1)

【特許請求の範囲】[Claims] 1 診断モード信号の供給時に直列接続されてク
ロツク信号の供給ごとにスキヤンイン信号が入力
されシフトされスキヤンアウト信号が出力される
シフトレジスタとなる複数の記憶素子を含む処理
装置と、前記クロツク信号が供給されるごとに更
新されたアドレス情報を出力するアドレスレジス
タと、前記アドレス情報が供給されるごとに前記
スキヤンアウト信号および設定データが書き込ま
れ前記スキヤンイン信号として読み出す記憶回路
とを含むことを特徴とする情報処理装置。
1. A processing device including a plurality of storage elements that are connected in series when a diagnostic mode signal is supplied and serve as a shift register to which a scan-in signal is input and shifted each time a clock signal is supplied and a scan-out signal is output, and the clock signal is supplied. an address register that outputs updated address information each time the address information is supplied; and a storage circuit that writes the scan-out signal and setting data and reads it out as the scan-in signal each time the address information is supplied. Information processing device.
JP8247980A 1980-06-18 1980-06-18 Information processor Granted JPS578856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8247980A JPS578856A (en) 1980-06-18 1980-06-18 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8247980A JPS578856A (en) 1980-06-18 1980-06-18 Information processor

Publications (2)

Publication Number Publication Date
JPS578856A JPS578856A (en) 1982-01-18
JPS6113611B2 true JPS6113611B2 (en) 1986-04-14

Family

ID=13775642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8247980A Granted JPS578856A (en) 1980-06-18 1980-06-18 Information processor

Country Status (1)

Country Link
JP (1) JPS578856A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59174954A (en) * 1983-03-25 1984-10-03 Fujitsu Ltd Scanning system

Also Published As

Publication number Publication date
JPS578856A (en) 1982-01-18

Similar Documents

Publication Publication Date Title
EP0388001B1 (en) Testing method and apparatus for an integrated circuit
EP0053665A1 (en) Testing embedded arrays in large scale integrated circuits
US4300234A (en) Address pattern generator for testing a memory
JPS61223675A (en) Digital integrated circuit
US4586181A (en) Test pattern generating apparatus
US4326290A (en) Means and methods for monitoring the storage states of a memory and other storage devices in a digital data processor
EP0048810A2 (en) Recirculating loop memory array with a shift register buffer
JPH04301290A (en) Pushup memory circuit
JPH04215316A (en) Sequential finite state machine circuit and integrated circuit having such circuit
JPS6364413A (en) Sequential approximation registor
WO1981001208A1 (en) Data processor having common monitoring and memory loading and checking means
JPS6113611B2 (en)
JP2820462B2 (en) Data string generator
KR19980071839A (en) Error data storage system
JPH05134007A (en) Semiconductor integrated logic circuit
JP2518039B2 (en) Control memory load method for data processor
JPS6144342B2 (en)
JP3254781B2 (en) Semiconductor device
JP2738112B2 (en) Failure information collection method for information processing equipment
EP0173257B1 (en) Integrated circuit device
JP3057728B2 (en) Semiconductor storage device
JP2751382B2 (en) Shift path control system
JPS59110097A (en) Scanning path controller
JP2848619B2 (en) Test facilitation circuit
JPS6135373A (en) Digital logical circuit