JPS6020765B2 - logical device - Google Patents

logical device

Info

Publication number
JPS6020765B2
JPS6020765B2 JP52096658A JP9665877A JPS6020765B2 JP S6020765 B2 JPS6020765 B2 JP S6020765B2 JP 52096658 A JP52096658 A JP 52096658A JP 9665877 A JP9665877 A JP 9665877A JP S6020765 B2 JPS6020765 B2 JP S6020765B2
Authority
JP
Japan
Prior art keywords
flip
diagnostic
data
logic
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.)
Expired
Application number
JP52096658A
Other languages
Japanese (ja)
Other versions
JPS5430750A (en
Inventor
久夫 笹淵
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 JP52096658A priority Critical patent/JPS6020765B2/en
Publication of JPS5430750A publication Critical patent/JPS5430750A/en
Publication of JPS6020765B2 publication Critical patent/JPS6020765B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は、診断機能を有する論理装置に関する。[Detailed description of the invention] TECHNICAL FIELD The present invention relates to a logic device with diagnostic functionality.

最近、特に大規模な論理装置の診断方式として診断に融
通性を持たせる為、診断制御処理装置(以下診断装置と
呼ぶ)を用いる方式が一般に探られている。
Recently, methods using a diagnostic control processing device (hereinafter referred to as a diagnostic device) have been generally explored as a diagnostic method for particularly large-scale logical devices in order to provide flexibility in diagnosis.

論理装置の診断機能については従来から種々の方法が提
案されているが、要は診断時いかにして論理装置内の記
憶素子にアクセスするかが問題である。
Various methods have been proposed for the diagnosis function of logic devices, but the key issue is how to access the memory elements in the logic device during diagnosis.

特開昭48一74145によれば、フリップフロップの
データ設定・観測用としてシフトパスを設け診断時に並
列データを同時に設定するフリップフロップ群をシフト
レジスタとして動作させることにより、比較的少量の金
物追加で前記フリップフロップのデータ設定・観測が可
能になる。以下に持開昭48−74145について更に
詳しく説明する。第1図はその一つの例のブロック図で
ある。
According to Japanese Patent Application Laid-Open No. 48-74145, a shift path is provided for data setting and observation of flip-flops, and a group of flip-flops that simultaneously set parallel data during diagnosis is operated as a shift register. It becomes possible to set and observe flip-flop data. Below, the 1974-74145 will be explained in more detail. FIG. 1 is a block diagram of one example.

図に於て論理装置1は診断装置2より診断用接続線4を
介し診断制御部11を介して論理装置が診断される。論
理装置2の記憶装置3には診断プログラム、診断データ
が格納される。論理装置1の通常状態における命令を実
行する部分には、論理パッケージ12,・・・・・・,
27より構成されこの論理パッケージには論理素子であ
るにが何個か搭載される。
In the figure, a logic device 1 is diagnosed by a diagnostic device 2 via a diagnostic connection line 4 and a diagnostic control unit 11. The storage device 3 of the logical device 2 stores diagnostic programs and diagnostic data. The portion of the logic device 1 that executes instructions in the normal state includes logic packages 12, . . .
27, and several logic elements are mounted on this logic package.

論理パッケージ17にはプログラムによって可視状態と
なる演算レジスタ32およびその謙出データを保持する
レジスタ33が搭載され信号線37により演算回路(図
には示してない)に演算データを供給している。論理パ
ッケージ13には演算結果である信号線36のデータを
受け演算レジスタ32への書込データとして保持するレ
ジスタ31、いくつかある演算レジスタの1個を指定す
るレジスタ30が搭載される。レジスタ30には信号線
34により命令コード中のレジスタ番号フィールドが設
定される。第2図に特関昭48−74145を適用した
論理装置の診断制御部およびそのインタフェース部分を
示す。論理パッケージ相互の接続はバックボードと呼ば
れる多層プリント板とバックボード間を婆続するケーブ
ルにより行われる。
The logic package 17 is equipped with an arithmetic register 32 that becomes visible according to a program and a register 33 that holds the extracted data, and supplies the arithmetic data to an arithmetic circuit (not shown) through a signal line 37. The logic package 13 is equipped with a register 31 that receives data on a signal line 36 that is a calculation result and holds it as write data to the calculation register 32, and a register 30 that specifies one of several calculation registers. A register number field in the instruction code is set in the register 30 via a signal line 34. FIG. 2 shows the diagnostic control section and its interface portion of a logic device to which Tokukan Sho 48-74145 is applied. Logic packages are interconnected by a cable that connects a multilayer printed board called a backboard and the backboard.

第2図の太線で囲まれた部分の1つで1つのバックボー
ドを示し、その中の斜線を引いた部分12で1つのパッ
ケージを示す。バックボード内のパッケージ位置をカラ
ム位置と呼ぶと、パッケージ実装位置情報はバックボー
ド位置とカラム位置で表示できる。診断制御部11にあ
るレジスタ111は各パッケージのフリップフoップへ
の設定・観測データを格納する診断用シフトレジスタで
あり、診断用接続線4を介して診断装置からの観測デー
タの書込みや設定データの議出しが行なわれる。データ
設定・観測を行うパッケージの指定はしジス夕112に
診断用接続線4を介して診断袋瞳からバックボード位置
、カラム位置をセットする事により行う。
One of the areas surrounded by thick lines in FIG. 2 indicates one backboard, and the shaded area 12 therein indicates one package. If the package position within the backboard is called a column position, package mounting position information can be displayed using the backboard position and column position. A register 111 in the diagnostic control unit 11 is a diagnostic shift register that stores setting/observation data for the flip-flops of each package, and is used to write and set observation data from the diagnostic device via the diagnostic connection line 4. Data is proposed. The package for data setting and observation is specified by setting the backboard position and column position from the diagnostic bag pupil to the resistor 112 via the diagnostic connection line 4.

復号回路113によりバックボ−ド位置指定が復号化さ
れ信号線121,・・・・・・,124に出力される。
カラム位置指定は復号回路114により後号化され信号
線125,・・・・・・,128に出力される。信号線
117はその値を‘11にすることにより、復号回路1
13,114の機能を抑止し信号線121,・…・・,
128を同時に‘1’にし全パッケージを選択し、同時
に全パッケージのデータ設定を可能とする。第3図は特
関昭48‐74145を適用した論理パッケージ13,
17の構成である。
The backboard position designation is decoded by the decoding circuit 113 and output to signal lines 121, . . . , 124.
The column position designation is postcoded by the decoding circuit 114 and output to signal lines 125, . . . , 128. By setting the value of the signal line 117 to '11, the decoding circuit 1
13, 114 are suppressed and the signal lines 121,...
128 is set to ``1'' at the same time to select all packages and enable data settings for all packages at the same time. Figure 3 shows logic package 13 applying Tokukan Sho 48-74145.
It has 17 configurations.

フリップフロツプ301,302,303はしジスタ3
0を構成し、フリツプフロツプ311,……,314は
しジスタ31、フリツプフロツプ331,……,334
はしジスタ33を構成する。フリップフロップ300は
命令コードの種類あるいは場合に応じてその値が設定さ
れる。
Flip-flops 301, 302, 303 and register 3
0, flip-flops 311,...,314, resistor 31, flip-flops 331,...,334
A cross register 33 is configured. The value of the flip-flop 300 is set depending on the type of instruction code or the case.

‘01の場合は演算レジスタの読出を指示し‘1’の場
合は演算レジスタへの書込を指定する。演算レジスタ3
2はスクラッチパッドメモIJ素子で構成される。
If it is '01', it instructs to read the arithmetic register, and if it is '1', it instructs to write to the arithmetic register. Arithmetic register 3
2 is composed of a scratch pad memo IJ element.

パッケージ13に搭載されたフリツプフロツプ300,
……,303,311,.・・・・・,314はクロッ
ク信号線132により、信号線34,35,36を入力
とする通常時の論理動作を行う。診断用クロツク信号1
33は入力端子134,135が共に‘1’の時に有効
でフリツプフロツプ300,……,303,311,…
・・・,314をシフトレジスタとして動作させる。シ
フトレジスタとして動作する時すなわち診断用データの
入力は入力端子131、出力は出力端子36を介してな
される。パッケージ17のフリツプフロツブについても
同機であり、信号172が通常クロック、信号173が
診断用クoツク、信号174,175がパッケージ選択
信号、シフトレジスタとしての入力すなわち診断用デー
タの入力は端子171を介し、シフトレジスタとしての
診断用データの出力は端子176を介して行なわれる。
Flip-flop 300 mounted on package 13,
...,303,311,. . . . , 314 performs normal logic operation using the clock signal line 132 with the signal lines 34, 35, and 36 as inputs. Diagnostic clock signal 1
33 is valid when both input terminals 134 and 135 are '1', and the flip-flops 300, . . . , 303, 311, .
. . , 314 are operated as shift registers. When operating as a shift register, diagnostic data is input through the input terminal 131 and output is through the output terminal 36. The flip-flop of package 17 is also of the same type; signal 172 is a normal clock, signal 173 is a diagnostic clock, signals 174 and 175 are package selection signals, and input as a shift register, that is, input of diagnostic data, is through terminal 171. , output of diagnostic data as a shift register is performed via a terminal 176.

第3図の端子131,171は第2図の信号線115と
接続し、端子136,176は信号線116と、端子1
34は信号線124と、端子135は信号線126と、
端子174は信号線123と端子175は信号線126
と接続する。
Terminals 131 and 171 in FIG. 3 are connected to signal line 115 in FIG. 2, and terminals 136 and 176 are connected to signal line 116 and terminal 1
34 is the signal line 124, the terminal 135 is the signal line 126,
The terminal 174 is the signal line 123 and the terminal 175 is the signal line 126.
Connect with.

今パッケージ13のフリツプフロッブのデータ設定・観
測を行う場合診断装置2か診断用接続線4を通じて、パ
ッケージ実装情報をレジスタ112にセットすると復号
回路113,114によりパッケージ13を選択する信
号124,126が‘1’となりANDゲート137,
138が開かれ、クロツク信号133の指示により端子
131を入力、端子136を出力とするシフトレジスタ
が有効となる。
When setting and observing data on the flip-flop of package 13, if package mounting information is set in register 112 through diagnostic device 2 or diagnostic connection line 4, signals 124 and 126 for selecting package 13 are output by decoding circuits 113 and 114. 1' becomes AND gate 137,
138 is opened, and a shift register having terminal 131 as an input and terminal 136 as an output becomes effective according to instructions from the clock signal 133.

今パッケージ13のフリツプフロップの数が8なのでク
ロック信号線133を8ステップ進めると出力端子13
6からフリップフロツプ300,……,303,311
,……,314の値が314,……,311,303,
……300の順で取り出される。また逆に端子131か
らの値がフリツブフロップ314,…….311,30
3,・・・・・・.300の順に設定される。端子13
3のクロック信号に同期させて診断用シフトレジスタ1
11を信号116を入力、信号115を出力とするシフ
トレジスタとして動作させることによりフリツプフロツ
プ300,……,303,311,・・・・・・,31
4の値をレジスタ111に謙出すことができる。また逆
にレジスタ111の値をフリップフロップに設定できる
。診断用接続線4を通して診断装置の記憶装置3にレジ
スター11の値を謙出することによりデータ観測が行な
われ、レジスタ111の値を設定することでデータ設定
が行なわれる。しかし、シフトレジスタに構成できない
例えば高密度集積回路のため各記憶素子相互を接続する
シフトデータパスを設けるのが困難なスクラツチパツド
メモIJ素子のような記憶素子のデータ設定・観測は上
記方法では不可能な事は云うまでもない。
Since the number of flip-flops in the package 13 is now 8, if the clock signal line 133 is advanced by 8 steps, the output terminal 13
6 to flip-flop 300,...,303,311
,...,314 has a value of 314,...,311,303,
...They are taken out in the order of 300. Conversely, the value from the terminal 131 is the flip-flop 314,... 311,30
3.・・・・・・. They are set in the order of 300. terminal 13
The diagnostic shift register 1 is synchronized with the clock signal of 3.
By operating 11 as a shift register with signal 116 as input and signal 115 as output, flip-flops 300, . . . , 303, 311, . . . , 31
A value of 4 can be stored in register 111. Conversely, the value of the register 111 can be set in a flip-flop. Data observation is performed by outputting the value of the register 11 to the storage device 3 of the diagnostic device through the diagnostic connection line 4, and data setting is performed by setting the value of the register 111. However, the above method can be used to set and observe data for memory elements such as scratchpad memory IJ elements, which cannot be configured into shift registers, for example, where it is difficult to provide a shift data path connecting each memory element because of a high-density integrated circuit. Needless to say, this is impossible.

この場合通常クロックを1ステップ使用して動作結果を
収集する必要がある。
In this case, it is necessary to collect the operation results using one step of the normal clock.

以下第3図のスクラツチパツドメモリ32のデータ設定
・観測を例に説明する。
The following will explain data setting and observation of the scratchpad memory 32 shown in FIG. 3 as an example.

スクラッチバッドメモIJ素子を観測する場合フリップ
フロップ300には議出しを指定する ・0’をフリツ
プフロツプ301,302,303には論出しを行うア
ドレスを前記フリツプフロツプのデータ設定方法により
設定するとスクラッチパッドメモIJ素子の内容が読出
されるが観測可能なフリツプフロップには謙出されてい
ない。
When observing the scratch pad memo IJ element, specify 0' to the flip-flop 300 and set the address to issue to the flip-flops 301, 302, and 303 using the flip-flop data setting method. The contents of the device are read out but not exposed to the observable flip-flop.

パッケージ17の通常クロック信号172を1ステップ
与えるとスクラツチパッドメモIJ素子の出力がフリツ
プフロッブ331,……,334に謙出されるので前記
フリツプフロツプ観測方法によりパッケージ17のフリ
ップフロツプを観測する事でスクラッチパッドメモIJ
素子の観測が行える。スクラッチパッドメモIJ素子の
データ設定の場合はフリップフロップ30川こは書込み
を指定する11’を、フリツプフロツブ301,302
,303には書込みを行うスクラッチパツドメモリ素子
のアドレスを、フリツプフロップ311,・・・・・・
,314には書込みデータを前記フリップフロップのデ
ータ設定方法により設定し、パッケージ17の通常クロ
ツク信号172を1ステップ与えると書込みが行なわれ
る。しかし、スクラッチパッドメモIJの読出し又は書
込みのため通常クロツクを与えると装置全体の状態が変
化してしまう。
When the normal clock signal 172 of the package 17 is applied for one step, the output of the scratch pad memo IJ element is output to the flip-flops 331, . I.J.
Devices can be observed. In the case of data setting of the scratch pad memo IJ element, flip-flop 30 is connected to 11' which specifies writing, and flip-flop 301, 302 is set.
, 303 contain the address of the scratchpad memory element to be written, and the flip-flops 311, . . .
, 314, write data is set by the flip-flop data setting method described above, and writing is performed when the normal clock signal 172 of the package 17 is applied for one step. However, when a normal clock is applied to read or write the scratchpad memo IJ, the state of the entire device changes.

装置の状態をスクラツチパッドメモIJ素子をアクセス
する前の状態に保持させるためには一旦総ての論理パッ
ケージのフリップフロッブの値をデータ観測方法により
診断装置のメモリ3に退避して、更に他のスクラッチパ
ッドメモIJ素子への書込みが行なわれない様に、デー
タ設定方法によりフリツプフロップ300以外の書込指
定フリップフロップを読出し‘こ設定した後、前記操作
によりスクラツチパッドメモIJ素子ヘアクセスし、そ
の後診断装置のメモリ3より総ての論理パッケージのフ
リップフロップの値をデータ設定方法により回復すれば
よい。
In order to maintain the state of the device in the state before accessing the scratch pad memory IJ element, the values of the flip-flops of all logic packages are temporarily saved in the memory 3 of the diagnostic device using the data observation method, and then After reading and setting write designation flip-flops other than flip-flop 300 using the data setting method so that writing to the scratch pad memo IJ element is not performed, the scratch pad memo IJ element is accessed by the above operation, Thereafter, the values of the flip-flops of all the logic packages can be recovered from the memory 3 of the diagnostic device using the data setting method.

しかし、退避・回復を行なわなければならないデータ量
が非常に多いため、診断装置のメモリ3は大容量でなけ
ればならず、また退避・回復に長時間の実行時間を必要
とする欠点がある。
However, since the amount of data that must be saved and restored is extremely large, the memory 3 of the diagnostic device must have a large capacity, and there is a drawback that saving and restoring requires a long execution time.

本発明の目的は、診断装置で保有しなければならない記
憶装置の容量を減少化させ、被試験パッケージと診断装
置との間の転送時間を短縮して診断を効率よく行なう装
贋を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a device for efficiently performing diagnosis by reducing the capacity of a storage device that a diagnostic device must have and by shortening the transfer time between a package under test and the diagnostic device. It is in.

本発明はクロックが供給されたときにのみ動作する論理
回路と、この論理回路のうち少なくとも診断を行なう論
理回路には診断データを供給する診断データ供孫貸手段
と、前記診断を行なう論理回路を指示する指示手段と、
前記指示手段で指示された論理回路にのみ前記診断デー
タを処理するためのクロックを供給するクロツク供給手
段とを含むことを特徴とする論理菱贋を構成する。
The present invention includes a logic circuit that operates only when a clock is supplied, a diagnostic data provider that supplies diagnostic data to at least the logic circuit that performs diagnosis among the logic circuits, and a logic circuit that performs the diagnosis. an instruction means for instructing;
and clock supply means for supplying a clock for processing the diagnostic data only to the logic circuits instructed by the instruction means.

次に本発明の一実施例について図面を使って説明する。Next, one embodiment of the present invention will be described using the drawings.

本発明の一実施例である論理装置は診断装置により診断
される構成であり、第1図に示す。その動作は前に説明
したのと同様である。第2図は診断制御部のブロック図
および被診断部分との接続状態を示すもので、その動作
は前述の説明とほぼ同じであるが、信号線117はその
値を論理値‘01にすることにより同時に全論理パッケ
ージのデータ設定を行う外、診断時その値を‘1’にす
る事により全論理パッケージのうちの特定のパッケージ
を選択し、選択された論理パッケージ動作を行わせる。
A logic device according to an embodiment of the present invention is configured to be diagnosed by a diagnostic device, and is shown in FIG. Its operation is similar to that described previously. FIG. 2 shows a block diagram of the diagnostic control unit and the connection state with the part to be diagnosed. Its operation is almost the same as the above explanation, but the signal line 117 has a logic value of '01. In addition to setting data for all logic packages at the same time, at the time of diagnosis, by setting the value to '1', a specific package from all the logic packages is selected and the selected logic package is caused to operate.

第4図は本発明を適用した論理パッケージの一実施例で
あり、論理パッケージ28,29は第1図に於る論理パ
ッケージ13,17に対するものである。
FIG. 4 shows an embodiment of a logic package to which the present invention is applied, and logic packages 28 and 29 correspond to logic packages 13 and 17 in FIG.

フリツプフロツプ801,802,803はしジスタ3
0を、フリツプフロツプ811,……,814はしジス
タ31を、フリツプフロツプ831,・・・・・・,8
34はしジスタ33を構成する。フリツプフロツプ80
0は命令コードの種類あるいは場合に応じてその値が設
定される。‘0’の場合はスクラッチパッドメモIJ素
子で構成される演算レジスタ32の議出しを指定し、‘
11の場合は演算レジスタ32への書込みを指示する。
‐フリツプフロツプ800
,……,803,811,・・・…,814は選択信号
線284,285が共に‘1’のとき通常クロツクが信
号線282を介しての供給により信号線34,35,3
6をデータ入力線として通常時の論理動作を行う。
Flip-flops 801, 802, 803 and register 3
0, flip-flops 811,...,814, register 31, flip-flops 831,...,8
34 constitutes a resistor 33. flipflop 80
The value of 0 is set depending on the type of instruction code or the case. If it is '0', it specifies that the arithmetic register 32 consisting of the scratchpad memo IJ element be set;
In the case of 11, writing to the calculation register 32 is instructed.
-Flip Flop 800
, . . . , 803, 811, .
6 is used as a data input line to perform normal logic operations.

診断時は選択信号線284,285が共に‘1’のとき
診断クロックが端子283を介しての供v絵により入力
を端子281を介し、出力を端子286を介してシフト
レジスタとして動作する。パッケージ29のフリツプフ
At the time of diagnosis, when the selection signal lines 284 and 285 are both ``1'', the diagnostic clock operates as a shift register by inputting through the terminal 283, inputting through the terminal 281, and outputting through the terminal 286. Package 29 flippuff.

ツプについても同様であり、端子292を介して通常ク
ロックが端子293を介して診断用クロツクが、信号線
294,295を介してパッケージ選択信号が供給され
、端子291が診断時シフトレジスタの入力とし、端子
296が診断時シフトレジスタの出力として有効となる
。第4図の端子281,291は第2図の信号線115
と接続されて診断用データを入力し端子286,296
は信号線116と接続されて診断用データが出力され、
端子284は信号線124と、端子285は信号線12
6と、端子294は信号線123と、端子295は信号
線126と接続される。パッケージ28,29のフリッ
プフロップのデータ設定・観測手順は前に述べた第3図
のパッケージ13のフリッブフロップのデータ設定・観
測の手順と同一である。スクラッチパッドメモ1」すな
わち演算レジスタ32のデータ観測する場合、フリツプ
フロツプ80川こは読出しを指定する‘0’を、フリッ
プフロツプ801,802,803には観測を行うメモ
リのアドレスを、前記フリップフロップのデータ設定方
法により設定する。診断装置2より診断用接続線4を通
じてレジスタ112に論理パッケージ29のパッケージ
実装情報をセットすると情報が復号化され選択された信
号線123,126を介して端子294,295が共に
11’になり、クロック信号292の通常クロックが有
効となる。通常クロックを信号線292から1ステップ
与えるとスクラツチパッドメモリである演算レジスタ3
2の出力がフリツプフロツプ831,…・・・,834
に読出されるので前記フリツプフロップのデータ観測方
法により、フリツプフロツプ831,・・・・・・,8
34の値を観測することでスクラッチパッドメモIJ素
子の観測が可能となる。スクラッチパッドメモIJ素子
観測の為データ設定を行つた部分はパッケージ28の書
込指定フリップフロツプ800、アドレスレジスタのフ
リツプフロップ801,802,803であり、通常ク
ロックを進めたことにより変化した部分はパッケージ2
9のフリツプフロツプである。これらパッケージ28,
29のフリツプフロツプの値を退避・回復するだけでス
クラッチパッドメモリ素子観測前の状態に保持できる。
The same is true for the terminals; the normal clock is supplied through the terminal 292, the diagnostic clock is supplied through the terminal 293, the package selection signal is supplied through the signal lines 294 and 295, and the terminal 291 is supplied as the input of the shift register during diagnosis. Then, the terminal 296 becomes valid as the output of the shift register during diagnosis. The terminals 281 and 291 in FIG. 4 are the signal lines 115 in FIG.
is connected to terminals 286 and 296 for inputting diagnostic data.
is connected to the signal line 116 to output diagnostic data,
The terminal 284 is connected to the signal line 124, and the terminal 285 is connected to the signal line 12.
6, the terminal 294 is connected to the signal line 123, and the terminal 295 is connected to the signal line 126. The data setting/observation procedure for the flip-flops in packages 28 and 29 is the same as the data setting/observation procedure for the flip-flop in package 13 in FIG. 3 described above. When observing the data in the scratchpad memo 1, that is, the arithmetic register 32, the flip-flop 80 is set to 0 to designate readout, the flip-flops 801, 802, and 803 are set to the address of the memory to be observed, and the data in the flip-flop is set to 0. Set according to the setting method. When the package mounting information of the logic package 29 is set in the register 112 from the diagnostic device 2 through the diagnostic connection line 4, the information is decoded and the terminals 294 and 295 are both set to 11' via the selected signal lines 123 and 126. The normal clock of clock signal 292 becomes valid. Normally, when one step of the clock is applied from the signal line 292, the arithmetic register 3, which is a scratch pad memory,
2 outputs are flip-flops 831,...,834
Therefore, according to the flip-flop data observation method, the flip-flops 831, . . . , 8
By observing the value of 34, it becomes possible to observe the scratch pad memo IJ element. The parts where data was set for the scratch pad memo IJ element observation are the write designation flip-flop 800 of the package 28 and the flip-flops 801, 802, and 803 of the address register, and the parts changed by advancing the normal clock are the parts of the package 28.
9 flip-flop. These packages 28,
By simply saving and restoring the values of the flip-flops No. 29, the state before the scratch pad memory element was observed can be maintained.

スクラッチパツドメモIJ素子32のデータ設定を行う
場合、データ設定を行うフリツブフロップは書込指定フ
リップフロップ800、アドレスレジスタ30のフリツ
プフロツプ801,802,803、書込みレジスタ3
1のフリップフロップ811,……,814である。ス
クラツチパツドメモ1′へ書込む為通常クロックを1テ
ツブ与えるパッケージは29であり、それによりパッケ
ージ29のフリップフロップ831,……,834が変
化する。スクラッチパッドメモIJ素子のデータ設定の
場合も、パッケージ28,29のフリツプフロツプの退
避・回復だけで、スクラッチパツドメモIJ素子のデー
タ設定前の状態に保持できる。以上説明した様に、クロ
ックステップをパッケージ単位で行う構成にする事によ
り退避・回復すべきフリツプフロツプは論理装置の極一
部分となり、従って診断装置で必要なメモリ量が激減す
る。また、診断装置と診断制御部で転送されるデータ量
が少ないので、退避・回復の時間を短縮する効果がある
。さらに他のスクラッチパッドメモリ素子の書込みを制
御するためのフリップフロツブへのデータ設定が不要な
ので診断データの作成が容易になる。以上で本発明をそ
の一つの実施例により具体的に説明したが、本発明はこ
の実施例に限定されることなく、次の様な場合にも適用
できる。
When setting data for the scratch pad memo IJ element 32, the flip-flops for setting the data are the write designation flip-flop 800, the flip-flops 801, 802, 803 of the address register 30, and the write register 3.
1 flip-flops 811, . . . , 814. The package 29 normally provides one clock pulse for writing to the scratchpad memo 1', thereby changing the flip-flops 831, . . . , 834 of the package 29. In the case of data setting of the scratch pad memo IJ element, the state before data setting of the scratch pad memo IJ element can be maintained simply by saving and restoring the flip-flops of the packages 28 and 29. As explained above, by configuring the clock step to be performed on a package-by-package basis, the flip-flops to be saved and restored become only a small portion of the logic device, and therefore the amount of memory required by the diagnostic device is drastically reduced. Furthermore, since the amount of data transferred between the diagnostic device and the diagnostic control unit is small, there is an effect of shortening the time for saving and restoring. Furthermore, since it is not necessary to set data to a flip-flop for controlling writing to other scratch pad memory elements, the creation of diagnostic data is facilitated. Although the present invention has been specifically explained above using one embodiment thereof, the present invention is not limited to this embodiment and can be applied to the following cases.

第1に、通常クロックを与える単位はパッケージと限ら
ず一般的にある分割期則に従った装置分割単位に拡張す
る。
First, the unit that provides the clock is not limited to the package, but is generally extended to the device division unit according to a certain division period rule.

第2に本機能は単にスクラツチパッドメモ1」素子の様
な診断用シフトパスのない素子のデータ設定・観測だけ
でなく、装置の一部を診断する時、装置の他の部分の状
態を変えずに診断する場合も適用できる。
Second, this function is not only used to set and observe data for devices that do not have a diagnostic shift path, such as the Scratchpad Memo 1 device, but also to change the state of other parts of the device when diagnosing a part of the device. It can also be applied when diagnosing without

第3に本実施例では診断用クロックと通常ク。Thirdly, in this embodiment, a diagnostic clock and a normal clock are used.

ックとの2つを用いたが特殊なフリップフロップを用い
れば診断用クロックの供総合をする必要がない。
However, if a special flip-flop is used, there is no need to share and integrate the diagnostic clock.

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

第1図は診断装置と被診断装置である論理装置の概略を
示した図である。 第2図は第1図で示した論理装置内の診断制御部と、被
診断装置との概略を示した図である。第3図は従来技術
の一例である論理装置内の被診断部となる論理回路を示
した図である。第4図は本発明の一実施例である論理装
置内の被診断部となる論理回路を示した図である。1・
・…・論理装置、2・・・・・・診断装置、3・・・・
・・診断装置内の記憶装置、4…・・・診断用接続線、
11・・・・・・診断制御部、12〜17・・・・・・
被診断用、30,31,33……レジスタ、32……演
算レジスタ、111・・・・・・診断用シフトレジスタ
、112・・・・・・アドレス用レジスタ、113,1
14・・・・・・復号回路、300,301,302,
303,312,313,314,331,332,3
33,334……フリツプフロツプ、137,138,
177,178・・・・・・ゲート、800,801,
802,803,811,812,813,814,8
31,832,833,834......フリツブフ
ロツプ、287,288,289,297,298,2
99”””ゲート。 努′図 第28 第3図 紫ィ図
FIG. 1 is a diagram schematically showing a diagnostic device and a logical device that is a device to be diagnosed. FIG. 2 is a diagram schematically showing the diagnostic control section in the logic device shown in FIG. 1 and the device to be diagnosed. FIG. 3 is a diagram showing a logic circuit that is a part to be diagnosed in a logic device, which is an example of the prior art. FIG. 4 is a diagram showing a logic circuit which is a part to be diagnosed in a logic device according to an embodiment of the present invention. 1・
...Logic device, 2...Diagnostic device, 3...
...Storage device in the diagnostic device, 4...Diagnostic connection line,
11...Diagnosis control unit, 12-17...
For diagnosis, 30, 31, 33...Register, 32...Arithmetic register, 111...Diagnostic shift register, 112...Address register, 113,1
14...Decoding circuit, 300, 301, 302,
303, 312, 313, 314, 331, 332, 3
33,334...flipflop, 137,138,
177,178...Gate, 800,801,
802, 803, 811, 812, 813, 814, 8
31,832,833,834. .. .. .. .. .. Flip flop, 287, 288, 289, 297, 298, 2
99""" Gate. Tsutomu Figure 28 Figure 3 Purple Figure

Claims (1)

【特許請求の範囲】[Claims] 1 クロツクが供給されたときにのみ動作する論理回路
と、この論理回路のうち少なくとも診断を行なう論理回
路には診断データを供給する診断データ供給手段と、前
記診断を行なう論理回路から診断データを読出す手段と
、前記診断を行なう論理回路へ与えられるクロツクの供
給を停止させている間前記診断を行なう論理回路に対す
る指示を有効とする指示手段と、前記指示手段で指示さ
れた論理回路にのみ前記診断データを処理するためのク
ロツクを供給する供給手段とを含むことを特徴とする論
理装置。
1 A logic circuit that operates only when a clock is supplied, a diagnostic data supply means that supplies diagnostic data to at least the logic circuit that performs diagnosis among the logic circuits, and a diagnostic data supply means that reads diagnostic data from the logic circuit that performs diagnosis. an instructing means for validating an instruction to the logic circuit to be diagnosed while the clock supply to the logic circuit to be diagnosed is stopped; supply means for supplying a clock for processing diagnostic data.
JP52096658A 1977-08-11 1977-08-11 logical device Expired JPS6020765B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52096658A JPS6020765B2 (en) 1977-08-11 1977-08-11 logical device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52096658A JPS6020765B2 (en) 1977-08-11 1977-08-11 logical device

Publications (2)

Publication Number Publication Date
JPS5430750A JPS5430750A (en) 1979-03-07
JPS6020765B2 true JPS6020765B2 (en) 1985-05-23

Family

ID=14170923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52096658A Expired JPS6020765B2 (en) 1977-08-11 1977-08-11 logical device

Country Status (1)

Country Link
JP (1) JPS6020765B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57127255A (en) * 1981-01-29 1982-08-07 Nec Corp Logical device

Also Published As

Publication number Publication date
JPS5430750A (en) 1979-03-07

Similar Documents

Publication Publication Date Title
US5280616A (en) Logic circuit for task processing
US6092219A (en) Method for use of bus parking states to communicate diagnostic information
JPS61204744A (en) Memory array built-in type logical lsi
KR950009691B1 (en) Test control circuit of data processing apparatus
JPS6125173B2 (en)
JPS6020765B2 (en) logical device
JPS6044702B2 (en) semiconductor equipment
US6112316A (en) System for use of bus parking states to communicate diagnostic information
Bayliss et al. The interface processor for the Intel VLSI 432 32-bit computer
JP2627751B2 (en) IC test system
JP2583056B2 (en) IC test system
JP2877505B2 (en) LSI mounting board and data processing device
JPS6144342B2 (en)
JP3204308B2 (en) Microcomputer and test method thereof
JP3063694B2 (en) State machine control circuit
JP2738112B2 (en) Failure information collection method for information processing equipment
JPH01263739A (en) Information processor
JPH05334116A (en) Debugging control system
SU1376121A2 (en) Device for recording and checking programmed read-only memory
JPS59225461A (en) Incorporated logic recorder
JPH0523449B2 (en)
JPH02103482A (en) Integrated circuit device
JPH06266799A (en) Data path display device
JPS6113611B2 (en)
JPS6210737A (en) Resetting circuit for fault diagnosing supporting device