JP2637276B2 - Tracer - Google Patents

Tracer

Info

Publication number
JP2637276B2
JP2637276B2 JP2264666A JP26466690A JP2637276B2 JP 2637276 B2 JP2637276 B2 JP 2637276B2 JP 2264666 A JP2264666 A JP 2264666A JP 26466690 A JP26466690 A JP 26466690A JP 2637276 B2 JP2637276 B2 JP 2637276B2
Authority
JP
Japan
Prior art keywords
trace data
input
scan
signal
circuit
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 - Lifetime
Application number
JP2264666A
Other languages
Japanese (ja)
Other versions
JPH04140848A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2264666A priority Critical patent/JP2637276B2/en
Publication of JPH04140848A publication Critical patent/JPH04140848A/en
Application granted granted Critical
Publication of JP2637276B2 publication Critical patent/JP2637276B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔目 次〕 概 要 産業上の利用分野 従来の技術(第3図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作 用 実施例(第2図) 発明の効果 〔概 要〕 トレースデータをスキャンループを介して読み出すト
レーサに関し、 時系列上のセットパルスに応答して取り込まれたトレ
ースデータを該セットパルスの次のセットパルスでスキ
ャンデータ保持回路にセットし、そのトレースデータ単
一のピンを経てスキャンアウトさせることを目的とし、 イネーブル信号出力回路からイネーブル信号を供給さ
れた状態において、トレースデータ入力に入力されて来
たトレースデータをセットパルス入力に印加された時系
列上に1つのセットパルスに応答してトレースデータ保
持回路にビット並列にセットしてそのトレースデータを
スキャンデータ保持回路に供給する。該スキャンデータ
保持回路は、そのセットパルス入力に印加される前記1
つのセットパルスの次のセットパルスに応答して供給さ
れているトレースデータを前記スキャンデータ保持回路
にビット並列にセットしてスキャンアウトするように構
成した。
Detailed Description of the Invention [Table of Contents] Overview Industrial application field Conventional technology (Fig. 3) Problems to be solved by the invention Means for solving the problem (Fig. 1) FIG. 2) Effects of the Invention [Summary] Regarding a tracer that reads trace data through a scan loop, scan data captured in response to a set pulse in a time series is scanned by a set pulse next to the set pulse. The trace data input to the trace data input is set when the enable signal is supplied from the enable signal output circuit with the purpose of setting the trace data in the holding circuit and scanning out the trace data via a single pin. In response to one set pulse on the time series applied to the pulse input, the trace data holding circuit is set in a bit parallel manner. Supplying the trace data to the scan data holding circuit. The scan data holding circuit is configured to apply the 1
Trace data supplied in response to a set pulse next to one set pulse is set in the scan data holding circuit in a bit-parallel manner, and scan-out is performed.

〔産業上の利用分野〕[Industrial applications]

本発明は、トレースデータをスキャンループを介して
読み出すトレーサに関する。
The present invention relates to a tracer that reads out trace data via a scan loop.

情報処理装置においては、その装置内のトレースレジ
スタにセットされたトレースデータを読み出してその利
用に供し得るように構成されるものがある。このような
装置構成を採用するのは、装置の信頼性を向上させたい
と言う観点からである。このような装置構成におけるト
レースレジスタは、LSI上に形成されているので、前記
トレースデータの読み出しに必要な出力ピン数は、他の
LSI装備機能に費やされるピン数との関係でLSI構成上に
おいて問題となって来る。
2. Description of the Related Art Some information processing apparatuses are configured to be able to read out trace data set in a trace register in the apparatus and use the read out trace data. Such a device configuration is adopted from the viewpoint of improving the reliability of the device. Since the trace register in such a device configuration is formed on the LSI, the number of output pins required for reading the trace data is different from that of the other devices.
It becomes a problem in the LSI configuration in relation to the number of pins used for the LSI equipped functions.

〔従来の技術〕[Conventional technology]

従来における前述のような要求を添う回路構成の例を
第3図に示す。この図において、トレースレジスタ32、
トレースレジスタ34、トレースレジスタ36は、セレクト
信号が供給されていることを条件として、データセット
クロックパルスがそこに印加されたとき、データバス30
を経て転送されて来るデータをセットするものである。
前記セレクト信号は、又マルチプレクサ38、マルチプレ
クサ40、マルチプレクサ42へも供給される。前記セレク
ト信号によって対応マルチプレクサから出力されるトレ
ースレジスタのデータビット(但し、説明の都合上3ビ
ットとする。)は、出力ピン60,62,64から出力される。
FIG. 3 shows an example of a conventional circuit configuration satisfying the above-mentioned requirements. In this figure, trace register 32,
The trace register 34 and the trace register 36 store the data bus 30 when the data set clock pulse is applied thereto, provided that the select signal is supplied.
This is to set the data that is transferred via.
The select signal is also supplied to a multiplexer 38, a multiplexer 40, and a multiplexer 42. The data bits of the trace register (three bits for convenience of explanation) output from the corresponding multiplexer in response to the select signal are output from output pins 60, 62, and 64.

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

トレースレジスタ32乃至トレースレジスタ36へセット
されたトレースデータは、当該トレースレジスタへのト
レースデータのセットを生ぜしめたセレクト信号でトレ
ースレジスタの各ビット対応にマルチプレクサ38,40,42
を経てトレースレジスタの各ビット対応に設けられてい
る出力ピン60,62,64へ出力させることによって、その読
み出しを行なうように構成されている。従って、トレー
スレジスタにセットされたトレースデータの読み出しに
必要となる出力ピン数は、トレースレジスタのビット位
置数だけ必要になる。そのような数のピンをトレースデ
ータの読み出しだけに費やしてしまうのは、LSIに装備
させ得る機能を制限してしまう結果になる。トレースデ
ータの読み出し機能よりも、前述のような制限を課せら
れてしまう他の機能を重視しなければならない場合が多
いから、前述のような制限は、LSI構成上問題となる。
The trace data set in the trace registers 32 to 36 are multiplexers 38, 40, and 42 corresponding to each bit of the trace register by a select signal that causes the trace data to be set in the trace register.
Then, the data is output to output pins 60, 62, and 64 provided corresponding to the respective bits of the trace register, thereby reading the data. Therefore, the number of output pins required to read the trace data set in the trace register is equal to the number of bit positions of the trace register. Spending such a number of pins solely on reading the trace data limits the functions that can be implemented in the LSI. In many cases, it is necessary to give more importance to other functions that are subject to the above-mentioned restrictions than to the trace data reading function. Therefore, the above-mentioned restrictions cause problems in the LSI configuration.

本発明は、斯かる技術的課題に鑑みて創作されたもの
で、時系列上のセットパルスに応答して取り込まれたト
レースデータを該セットパルスの次のセットパルスでス
キャンデータ保持回路にセットし、そのトレースデータ
を単一のピンを経てスキャンアウトされるトレーサを提
供することを目的とする。
The present invention has been made in view of such a technical problem, and sets trace data captured in response to a set pulse in a time series in a scan data holding circuit with a set pulse next to the set pulse. And to provide a tracer whose trace data is scanned out via a single pin.

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

第1図は、請求項1乃至請求項3記載の発明の原理ブ
ロック図を示す。
FIG. 1 is a block diagram showing the principle of the first to third aspects of the present invention.

第1図(その1)の(A)において、2はトレースデ
ータ保持回路であり、セットパルス入力、及びイネーブ
ル信号入力、並びにトレースデータ入力を有し、該セッ
トパルス入力へのセットパルス及び前記イネーブル信号
入力へのイネーブル信号に応答して前記トレースデータ
入力へのトレースデータをセットするものである。
In (A) of FIG. 1 (part 1), reference numeral 2 denotes a trace data holding circuit, which has a set pulse input, an enable signal input, and a trace data input, and a set pulse to the set pulse input and the enable signal. The trace data to the trace data input is set in response to an enable signal to the signal input.

3はイネーブル信号出力回路であり、前記トレースデ
ータ保持回路2のイネーブル信号入力に接続された出力
を有し、前記トレースデータ保持回路2へのイネーブル
信号を出力するものである。
An enable signal output circuit 3 has an output connected to the enable signal input of the trace data holding circuit 2 and outputs an enable signal to the trace data holding circuit 2.

4はスキャンデータ保持回路であり、前記トレースデ
ータ保持回路2のセットパルス入力に接続されたセット
パルス入力、及び前記トレースデータ保持回路2の出力
に接続されたデータ入力を有し、前記トレースデータ保
持回路2へトレースデータをセットしたセットパルスの
次のセットパルスの前記セットパルス入力への供給に応
答して前記データ入力へのトレースデータをビット並列
にセットし、スキャンクロックパルスに応答してセット
されたトレースデータをビット直列にスキャンアウトさ
せるものである。
A scan data holding circuit 4 having a set pulse input connected to the set pulse input of the trace data holding circuit 2 and a data input connected to the output of the trace data holding circuit 2; The trace data to the data input is set in a bit-parallel manner in response to the supply of the set pulse following the set pulse in which the trace data is set to the circuit 2 to the set pulse input, and is set in response to the scan clock pulse. The trace data is scanned out in a bit serial manner.

請求項1記載の発明は、前記トレースデータ保持回路
2と、イネーブル信号出力回路3と、スキャンデータ保
持回路4とで構成される。
The invention according to claim 1 includes the trace data holding circuit 2, the enable signal output circuit 3, and the scan data holding circuit 4.

第1図(その1)の(B)において、2Aは、セットパ
ルス入力、及びトレースデータ識別信号入力、並びにト
レースデータ入力を有し、前記セットパルス入力のセッ
トパルス及びトレースデータ識別信号入力へのトレース
データ識別信号に応答して前記トレースデータ入力への
トレースデータを該トレースデータ識別信号で指定され
るトレースデータ保持回路にセットするものである。
In FIG. 1 (part 1) (B), 2A has a set pulse input, a trace data identification signal input, and a trace data input, and the set pulse input to the set pulse and the trace data identification signal input. In response to the trace data identification signal, the trace data to the trace data input is set in a trace data holding circuit specified by the trace data identification signal.

5は選択回路であり、前記複数のトレースデータ保持
回路2Aの各出力に接続されたトレースデータ入力、及び
選択信号入力を有し、前記複数のトレースデータ保持回
路2A内の、前記選択信号入力への選択信号に対応するト
レースデータ保持回路の出力データを出力するものであ
る。
A selection circuit 5 has a trace data input connected to each output of the plurality of trace data holding circuits 2A, and a selection signal input, and is connected to the selection signal input in the plurality of trace data holding circuits 2A. The output data of the trace data holding circuit corresponding to the selection signal is output.

7は信号発生回路であり、スキャン抑止信号入力、並
びに前記複数のトレースデータ保持回路2Aの各トレース
データ識別信号入力に接続された出力、及び前記選択回
路5の選択信号入力へ接続された出力を有し、前記スキ
ャン抑止信号入力へのスキャン抑止信号の供給に応答し
て前記複数のトレースデータ保持回路2Aの各トレースデ
ータ識別信号入力への所定の順序のトレースデータ識別
信号、及び前記トレースデータ識別信号に対応するトレ
ースデータ保持回路のトレースデータを選択する選択信
号を前記選択回路5と選択信号入力へ出力するものであ
る。
Numeral 7 denotes a signal generation circuit which outputs a scan suppression signal input, an output connected to each trace data identification signal input of the plurality of trace data holding circuits 2A, and an output connected to a selection signal input of the selection circuit 5. A trace data identification signal in a predetermined order to each trace data identification signal input of the plurality of trace data holding circuits 2A in response to supply of a scan inhibition signal to the scan inhibition signal input; and A selection signal for selecting the trace data of the trace data holding circuit corresponding to the signal is output to the selection circuit 5 and a selection signal input.

4Aはスキャンデータ保持回路であり、前記トレースデ
ータ保持回路2Aのセットパルス入力に接続されセットパ
ルス入力、及び前記選択回路5の出力に接続されたトレ
ースデータ入力を有し、前記トレースデータ保持回路2A
へトレースデータをセットしたセットパルスの次のセッ
トパルスの前記セットパルス入力への供給に応答して前
記データ入力へのトレースデータをビット並列にセット
し、スキャンクロックパルスに応答してセットされたト
レースデータをビット直列にスキャンアウトさせるもの
である。
4A is a scan data holding circuit having a set pulse input connected to a set pulse input of the trace data holding circuit 2A, and a trace data input connected to an output of the selection circuit 5;
The trace data to the data input is set in bit parallel in response to the supply of the set pulse next to the set pulse in which the trace data is set to the set pulse input, and the trace set in response to the scan clock pulse The data is scanned out in a bit serial manner.

請求項2記載の発明は、複数のトレースデータ保持回
路2Aと、選択回路5と、信号発生回路7と、スキャンデ
ータ保持回路4Aとから構成される。
The invention according to claim 2 includes a plurality of trace data holding circuits 2A, a selection circuit 5, a signal generation circuit 7, and a scan data holding circuit 4A.

第1図(その2)の(C)において、請求項2記載の
トレーサに、スキャンクロックパルス出力回路8を設け
る。このスキャンクロックパルス出力回路8は、スキャ
ン抑止信号入力、及びスキャンクロックパルス出力を有
し、前記スキャン抑止入力へ供給されるスキャン抑止解
除を示す信号に応答して前記スキャンクロックパルス出
力にスキャンクロックパルスを出力するものである。
In (C) of FIG. 1 (part 2), a scan clock pulse output circuit 8 is provided in the tracer of the second aspect. The scan clock pulse output circuit 8 has a scan inhibition signal input and a scan clock pulse output, and responds to the signal indicating the cancellation of scan inhibition supplied to the scan inhibition input to output the scan clock pulse to the scan clock pulse output. Is output.

そして、前記スキャンデータ保持回路4Aにスキャンイ
ン入力を設け、スキャン抑止信号入力へスキャン抑止解
除を示す信号が供給されるときに前記スキャンクロック
パルス出力回路8から出力されたスキャンクロックパル
スに応答して前記スキャンイン入力へ供給される、前記
所定の順序とは異なる任意の1つのトレースデータ識別
信号の出力に用いるトレースデータ識別信号情報を出力
し得るように前記スキャンデータ保持回路4Aをスキャン
データ保持回路4Bとして構成する。
The scan data holding circuit 4A is provided with a scan-in input, and responds to a scan clock pulse output from the scan clock pulse output circuit 8 when a signal indicating cancellation of scan inhibition is supplied to a scan inhibition signal input. The scan data holding circuit 4A is configured to output the trace data identification signal information used for outputting any one trace data identification signal different from the predetermined order, which is supplied to the scan-in input. Configure as 4B.

又、前記スキャン抑止信号入力へ供給される前記スキ
ャン抑止解除を示す信号に応答して前記所定の順序のト
レースデータ識別信号及びこれに対応した選択信号の出
力を停止し、且つ前記トレースデータ識別信号情報で指
定されるトレースデータ保持回路の出力データを選択す
る選択信号を出力するように前記信号出力回路7を信号
出力回路7Aとして構成する。
And stopping the output of the trace data identification signal in a predetermined order and a selection signal corresponding thereto in response to a signal indicating the scan inhibition release supplied to the scan inhibition signal input; The signal output circuit 7 is configured as a signal output circuit 7A so as to output a selection signal for selecting output data of the trace data holding circuit specified by the information.

従って、請求項3記載の発明は、複数のトレースデー
タ保持回路2Aと、選択回路5と、信号発生回路7Aと、ス
キャンデータ保持回路4Bと、スキャンクロックパルス出
力回路8とから構成される。
Therefore, the invention according to claim 3 includes a plurality of trace data holding circuits 2A, a selection circuit 5, a signal generation circuit 7A, a scan data holding circuit 4B, and a scan clock pulse output circuit 8.

〔作 用〕(Operation)

前記請求項1記載の発明において、前記トレースデー
タ保持回路2は、前記イネーブル信号出力回路3からイ
ネーブル信号を供給された状態において、トレースデー
タ入力に入力されて来たトレースデータをセットパルス
入力に印加された時系列上の1つのセットパルスに応答
してビット並列にセットする。
In the invention described in claim 1, the trace data holding circuit 2 applies the trace data input to the trace data input to the set pulse input in a state where the enable signal is supplied from the enable signal output circuit 3. The bits are set in parallel in response to one set pulse on the time series.

前記トレースデータ保持回路2にセットされたトレー
スデータは、前記スキャンデータ保持回路4のデータ入
力に供給され、該スキャンデータ保持回路4のセットパ
ルス入力に印加される前記1つのセットパルスの次のセ
ットパルスに応答して前記トレースデータ保持回路から
のトレースデータを前記スキャンデータ保持回路4にビ
ット並列にセットする。
The trace data set in the trace data holding circuit 2 is supplied to the data input of the scan data holding circuit 4 and the next set of the one set pulse applied to the set pulse input of the scan data holding circuit 4 In response to the pulse, the trace data from the trace data holding circuit is set in the scan data holding circuit 4 in a bit-parallel manner.

前記スキャンデータ保持回路4にセットされたトレー
スデータは、スキャンパルスに応答して、前記スキャン
データ保持回路4からビット直列にスキャンアウトされ
る。
The trace data set in the scan data holding circuit 4 is scanned out of the scan data holding circuit 4 in a bit serial manner in response to a scan pulse.

従って、トレースデータを、時系列上の1つのセット
パルスによりトレースデータ保持回路2にビット並列に
取り込み、該1つのセットパルスの次のセットパルスに
より応答して前記スキャンデータ保持回路4にビット並
列にセットしてスキャンパルスに応答して単一の出力乃
至出力ピンからビット直列にスキャンアウトすることが
できる。
Therefore, the trace data is fetched into the trace data holding circuit 2 in a bit-parallel manner by one set pulse on a time series, and is responded by the next set pulse to the scan data holding circuit 4 in a bit-parallel manner. It can be set and scanned out bit-serial from a single output or output pin in response to a scan pulse.

前記請求項2記載の発明は、前記信号出力回路7から
のトレースデータ識別信号が、前記複数のトレースデー
タ保持回路2Aの各トレースデータ識別信号入力へ供給さ
れ、当該トレースデータ識別信号で指定されるトレース
データ保持回路にトレースデータ入力へ入力されて来た
トレースデータをビット並列にセットさせること、及び
前記信号出力回路7からの選択信号が、選択回路5の選
択入力へ供給され、当該選択信号で指定されるトレース
データ保持回路のトレースデータをスキャンデータ保持
回路4Aにビット並列にセットさせることを除いて、前記
請求項1記載の発明とその動作は同じである。
According to the second aspect of the present invention, the trace data identification signal from the signal output circuit 7 is supplied to each trace data identification signal input of the plurality of trace data holding circuits 2A, and is specified by the trace data identification signal. Causing the trace data holding circuit to set the trace data input to the trace data input in a bit-parallel manner, and that a selection signal from the signal output circuit 7 is supplied to a selection input of a selection circuit 5 so that the selection signal The operation is the same as that of the first embodiment except that the trace data of the designated trace data holding circuit is set in the scan data holding circuit 4A in a bit parallel manner.

従って、複数のトレースデータ保持回路2Aにセットさ
れたトレースデータのうちの順序において所定のトレー
スデータを、時系列上1つのセットパルスによりトレー
スデータ保持回路2にビット並列に取り込み、該1つの
セットパルスの次のセットパルスにより応答して前記ス
キャンデータ保持回路4にビット並列にセットしてスキ
ャンパルスに応答して単一の出力乃至出力ピンからビッ
ト直列にスキャンアウトすることができる。
Therefore, predetermined trace data in the order of the trace data set in the plurality of trace data holding circuits 2A is chronologically fetched into the trace data holding circuit 2 by one set pulse in the form of one set pulse. In response to the next set pulse, the data is set in the scan data holding circuit 4 in a bit-parallel manner, and in response to the scan pulse, a single output or an output pin can be scanned in a bit serial manner.

前記請求項3記載の発明は、前記請求項2記載の発明
における信号出力回路7をトレースデータ識別信号及び
選択信号の出力をスキャン抑止解除を示す信号に応答し
て停止するようにすると共に、前記複数のトレースデー
タ保持回路2Aのうちの、スキャンデータ保持回路Bから
のトレースデータ識別信号情報で指定されるトレースデ
ータ保持回路のトレースデータを選択する選択信号を出
力するようにし、該選択信号を前記選択回路5へ供給し
て選択されたトレースデータを前記スキャンデータ保持
回路4Bへ供給して該選択信号で指定されるトレースデー
タ保持回路のトレースデータをスキャンデータ保持回路
4Bにビット並列にセットさせる。
According to a third aspect of the present invention, the signal output circuit 7 in the second aspect of the present invention stops outputting the trace data identification signal and the selection signal in response to a signal indicating cancellation of scan suppression. Of the plurality of trace data holding circuits 2A, a selection signal for selecting the trace data of the trace data holding circuit specified by the trace data identification signal information from the scan data holding circuit B is output, and the selection signal is output The selected trace data is supplied to the selection circuit 5 and the selected trace data is supplied to the scan data holding circuit 4B, and the trace data of the trace data holding circuit specified by the selection signal is sent to the scan data holding circuit.
Let 4B be set bit-parallel.

これにより、前記複数のトレースデータ保持回路にセ
ットされたトレースデータのうちの、スキャンイン入力
から入力されるトレースデータ識別信号情報で指定され
るトレースデータを前記スキャンデータ保持回路からビ
ット直列にスキャンアウトさせることができる。
Thereby, of the trace data set in the plurality of trace data holding circuits, the trace data specified by the trace data identification signal information input from the scan-in input is scanned out bit-serial from the scan data holding circuit. Can be done.

〔実施例〕〔Example〕

第2図は、請求項1乃至請求項3記載の発明の一実施
例を示す。この図において、第3図と同じ構成要素には
同一の参照番号を付してその説明を省略する。トレース
レジスタ32乃至トレースレジスタ36のデータのスキャン
レジスタ44への選択的出力は、マルチプレクサ41によっ
て為されるように、この実施例では構成されている。マ
ルチプレクサ41へのトレースデータセレクト信号は、デ
コーダ48の出力に発生される。そのデコーダ48の入力に
は、カウンタ46の出力値が供給される。カウンタ46は、
データバス30上のトレースデータをトレースレジスタ32
乃至トレースレジスタ36の内の、いずれのトレースレジ
スタにセットすべきかの第1の識別データ、及びトレー
スレジスタ32乃至トレースレジスタ36の内の、いずれの
トレースレジスタにセットされているトレースデータを
読み出すべきかの第2の識別データを出力する。前記第
1の識別データは、カウンタ46のカウント入力へカウン
ト信号線51を経て供給されるカウント信号に応答して出
力される。前記第2の識別データは、後述のスキャンル
ープを経てカウンタ46のセット入力へ供給されるトレー
スレジスタ番号を、スキャンクロック入力へ供給される
スキャンクロックパルスに応答してシフトインすること
によって出力される。前記トレースレジスタ番号は、ス
キャンインからスキャンレジスタ44へ入力され、スキャ
ンクロックパルスによってスキャンレジスタ44にセット
された後に、スキャンクロックパルスによってスキャン
レジスタ44からスキャンループ信号として出力される。
FIG. 2 shows an embodiment of the invention according to claims 1 to 3. In this figure, the same components as those in FIG. 3 are denoted by the same reference numerals, and description thereof will be omitted. In this embodiment, the selective output of the data of the trace registers 32 to 36 to the scan register 44 is performed by the multiplexer 41. The trace data select signal to the multiplexer 41 is generated at the output of the decoder 48. The output of the counter 46 is supplied to the input of the decoder 48. The counter 46
Trace data on the data bus 30 is transferred to the trace register 32
First identification data indicating which of the trace registers 36 to 36 is to be set, and which of the trace registers among the trace registers 32 to 36 is to be read. Is output. The first identification data is output in response to a count signal supplied to the count input of the counter 46 via the count signal line 51. The second identification data is output by shifting in a trace register number supplied to a set input of the counter 46 through a scan loop described below in response to a scan clock pulse supplied to a scan clock input. . The trace register number is input from the scan-in to the scan register 44, is set in the scan register 44 by a scan clock pulse, and is output from the scan register 44 as a scan loop signal by the scan clock pulse.

そして、カウンタ46のカウント値(第1の識別デー
タ)、又はトレースレジスタ番号(第2の識別データ)
をスキャンクロックパルスに応答してビット直列にマル
チプレクサ56の一方の入力へ供給するようにしてスキャ
ンアウト出力ピン58へのスキャンループを完成する。ス
キャンクロックパルスを発生するアンド回路50へは、イ
ンバータ49を経たスキャン抑止信号、及びスキャンクロ
ックパルスが供給される。スキャン抑止信号は、又マル
チプレクサ56へその切り換え信号として供給される。
Then, the count value of the counter 46 (first identification data) or the trace register number (second identification data)
Is supplied to one input of the multiplexer 56 in a bit serial manner in response to the scan clock pulse, thereby completing a scan loop to the scan-out output pin 58. The AND circuit 50 that generates a scan clock pulse is supplied with a scan inhibition signal and a scan clock pulse that have passed through the inverter 49. The scan inhibit signal is also supplied to multiplexer 56 as its switching signal.

第1図及び第2図において、トレースレジスタ32乃至
36は、第1のトレースデータ保持回路2、2Aに対応し、
カウンタ46、デコーダ48は、第1図のイネーブル信号出
力回路3に対応する。スキャンレジスタ44は、第1図の
スキャンデータ保持回路4、4A、4Bに対応し、マルチプ
レクサ41は、第1図の選択回路5に対応する。カウンタ
46、デコーダ48、インバータ49、アンド回路50、カウン
ト信号線51は、第1図の信号出力回路7、7Aに対応し、
インバータ49、アンド回路50は、第1図のスキャンクロ
ックパルス出力回路8に対応する。
In FIG. 1 and FIG.
36 corresponds to the first trace data holding circuit 2, 2A,
The counter 46 and the decoder 48 correspond to the enable signal output circuit 3 in FIG. The scan register 44 corresponds to the scan data holding circuits 4, 4A and 4B in FIG. 1, and the multiplexer 41 corresponds to the selection circuit 5 in FIG. counter
46, a decoder 48, an inverter 49, an AND circuit 50, and a count signal line 51 correspond to the signal output circuits 7 and 7A in FIG.
The inverter 49 and the AND circuit 50 correspond to the scan clock pulse output circuit 8 in FIG.

次に、前述構成の請求項1乃至請求項3記載の発明の
動作を以下に説明する。
Next, the operation of the invention having the above-described configuration will be described below.

先ず、データバス30上のトレースデータが、どのよう
にしてトレースレジスタ32乃至トレースレジスタ36の内
の、いずれのトレースレジスタにセットされるかという
ことについて説明する。そのとき、スキャン抑止信号
は、“1"に設定される。
First, how the trace data on the data bus 30 is set to which of the trace registers 32 to 36 will be described. At that time, the scan suppression signal is set to “1”.

そのトレースレジスタのデータバス30上への転送と共
に、カウント信号が、カウンタ46のカウント入力へ供給
されて前記データバス30上のトレースデータをセットし
たいトレースレジスタ識別カウント値を発生する。この
カウント値がデコーダ48にてデコードされてトレースレ
ジスタ32乃至トレースレジスタ36へトレースレジスタイ
ネーブル信号が供給され、マルチプレクサ41へトレース
データセレクト信号が供給され。従って、前記データバ
ス30上のトレースデータは、前記トレースデータイネー
ブル信号で指定されるトレースレジスタにセットされ
る。
Along with the transfer of the trace register onto the data bus 30, a count signal is provided to the count input of the counter 46 to generate a trace register identification count for which one wishes to set trace data on the data bus 30. The count value is decoded by the decoder 48, the trace register enable signal is supplied to the trace registers 32 to 36, and the trace data select signal is supplied to the multiplexer 41. Therefore, the trace data on the data bus 30 is set in the trace register specified by the trace data enable signal.

前述のようにしてトレースレジスタにセットされたト
レースデータの読み出しを行なうに際して、スキャン抑
止信号を“0"に設定する。これにより、スキャンクロッ
クパルスが、アンド回路50を経てスキャンレジスタ44、
及びカウンタ46へ供給される。そのスキャンレジスタ44
にスキャンインからのトレースレジスタ番号がスキャン
クロックパルスに応答してビット直列にセットされる。
そして、スキャンクロックパルスに応答してスキャンレ
ジスタ44から読み出されたトレースレジスタ番号は、ス
キャンループ内のカウンタ46にビット直列にセットされ
て行ってそこにセットされる。このスキャンイン動作が
行なわれるときには、カウンタ46にはカウント信号が供
給されない。
When reading the trace data set in the trace register as described above, the scan suppression signal is set to "0". As a result, the scan clock pulse passes through the AND circuit 50 and the scan register 44,
And supplied to the counter 46. Its scan register 44
The trace register number from scan-in is set in bit serial in response to the scan clock pulse.
Then, the trace register number read from the scan register 44 in response to the scan clock pulse is set in a bit serial manner in the counter 46 in the scan loop and set there. When this scan-in operation is performed, the counter 46 is not supplied with a count signal.

このカウンタ46へのトレースレジスタ番号のセット動
作終了時に、それまで“0"であってスキャン抑止信号を
“1"へ切り換える。これにより、スキャンループ内での
スキャンイン信号のシフト動作は停止する。前述のよう
にして、カウンタ46にセットされたトレースレジスタ番
号は、そこにセットされたままとなり、カウンタ46のト
レースレジスタ番号は、デコーダ48を経てトレースデー
タセレクト信号としてマルチプレクサ41へ供給されると
共に、トレースレジスタイネーブル信号としてトレース
レジスタ32乃至トレースレジスタ36へ供給される。従っ
て、既にトレースレジスタにセットされていたトレース
データは、前記トレースデータセレクト信号でマルチプ
レクサ41を経てスキャンレジスタ44の各データビットセ
ット入力にビット並列に供給され、次のデータセットク
ロックパルスに応答してスキャンレジスタ44にセットさ
れる。このとき、データバス30からのトレースデータ
(例えば、アドレス信号)は、前記次のデータセットク
ロックパルスに応答してトレースレジスタ32乃至トレー
スレジスタ36の内の、前記トレースレジスタイネーブル
信号でセット可能となっているトレースレジスタにセッ
トされる。
At the end of the operation of setting the trace register number in the counter 46, the scan suppression signal is switched to "1" because it has been "0" until then. Thus, the shift operation of the scan-in signal in the scan loop stops. As described above, the trace register number set in the counter 46 remains set therein, and the trace register number of the counter 46 is supplied to the multiplexer 41 as a trace data select signal via the decoder 48. The signal is supplied to the trace registers 32 to 36 as a trace register enable signal. Therefore, the trace data already set in the trace register is supplied to the data bit set input of the scan register 44 in a bit-parallel manner via the multiplexer 41 by the trace data select signal, and in response to the next data set clock pulse. It is set in the scan register 44. At this time, the trace data (for example, an address signal) from the data bus 30 can be set by the trace register enable signal of the trace registers 32 to 36 in response to the next data set clock pulse. Is set in the trace register.

このようにしてスキャンレジスタ44にセットされたト
レースデータの読み出しを行なうために、スキャン抑止
信号を“0"にしてアンド回路50からスキャンクロックパ
ルスを出力せしめ、スキャンレジスタ44にセットされた
トレースデータをカウンタ46、そしてマルチプレクサ56
を経て出力させてそのトレースデータの読み出しを行な
う。
In order to read out the trace data set in the scan register 44 in this manner, the scan inhibit signal is set to “0”, the AND circuit 50 outputs a scan clock pulse, and the trace data set in the scan register 44 is read. Counter 46 and multiplexer 56
To read out the trace data.

なお、前記実施例においては、トレースレジスタイネ
ーブル信号、及びトレースデータセレクト信号の発生制
御系を前記スキャンループ内に構成する場合について説
明したが、請求項1乃至請求項3記載の発明の要部は、
トレースデータをスキャンレジスタへのビット並列型式
によるセット、及びそのビット直列形式によるシフトア
ウトによる所要数の削減にあるから、前記実施例のよう
にトレースレジスタイネーブル信号、及びトレースデー
タセレクト信号の発生制御系を前記スキャンループ内に
構成しなければならない必然性は、少しもない。
In the above embodiment, the case where the generation control system of the trace register enable signal and the trace data select signal is configured in the scan loop has been described. ,
Since the required number of trace data is set to the scan register by the bit parallel type and the required number is reduced by the shift out by the bit serial type, the generation control system of the trace register enable signal and the trace data select signal as in the above-described embodiment. There is no necessity to configure in the scan loop.

〔発明の効果〕〔The invention's effect〕

上述したように請求項1記載の発明によれば、トレー
スデータを、時系列上の1つのセットパルスによりトレ
ースデータ保持回路にビット並列に取り込み、該1つの
セットパルスの次のセットパルスにより応答して前記ス
キャンデータ保持回路にビット並列にセットしてスキャ
ンパルスに応答して単一の出力乃至出力ピンからビット
直列にスキャンアウトすることができる。
As described above, according to the first aspect of the present invention, the trace data is fetched into the trace data holding circuit by one set pulse in a time series in a bit parallel manner, and a response is made by a set pulse next to the one set pulse. By setting the scan data holding circuit in a bit-parallel manner, a single output or output pin can be scanned in a bit-serial manner in response to a scan pulse.

請求項2記載の発明によれば、複数のトレースデータ
保持回路のうちの、所定順序のトレースデータ保持回路
のトレースデータを、前記請求項1記載の発明のように
スキャンアウトさせることができる。
According to the second aspect of the present invention, the trace data of the trace data holding circuits in a predetermined order among the plurality of trace data holding circuits can be scanned out as in the first aspect of the present invention.

請求項3記載の発明によれば、前記請求項2記載の発
明におけるトレースデータのスキャンアウトをスキャン
イン入力から入力したトレースデータ識別信号情報で指
定して生じさせることができる。
According to the third aspect of the present invention, the scan-out of the trace data according to the second aspect of the present invention can be specified by the trace data identification signal information input from the scan-in input.

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

第1図(その1)は請求項1及び請求項2記載の発明の
原理ブロック図、 第1図(その2)は請求項3記載の発明の原理ブロック
図、 第2図は請求項1乃至請求項3記載の発明の一実施例を
示す図、 第3図は従来のトレースデータ読み出し方式を示す図で
ある。 第1図及び第2図において、 2、2Aはトレースデータ保持回路(トレースレジスタ32
乃至36)、 3はイネーブル信号出力回路(カウンタ46、デコーダ4
8)、 4、4A、4Bはスキャンデータ保持回路(スキャンレジス
タ44)、 5は選択回路(マルチプレクサ41)、 7、7Aは信号出力回路(カウンタ46、デコーダ48、カウ
ント信号線51)、 8はスキャンクロックパルス出力回路(インバータ49、
アンド回路50)である。
FIG. 1 (part 1) is a principle block diagram of the invention according to claims 1 and 2, FIG. 1 (part 2) is a principle block diagram of the invention according to claim 3, and FIG. FIG. 3 is a diagram showing an embodiment of the invention according to claim 3, and FIG. 3 is a diagram showing a conventional trace data reading method. 1 and 2, reference numerals 2 and 2A denote a trace data holding circuit (trace register 32).
To 36), 3 is an enable signal output circuit (counter 46, decoder 4
8), 4, 4A and 4B are scan data holding circuits (scan registers 44), 5 is a selection circuit (multiplexer 41), 7, 7A are signal output circuits (counter 46, decoder 48, count signal line 51), 8 is Scan clock pulse output circuit (Inverter 49,
AND circuit 50).

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小田原 孝一 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 星 健二 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 平1−206441(JP,A) 特開 平1−199243(JP,A) ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Koichi Odawara 1015 Uedanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Kenji Hoshi 1015 Kamikodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Fujitsu Limited ( 56) References JP-A-1-206441 (JP, A) JP-A-1-199243 (JP, A)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】セットパルス入力、及びイネーブル信号入
力、並びにトレースデータ入力を有し、該セットパルス
入力へのセットパルス及び前記イネーブル信号入力への
イネーブル信号に応答して前記トレースデータ入力への
トレースデータをセットするトレースデータ保持回路
と、 該トレースデータ保持回路のイネーブル信号入力に接続
された出力を有し、前記トレースデータ保持回路へのイ
ネーブル信号を出力するイネーブル信号出力回路と、 前記トレースデータ保持回路のセットパルス入力に接続
されたセットパルス入力、及び前記トレースデータ保持
回路の出力に接続されたデータ入力を有し、前記トレー
スデータ保持回路へトレースデータをセットしたセット
パルスの次のセットパルスの前記セットパルス入力への
供給に応答して前記データ入力へのトレースデータをビ
ット並列にセットし、スキャンクロックパルスに応答し
てセットされたトレースデータをビット直列にスキャン
アウトさせるスキャンデータ保持回路とを設けたことを
特徴とするトレーサ。
And a trace input to said trace data input in response to a set pulse to said set pulse input and an enable signal to said enable signal input. A trace data holding circuit for setting data, an enable signal output circuit having an output connected to an enable signal input of the trace data holding circuit, and outputting an enable signal to the trace data holding circuit; A set pulse input connected to a set pulse input of the circuit, and a data input connected to an output of the trace data holding circuit, and a set pulse next to the set pulse in which the trace data is set in the trace data holding circuit. In response to supplying to the set pulse input Trace data into serial data input is set to bit parallel, characterized in that the trace data set in response provided a scan data holding circuit for scanning out bits serially into the scan clock pulse tracer.
【請求項2】セットパルス入力、及びトレースデータ識
別信号入力、並びにトレースデータ入力を有し、前記セ
ットパルス入力へのセットパルス及び前記トレースデー
タ識別信号入力へのトレースデータ識別信号に応答して
前記トレースデータ入力へのトレースデータを該トレー
スデータ識別信号で指定されるトレースデータ保持回路
にセットする複数のトレースデータ保持回路と、 該複数のトレースデータ保持回路の各出力に接続された
トレースデータ入力、及び選択信号入力を有し、前記複
数のトレースデータ保持回路の内の、前記選択信号入力
への選択信号に対応するトレースデータ保持回路の出力
データを出力する選択回路と、 スキャン抑止信号入力、並びに前記複数のトレースデー
タ保持回路の各トレースデータ識別信号入力に接続され
た出力、及び前記選択回路の選択信号入力へ接続された
出力を有し、前記スキャン抑止信号入力へのスキャン抑
止信号の供給に応答して前記複数のトレースデータ保持
回路の各トレースデータ識別信号入力への所定の順序の
トレースデータ識別信号、及び前記トレースデータ識別
信号に対応するトレースデータ保持回路のトレースデー
タを選択する選択信号を前記選択回路の選択信号入力へ
出力する信号発生回路と、 該トレースデータ保持回路のセットパルス入力に接続さ
れたセットパルス入力、及び前記選択回路の出力に接続
されたトレースデータ入力を有し、前記トレースデータ
保持回路へトレースデータをセットしたセットパルスの
次のセットパルスの前記セットパルス入力への供給に応
答して前記データ入力へのトレースデータをビット並列
にセットし、スキャンクロックパルスに応答してセット
されたトレースデータをビット直列にスキャンアウトさ
せるスキャンデータ保持回路とを設けたことを特徴とす
るトレーサ。
2. The apparatus according to claim 1, further comprising a set pulse input, a trace data identification signal input, and a trace data input, wherein said set pulse input and said trace data identification signal are input in response to a trace data identification signal applied to said trace data identification signal input. A plurality of trace data holding circuits for setting trace data to the trace data input to a trace data holding circuit specified by the trace data identification signal; a trace data input connected to each output of the plurality of trace data holding circuits; And a selection circuit having a selection signal input, and among the plurality of trace data holding circuits, a selection circuit for outputting output data of a trace data holding circuit corresponding to a selection signal to the selection signal input; and a scan suppression signal input; and Each of the trace data identification signals of the plurality of trace data holding circuits is Connected to a selection signal input of the selection circuit, and each trace data identification of the plurality of trace data holding circuits in response to supply of a scan inhibition signal to the scan inhibition signal input. A signal generation circuit that outputs a trace data identification signal in a predetermined order to a signal input, and a selection signal for selecting trace data of a trace data holding circuit corresponding to the trace data identification signal to a selection signal input of the selection circuit; A set pulse input connected to a set pulse input of the trace data holding circuit, and a trace data input connected to an output of the selection circuit, and a set pulse input to the trace data holding circuit next to the set pulse that sets the trace data. Trace data to the data input in response to the supply of a set pulse to the set pulse input Set the data in bit parallel, characterized in that the trace data set in response to the scan clock pulses are provided with scan data holding circuit for scanning out bits serially tracer.
【請求項3】請求項2記載のトレーサにおいて、 スキャン抑止信号入力、及びスキャンクロックパルス出
力を有し、前記スキャン抑止入力へ供給されるスキャン
抑止解除を示す信号に応答して前記スキャンクロックパ
ルス出力にスキャンクロックパルスを出力するスキャン
クロックパルス出力回路を設けると共に、 前記スキャンデータ保持回路にスキャンイン入力を設
け、スキャン抑止信号入力へスキャン抑止解除を示す信
号が供給されるときに前記スキャンクロックパルス出力
回路から出力されたスキャンクロックパルスに応答して
前記スキャンイン入力へ供給される、前記所定の順序と
は異なる任意の1つのトレースデータ識別信号の出力に
用いるトレースデータ識別信号情報を出力し得るように
前記スキャンデータ保持回路をスキャンデータ保持回路
として構成し、 前記スキャン抑止信号入力へ供給される前記スキャン抑
止解除を示し信号に応答して前記所定の順序のトレース
データ識別信号及びこれに対応した選択信号の出力を停
止し、且つ前記トレースデータ識別信号情報で指定され
るトレースデータ保持回路の出力データを選択する選択
信号を出力するように前記信号出力回路を信号出力回路
として構成したことを特徴とするトレーサ。
3. The tracer according to claim 2, further comprising a scan suppression signal input and a scan clock pulse output, wherein said scan clock pulse output is provided in response to a signal supplied to said scan suppression input indicating cancellation of scan suppression. A scan clock pulse output circuit that outputs a scan clock pulse, and a scan-in input is provided in the scan data holding circuit, and the scan clock pulse output circuit is provided when a signal indicating cancellation of scan inhibition is supplied to a scan inhibition signal input. Trace data identification signal information used for outputting any one trace data identification signal different from the predetermined order, which is supplied to the scan-in input in response to a scan clock pulse output from a circuit, can be output. Scan data holding circuit A data holding circuit configured to stop the output of the trace data identification signal in the predetermined order and the selection signal corresponding thereto in response to the signal indicating the cancellation of the scan inhibition supplied to the input of the scan inhibition signal, and A tracer, wherein the signal output circuit is configured as a signal output circuit so as to output a selection signal for selecting output data of a trace data holding circuit specified by the trace data identification signal information.
JP2264666A 1990-10-01 1990-10-01 Tracer Expired - Lifetime JP2637276B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2264666A JP2637276B2 (en) 1990-10-01 1990-10-01 Tracer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2264666A JP2637276B2 (en) 1990-10-01 1990-10-01 Tracer

Publications (2)

Publication Number Publication Date
JPH04140848A JPH04140848A (en) 1992-05-14
JP2637276B2 true JP2637276B2 (en) 1997-08-06

Family

ID=17406522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2264666A Expired - Lifetime JP2637276B2 (en) 1990-10-01 1990-10-01 Tracer

Country Status (1)

Country Link
JP (1) JP2637276B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01199243A (en) * 1987-09-24 1989-08-10 Nec Corp History information memory
JPH07101392B2 (en) * 1988-02-15 1995-11-01 日本電気株式会社 Tracer

Also Published As

Publication number Publication date
JPH04140848A (en) 1992-05-14

Similar Documents

Publication Publication Date Title
JPS60124744A (en) Error testing and diagnosing apparatus
US5132973A (en) Testable embedded RAM arrays for bus transaction buffering
KR970051415A (en) Method of selecting merge data output mode of semiconductor memory device
JP2637276B2 (en) Tracer
JP2937326B2 (en) Test circuit for logic circuits
JP2678085B2 (en) Tracer
JPS593561A (en) Data processing system
JP3157662B2 (en) LSI diagnostic control circuit
JP2877505B2 (en) LSI mounting board and data processing device
JP2806645B2 (en) Scan path error detection circuit
JPH0391195A (en) Memory circuit
JPH0289300A (en) Semiconductor memory element
JP2821176B2 (en) Information processing device
KR0114239Y1 (en) Interrupt handler circuit
JPS60101643A (en) Data processor
JPH0534416A (en) Semiconductor logic integrated circuit
JP2505571B2 (en) Storage device diagnostic method
JPS6136854A (en) Memory switching device
JPS6236318B2 (en)
JPS6219945A (en) Storage device
JPS58184663A (en) Testing device
JPS62215292A (en) Display unit
JPS641810B2 (en)
JPS60239839A (en) False fault generator
JPS63298450A (en) Data processor