JPH04135248A - Trace data reading system - Google Patents

Trace data reading system

Info

Publication number
JPH04135248A
JPH04135248A JP2258293A JP25829390A JPH04135248A JP H04135248 A JPH04135248 A JP H04135248A JP 2258293 A JP2258293 A JP 2258293A JP 25829390 A JP25829390 A JP 25829390A JP H04135248 A JPH04135248 A JP H04135248A
Authority
JP
Japan
Prior art keywords
data
trace
input
scan
trace data
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.)
Granted
Application number
JP2258293A
Other languages
Japanese (ja)
Other versions
JP2678085B2 (en
Inventor
Eiji Kanetani
英治 金谷
Kiyoshi Sudo
清 須藤
Yasutomo Sakurai
康智 桜井
Koichi Odawara
小田原 孝一
Kenji Hoshi
星 健二
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 JP2258293A priority Critical patent/JP2678085B2/en
Publication of JPH04135248A publication Critical patent/JPH04135248A/en
Application granted granted Critical
Publication of JP2678085B2 publication Critical patent/JP2678085B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain the repetitive reference to the trace data in the necessary frequency by generating a data set inhibiting signal for a period when the reference is given to the trace data set at a holding circuit and inhibiting the output of an enable signal to the output of the trace data holding circuit in response to the data set inhibiting signal. CONSTITUTION:A data set inhibiting signal is produced from a signal production circuit 6 for a period when the reference is given to the trace data set at a trace data holding circuit 2. Thus the output of an enable signal is inhibited to a data set inhibiting circuit 8. Therefore the trace data is never set to the circuit 2 for the relevant period and the trace data set at the circuit 2 is set to the set pulse which is supplied to a scan data holding circuit 4 within the period to be referred to. Thus the repetitive reference is possible to the trace data.

Description

【発明の詳細な説明】 〔概 要] トレースデータの反復参照期間の間保持し得るトレース
データ読み出し方式に関し、 トレースデータの所要回数の反復参照を可能にすること
を目的とし、 セットパルス入力へのセットパルス及びイネーブル信号
入力へのイネーブル信号に応答してトレースデータ入力
へのトレースデータをセットするトレースデータ保持回
路と、セットパルス入力へのセントパルスに応答してデ
ータ入力へのデータをビット並列にセットし、ビット直
列に出力するスキャンデータ保持回路を有するトレーサ
において、データセット禁止信号出力を有し、トレース
データ保持回路にセットされたトレースデータを参照す
る期間の間、データセット禁止信号を発生する信号発生
回路と、データセット禁止信号出力に接続されたデータ
セット禁止信号入力、及びトレースデータ保持回路のイ
ネーブル信号入力に接続された出力を有し、データセッ
ト禁止信号に応答してトレースデータ保持回路の出力へ
のイネーブル信号の出力を禁止するデータセット禁止回
路とを設けて構成した。
[Detailed Description of the Invention] [Summary] Regarding a trace data readout method that can hold trace data during a repeated reference period, the present invention aims to enable repeated reference of trace data a required number of times, A trace data holding circuit sets trace data to the trace data input in response to an enable signal to the set pulse and enable signal inputs, and sets data to the data input in bit parallel in response to a cent pulse to the set pulse input. In a tracer having a scan data holding circuit that sets and outputs bits in series, the data set prohibition signal is output during a period when trace data set in the trace data holding circuit is referenced. a signal generation circuit, a data set inhibit signal input connected to the data set inhibit signal output, and an output connected to the enable signal input of the trace data retention circuit, the trace data retention circuit responsive to the data set inhibit signal; The configuration includes a data set prohibition circuit that prohibits the output of the enable signal to the output of the data set.

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

本発明は、トレースデータの反復参照可能なトレースデ
ータ読み出し方式に関する。
The present invention relates to a trace data reading method that allows repeated reference to trace data.

情報処理装置においては、その装置内のレジスタにセッ
トされたデータを複数回参照したいという要求がある。
In an information processing device, there is a demand to refer to data set in a register within the device multiple times.

このような装置構成を採用するのは、装置の信転性を向
上させたいと言う観点からである。
The reason why such a device configuration is adopted is from the viewpoint of improving the reliability of the device.

〔従来の技術〕[Conventional technology]

前述のような要求に沿う回路構成の例を第3図に示す、
この図において、トレースレジスタ32、トレースレジ
スタ34、トレースレジスタ36は、セレクト信号が供
給されていることを条件として、データセットクロック
パルスがそこに印加されたとき、データバス30を経て
転送されて来るデータをセットするものである。前記セ
レクト信号は、又マルチプレクサ38、マルチプレクサ
40、マルチプレクサ42へも供給される。前記セレク
ト信号によって対応マルチプレクサから出力されるトレ
ースレジスタの各データビットは、前記データセットク
ロックパルスでスキャンレジスタ44にビット並列にセ
ットされる。このスキャンレジスタ44ヘセツトされる
データには、前記トレースレジスタのトレースデータと
、スキャンインからのスキャンインデータとがあるが、
スキャンレジスタ44へのデータ制御は、スキャンレジ
スタ44に時分割的にセットされるように為されている
。スキャンインからのビット直列のスキャンデータは、
スキャンクロックパルスによってスキャンレジスタ64
4にビット直列にセットされる。スキャンレジスタ44
からのデータの読み出しは、スキャンクロックパルスに
よってビット直列に行なわれる。
An example of a circuit configuration that meets the above requirements is shown in Figure 3.
In this figure, trace register 32, trace register 34, trace register 36 are transferred via data bus 30 when a data set clock pulse is applied thereto, provided that a select signal is provided. This is used to set data. The select signal is also provided to multiplexer 38, multiplexer 40, and multiplexer 42. Each data bit of the trace register output from the corresponding multiplexer by the select signal is set in bit parallel in the scan register 44 by the data set clock pulse. The data set in the scan register 44 includes the trace data of the trace register and the scan-in data from the scan-in.
Data control to the scan register 44 is performed so that data is set in the scan register 44 in a time-division manner. The bit-serial scan data from scan-in is
scan register 64 by scan clock pulse
bit serially set to 4. Scan register 44
Data is read out bit-by-bit serially by scan clock pulses.

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

トレースレジスタ32乃至トレースレジスタ36へのト
レースデータのセットと、スキャンレジスタ44へのデ
ータのセットとは、前述のようにデータセットクロック
パルスによって為される回路構成となっているため、第
4図に示すように成るデータセットクロツタパルスによ
ってトレースレジスタ32乃至トレースレジスタ36の
内のいずれかのトレースレジスタにセットされ、そして
次のデータセットクロックパルスによってスキャンレジ
スタ44にセットされるようなタイムシーケンスが、前
述の回路の中に生じたとすると、前述のようにして成る
データセットクロックパルスによってデータバス30上
のトレースデータをセットした前記トレースレジスタ3
2乃至トレースレジスタ36の内のいずれかのトレース
レジスタは、次のデータバス30上のデータをセントす
る次のデータセットクロックパルスのときには、そのデ
ータバス30上のトレースデータは、第4図に示すよう
に前記酸るデータセットクロックパルスのときとは異な
るデータとなってしまっていることがある。従って、前
記酸るデータセットクロックパルスによってデータバス
30上のデータをセットした前記トレースレジスタ32
乃至トレースレジスタ36の内のいずれかのトレースレ
ジスタを、同一のデータを参照したいと言う要求に応答
して、再度参照したときには、既にそのデータでは無く
なってしまっていることになる。それ故、その参照の目
的が達成され得ないことになる。
The setting of trace data to the trace registers 32 to 36 and the setting of data to the scan register 44 are performed by the data set clock pulse as described above, so the circuit configuration shown in FIG. A time sequence in which one of trace registers 32 to 36 is set by a data set clock pulse as shown, and set to scan register 44 by the next data set clock pulse is If it were to occur in the circuit described above, the trace register 3 would have set the trace data on the data bus 30 by the data set clock pulse as described above.
On the next data set clock pulse, any trace register of trace registers 2 through 36 will write data on the next data bus 30, the trace data on that data bus 30 will be stored as shown in FIG. As such, the data may be different from that at the time of the above-mentioned data set clock pulse. Therefore, the trace register 32 which has set the data on the data bus 30 by the data set clock pulse
When any one of the trace registers 36 is referenced again in response to a request to refer to the same data, the data will no longer be there. Therefore, the purpose of the reference cannot be achieved.

本発明は、斯かる技術的課題に鑑みて創作されたもので
、トレースデータの反復参照を為し得るトレースデータ
読み出し方式を提供することを目的とする。
The present invention was created in view of such technical problems, and an object of the present invention is to provide a trace data reading method that allows repeated reference to trace data.

[課題を解決するだめの手段] 第1図は、本発明の原理ブロック図である。この図に示
すように、請求項1に記載の発明は、セットパルス入力
、及びイネーブル信号入力、並びにトレースデータ入力
を有し、該セントパルス入力へのセットパルス及び前記
イネーブル信号入力へのイネーブル信号に応答して前記
トレースデータ入力へのトレースデータをセットするト
レースデータ保持回路2と、セントパルス入力、及び前
記トレースデータ保持回路2の出力に接続されたデータ
入力を有し、該セントパルス入力への前記セットパルス
に応答して前記データ入力へのデータをビット並列にセ
ントし、ビット直列に出力するスキャンデータ保持回路
4とを存するトレーサに、次の構成要素を設けて構成さ
れる。その構成要素は、データセット禁止信号出力を有
し、前記トレースデータ保持回路2にセットされたトレ
ースデータを参照する期間の間、前記データセット禁止
信号を発生する信号発生回路6と、前記データセット禁
止信号出力に接続されたデータセット禁止信号入力、イ
ネーブル信号、及び前記トレースデータ保持回路2のイ
ネーブル信号入力に接続された出力を有し、前記データ
セット禁止信号に応答して前記トレースデータ保持回路
2へのイネーブル信号の出力を禁止するデータセット禁
止回路8である。
[Means for solving the problem] FIG. 1 is a block diagram of the principle of the present invention. As shown in this figure, the invention according to claim 1 has a set pulse input, an enable signal input, and a trace data input, and the set pulse to the cent pulse input and the enable signal to the enable signal input. a trace data holding circuit 2 for setting trace data to the trace data input in response to a cent pulse input; and a data input connected to a cent pulse input and an output of the trace data holding circuit 2; The tracer includes a scan data holding circuit 4 which sends data to the data input in parallel bits and outputs data in serial bits in response to the set pulse of the tracer, and is constructed by providing the following components. Its components include a signal generation circuit 6 which has a data set prohibition signal output and generates the data set prohibition signal during a period in which trace data set in the trace data holding circuit 2 is referenced; a data set inhibit signal input connected to an inhibit signal output, an enable signal, and an output connected to an enable signal input of the trace data holding circuit 2; This is a data set prohibition circuit 8 that prohibits the output of an enable signal to the data set 2.

請求項2に記載の発明は、セットパルス入力、及びイネ
ーブル信号入力、並びにトレースデータ入力を有し、該
セットパルス入力へのセットパルス及び前記イネーブル
信号入力へのイネーブル信号に応答して前記トレースデ
ータ入力へのトレースデータをセットするトレースデー
タ保持回路2と、セットパルス入力、及び前記トレース
データ保持回路2の出力に接続されたデータ入力、並び
にスキャンクロックパルス入力、及びスキャンイン入力
を有し、該セットパルス入力への前記セットパルスに応
答して前記データ入力へのデータをビット並列にセット
し、前記スキャンクロックパルス入力へのスキャンクロ
ックパルスに応答して前記スキャンイン入力へのスキャ
ンイン信号をビット直列にセットし、読み出しをビット
直列に為すスキャンデータ保持回路4とを有するトレー
サに次の構成要素を設けて構成される。その構成要素は
、スキャンクロックパルス入力、前記スキャンデータ保
持回路4の出力に接続された入力、及びデータセット禁
止信号出力を有し、前記トレースデータ保持回路2にセ
ットされたトレースデータを参照する期間の間、前記デ
ータセット禁止信号を発生する信号発生回路6Aと、前
記信号発生回路6Aのデータセット禁止信号出力に接続
されたデータセット禁止信号入力、イネーブル信号入力
、及びトレースデータ保持回路2のイネーブル信号入力
に接続された出力を有し、前記データセット禁止信号に
応答して前記トレースデータ保持回路2へのイネーブル
信号の出力を禁止するデータセット禁止回路8Aである
。第1図中の点線は、請求項2に係わる発明の特徴部分
を示す。
The invention according to claim 2 has a set pulse input, an enable signal input, and a trace data input, and the trace data is output in response to a set pulse to the set pulse input and an enable signal to the enable signal input. It has a trace data holding circuit 2 for setting trace data to an input, a set pulse input, a data input connected to the output of the trace data holding circuit 2, a scan clock pulse input, and a scan-in input. bit-parallel data to the data input in response to the set pulse to the set pulse input; and bit parallel scan-in signals to the scan-in input in response to a scan clock pulse to the scan clock pulse input. The tracer is configured by providing the following components in a tracer having a scan data holding circuit 4 which is set in series and read bits serially. Its components include a scan clock pulse input, an input connected to the output of the scan data holding circuit 4, and a data set prohibition signal output, and a period for referring to the trace data set in the trace data holding circuit 2. During this period, the signal generation circuit 6A that generates the data set prohibition signal, the data set prohibition signal input connected to the data set prohibition signal output of the signal generation circuit 6A, the enable signal input, and the enable of the trace data holding circuit 2. A data set prohibition circuit 8A has an output connected to a signal input, and prohibits output of an enable signal to the trace data holding circuit 2 in response to the data set prohibition signal. The dotted line in FIG. 1 indicates the characteristic portion of the invention according to claim 2.

〔作 用〕[For production]

本発明によれば、前記トレースデータ保持回路2にセッ
トされたトレースデータを参照したい期間の間、前記信
号発生回WI6.6Aからデータセット禁止信号が発生
されてデータセット禁止回路8.8Aからのイネーブル
信号の出力は禁止される。従って、トレースデータ保持
回路2へのトレースデータのセットは、その期間の間禁
止される。
According to the present invention, during the period when it is desired to refer to the trace data set in the trace data holding circuit 2, the data set prohibition signal is generated from the signal generation circuit WI6.6A, and the data set prohibition signal is generated from the data set prohibition circuit 8.8A. Output of the enable signal is prohibited. Therefore, setting of trace data to the trace data holding circuit 2 is prohibited during that period.

トレースデータ保持回路2にセントされたトレースデー
タは、前記期間内に前記スキャンデータ保持回路4へ供
給される1又は2以上のセットパルスにセットされては
、その参照に供される。
The trace data sent to the trace data holding circuit 2 is set to one or more set pulses supplied to the scan data holding circuit 4 within the period and is used for reference.

トレースデータの参照において、トレースデータ保持回
路2に最初にセットされたトレースデータが、そのまま
前記スキャンデータ保持回路4にセットされるから、従
来のように参照においてトレースデータが破壊されてし
まうという不都合は無くなる。
When referring to trace data, the trace data that is first set in the trace data holding circuit 2 is set as is in the scan data holding circuit 4, so there is no problem that the trace data is destroyed during the reference as in the conventional case. It disappears.

〔実施例〕 第2図は、本発明の一実施例を示す。この図において、
第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からスキャンループ信号とし
て出力される。
[Embodiment] FIG. 2 shows an embodiment of the present invention. In this diagram,
Components that are the same as those in FIG. 3 are given the same reference numerals and their explanations will be omitted. Selective output of trace register 32 to trace register 36 data to scan register 44 is performed by multiplexer 41 .
In this embodiment, it is configured. A trace data select signal to multiplexer 41 is generated at the output of decoder 48. The output value of the counter 46 is supplied to the input of the decoder 48 . The counter 46 receives first identification data indicating which of the trace registers 32 to 36 the trace data on the data bus 30 should be set to, and one of the trace registers 32 to 36. Second identification data indicating in which trace register the trace data set should 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 a counter 46 via a scan loop described later in response to a scan clock pulse supplied to a scan clock input. Ru. The trace register number is input to the scan register 44 from the scan-in, is set in the scan register 44 by the scan clock pulse, and then outputted from the scan register 44 as a scan loop signal by the scan clock pulse.

そして、カウンタ46のカウント値(第1の識別データ
)、又はトレースレジスタ番号(第2の識別データ)を
スキャンクロックパルスに応答してビット直列にフリッ
プフリップ回路52のスキャンイン入力へ供給される。
Then, the count value (first identification data) of the counter 46 or the trace register number (second identification data) is supplied to the scan-in input of the flip-flip circuit 52 in bit series in response to the scan clock pulse.

そのフリップフロップ回路52のD入力には、Llが供
給され、クロックパルス入力にはクロックパルスが供給
されている。前記L1は、“1” (高レベルの信号で
ある。)である。フリップフロップ回路52のQ出力は
、又アンド回路54の他方の入力へ供給されると共に、
マルチプレクサ56の一方の入力へも供給されてスキャ
ンアウトへのスキャンループを完成する。スキャンクロ
ックパルスを発生するアンド回路50へは、インバータ
49を経たスキャン抑止信号、及びスキャンクロックパ
ルスが(AMされる。スキャン抑止信号は、又マルチプ
レクサ56へその切り換え信号として供給される。
Ll is supplied to the D input of the flip-flop circuit 52, and a clock pulse is supplied to the clock pulse input. The L1 is "1" (a high level signal). The Q output of the flip-flop circuit 52 is also supplied to the other input of the AND circuit 54, and
It is also applied to one input of multiplexer 56 to complete the scan loop to scan out. The scan inhibit signal that has passed through the inverter 49 and the scan clock pulse are supplied to the AND circuit 50 that generates the scan clock pulse (AM).The scan inhibit signal is also supplied to the multiplexer 56 as its switching signal.

第2図において、トレースレジスタ32.3436は、
第1図のトレースデータ保持回路2に対応し、スキャン
レジスタ44は、第1図のスキャンデータ保持回路4に
対応する。インバータ49、アンド回路50、フリップ
フロップ回路52は、第1図の信号発生回路6に対応し
、アンド回路54は、第1図のデータセット禁止回路8
に対応する。
In FIG. 2, trace register 32.3436 is
The scan register 44 corresponds to the trace data holding circuit 2 in FIG. 1, and the scan register 44 corresponds to the scan data holding circuit 4 in FIG. The inverter 49, the AND circuit 50, and the flip-flop circuit 52 correspond to the signal generation circuit 6 in FIG. 1, and the AND circuit 54 corresponds to the data set prohibition circuit 8 in FIG.
corresponds to

次に、前述構成の本発明の動作を以下に説明する。Next, the operation of the present invention having the above configuration will be explained below.

先ず、データバス30上のトレースデータが、どのよう
にしてトレースレジスタ32乃至トレースレジスタ36
の内の、いずれのトレースレジスタにセットされるかと
いうことについて説明する。
First, how is the trace data on the data bus 30 transferred to the trace registers 32 to 36?
Which trace register is set in will be explained below.

そのとき、スキャン抑止信号は、l”に設定される。At that time, the scan inhibit signal is set to l''.

そのトレースデータのデータバス30上への転送と共に
、カウント信号が、カウンタ46のカウント入力へ供給
されて前記データバス30上のトレースデータをセット
したいトレースレジスタ識別カウント値を発生する。こ
のとき、フリップフロップ回路52のクロックパルス入
力にクロックパルスが、供給されてQ出力に“1”の信
号を発生させる。このカウント値がデコーダ48にてデ
コードされてトレースレジスタ32乃至トレースレジス
タ36ヘトレースレジスタイネーブル信号が供給され、
マルチプレクサ41ヘトレースデータセレクト信号が供
給される。従って、前記データバス30上のトレースデ
ータは、前記トレースレジスタイネーブル信号で指定さ
れるトレースレジスタにセットされる。
Along with the transfer of the trace data onto the data bus 30, a count signal is provided to the count input of the counter 46 to generate the trace register identification count value to which the trace data on the data bus 30 is to be set. At this time, a clock pulse is supplied to the clock pulse input of the flip-flop circuit 52 to generate a "1" signal at the Q output. This count value is decoded by the decoder 48 and a trace register enable signal is supplied to the trace registers 32 to 36.
A trace data select signal is supplied to multiplexer 41. Therefore, the trace data on the data bus 30 is set in the trace register designated by the trace register enable signal.

前述のようにして、トレースレジスタ32乃至トレース
レジスタ36のいずれかにセットされたトレースデータ
の読み出しを行なうために、スキャン抑止信号を“O”
にしてアンド回!50からスキャンクロックパルスを出
力させる一方、スキャンイン信号〔“°0”、及びトレ
ースレジスタ番号〕をスキャンインからスキャンループ
(スキャンレジスタ44、カウンタ46、フリップフロ
ップ回路52及びマルチプレクサ56から成る。)へ送
り込む。そのスキャンイン信号の中の°′0”は、スキ
ャンクロックパルスに応答するスキャンレジスタ44、
及びカウンタ46を経てフリップフロップ回路52にセ
ットされ、前記トレースレジスタ番号は、カウンタ46
にセントされる。
As described above, in order to read the trace data set in any of the trace registers 32 to 36, the scan inhibit signal is set to "O".
And times! While outputting a scan clock pulse from 50, a scan-in signal [°0'' and trace register number] is sent from the scan-in to the scan loop (consisting of scan register 44, counter 46, flip-flop circuit 52, and multiplexer 56). Send it in. °'0'' in the scan-in signal is the scan register 44 responsive to the scan clock pulse;
The trace register number is set in the flip-flop circuit 52 via the counter 46.
cents.

そのセント直後に、スキャン抑止信号を′°1″に切り
換える。これにより、フリップフロップ回路52のQ出
力を0”に保持してトレースレジスタ32乃至トレース
レジスタ36へのトレースデータのセントを禁止する一
方、カウンタ46から、トレースレジスタ32乃至トレ
ースレジスタ36のいずれかを選択するための値が出力
される。
Immediately after the cent, the scan inhibit signal is switched to ``1''.This holds the Q output of the flip-flop circuit 52 at 0'' and inhibits the trace data from being sent to the trace registers 32 to 36. , the counter 46 outputs a value for selecting one of the trace registers 32 to 36.

カウンタ46のカウント値は、デコーダ48を経てトレ
ースデータセレクト信号としてマルチプレクサ41−供
給されると共に、アンド回路54へ供給される。従って
、フリップフロップ回路52のQ出力には、“0”の信
号が発注させられているから、アンド回路54からトレ
ースレジスタイネーブル信号が出力されず、次のデータ
データセ・ントクロックパルスに応答してデータバス3
0上のトレースデータを新たにトレースレジスタ32、
乃至トレースレジスタ36にセットするのを禁止しつつ
、前記次のデータセットクロックパルスに応答してマル
チプレクサ41を経た前記トレースデータセレクト信号
指定のトレースレジスタの内容をスキャンレジスタ44
ヘビット並列にセットすることが出来る。スキャンレジ
スタ44ヘセツトされたトレースデータは、直前のデー
タセットクロツタパルスによってトレースレジスタにセ
ットされたトレースデータである。
The count value of the counter 46 is supplied to the multiplexer 41 as a trace data select signal via a decoder 48, and is also supplied to an AND circuit 54. Therefore, since the Q output of the flip-flop circuit 52 is ordered to have a "0" signal, the AND circuit 54 does not output the trace register enable signal and does not respond to the next data set clock pulse. data bus 3
The trace data on 0 is newly stored in the trace register 32,
The content of the trace register specified by the trace data select signal passed through the multiplexer 41 is scanned into the scan register 44 in response to the next data set clock pulse while prohibiting the data from being set in the trace register 36.
Heavy bits can be set in parallel. The trace data set in the scan register 44 is the trace data set in the trace register by the previous data set clocker pulse.

従って、前のトレースデータを破壊することなしに、該
トレースデータの保存が可能になる。同一のトレースデ
ータの反復参照を時間を異にして行ないたいと言う要求
を満たすことが可能になる。
Therefore, the trace data can be saved without destroying the previous trace data. This makes it possible to satisfy the request to repeatedly refer to the same trace data at different times.

このようにしてスキャンレジスタ44にセントされたト
レースデータの読み出しを行なうために、スキャン抑止
信号を“0”にしてアンド回路50からスキャンクロッ
クパルスを出力せしめ、スキャンレジスタ44にセット
されたトレースデータをカウンタ46、フリップフロッ
プ回路52、そしてマルチプレクサ56を経て出力させ
てそのトレースデータの読み出しを行なう。
In order to read the trace data set in the scan register 44 in this way, 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 out. The trace data is read out by outputting it through a counter 46, a flip-flop circuit 52, and a multiplexer 56.

なお、前記実施例においては、フリップフロップ回路5
2にトレースレジスタイネーブル信号の出力禁止を生せ
しめる禁止信号“0”のセットをスキャンループを経て
フリップフロップ回路52にセットせしめる構成例を説
明したが、前記スキャンループを介してでなく、構成さ
れるものであってもよい。
Note that in the above embodiment, the flip-flop circuit 5
In 2, an example of the configuration in which the prohibition signal "0" that causes output prohibition of the trace register enable signal is set in the flip-flop circuit 52 through the scan loop has been described. It may be something.

〔発明の効果] 上述したように本発明によれば、トレースレジスタにト
レースデータをセットした次の処理周期期間乃至所要の
処理周期期間数量、前記トレースレジスタへのデータの
セットを禁止するようにしたので、トレースレジスタに
セットしたトレースデータを破壊してしまうことなしに
、そのトレースデータの反復した参照を行なうことが出
来る。
[Effects of the Invention] As described above, according to the present invention, setting of data to the trace register is prohibited during the next processing cycle period after setting trace data in the trace register or the required processing cycle period quantity. Therefore, the trace data set in the trace register can be referenced repeatedly without destroying the trace data.

第2図は本発明の一実施例を示す図、 第3図は提案されているトレーサを示す図、第4図は第
3図のトレーサの欠点を説明する図である。
FIG. 2 is a diagram showing an embodiment of the present invention, FIG. 3 is a diagram showing a proposed tracer, and FIG. 4 is a diagram explaining the drawbacks of the tracer shown in FIG. 3.

第1図及び第2図において、 2はトレースデータ保持回路(トレースレジスタ32.
34.36)、 4はスキャンデータ保持回路(スキャンレジスタ44)
、 6は信号発生回路(インバータ49、アンド回路50、
フリップフロップ回路52)、 8はデータセット禁止回路(アンド回路54)である。
1 and 2, 2 is a trace data holding circuit (trace register 32.
34.36), 4 is a scan data holding circuit (scan register 44)
, 6 is a signal generation circuit (inverter 49, AND circuit 50,
Flip-flop circuit 52), 8 is a data set prohibition circuit (AND circuit 54).

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

第1図は本発明の原理ブロック図、 ど−デ二7しヅトク0/り/ぐ/L又 14−a月の/!、遅70./’7図 第1図 I范[れLい叫し−ガ 第3図 Figure 1 is a block diagram of the principle of the present invention. Do-de-27shizutoku0/ri/gu/Lmata 14-a/! , late 70. /'7 figure Figure 1 I'm crying Figure 3

Claims (2)

【特許請求の範囲】[Claims] (1)セットパルス入力、及びイネーブル信号入力、並
びにトレースデータ入力を有し、該セットパルス入力へ
のセットパルス及び前記イネーブル信号入力へのイネー
ブル信号に応答して前記トレースデータ入力へのトレー
スデータをセットするトレースデータ保持回路(2)と
、 セットパルス入力、及び前記トレースデータ保持回路(
2)の出力に接続されたデータ入力を有し、該セットパ
ルス入力への前記セットパルスに応答して前記データ入
力へのデータをビット並列にセットし、ビット直列に出
力するスキャンデータ保持回路(4)とを有するトレー
サにおいて、データセット禁止信号出力を有し、前記ト
レースデータ保持回路(2)にセットされたトレースデ
ータを参照する期間の間、前記データセット禁止信号を
発生する信号発生回路(6)と、 前記データセット禁止信号出力に接続されたデータセッ
ト禁止信号入力、イネーブル信号、及び前記トレースデ
ータ保持回路(2)のイネーブル信号入力に接続された
出力を有し、前記データセット禁止信号に応答して前記
トレースデータ保持回路(2)へのイネーブル信号の出
力を禁止するデータセット禁止回路(8)とを設けたこ
とを特徴とするトレースデータ読み出し方式。
(1) having a set pulse input, an enable signal input, and a trace data input, and transmitting trace data to the trace data input in response to a set pulse to the set pulse input and an enable signal to the enable signal input; a trace data holding circuit (2) to be set, a set pulse input, and the trace data holding circuit (2);
2) a scan data holding circuit (2) having a data input connected to the output of the scan data holding circuit ( 4) in the tracer, the signal generation circuit has a data set prohibition signal output and generates the data set prohibition signal during a period of referring to the trace data set in the trace data holding circuit (2); 6); a data set inhibit signal input connected to the data set inhibit signal output; an enable signal; and an output connected to the enable signal input of the trace data holding circuit (2); 1. A trace data reading method, comprising: a data set prohibition circuit (8) that prohibits output of an enable signal to the trace data holding circuit (2) in response to the trace data holding circuit (2).
(2)セットパルス入力、及びイネーブル信号入力、並
びにトレースデータ入力を有し、該セットパルス入力へ
のセットパルス及び前記イネーブル信号入力へのイネー
ブル信号に応答して前記トレースデータ入力へのトレー
スデータをセットするトレースデータ保持回路(2)と
、 セットパルス入力、及び前記トレースデータ保持回路(
2)の出力に接続されたデータ入力、並びにスキャンク
ロックパルス入力、及びスキャンイン入力を有し、該セ
ットパルス入力への前記セットパルスに応答して前記デ
ータ入力へのデータをビット並列にセットし、前記スキ
ャンクロックパルス入力へのスキャンクロックパルスに
応答して前記スキャンイン入力へのスキャンイン信号を
ビット直列にセットし、読み出しをビット直列に為すス
キャンデータ保持回路(4)とを有するトレーサにおい
て、 スキャンクロックパルス入力、前記スキャンデータ保持
回路(4)の出力に接続された入力、及びデータセット
禁止信号出力を有し、前記トレースデータ保持回路(2
)にセットされたトレースデータを参照する期間の間、
前記データセット禁止信号を発生する信号発生回路(6
A)と、前記信号発生回路(6A)のデータセット禁止
信号出力に接続されたデータセット禁止信号入力、イネ
ーブル信号入力、及びトレースデータ保持回路(2)の
イネーブル信号入力に接続された出力を有し、前記デー
タセット禁止信号に応答して前記トレースデータ保持回
路(2)へのイネーブル信号の出力を禁止するデータセ
ット禁止回路(8A)とを設けたことを特徴とするトレ
ースデータ読み出し方式。
(2) having a set pulse input, an enable signal input, and a trace data input, and transmitting trace data to the trace data input in response to a set pulse to the set pulse input and an enable signal to the enable signal input; a trace data holding circuit (2) to be set, a set pulse input, and the trace data holding circuit (2);
2) has a data input connected to the output of 2), and a scan clock pulse input and a scan-in input, and sets the data to the data input in bit parallel in response to the set pulse to the set pulse input. , a scan data holding circuit (4) for setting a scan-in signal to the scan-in input in bit series in response to a scan clock pulse to the scan clock pulse input, and reading out the scan data in bit series, The trace data holding circuit (2) has a scan clock pulse input, an input connected to the output of the scan data holding circuit (4), and a data set prohibition signal output.
) during the period of referring to the trace data set to
a signal generation circuit (6) that generates the data set prohibition signal;
A), a data set inhibit signal input connected to the data set inhibit signal output of the signal generation circuit (6A), an enable signal input, and an output connected to the enable signal input of the trace data holding circuit (2). and a data set prohibition circuit (8A) which prohibits output of an enable signal to the trace data holding circuit (2) in response to the data set prohibition signal.
JP2258293A 1990-09-27 1990-09-27 Tracer Expired - Fee Related JP2678085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2258293A JP2678085B2 (en) 1990-09-27 1990-09-27 Tracer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2258293A JP2678085B2 (en) 1990-09-27 1990-09-27 Tracer

Publications (2)

Publication Number Publication Date
JPH04135248A true JPH04135248A (en) 1992-05-08
JP2678085B2 JP2678085B2 (en) 1997-11-17

Family

ID=17318248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2258293A Expired - Fee Related JP2678085B2 (en) 1990-09-27 1990-09-27 Tracer

Country Status (1)

Country Link
JP (1) JP2678085B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01206441A (en) * 1988-02-15 1989-08-18 Nec Corp Tracer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01206441A (en) * 1988-02-15 1989-08-18 Nec Corp Tracer

Also Published As

Publication number Publication date
JP2678085B2 (en) 1997-11-17

Similar Documents

Publication Publication Date Title
JPH0480350B2 (en)
US5633816A (en) Random number generator with wait control circuitry to enhance randomness of numbers read therefrom
JPH04135248A (en) Trace data reading system
JP2841456B2 (en) Data transfer method and data buffer device
JP2637276B2 (en) Tracer
US5479165A (en) Two-dimensional coding apparatus
JPS5947394B2 (en) Variable length two-dimensional register
JPS59178667A (en) Memory device
JP3157662B2 (en) LSI diagnostic control circuit
JPS603715B2 (en) variable length shift register
SU1589288A1 (en) Device for executing logic operations
SU1474630A1 (en) Data input unit
SU1562896A2 (en) Device for information input to computer
JPH02212952A (en) Memory access control system
SU1501067A2 (en) Device for monitoring microprogram run
SU1288708A1 (en) Interface for linking digital computer with magnetic tape stores
SU670958A2 (en) Telemetry information processing device
JPS6136854A (en) Memory switching device
SU1038944A1 (en) Microprgram control device having checking capability
JP2595707B2 (en) Memory device
JPS59151371A (en) Semiconductor memory element
JP2821176B2 (en) Information processing device
JP2532092B2 (en) State holding circuit scanning method
RU1800458C (en) Test forming device
JPH0289300A (en) Semiconductor memory element

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees