JPH08339313A - Logic circuit monitoring device - Google Patents

Logic circuit monitoring device

Info

Publication number
JPH08339313A
JPH08339313A JP7146642A JP14664295A JPH08339313A JP H08339313 A JPH08339313 A JP H08339313A JP 7146642 A JP7146642 A JP 7146642A JP 14664295 A JP14664295 A JP 14664295A JP H08339313 A JPH08339313 A JP H08339313A
Authority
JP
Japan
Prior art keywords
logic
circuit
monitored
monitoring device
trigger
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7146642A
Other languages
Japanese (ja)
Inventor
Hiroshi Tanuma
博志 田沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7146642A priority Critical patent/JPH08339313A/en
Publication of JPH08339313A publication Critical patent/JPH08339313A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To change the trigger logic as desired in such a case where the signal of an observation point set in a logic circuit to be monitored (target chip) is acquired as the trace data when the signal of the observation point is turned into a certain type of logic (trigger logic). CONSTITUTION: An FPLA(field programmable logic array) 1 previously produces a logic circuit that satisfies the necessary trigger logic by giving externally the program data PRGI. The observation point data PIN1 to PINn are inputted to the FPLA 1, and the trigger TRG are generated from the FPLA 1 when the trigger logic is satisfied. At the same time, the trace data stored in a memory 2 are shifted to the outside via a shift register 3 and can be observed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は論理回路の監視装置に関
し、特に論理回路内の予め定められた複数の被監視論理
信号の状態を監視して異常が検出されたときにそのとき
のこれ等被監視論理信号の状態を格納するようにした論
理回路の監視装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a monitoring device for a logic circuit, and more particularly to a monitoring device for a plurality of predetermined monitored logic signals in the logic circuit, and when an abnormality is detected, these are detected. The present invention relates to a monitoring device for a logic circuit that stores the state of a monitored logic signal.

【0002】[0002]

【従来の技術】従来のこの種の論理回路の監視装置とし
ては、図16に示す如き構成のものがあり、特開昭62
−221043号公報に開示の技術である。この監視装
置10は、当該監視装置10を制御する監視プロセッサ
11と、この監視プロセッサ11の動作プログラムを格
納するローカルメモリ12と、外部装置(図示せず)と
の通信のための通信アダプタ13と、被監視回路である
論理回路21との接続をなすメインバス20上のトレー
スデータを格納するためのトレースメモリ14と、この
トレースメモリ14へのデータの入出力を制御するトレ
ースメモリ制御回路15と、ウォッチドッグタイマ(W
DT)回路16と、メインバス20と監視装置10のロ
ーカルバス18との間を制御するバス制御回路17とか
らなっている。
2. Description of the Related Art As a conventional monitoring device for a logic circuit of this type, there is one having a structure as shown in FIG.
This is the technique disclosed in Japanese Patent Laid-Open No. 221043. The monitoring device 10 includes a monitoring processor 11 that controls the monitoring device 10, a local memory 12 that stores an operation program of the monitoring processor 11, and a communication adapter 13 for communication with an external device (not shown). A trace memory 14 for storing trace data on a main bus 20 which is connected to a logic circuit 21 which is a monitored circuit, and a trace memory control circuit 15 for controlling input / output of data to / from the trace memory 14. , Watchdog timer (W
DT) circuit 16 and a bus control circuit 17 for controlling between the main bus 20 and the local bus 18 of the monitoring device 10.

【0003】かかる構成において、メインバス20上の
監視波形を順次トレースメモリ14へ格納しておき、監
視波形の中で特定の波形が一定時間内に監視されなかっ
た場合、WDT回路16が監視プロセッサ11へ異常を
通知する様になっている。監視プロセッサ11は外部の
波形表示システムに対してトレースメモリ14の内容を
通信アダプタ13及び通信回線19を介して送出するも
のである。
In such a configuration, the monitor waveforms on the main bus 20 are sequentially stored in the trace memory 14, and when a particular waveform is not monitored within a certain time, the WDT circuit 16 causes the monitor processor to operate. 11 is notified of the abnormality. The monitor processor 11 sends the contents of the trace memory 14 to an external waveform display system via the communication adapter 13 and the communication line 19.

【0004】[0004]

【発明が解決しようとする課題】この様な従来の論理回
路監視装置における波形観測システムでは、波形観測回
路を回路ボード上に実装してメインバス20上の波形観
測を行うものである。従って、波形観測対象の任意の観
測点(被監視点)を選択することができないという問題
がある。
In the waveform observing system in such a conventional logic circuit monitoring device, the waveform observing circuit is mounted on the circuit board to observe the waveform on the main bus 20. Therefore, there is a problem that an arbitrary observation point (monitored point) of the waveform observation target cannot be selected.

【0005】また、トレースメモリ14に波形の取込み
を停止するタイミングを一般的に使用されているウォッ
チドッグタイマ16にて発生しているために、この停止
タイミングを任意に自由度を高くして選択することがで
きないという問題もある。
Further, since the timing for stopping the acquisition of the waveform in the trace memory 14 is generated by the watchdog timer 16 which is generally used, this stop timing is arbitrarily selected with a high degree of freedom. There is also the problem that you cannot do it.

【0006】本発明の目的は、波形観測点の選択や波形
観測のトリガ論理の自由度を向上させることが可能な論
理回路の監視装置を提供することである。
An object of the present invention is to provide a monitoring device for a logic circuit which can improve the degree of freedom in selecting a waveform observation point and trigger logic for waveform observation.

【0007】本発明の他の目的は、被観測論理回路が集
積化されたICチップのボード上に実装することが可能
な論理回路の監視装置を提供することである。
Another object of the present invention is to provide a logic circuit monitoring apparatus which can be mounted on a board of an IC chip on which an observed logic circuit is integrated.

【0008】[0008]

【課題を解決するための手段】本発明によれば、論理回
路内の予め定められた複数の被監視論理信号の状態を監
視して異常が検出されたときにそのときのこれ等被監視
論理信号の状態を格納するようにした論理回路の監視装
置であって、複数の前記被監視論理信号を入力としてこ
れ等被監視論理信号の組合わせが予め定められた所定論
理に一致するか否かを検出する論理検出手段と、前記論
理検出手段による所定論理の一致検出に応答してそのと
きの前記被監視論理信号の各々を取込み記憶する記憶手
段とを含むことを特徴とする論理回路の監視装置が得ら
れる。
According to the present invention, the states of a plurality of predetermined monitored logic signals in a logic circuit are monitored, and when an abnormality is detected, those monitored logic signals at that time are detected. A monitoring device for a logic circuit adapted to store a state of a signal, wherein whether or not a combination of a plurality of monitored logic signals is input and whether a combination of these monitored logic signals matches a predetermined logic. Monitoring of the logic circuit, which includes a logic detecting means for detecting the above logic and a memory means for receiving and storing each of the monitored logic signals at that time in response to the detection of the coincidence of the predetermined logic by the logic detecting means. The device is obtained.

【0009】そして、前記論理検出手段として、基本論
理ゲート素子が予め組込まれこれ等基本ゲート素子の接
続関係を所望に制御可能なフィールドプログラマブルロ
ジックアレイを使用することを特徴とする。
Further, as the logic detecting means, a field programmable logic array in which basic logic gate elements are incorporated in advance and the connection relationship of these basic gate elements can be desirably controlled is used.

【0010】[0010]

【作用】波形観測対象の複数の被監視論理信号の状態の
所定論理を取り、この所定論理が満足された時にトリガ
信号を生成してそのときのこれ等被監視論理信号の状態
をラッチして外部へ導出可能としており、この論理を取
る論理部に基本ゲート素子の接続関係を所望に制御可能
なフィールドプログラマブルロジックアレイを使用する
ことにより、種々の波形観測点の変更ができる他、種々
の被監視論理回路にも自由に対応ができる。
The logic of the states of the plurality of monitored logic signals to be observed is taken, a trigger signal is generated when the predetermined logic is satisfied, and the states of these monitored logic signals at that time are latched. By using a field programmable logic array that can be derived to the outside and can control the connection relationship of the basic gate elements in the logic section that takes this logic, it is possible to change various waveform observation points and various target points. The monitoring logic circuit can be used freely.

【0011】[0011]

【実施例】以下に、図面を参照しつつ本発明の実施例に
つきに詳述する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図1は本発明の概略を示すブロック図であ
る。図1において、FPLA1はフィールドプログラマ
ブルロジックアレイであり、被監視対象となるターゲッ
トチップ(図示せず)の被監視論理信号(観測点デー
タ)PIN1〜PINnを入力とし、これ等観測点デー
タをサンプリング指示信号SMPがアクティブの間クロ
ックCLKに同期してサンプリングしつつ導出してサン
プルデータData1〜Datanとして出力すると共
に、これ等観測点データの所望論理を取ってその論理が
満足されたときに外部へトリガ信号TRGを生成する機
能を有する。
FIG. 1 is a block diagram showing the outline of the present invention. In FIG. 1, FPLA1 is a field programmable logic array, which receives monitored logic signals (observation point data) PIN1 to PINn of a target chip (not shown) to be monitored as an input and instructs sampling of these observation point data. While the signal SMP is active, it is derived while sampling in synchronization with the clock CLK and output as sample data Data1 to Dataan, and the desired logic of these observation point data is taken and when the logic is satisfied, it is triggered to the outside. It has a function of generating the signal TRG.

【0013】この観測点データの所望論理を取るための
論理部の構成を、フィールドプログラマブルロジクアレ
イのプログラマブルな特性を用いて所望に変化制御する
ことができるようになっている。そのために、プログラ
ムイネーブルPRGEとプログラムデータPRGIとが
供給されており、プログラムイネーブルPRGEがアク
ティブのときに、プログラムデータPRGIを外部より
供給することで、FPLA1内に予め組込まれている基
本ゲート素子(アンドゲート,オアゲート,インバー
タ,Dタイプフリップフロップ等)の入出力接続関係を
プログラマブルに変更制御して、ターゲットチップの観
測点データの所望論理を取ることが可能となるようにな
っている。
The configuration of the logic unit for obtaining the desired logic of the observation point data can be changed and controlled as desired by using the programmable characteristics of the field programmable logic array. Therefore, the program enable PRGE and the program data PRGI are supplied, and when the program enable PRGE is active, the program data PRGI is supplied from the outside so that the basic gate element (and Input / output connection relations of gates, OR gates, inverters, D-type flip-flops, etc.) are programmable and controlled to obtain a desired logic of the observation point data of the target chip.

【0014】メモリ2はFPLA1においてサンプリン
グされたサンプルデータData1〜Datanをクロ
ックCLKに同期して記憶するためのものであり、シフ
トイネーブルSHFENがアクティブのときにメモリデ
ータをシフトレジスタ3へシフトインする。シフトレジ
スタ3はシフトアウトイネーブルSOEがアクティブの
ときに、メモリ2から取り込んだデータDout1〜D
outnをクロックCLKに同期して順次シフトしてシ
フトアウトデータSOとして外部へ出力するものであ
る。
The memory 2 stores the sample data Data1 to Dataan sampled in the FPLA 1 in synchronization with the clock CLK, and shifts the memory data into the shift register 3 when the shift enable SHFEN is active. The shift register 3 receives the data Dout1 to Dout captured from the memory 2 when the shift-out enable SOE is active.
The outn is sequentially shifted in synchronization with the clock CLK and output to the outside as shift-out data SO.

【0015】FPLA1の詳細について更に以下に説明
する。図2はこのFPLA1の機能ブロック図であり、
観測点データPIN1〜PINnを、サンプリング指示
信号SMPがアクティブの間クロックCLKによりサン
プリングする入力データサンプル部110と、このサン
プルデータData1〜Datanを入力とし、これ等
入力データの所定論理を取るための論理機能部111と
からなっている。
The details of the FPLA 1 will be further described below. FIG. 2 is a functional block diagram of this FPLA1,
An input data sampling unit 110 for sampling the observation point data PIN1 to PINn by the clock CLK while the sampling instruction signal SMP is active, and a logic for inputting the sample data Data1 to Datan and taking a predetermined logic of these input data. It is composed of a function unit 111.

【0016】この論理機能部111は、プログラムイネ
ーブルPRGEがアクティブのときに外部よりシリアル
に供給されるプログラムデータPRGIに従って基本ゲ
ート素子間の入出力接続が設定自在となっている。この
論理設定の後に、ターゲットチップ(図示せず)の観測
点データPIN1〜PINnを入力することにより、論
理機能部111にて設定された論理演算が行われ、その
論理が満足されたときに、トリガTRGを外部へ生成す
るものである。
In the logic function unit 111, when the program enable PRGE is active, the input / output connection between the basic gate elements can be freely set according to the program data PRGI supplied serially from the outside. After this logic setting, by inputting the observation point data PIN1 to PINn of the target chip (not shown), the logic operation set in the logic function unit 111 is performed, and when the logic is satisfied, The trigger TRG is generated externally.

【0017】図3は図2の論理機能部111の具体例を
示すブロック図であり、マトリックス部112と複数の
ファンクションブロック113−1〜113−Mからな
っている。マトリックス部112はこれ等ファンクショ
ンブロック113−1〜113−Mの入出力FB00〜
FB0N,FB10〜FB1N,FBM0〜FBMNを
互いに所望に接続するためのスイッチマトリックスであ
り、具体的には、図6にその一例を示す如く、格子状配
線とファッションブロック113−1〜113−6とが
予め組み込まれており、これ等格子状配線の各交差部
を、外部からのプログラムデータPRGIに従って選択
的にオン(電気的に接続することを意味する)制御する
ことで、所望の論理回路が構成できるもので、一般に広
く用いられているフィールドプログラマブルロジックア
レイICである。
FIG. 3 is a block diagram showing a specific example of the logical function unit 111 of FIG. 2, which is composed of a matrix unit 112 and a plurality of function blocks 113-1 to 113-M. The matrix section 112 has inputs / outputs FB00 to FB00 of these function blocks 113-1 to 113-M.
A switch matrix for connecting FB0N, FB10 to FB1N, FBM0 to FBMN to each other as desired. Specifically, as shown in an example of FIG. 6, grid-like wiring and fashion blocks 113-1 to 113-6. Are incorporated in advance, and a desired logic circuit can be obtained by selectively turning on (meaning electrically connecting) each intersection of these grid-like wirings according to program data PRGI from the outside. It is a field programmable logic array IC that can be configured and is widely used.

【0018】ファンクションブロック113の例として
は、図4に示す如く、SR(セットリセット)付きDF
F40、インバータ41,42、アンドゲート43〜4
5,オアゲート46からなり、図示の如く予め組み込ま
れているものである。
As an example of the function block 113, as shown in FIG. 4, DF with SR (set / reset)
F40, inverters 41, 42, AND gates 43-4
5, OR gate 46, which is incorporated in advance as shown in the figure.

【0019】図5は、ターゲットチップ(図示せず)内
のある観測点の信号WRのパルス幅が所定値になったこ
とを検出してトリガTRGを生成するための論理機能部
111のトリガ論理回路の構成例である。
FIG. 5 shows the trigger logic of the logic function unit 111 for detecting that the pulse width of the signal WR at a certain observation point in the target chip (not shown) has reached a predetermined value and generating the trigger TRG. It is a structural example of a circuit.

【0020】観測点信号WRを所定ビット数のシフトレ
ジスタ116へクロック信号CLK(ターゲットチップ
の動作クロック)に同期して取込み、このシフトレジス
タ116の各ビット出力をインバータ117,119、
オアゲート118及びノアゲート120によりデコード
して、このデコード出力にてDFF121をセットする
ようにしており、このDFF121のQ出力からトリガ
TRGが出力されることになる。
The observation point signal WR is fetched into the shift register 116 having a predetermined number of bits in synchronization with the clock signal CLK (operating clock of the target chip), and the respective bit outputs of this shift register 116 are fed to the inverters 117, 119.
Decoding is performed by the OR gate 118 and the NOR gate 120, and the DFF 121 is set by this decoded output, and the trigger TRG is output from the Q output of this DFF 121.

【0021】この論理回路構成により、観測点信号WR
のパルス幅が所定値に達すると、DFF121がセット
されてトリガTRGがアクティブとなり、外部へその旨
が報告されることになる。このトリガTRGにより、図
示せぬ外部の観測システムはトリガ論理が成立したこと
を検知し、よって観測システムはこれに応答して、図1
に示したサンプリング指示信号SMPを始めて非アクテ
ィブとすると共に、シフトイネーブルSHFENをアク
ティブとしてメモリ2に格納されていたデータをシフト
レジスタ3へ転送する様制御する。
With this logic circuit configuration, the observation point signal WR
When the pulse width of 1 reaches a predetermined value, the DFF 121 is set, the trigger TRG becomes active, and the fact is reported to the outside. By this trigger TRG, an external observation system (not shown) detects that the trigger logic is established, and accordingly, the observation system responds to this by the operation shown in FIG.
The sampling instruction signal SMP shown in (1) is made inactive for the first time, and the shift enable SHFEN is made active so that the data stored in the memory 2 is transferred to the shift register 3.

【0022】そして、シフトアウトイネーブルSOEに
よりクロックCLKに同期して、メモリ2から転送され
たデータを、シフトレジスタ3内で順次シフトしつつシ
フトアウトデータSOとして観測システムへ取込むこと
ができるものである。
Then, in synchronization with the clock CLK by the shift-out enable SOE, the data transferred from the memory 2 can be sequentially shifted in the shift register 3 and taken into the observation system as shift-out data SO. is there.

【0023】図5に示した論理回路機能を実現するFP
LA1の論理機能部111のマトリックス接続の例が、
図6に示されており、図6の黒丸で示す各交点が電気的
に接続されている状態を示している。この黒丸で示す如
く、マトリックス部の各交差部の電気的接続を選択的に
行う方法は既に公知であるが、図7,8を用いて説明す
る。
FP for realizing the logic circuit function shown in FIG.
An example of matrix connection of the logical function unit 111 of LA1 is
This is shown in FIG. 6, and shows a state in which the intersections shown by the black circles in FIG. 6 are electrically connected. As shown by these black circles, a method for selectively electrically connecting each crossing portion of the matrix portion is already known, but it will be described with reference to FIGS.

【0024】マトリックス部112の各交差部Xには、
図7に示す様なトランジスタスイッチ71と、一対のイ
ンバータ72,73からなるメモリセルとが設けられて
おり、このメモリセルへトランジスタTRからなるトラ
ンジスタゲート74を介してプログラムデータPRGI
がクロックCLKに同期して供給される。
At each intersection X of the matrix portion 112,
A transistor switch 71 as shown in FIG. 7 and a memory cell including a pair of inverters 72 and 73 are provided, and program data PRGI is supplied to this memory cell via a transistor gate 74 including a transistor TR.
Are supplied in synchronization with the clock CLK.

【0025】例えば、入力されたプログラムデータPR
GIが“1”であれば、メモリセルによりこの“1”が
保持されてトランジスタスイッチ71がオンに維持さ
れ、AラインとBラインとが電気的に接続されるように
なっているのである。
For example, the input program data PR
If GI is "1", this "1" is held by the memory cell, the transistor switch 71 is kept on, and the A line and the B line are electrically connected.

【0026】交差部Xは図6に示した如く多数設けられ
ており、これ等交差部のいずれを選択的にオンとするか
は、上述した如く、ターゲットチップ内の観測点データ
に対する論理式により定まるものであり、実際の観測前
にこの交差部のオン設定制御が行われる。
A large number of intersections X are provided as shown in FIG. 6, and which of these intersections is selectively turned on is determined by the logical formula for the observation point data in the target chip as described above. The ON setting control of this intersection is performed before the actual observation.

【0027】図8はこの交差部のオン設定制御の一例を
説明するための図である。交差部X#1〜X#4に関し
て、図7に示したトランジスタゲート74の各出力をト
ランスファゲートTG−1〜TG−3にてシルアルに伝
搬する様に接続し、これ等各トランスファゲートTG−
1〜TG−3をクロックCLKの反転クロック(インバ
ータINV#1〜#3)によりオンオフ制御する。
FIG. 8 is a diagram for explaining an example of the ON setting control of this intersection. Regarding the intersections X # 1 to X # 4, the respective outputs of the transistor gate 74 shown in FIG. 7 are connected so as to propagate serially at the transfer gates TG-1 to TG-3, and these transfer gates TG- are connected.
1 to TG-3 are on / off controlled by an inverted clock of the clock CLK (inverters INV # 1 to # 3).

【0028】初段のトランジスタゲート74−1から予
め設定したプログラムデータPRGIをシリアルにクロ
ックCLKに同期して、交差部の数だけ順次入力して、
シフト制御することにより、最後に入力されたデータが
初段の交差部X#1のオンオフ情報となるのである。
The preset program data PRGI is serially input from the first-stage transistor gate 74-1 in synchronization with the clock CLK by the number of intersections.
By performing the shift control, the last input data becomes the on / off information of the intersection X # 1 at the first stage.

【0029】図9〜図10はターゲットチップの観測点
波形のトリガ論理を決定するための他の例を説明するも
のである。図9は正常波形と異常波形とを示しており、
例えば通常のDRAMアクセス時のRAS(ロウアドレ
スストローブ)信号とCAS(カラムアドレスストロー
ブ)信号とのタイミングを示す。
9 to 10 explain another example for determining the trigger logic of the observation point waveform of the target chip. FIG. 9 shows a normal waveform and an abnormal waveform,
For example, the timings of the RAS (row address strobe) signal and the CAS (column address strobe) signal at the time of normal DRAM access are shown.

【0030】図9に示す正常波形では、RAS信号が
ハイレベルからロウレベルへ立ち下った後、規定時間C
AS信号はハイレベルを維持しかつその間はRAS信号
はロウレベルを保持する。
In the normal waveform shown in FIG. 9, after the RAS signal falls from the high level to the low level, the specified time C
The AS signal maintains the high level and the RAS signal maintains the low level during that period.

【0031】図9に示す異常波形では、RAS信号が
立ち下った後に規定の時間CAS信号はハイレベルを維
持しているが、その間にRAS信号にハイレベルのパル
スが発生してしまう。このRAS信号の異常パルスを検
出してこれをトリガTRGとして生成するトリガ論理の
場合、図10に示す論理機能ブロック30〜33が必要
となる。
In the abnormal waveform shown in FIG. 9, the CAS signal maintains a high level for a prescribed time after the RAS signal falls, but a high level pulse is generated in the RAS signal during that time. In the case of the trigger logic that detects the abnormal pulse of the RAS signal and generates it as the trigger TRG, the logic function blocks 30 to 33 shown in FIG. 10 are required.

【0032】論理ブロック31はRAS信号の立下りを
検知する回路であり、論理ブロック30はRAS信号の
立下り後CAS信号のハイレベルを検知する回路であ
る。論理ブロック32は論理ブロック30の出力をトリ
ガとして規定時間をカウントする回路である。論理ブロ
ック33は論理ブロック32の出力をもとにRAS信号
がロウレベルであることを検知するもので、このときR
AS信号がハイレベルになると、トリガTRGを生成す
る。
The logic block 31 is a circuit for detecting the fall of the RAS signal, and the logic block 30 is a circuit for detecting the high level of the CAS signal after the fall of the RAS signal. The logic block 32 is a circuit that counts a specified time by using the output of the logic block 30 as a trigger. The logic block 33 detects that the RAS signal is low level based on the output of the logic block 32. At this time, R
When the AS signal goes high, a trigger TRG is generated.

【0033】尚、図11に各論理ブロック30〜33の
具体例回路を示しており、アンドゲート,ナンドゲー
ト,DFF,カウンタにより構成され、よってこれまた
図3に示したFPLAによって実現できることになる。
FIG. 11 shows a specific example circuit of each of the logic blocks 30 to 33, which is composed of an AND gate, a NAND gate, a DFF, and a counter, and can be realized by the FPLA shown in FIG.

【0034】図12はターゲットチップの観測点波形の
トリガ論理を決定するための更に他の例を示す回路図で
ある。例えば、ターゲットチップのメモリ回路におい
て、ライト時にライトデータD0〜D7からパリティを
生成する回路があり、このパリティ生成回路が正常に動
作しているかを確認する様な場合、これ等ライトデータ
D0〜D7を入力としてパリティPを生成するパリティ
生成回路34を設け、この出力Pとターゲットチップ内
のパリティ生成回路からのパリティデータPARITY
とを、ライト信号WRがアクティブ時に、排他的論理和
(EXOR)ゲート35にて比較し一致を判定する。一
致しない場合、DFF36のQ出力から不一致のトリガ
TRGが生成されることになる。
FIG. 12 is a circuit diagram showing still another example for determining the trigger logic of the observation point waveform of the target chip. For example, in the memory circuit of the target chip, there is a circuit that generates parity from the write data D0 to D7 at the time of writing, and when it is confirmed whether this parity generating circuit is operating normally, these write data D0 to D7 are used. A parity generation circuit 34 for generating a parity P by inputting is input, and the parity data PARITY from the output P and the parity generation circuit in the target chip is provided.
When the write signal WR is active, and are compared by the exclusive OR (EXOR) gate 35 to determine a match. If they do not match, a non-matching trigger TRG is generated from the Q output of the DFF 36.

【0035】この図12に示したトリガ論理機能も、F
PLAにより容易に実現可能である。
The trigger logic function shown in FIG.
It can be easily realized by PLA.

【0036】図13は本発明の使用例を示すブロック図
であり波形観測対象のターゲットチップ21と図1に示
したロジックサンプルLSI22とが回路基板上の配線
パターンにて接続されているものとする。ターゲットチ
ップ21が狭ピッチパッケージである場合、デバッグ時
の波形トレースが容易となる様に、予めパッケージ上に
ロジックサンプルLSI22を実装しておくものであ
る。
FIG. 13 is a block diagram showing an example of use of the present invention. It is assumed that the target chip 21 for waveform observation and the logic sample LSI 22 shown in FIG. 1 are connected by a wiring pattern on a circuit board. . When the target chip 21 is a narrow-pitch package, the logic sample LSI 22 is mounted on the package in advance so that the waveform trace during debugging can be easily performed.

【0037】波形観測システム23とロジックサンプル
LSI22とはケーブル等で接続されている。波形観測
システム23は、前述した如く、プログラムイネーブル
PRGE,プログラムデータPRGIを用いて、ロジッ
クサンプルLSI22内のFPLAに対して必要なトリ
ガ論理を供給することで、所定トリガ論理機能を得る。
The waveform observation system 23 and the logic sample LSI 22 are connected by a cable or the like. The waveform observation system 23 obtains a predetermined trigger logic function by supplying the necessary trigger logic to the FPLA in the logic sample LSI 22 by using the program enable PRGE and the program data PRGI as described above.

【0038】その後、ターゲットチップ21の波形観測
を行い、トリガTRGの発生に応答してそのトリガ論理
が成立したことを知り、シフトイネーブルSHFEN,
シフトアウトイネーブルSOEを供給してシフトレジス
タ(図1)よりトレースデータを順次読出し、表示部へ
表示する。
After that, the waveform of the target chip 21 is observed, and it is known that the trigger logic is established in response to the generation of the trigger TRG, and the shift enable SHFEN,
The shift-out enable SOE is supplied to sequentially read the trace data from the shift register (FIG. 1) and display it on the display unit.

【0039】図14は本発明の使用例の他の例を示すブ
ロック図であり、ロジックサンプルLSI22を波形観
測システム23内に組込んだ例である。ターゲットチッ
プ21はコネクタ24及びケーブル25を介して波形観
測システム23中のロジックサンプルLSI22と接続
されている。
FIG. 14 is a block diagram showing another example of use of the present invention, which is an example in which the logic sample LSI 22 is incorporated in the waveform observation system 23. The target chip 21 is connected to the logic sample LSI 22 in the waveform observation system 23 via the connector 24 and the cable 25.

【0040】図15は本発明の使用例の更に他の例を示
すものであり、波形観測のタイミングはターゲットチッ
プ21により生成され、トリガ論理はロジックサンプル
LSI22により実現される。トリガTRGが発生する
と、高性能オシロスコープ26はこのトリガTRGを外
部トリガとしてプローブ28を介して他のターゲットチ
ップ27の所望の波形を観測することができる。
FIG. 15 shows still another example of the use example of the present invention. The timing of waveform observation is generated by the target chip 21, and the trigger logic is realized by the logic sample LSI 22. When the trigger TRG is generated, the high performance oscilloscope 26 can observe a desired waveform of another target chip 27 via the probe 28 using the trigger TRG as an external trigger.

【0041】[0041]

【発明の効果】以上述べた様に、本発明によれば、ロジ
ックサンプルLSIをFPLA,メモリ,シフトレジス
タにて構成しているので、1つのLSI化が可能とな
り、またターゲットチップの任意の観測点を選択するこ
とができるという効果がある。
As described above, according to the present invention, since the logic sample LSI is composed of the FPLA, the memory, and the shift register, one LSI can be realized, and any observation of the target chip is possible. The effect is that points can be selected.

【0042】更に、トリガ論理をFPLAにて構成する
ことにより、トリガ論理の形成が自由となり、極めて汎
用性が高いという効果がある。
Further, by forming the trigger logic in FPLA, the trigger logic can be freely formed, and the versatility is extremely high.

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

【図1】本発明の実施例の概略ブロック図である。FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】図1のFPLA1の例を示すブロック図であ
る。
FIG. 2 is a block diagram showing an example of FPLA1 in FIG.

【図3】図2の論理機能部111の例を示すブロック図
である。
3 is a block diagram showing an example of a logical function unit 111 in FIG.

【図4】図3のファンクションブロック113の例を示
すブロック図である。
FIG. 4 is a block diagram showing an example of a function block 113 in FIG.

【図5】FPLA1の論理機能部111のトリガ論理の
例を示す図である。
FIG. 5 is a diagram showing an example of trigger logic of a logic function unit 111 of the FPLA1.

【図6】FPLA1の論理機能部111の接続例を示す
図である。
FIG. 6 is a diagram showing a connection example of a logical function unit 111 of the FPLA1.

【図7】FPLA1の論理機能部111のマトリックス
部の例を示す図である。
FIG. 7 is a diagram showing an example of a matrix section of a logical function section 111 of the FPLA1.

【図8】マトリックス部へのプログラムのための回路図
である。
FIG. 8 is a circuit diagram for programming a matrix portion.

【図9】トリガ論理の一例を示す波形図である。FIG. 9 is a waveform diagram showing an example of a trigger logic.

【図10】図9のトリガ論理を満足するためのブロック
図である。
10 is a block diagram for satisfying the trigger logic of FIG.

【図11】図10のブロックの具体例回路図である。11 is a specific circuit diagram of the block of FIG.

【図12】トリガ論理の他の例を示すブロック図であ
る。
FIG. 12 is a block diagram showing another example of trigger logic.

【図13】本発明の実施例の使用態様の一例を示す図で
ある。
FIG. 13 is a diagram showing an example of a mode of use of the embodiment of the present invention.

【図14】本発明の実施例の使用態様の他の例を示す図
である。
FIG. 14 is a diagram showing another example of usage of the embodiment of the present invention.

【図15】本発明の実施例の使用態様の別の例を示す図
である。
FIG. 15 is a diagram showing another example of usage of the embodiment of the present invention.

【図16】従来の波形観測のための回路例を示す図であ
る。
FIG. 16 is a diagram showing a conventional circuit example for waveform observation.

【符号の説明】[Explanation of symbols]

1 FPLA(フィールドプログラマブルロジックアレ
イ) 2 メモリ 3 シフトレジスタ 21,28 ターゲットチップ 22 ロジックサンプルLSI 23 波形観測システム 24 コネクタ 25 ケーブル 26 オシロスコープ 27 プローブ 110 入力データサンプル部 111 論理構成部 112 マトリックス部 113-1 〜113-M ファンクションブロック
1 FPLA (Field Programmable Logic Array) 2 Memory 3 Shift Register 21, 28 Target Chip 22 Logic Sample LSI 23 Waveform Observation System 24 Connector 25 Cable 26 Oscilloscope 27 Probe 110 Input Data Sample Section 111 Logic Configuration Section 112 Matrix Section 113-1 ~ 113-M function block

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 論理回路内の予め定められた複数の被監
視論理信号の状態を監視して異常が検出されたときにそ
のときのこれ等被監視論理信号の状態を格納するように
した論理回路の監視装置であって、 複数の前記被監視論理信号を入力としてこれ等被監視論
理信号の組合わせが予め定められた所定論理に一致する
か否かを検出する論理検出手段と、 前記論理検出手段による所定論理の一致検出に応答して
そのときの前記被監視論理信号の各々を取込み記憶する
記憶手段と、 を含むことを特徴とする論理回路の監視装置。
1. A logic for monitoring the states of a plurality of predetermined monitored logic signals in a logic circuit and storing the states of these monitored logic signals at the time when an abnormality is detected. A circuit monitoring device, which receives a plurality of monitored logic signals as input, and detects whether or not a combination of these monitored logic signals matches a predetermined logic, and the logic detection means. A monitoring device for a logic circuit, comprising: storage means for receiving and storing each of the monitored logic signals at that time in response to detection of coincidence of a predetermined logic by the detection means.
【請求項2】 前記論理検出手段は、基本論理ゲート素
子が予め組込まれこれ等基本ゲート素子の接続関係を所
望に制御可能なフィールドプログラマブルロジックアレ
イであることを特徴とする請求項1記載の論理回路の監
視装置。
2. The logic according to claim 1, wherein the logic detecting means is a field programmable logic array in which basic logic gate elements are incorporated in advance and the connection relationship of these basic gate elements can be controlled as desired. Circuit monitoring equipment.
【請求項3】 前記基本ゲート素子の接続関係を外部か
らのプログラムデータにより制御して前記被監視論理信
号の各々を入力としかつ前記所定論理を満足する論理ゲ
ート回路を形成するようにしたことを特徴とする請求項
2記載の論理回路の監視装置。
3. A logic gate circuit which controls the connection relationship of the basic gate elements by external program data and receives each of the monitored logic signals as an input and which satisfies the predetermined logic. The monitoring device for a logic circuit according to claim 2, wherein
【請求項4】 前記記憶手段は、前記被監視論理信号の
各々を常時書込み記憶するメモリと、前記論理検出手段
による一致検出に応答して前記メモリの書込動作を停止
してそのときの当該メモリの内容を外部へ導出する出力
手段とを有することを特徴とする請求項1〜3いずれか
記載の論理回路の監視装置。
4. The memory means constantly writes and stores each of the monitored logic signals, and stops the write operation of the memory in response to the coincidence detection by the logic detection means and stops the write operation at that time. 4. The logic circuit monitoring device according to claim 1, further comprising an output unit that outputs the contents of the memory to the outside.
【請求項5】 前記出力手段は、前記メモリの内容を取
込んで順次シフトしつつ外部へ出力するシフトレジスタ
であることを特徴とする請求項4記載の論理回路の監視
装置。
5. The logic circuit monitoring device according to claim 4, wherein said output means is a shift register which takes in the contents of said memory and sequentially shifts and outputs the contents to the outside.
JP7146642A 1995-06-14 1995-06-14 Logic circuit monitoring device Pending JPH08339313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7146642A JPH08339313A (en) 1995-06-14 1995-06-14 Logic circuit monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7146642A JPH08339313A (en) 1995-06-14 1995-06-14 Logic circuit monitoring device

Publications (1)

Publication Number Publication Date
JPH08339313A true JPH08339313A (en) 1996-12-24

Family

ID=15412350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7146642A Pending JPH08339313A (en) 1995-06-14 1995-06-14 Logic circuit monitoring device

Country Status (1)

Country Link
JP (1) JPH08339313A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005351891A (en) * 2004-05-26 2005-12-22 Temento Systems Debugging device and method, and using method of debugging device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5860363A (en) * 1981-10-06 1983-04-09 Nec Corp Operation hysteresis storing system for logical device
JPS62221043A (en) * 1986-03-20 1987-09-29 Nec Corp Monitor circuit for logical unit
JPH01101477A (en) * 1987-10-14 1989-04-19 Nec Corp Input data storage device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5860363A (en) * 1981-10-06 1983-04-09 Nec Corp Operation hysteresis storing system for logical device
JPS62221043A (en) * 1986-03-20 1987-09-29 Nec Corp Monitor circuit for logical unit
JPH01101477A (en) * 1987-10-14 1989-04-19 Nec Corp Input data storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005351891A (en) * 2004-05-26 2005-12-22 Temento Systems Debugging device and method, and using method of debugging device

Similar Documents

Publication Publication Date Title
EP0287303B1 (en) Scan test apparatus for digital systems having dynamic random access memory
US4989181A (en) Serial memory device provided with high-speed address control circuit
JP4298960B2 (en) Trigger signal generation method in algorithmically programmable memory tester
KR100328357B1 (en) Improved redundancy analyzer for automatic memory tester
US5604756A (en) Testing device for concurrently testing a plurality of semiconductor memories
US5383195A (en) BIST circuit with halt signal
JPH0527831B2 (en)
US20040015758A1 (en) Method and device for testing configuration memory cells in programmable logic devices (PLDS)
JP2868710B2 (en) Integrated circuit device and test method therefor
EP0845788B1 (en) A memory array test circuit with failure notification
US6161206A (en) Pattern generator for a semiconductor integrated circuit tester
KR100557517B1 (en) Method for testing semiconductor memory device and test circuit for semiconductor memory device
JP4317338B2 (en) Memory tester with advanced post-decoding
JPH08339313A (en) Logic circuit monitoring device
KR100276504B1 (en) Failure-data storage system
JP2004212384A (en) Semiconductor integrated circuit device
KR100364830B1 (en) Memory test circuit
US5875197A (en) Addressable serial test system
KR100728943B1 (en) A semiconductor memory device with self test mode
US11710534B1 (en) Internal data availability for system debugging
JP2970088B2 (en) LSI tester
JP3039631B2 (en) Signal line monitoring device
SU1376121A2 (en) Device for recording and checking programmed read-only memory
KR930011426B1 (en) I.c. device having microprogram
SU1051586A1 (en) Device for checking semiconductor working memory