JP2004280426A - Internal signal tracing device for logic integrated circuit - Google Patents

Internal signal tracing device for logic integrated circuit Download PDF

Info

Publication number
JP2004280426A
JP2004280426A JP2003070430A JP2003070430A JP2004280426A JP 2004280426 A JP2004280426 A JP 2004280426A JP 2003070430 A JP2003070430 A JP 2003070430A JP 2003070430 A JP2003070430 A JP 2003070430A JP 2004280426 A JP2004280426 A JP 2004280426A
Authority
JP
Japan
Prior art keywords
internal
signal
clock signal
group
signals
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
JP2003070430A
Other languages
Japanese (ja)
Inventor
Sei Tomikawa
聖 冨川
Susumu Tanaka
進 田中
Naoyuki 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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2003070430A priority Critical patent/JP2004280426A/en
Publication of JP2004280426A publication Critical patent/JP2004280426A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Logic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To effectively use a trace memory for internal signal tracing, shorten internal signal tracing time and shorten time to analyze trouble by continuously tracing many internal signals in real time. <P>SOLUTION: An internal signal tracing device for a logic integrated circuit is arranged in a logic integrated circuit from which a plurality of internal signal groups and each clock signal corresponding to each group both obtained from a plurality of internal nodes grouped by clock frequency used can be fetched; and is configured to select one group of internal signals from the plurality of internal signal groups, and the clock signal corresponding to the group of internal signals, in response to an internal signal select signal given from without, and output the selected group of internal signals as well as the corresponding clock signal synchronously with the clock signal. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、電気回路設計時において、回路基板上に搭載された論理集積回路の内部信号のトレースを行うための論理集積回路の内部信号トレース装置に関するものである。
【0002】
【従来の技術】
開発が行われた大規模集積回路(以下、LSIとする。)が設計当初の期待通りに動作しないときは、LSIの動作を解析してデバッグを行う必要があるが、使用されるLSI自体がブラックボックスである場合、その作業は困難を極める。このことに対応するため、従来いろいろな方法によって解析やデバッグが行われてきた。
【0003】
従来の技術として、図5乃至図7により説明するような、プログラマブル論理デバイスにデバッグのための論理アナライザを埋め込む方法がある(例えば、特許文献1参照。)。図5は従来の論理アナライザを埋め込んだプログラマブル論理開発システムの構成を示すブロック図である。このプログラマブル論理開発システムは、ケーブル152などを介して接続されたコンピュータ・システム153と電子システム154である。コンポーネントであるプログラマブル論理デバイス(以下、PLDとする。)155を含み、電子システム154を形成する他のコンポーネントおよびエレメントと1つ以上の電子接続156を共有している。また、PLD155は、ユーザ論理設計部157および埋め込み論理アナライザ158を内蔵し、論理接続159は、ユーザ論理設計部157からの信号を埋め込み論理アナライザ158に送信するようにしている。そして、PLD155のピンを用いて埋め込み論理アナライザ158からのインタフェース信号160を電子システム154内の対応する接続161に接続し、これらのインタフェース信号をケーブル152によりコンピュータ・システム153に接続している。
【0004】
コンピュータ・システム153は、電子システム154の機能動作に対して割り込みや影響を与えることはなく、コマンドおよびその他の情報を埋め込み論理アナライザ158に送信し、この埋め込み論理アナライザ158からの情報を受信する。したがって、PLD155は、ユーザ論理設計部157および埋め込み論理アナライザ158の双方の機能を実行するように構成されている。
【0005】
図6は、従来の論理アナライザが埋め込まれたプログラマブル論理デバイス155の構成を示すブロック図である。図において、制御論理172および信号173と関連付けてJTAGポート171を用いてインタフェース信号160(図5参照)に対応する。制御論理172は、埋め込み論理アナライザ158に制御信号を供給すると共に、埋め込み論理アナライザ158からデータおよびステータスを検索するのを支援する。なお、JTAGとは、ICチップの検査方式の一つであるバウンダリスキャンテストの標準方式で、Joint European Test Action Groupによって提案されIEEEで標準化された規格ある。JTAGに対応したICには、本来の機能を果たす回路のほかに、JTAGに対応した回路とTAP(Test Access Port)とよばれる端子からなるインタフェースを持ち、テストデータの入出力や制御に用いられる。
【0006】
図7は、従来の埋め込み論理アナライザ158の具体的構成を示すブロック図である。論理アナライザ158は、制御状態機械181、トリガ・レジスタ182、トリガ比較器184、レジスタ185および186、カウンタ187〜189、比較器190、191、およびトレースメモリ192を含んでいる。論理アナライザ158がPLD155内にプログラムされると、PLD155内で信号から様々な入力信号を受信する。ユーザは、トリガ信号183をトリガ・レジスタ182に格納されたトリガ条件と比較し、満足するトリガ比較器184によりブレイクポイント信号を発生させる。そして、制御状態機械181からの信号Runは、ゲート193において信号PDFと組み合わされて、カウンタ189をイネーブルするものである。
【0007】
また、集積回路内部の信号にアクセスする方法として、試験対象のPLDをエミュレートするようにプログラム可能なシャドーPLDを備えるようにしたものがある(例えば、特許文献2参照。)。ここでは、シャドーPLDは、少なくとも試験対象のPLDの入出力端子に対応づけられるだけの数の入出力端子を備える。また、試験対象のPLDとシャドーPLDの両方の入出力端子を、試験対象のPLDが共に動作することを想定した外部回路に接続するための端子も備えている。また、両PLDの各端子を外部測定器に接続するためのプローブ・コネクタを有する。このように、シャドーPLDの端子へのアクセスを可能にすることによって分析を大幅に単純化し、内部ノードに関連する故障の発見率を大幅に向上させるというものである。
【0008】
さらに、従来の技術として、フィールドプログラマブルアレイ(FPGA)チップ上に、SRAM等からなる制御メモリおよび論理ブロック部、プログラマブルスイッチ部、入出力ブロック部、および各部を制御するメモリ制御部を設け、また、制御メモリおよび論理ブロック部内のメモリセルからFPGAチップ外部へ回路情報を読み出すための機構と、実現したディジタル回路を実行するための読み出し機構とを設け、両機構を独立に作動させるようにしたものがある(例えば、特許文献3参照)。このことにより、デバイスの動作を停止せずに回路情報の検証を行うことができるようになる。
【0009】
【特許文献1】
特開平11−296403号公報(図6、図7、図9)
【特許文献2】
特開平10−91472号公報
【特許文献3】
特開平8−6809号公報
【0010】
【発明が解決しようとする課題】
従来の論理集積回路のモニタシステムは、以上のように構成されているので、次のような問題があった。
内部信号のクロック信号は1種類のみであり、内部信号群毎にクロックの選択ができない。そのため、クロックの異なる内部信号をトレースする場合には、一番速い(周波数が高い)クロック信号に合わせる必要がある。したがって、クロックが遅い(周波数が低い)内部信号をトレースする場合には長大なサンプル数をトレースしなければならず、トレースメモリの不足やトレースメモリからの読み出し、コンピュータ・システムへの表示時間に問題があった。この問題を回避するためには、トレースしたい内部信号毎にクロックを再選択し、論理集積回路の再コンパイルおよびデバイスへのデータ書込みを必要とする。その結果、内部信号のトレースによるタイムリーなデバッグが不可能になる。
【0011】
また、特許文献1では、JTAGポートを用いて内部信号を外部端子に出力させるようにしているが、このJTAGのインタフェースは電気的規格上、高々数百kHzのシリアルポートに過ぎず、速くても1MHzが限界である。この程度のシリアル通信では、数十MHzのクロックで動作するFPGAの多数の内部信号をリアルタイムで解析するインタフェースには適さないという問題があった。
【0012】
この発明は上記のような課題を解決するためになされたもので、内部信号トレースのためのトレースメモリの有効活用および内部信号トレース時間の短縮と共に、リアルタイムで多数の内部信号を連続的に追いかけることにより、不具合の解析に要する時間を短縮可能にする論理集積回路の内部信号トレース装置を得ることを目的とする。
【0013】
【課題を解決するための手段】
この発明に係る論理集積回路の内部信号トレース装置は、使用されるクロックの周波数単位にまとめた複数の内部ノードから得られる複数の内部信号群と各群に対応する各クロクック信号が取り出せるようにした論理集積回路内に配置され、外部から与えられる内部信号セレクト信号に応答して複数の内部信号群の中から一群の内部信号とその一群の内部信号に対応するクロック信号を選択し、選択された一群の内部信号を対応するクロック信号に同期させて当該対応するクロック信号と共に外部に出力するようにしたものである。
【0014】
【発明の実施の形態】
以下、この発明の実施の形態について説明する。
実施の形態1.
図1はこの発明の実施の形態1乃至実施の形態3に係る論理集積回路の内部信号トレース装置を適用した論理集積回路のモニタシステムの構成を示すブロック図である。ここでは、内部信号をモニタする論理集積回路として、特定用途向けの集積回路であるASIC(Application Specific Integrated Circuit)、とりわけ、プログラム可能な集積回路であるFPGA(Field Programmable Gate Array)を用いた例を示すが、この発明は、必ずしもこれに限定されるものではない。
回路基板3上には、モニタの対象とするターゲットFPGA(論理集積回路)9、その他のデバイス11が搭載されている。ターゲットFPGA9には、設計の前段階において不具合解析を想定して予め内部信号を取り出すためのモニタ用のピンを回路基板上3に用意しておく。実際に不具合が起きる前でもいいが、通常は予期せぬ不具合の発生後において、ターゲットFPGA9の回路に後述する図2〜図4に示す構成を典型例とするトレース回路10の挿入を行う。
【0015】
論理集積回路のモニタシステムの概略動作は次のようになる。
パーソナルコンピュータ1からの指令に基づき、伝送線路4、信号蓄積・制御装置2上のマイクロコンピュータ6、制御FPGA8および伝送線路5を通り到達する制御信号により、回路基板3上に搭載されているターゲットFPGA9内のトレース回路10を動作させ、ターゲットFPGA9の内部信号をトレースする。トレースされた内部信号は、伝送線路5を通り、信号蓄積・制御装置2上の制御FPGA8によりトレースメモリ7に一旦書き込まれる。そして、パーソナルコンピュータ1からの指令に基づき、トレースされた内部信号はトレースメモリ7から読み出され、制御用FPGA8、マイクロコンピュータ6、伝送線路4を通り、パーソナルコンピュータ1に送られて表示される。
【0016】
次に,図1に示した論理集積回路のモニタシステム上で使用するトレース回路の詳細について説明する。図2はこの発明の実施の形態1による論理集積回路の内部信号トレース装置の構成を示すブロック図である。
ターゲットFPGA9の内部回路12上のモニタすべき候補の内部ノードから、基準クロックの周波数単位にまとめた内部信号郡n1本組が数組並んだ内部信号群17が取り出されるように構成されている。これら内部信号群17はトレース回路10内のマルチプレクサ23に与えられる。また、ターゲットFPGA内部回路12は、その内部ノードからの内部信号群n1本に対応するクロック1本が数組並んだ基準クロック信号18が取り出されるように構成されており、これらクロック信号18はマルチプレクサ24に与えられている。図1の信号蓄積・制御装置2からm1本の内部信号セレクト信号13がトレース回路10に入力されると、その値によってマルチプレクサ23で選択されたn1本の内部信号群が、マルチプレクサ24で選択された対応するクロック信号によりレジスタ(D−FlipFlopなど)22で同期を取って出力される。また、この時のクロック信号は、ターゲットFPGA9側の動作の基準となるターゲットFPGA基準クロック15として出力される。したがって、外部の信号蓄積・制御装置2が受信した場合、そのターゲットFPGA基準クロック15によって確実にデータを転送することが可能となる。ターゲットFPGA9に対してモニタ出力可信号16が与えられ、ターゲットFPGA9のトライステートアウトプットバッファ20,20’への出力イネーブルを制御し、必要時以外にはターゲットFPGA外部モニタ信号とターゲットFPGA基準クロックの出力を停止するようになっている。なお、外部から入力される内部信号セレクト信号13には、基準クロック信号が用いられ、レジスタ(D−FlipFlopなど)21で同期を取って使用している。
【0017】
以上のように、実施の形態1によれば、使用されるクロックの周波数単位にまとめた複数の内部ノードから得られる複数の内部信号群と各群に対応する各クロクック信号が取り出せるようにしたターゲットFPGA(論理集積回路)内に配置され、外部から与えられる内部信号セレクト信号に応答して複数の内部信号群の中から一群の内部信号とその一群の内部信号に対応するクロック信号を選択し、選択された一群の内部信号を対応するクロック信号に同期させて当該対応するクロック信号と共に外部に出力するようにしたので、異なる複数のクロックで動作する論理集積回路がある場合でも、トレースメモリの使用量の抑制およびトレースデータ表示時間を短縮し、内部信号のサンプリングを効率的に行える効果が得られる。
【0018】
実施の形態2.
図3はこの発明の実施の形態2による論理集積回路の内部信号トレース装置の回路構成を示すブロック図で、図において、上記図2に相当する部分には同一符合を付し、その説明は原則として省略する。
ここでは、図2のマルチプレクサ24の代わりに、逓倍回路(PLL)25がトレース回路10内またはその手前のターゲットFPGA内部回路12内に設けられている。この実施の形態2では、この発明の内部信号トレース装置は、トレース回路10外に置いた場合の逓倍回路25をも含めた構成となる。
【0019】
ターゲットFPGA9の内部回路12上のモニタすべき候補ノードから、n1本組が数組並んだ内部信号群17がマルチプレクサ23に与えられているが、その内部ノードに対応するクロック信号は基準クロック信号18を逓倍回路25により逓倍して得るようにしている。また、既にターゲットFPGA内部回路12内に基準クロックよりも周波数の高いクロック信号が存在する場合については、そのクロック信号を、逓倍回路25を通さずに直接使用すればよい。
【0020】
このような回路配置において、基準クロック信号18を逓倍回路25にて逓倍化したクロック信号あるいは既にターゲットFPGA内部回路12内に存在する基準クロックよりも周波数の高いクロック信号が、モニタ対象の内部信号の基準クロックに対して整数r倍の速度で動作したとする。すると、内部信号セレクト信号13は、基準クロック信号が一つ進む間固定ではなく、一つ進む間にr回切り替えられることになる。したがって、rチャンネル数のn1本の内部信号を時分割的にトレースすることが可能となる。元々n1本で結ばれる内部信号の同時トレースが、ターゲットFPGA9の外部モニタピン数を増やすことなく、一気にn1×r本に拡大される。論理集積回路を搭載するデバイスのピン数で制限される本数を越えて同時に内部信号をモニタ可能とする。
【0021】
以上のように、この実施の形態2によれば、使用されるクロックの周波数単位にまとめた複数の内部ノードから得られる複数の内部信号群と基準クロクック信号が取り出せるようにしたターゲットFPGA(論理集積回路)と同じ回路基板上に搭載され、外部から与えられる内部信号セレクト信号に応答して複数の内部信号群の中から一群の内部信号を選択し、基準クロック信号を逓倍して一群の内部信号に対応するクロック信号を生成し、選択された一群の内部信号を生成されたクロック信号に同期させて当該クロック信号と共に出力するようにしたので、論理集積回路の内部信号の分解能を上げて詳細にトレースすることができる効果が得られる。
【0022】
実施の形態3.
図4はこの発明の実施の形態3による論理集積回路の内部信号トレース装置の回路構成を示すブロック図で、図において、上記図2に相当する部分には同一符合を付し、その説明は原則として省略する。ここでは、逓倍回路25がトレース回路10の手前のターゲットFPGA内部回路12内に設けられている。この実施の形態2では、この発明の内部信号トレース装置は、トレース回路10以外にターゲットFPGA内部回路12内に設けられた逓倍回路25を含めた構成を持つ。
【0023】
内部ノードn1本に対応するクロック1本が数組並んだクロック信号18がマルチプレクサ24に与えられているが、その中のr本のクロック信号は、PLL回路25で基準クロック信号を逓倍して生成されている。このことにより、n1×r本の内部信号が同時トレース可能となる。また、他の内部信号は、それぞれの対応するクロック信号が直接マルチプレクサ24に与えられ、n1本単位で同じ分解能でサンプリングが可能となる。これにより、少ないトレースメモリ容量、限られたデバイスのピン数で内部信号のトレースを高速に行うことができる。
【0024】
以上のように、この実施の形態3によれば、基準クロック信号を逓倍してクロック信号を生成し、生成されたクロック信号を、一群の内部信号に対応するクロック信号の一部として選択するようにしたので、実施の形態1と2を組み合わせたn1×r本の内部信号の同時トレースおよび複数クロックで動作する論理集積回路の内部信号のサンプリングを効率的に行うことができる効果が得られる。
【0025】
【発明の効果】
以上のように、この発明によれば、使用されるクロックの周波数単位にまとめた複数の内部ノードから得られる複数の内部信号群と各群に対応する各クロクック信号が取り出せるようにした論理集積回路内に配置され、外部から与えられる内部信号セレクト信号に応答して複数の内部信号群の中から一群の内部信号とその一群の内部信号に対応するクロック信号を選択し、選択された一群の内部信号を対応するクロック信号に同期させて当該対応するクロック信号と共に外部に出力するように構成したので、全ての内部信号に対して同じ分解能でサンプリングが可能となり、少ないトレースメモリ容量でかつ高速に内部信号のトレースを行うことができる効果がある。
【図面の簡単な説明】
【図1】この発明の実施の形態1乃至実施の形態3に係る論理集積回路のモニタシステムの構成を示すブロック図である。
【図2】この発明の実施の形態1による論理集積回路の内部信号トレース装置の回路構成を示すブロック図である。
【図3】この発明の実施の形態2による論理集積回路の内部信号トレース装置の回路構成を示すブロック図である。
【図4】この発明の実施の形態3による論理集積回路の内部信号トレース装置の回路構成を示すブロック図である。
【図5】従来のプログラマブル論理開発システムの構成を示すブロック図である。
【図6】従来の論理アナライザが埋め込まれたプログラマブル論理デバイスの構成を示すブロック図である。
【図7】従来の埋め込み論理アナライザの構成を示すブロック図である。
【符号の説明】
1 パーソナルコンピュータ、2 信号蓄積・制御装置、3 回路基板、4,5 伝送線路、6 マイクロコンピュータ、7 トレースメモリ、8 制御FPGA、9 ターゲットFPGA(論理集積回路)、10 トレース回路、12 内部回路、13 内部信号セレクト信号、15 ターゲットFPGA基準クロック、16 モニタ出力可信号、17 内部信号群、18 基準クロック信号、20,20’ トライステートアウトプットバッファ、21,22 レジスタ(D−FlipFlop)、23,24 マルチプレクサ、25 逓倍回路(PLL)。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a logic integrated circuit internal signal trace device for tracing an internal signal of a logic integrated circuit mounted on a circuit board when designing an electric circuit.
[0002]
[Prior art]
When a developed large-scale integrated circuit (hereinafter, referred to as LSI) does not operate as expected at the beginning of design, it is necessary to analyze the operation of the LSI and debug it. If it is a black box, the task is extremely difficult. To cope with this, analysis and debugging have been conventionally performed by various methods.
[0003]
As a conventional technique, there is a method of embedding a logic analyzer for debugging in a programmable logic device as described with reference to FIGS. 5 to 7 (for example, see Patent Document 1). FIG. 5 is a block diagram showing a configuration of a programmable logic development system in which a conventional logic analyzer is embedded. This programmable logic development system is a computer system 153 and an electronic system 154 connected via a cable 152 or the like. It includes a component, a programmable logic device (PLD) 155, and shares one or more electronic connections 156 with other components and elements forming the electronic system 154. The PLD 155 includes a user logic design unit 157 and an embedded logic analyzer 158, and the logic connection 159 transmits a signal from the user logic design unit 157 to the embedded logic analyzer 158. The interface signals 160 from the embedded logic analyzer 158 are connected to corresponding connections 161 in the electronic system 154 using the pins of the PLD 155, and these interface signals are connected to the computer system 153 by cables 152.
[0004]
Computer system 153 transmits commands and other information to and receives information from embedded logic analyzer 158 without interrupting or affecting the functional operation of electronic system 154. Therefore, PLD 155 is configured to perform the functions of both user logic design unit 157 and embedded logic analyzer 158.
[0005]
FIG. 6 is a block diagram showing a configuration of a programmable logic device 155 in which a conventional logic analyzer is embedded. In the figure, the JTAG port 171 is used in association with the control logic 172 and the signal 173 to correspond to the interface signal 160 (see FIG. 5). The control logic 172 provides control signals to the embedded logic analyzer 158 and assists in retrieving data and status from the embedded logic analyzer 158. Note that JTAG is a standard method of a boundary scan test, which is one of the inspection methods of an IC chip, and is a standard proposed by the Joint European Test Action Group and standardized by IEEE. An IC compatible with JTAG has an interface including a circuit compatible with JTAG and a terminal called a TAP (Test Access Port), in addition to a circuit performing an original function, and is used for input / output and control of test data. .
[0006]
FIG. 7 is a block diagram showing a specific configuration of the conventional embedded logic analyzer 158. Logic analyzer 158 includes control state machine 181, trigger register 182, trigger comparator 184, registers 185 and 186, counters 187-189, comparators 190 and 191, and trace memory 192. When logic analyzer 158 is programmed into PLD 155, it receives various input signals from the signals in PLD 155. The user compares the trigger signal 183 with the trigger condition stored in the trigger register 182 and generates a breakpoint signal with the satisfied trigger comparator 184. The signal Run from the control state machine 181 is combined with the signal PDF at the gate 193 to enable the counter 189.
[0007]
Further, as a method of accessing a signal inside an integrated circuit, there is a method of providing a shadow PLD that can be programmed to emulate a PLD to be tested (for example, see Patent Document 2). Here, the shadow PLD has at least as many input / output terminals as are associated with the input / output terminals of the PLD to be tested. Also provided are terminals for connecting both input / output terminals of the PLD to be tested and the shadow PLD to an external circuit that is assumed to operate together with the PLD to be tested. Further, it has a probe connector for connecting each terminal of both PLDs to an external measuring instrument. Thus, by allowing access to the terminals of the shadow PLD, the analysis is greatly simplified, and the probability of finding faults associated with internal nodes is greatly increased.
[0008]
Further, as a conventional technique, a control memory and a logic block unit such as an SRAM, a programmable switch unit, an input / output block unit, and a memory control unit for controlling each unit are provided on a field programmable array (FPGA) chip. A mechanism for reading circuit information from the control memory and memory cells in the logic block to the outside of the FPGA chip and a read mechanism for executing the implemented digital circuit are provided, and both mechanisms are operated independently. (For example, see Patent Document 3). This makes it possible to verify the circuit information without stopping the operation of the device.
[0009]
[Patent Document 1]
JP-A-11-296403 (FIGS. 6, 7, and 9)
[Patent Document 2]
Japanese Patent Application Laid-Open No. 10-91472 [Patent Document 3]
JP-A-8-6809
[Problems to be solved by the invention]
The conventional logic integrated circuit monitor system has the following problems because it is configured as described above.
There is only one type of internal signal clock signal, and it is not possible to select a clock for each internal signal group. Therefore, when tracing internal signals having different clocks, it is necessary to match the clock signal with the fastest (higher frequency) clock signal. Therefore, when tracing an internal signal with a slow clock (low frequency), it is necessary to trace a large number of samples, which causes a shortage of trace memory, reading from trace memory, and display time on a computer system. was there. To avoid this problem, it is necessary to reselect a clock for each internal signal to be traced, recompile the logic integrated circuit, and write data to the device. As a result, timely debugging by tracing the internal signal becomes impossible.
[0011]
Further, in Patent Document 1, an internal signal is output to an external terminal using a JTAG port, but the interface of this JTAG is only a serial port of at most several hundred kHz according to an electrical standard, and at high speed. 1 MHz is the limit. This kind of serial communication has a problem that it is not suitable for an interface for analyzing a large number of internal signals of an FPGA operating at a clock of several tens of MHz in real time.
[0012]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and it is an object of the present invention to effectively utilize a trace memory for internal signal tracing and reduce internal signal tracing time, and to continuously chase many internal signals in real time. Accordingly, it is an object of the present invention to obtain an internal signal trace device of a logic integrated circuit which can reduce the time required for analyzing a failure.
[0013]
[Means for Solving the Problems]
The internal signal tracing device for a logic integrated circuit according to the present invention is capable of extracting a plurality of internal signal groups obtained from a plurality of internal nodes arranged in units of clock frequencies to be used and respective clock signals corresponding to each group. A group of internal signals and a clock signal corresponding to the group of internal signals are selected from a plurality of internal signals in response to an internal signal select signal provided from the outside and arranged in the logic integrated circuit. A group of internal signals are synchronized with a corresponding clock signal and output to the outside together with the corresponding clock signal.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described.
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a monitor system for a logic integrated circuit to which an internal signal trace device of the logic integrated circuit according to the first to third embodiments of the present invention is applied. Here, an example in which an ASIC (Application Specific Integrated Circuit) which is an application-specific integrated circuit, particularly an FPGA (Field Programmable Gate Array) which is a programmable integrated circuit, is used as a logic integrated circuit for monitoring an internal signal. Although shown, the invention is not necessarily limited thereto.
A target FPGA (logic integrated circuit) 9 to be monitored and other devices 11 are mounted on the circuit board 3. In the target FPGA 9, monitor pins for taking out internal signals are prepared on the circuit board 3 in advance, assuming a failure analysis at a stage prior to the design. Although it may be before an actual trouble occurs, usually after the occurrence of an unexpected trouble, a trace circuit 10 typically having a configuration shown in FIGS. 2 to 4 described later is inserted into the circuit of the target FPGA 9.
[0015]
The schematic operation of the monitor system of the logic integrated circuit is as follows.
Based on a command from the personal computer 1, the target FPGA 9 mounted on the circuit board 3 is controlled by a control signal arriving through the transmission line 4, the microcomputer 6 on the signal storage / control device 2, the control FPGA 8, and the transmission line 5. The internal trace circuit 10 is operated to trace the internal signal of the target FPGA 9. The traced internal signal passes through the transmission line 5 and is once written in the trace memory 7 by the control FPGA 8 on the signal storage / control device 2. Then, based on a command from the personal computer 1, the traced internal signal is read from the trace memory 7, sent to the personal computer 1 through the control FPGA 8, the microcomputer 6, and the transmission line 4 and displayed.
[0016]
Next, details of the trace circuit used on the monitor system of the logic integrated circuit shown in FIG. 1 will be described. FIG. 2 is a block diagram showing a configuration of the internal signal trace device of the logic integrated circuit according to the first embodiment of the present invention.
An internal signal group 17 in which several sets of internal signal groups n1 arranged in units of reference clock frequency are arranged is extracted from internal nodes of candidates to be monitored on the internal circuit 12 of the target FPGA 9. These internal signal groups 17 are applied to a multiplexer 23 in the trace circuit 10. The target FPGA internal circuit 12 is configured to extract a reference clock signal 18 in which several sets of one clock corresponding to the internal signal group n1 from the internal node are extracted. 24. When m1 internal signal select signals 13 are input to the trace circuit 10 from the signal storage / control device 2 of FIG. 1, n1 internal signal groups selected by the multiplexer 23 based on the values are selected by the multiplexer 24. The clock (eg, D-FlipFlop) 22 is output in synchronization with the corresponding clock signal. The clock signal at this time is output as a target FPGA reference clock 15 which is a reference for the operation of the target FPGA 9. Therefore, when the external signal storage / control device 2 receives the data, the data can be reliably transferred by the target FPGA reference clock 15. A monitor output enable signal 16 is provided to the target FPGA 9 to control the output enable of the target FPGA 9 to the tri-state output buffers 20 and 20 ′. When not necessary, the external monitor signal of the target FPGA and the target FPGA reference clock are output. Output is stopped. Note that a reference clock signal is used as the internal signal select signal 13 input from the outside, and the register (D-FlipFlop or the like) 21 uses the internal clock signal in synchronization.
[0017]
As described above, according to the first embodiment, a plurality of internal signal groups obtained from a plurality of internal nodes arranged in units of clock frequencies to be used and a target capable of extracting each clock signal corresponding to each group are obtained. A group of internal signals and a clock signal corresponding to the group of internal signals are selected from a plurality of internal signal groups in response to an internal signal select signal provided from outside and arranged in an FPGA (logic integrated circuit). Since the selected group of internal signals is output to the outside together with the corresponding clock signal in synchronization with the corresponding clock signal, the trace memory can be used even when there are logic integrated circuits operating with a plurality of different clocks. The effect of suppressing the amount and shortening the trace data display time can be obtained so that the internal signal can be sampled efficiently.
[0018]
Embodiment 2 FIG.
FIG. 3 is a block diagram showing a circuit configuration of an internal signal tracing device of a logic integrated circuit according to a second embodiment of the present invention. In the figure, portions corresponding to those in FIG. Omitted.
Here, a frequency multiplier (PLL) 25 is provided in the trace circuit 10 or in the target FPGA internal circuit 12 in front of the trace circuit 10 instead of the multiplexer 24 in FIG. In the second embodiment, the internal signal tracing device of the present invention has a configuration including a multiplying circuit 25 provided outside the trace circuit 10.
[0019]
From a candidate node to be monitored on the internal circuit 12 of the target FPGA 9, an internal signal group 17 in which several n1 sets are arranged is given to the multiplexer 23, and a clock signal corresponding to the internal node is a reference clock signal 18. Is multiplied by a multiplying circuit 25. When a clock signal having a frequency higher than the reference clock already exists in the target FPGA internal circuit 12, the clock signal may be directly used without passing through the multiplication circuit 25.
[0020]
In such a circuit arrangement, a clock signal obtained by multiplying the reference clock signal 18 by the multiplier circuit 25 or a clock signal having a higher frequency than the reference clock already existing in the target FPGA internal circuit 12 is used as the internal signal to be monitored. It is assumed that the operation is performed at a speed of an integer r times the reference clock. Then, the internal signal select signal 13 is not fixed while the reference clock signal advances by one, but is switched r times while the reference clock signal advances by one. Therefore, it is possible to trace the n1 internal signals of the number of r channels in a time division manner. Simultaneous traces of internal signals originally connected by n1 lines are immediately expanded to n1 × r lines without increasing the number of external monitor pins of the target FPGA 9. Internal signals can be monitored simultaneously beyond the number of pins limited by the number of pins of a device on which a logic integrated circuit is mounted.
[0021]
As described above, according to the second embodiment, a target FPGA (logic integration) capable of extracting a plurality of internal signal groups and a reference clock signal obtained from a plurality of internal nodes arranged in units of frequency of a clock to be used. Circuit), selects a group of internal signals from a plurality of internal signals in response to an internal signal select signal supplied from outside, and multiplies the reference clock signal to form a group of internal signals. And a group of selected internal signals are output in synchronization with the generated clock signal together with the generated clock signal. The effect that can be traced is obtained.
[0022]
Embodiment 3 FIG.
4 is a block diagram showing a circuit configuration of an internal signal tracing device of a logic integrated circuit according to a third embodiment of the present invention. In the drawing, portions corresponding to those in FIG. Omitted. Here, the multiplication circuit 25 is provided in the target FPGA internal circuit 12 before the trace circuit 10. In the second embodiment, the internal signal tracing device of the present invention has a configuration including a multiplying circuit 25 provided in the target FPGA internal circuit 12 in addition to the trace circuit 10.
[0023]
A clock signal 18 in which several sets of clocks corresponding to n1 internal nodes are arranged is supplied to a multiplexer 24. Among them, r clock signals are generated by multiplying a reference clock signal by a PLL circuit 25. Have been. As a result, n1 × r internal signals can be simultaneously traced. As for other internal signals, corresponding clock signals are directly supplied to the multiplexer 24, and sampling can be performed at the same resolution in units of n1 lines. As a result, the internal signal can be traced at high speed with a small trace memory capacity and a limited number of device pins.
[0024]
As described above, according to the third embodiment, the clock signal is generated by multiplying the reference clock signal, and the generated clock signal is selected as a part of the clock signal corresponding to the group of internal signals. Therefore, there can be obtained an effect that simultaneous tracing of n1 × r internal signals obtained by combining the first and second embodiments and sampling of internal signals of a logic integrated circuit operating with a plurality of clocks can be efficiently performed.
[0025]
【The invention's effect】
As described above, according to the present invention, a plurality of internal signal groups obtained from a plurality of internal nodes arranged in frequency units of clocks to be used and a logic integrated circuit capable of extracting clock signals corresponding to each group can be extracted. And selecting a group of internal signals and a clock signal corresponding to the group of internal signals from the plurality of internal signal groups in response to an internal signal select signal provided from the outside, and selecting the selected group of internal signals. Since the signal is synchronized with the corresponding clock signal and output to the outside together with the corresponding clock signal, all internal signals can be sampled with the same resolution, and the trace memory capacity is small and the internal speed is high. There is an effect that a signal can be traced.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a monitor system for a logic integrated circuit according to Embodiments 1 to 3 of the present invention.
FIG. 2 is a block diagram showing a circuit configuration of an internal signal trace device of the logic integrated circuit according to the first embodiment of the present invention;
FIG. 3 is a block diagram showing a circuit configuration of an internal signal trace device of a logic integrated circuit according to a second embodiment of the present invention;
FIG. 4 is a block diagram showing a circuit configuration of an internal signal trace device of a logic integrated circuit according to a third embodiment of the present invention.
FIG. 5 is a block diagram showing a configuration of a conventional programmable logic development system.
FIG. 6 is a block diagram showing a configuration of a programmable logic device in which a conventional logic analyzer is embedded.
FIG. 7 is a block diagram showing a configuration of a conventional embedded logic analyzer.
[Explanation of symbols]
Reference Signs List 1 personal computer, 2 signal accumulation / control device, 3 circuit board, 4, 5 transmission line, 6 microcomputer, 7 trace memory, 8 control FPGA, 9 target FPGA (logic integrated circuit), 10 trace circuit, 12 internal circuit, 13 internal signal select signal, 15 target FPGA reference clock, 16 monitor output enable signal, 17 internal signal group, 18 reference clock signal, 20, 20 'tri-state output buffer, 21, 22 register (D-FlipFlop), 23, 24 multiplexer, 25 multiplier (PLL).

Claims (3)

使用されるクロックの周波数単位にまとめた複数の内部ノードから得られる複数の内部信号群と各群に対応する各クロクック信号が取り出せるようにした論理集積回路内に配置され、
外部から与えられる内部信号セレクト信号に応答して前記複数の内部信号群の中から一群の内部信号とその一群の内部信号に対応するクロック信号を選択し、
選択された一群の内部信号を前記対応するクロック信号に同期させて当該対応するクロック信号と共に外部に出力するようにした論理集積回路の内部信号トレース装置。
A plurality of internal signal groups obtained from a plurality of internal nodes grouped in frequency units of clocks to be used and arranged in a logic integrated circuit capable of extracting clock signals corresponding to each group,
Selecting a group of internal signals and a clock signal corresponding to the group of internal signals from the plurality of internal signal groups in response to an internal signal select signal given from the outside;
An internal signal tracing device for a logic integrated circuit, wherein a selected group of internal signals are output to the outside together with the corresponding clock signal in synchronization with the corresponding clock signal.
使用されるクロックの周波数単位にまとめた複数の内部ノードから得られる複数の内部信号群と基準クロクック信号が取り出せるようにした論理集積回路内に配置され、
外部から与えられる内部信号セレクト信号に応答して前記複数の内部信号群の中から一群の内部信号を選択し、
前記基準クロックを逓倍して前記一群の内部信号に対応するクロック信号を生成し、
選択された前記一群の内部信号を生成された前記クロック信号に同期させて当該クロック信号と共に出力するようにした論理集積回路の内部信号トレース装置。
A plurality of internal signal groups obtained from a plurality of internal nodes grouped in frequency units of a clock used and a reference clock signal are arranged in a logic integrated circuit capable of extracting the clock signal,
Selecting a group of internal signals from the plurality of internal signal groups in response to an internal signal select signal given from the outside,
Generating a clock signal corresponding to the group of internal signals by multiplying the reference clock;
An internal signal tracing device for a logic integrated circuit, wherein the selected group of internal signals is output together with the generated clock signal in synchronization with the generated clock signal.
基準クロック信号を逓倍してクロック信号を生成し、生成されたクロック信号を、一群の内部信号に対応するクロック信号の一部として選択するようにしたことを特徴とする請求項1記載の論理集積回路の内部信号トレース装置。2. The logic integration according to claim 1, wherein a clock signal is generated by multiplying the reference clock signal, and the generated clock signal is selected as a part of a clock signal corresponding to a group of internal signals. Internal signal trace device for the circuit.
JP2003070430A 2003-03-14 2003-03-14 Internal signal tracing device for logic integrated circuit Pending JP2004280426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003070430A JP2004280426A (en) 2003-03-14 2003-03-14 Internal signal tracing device for logic integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003070430A JP2004280426A (en) 2003-03-14 2003-03-14 Internal signal tracing device for logic integrated circuit

Publications (1)

Publication Number Publication Date
JP2004280426A true JP2004280426A (en) 2004-10-07

Family

ID=33287190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003070430A Pending JP2004280426A (en) 2003-03-14 2003-03-14 Internal signal tracing device for logic integrated circuit

Country Status (1)

Country Link
JP (1) JP2004280426A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008544337A (en) * 2005-04-22 2008-12-04 シンプリシティー インコーポレイテッド Method and system for debugging using replication logic and trigger logic
JP2009282808A (en) * 2008-05-23 2009-12-03 Fujitsu Ltd Semiconductor circuit design support program
WO2010016300A1 (en) * 2008-08-05 2010-02-11 日本電気株式会社 Semiconductor verifying device, method, and program
WO2010041451A1 (en) * 2008-10-08 2010-04-15 日本電気株式会社 Semiconductor verification device, method, and program
JP2011081834A (en) * 2005-10-21 2011-04-21 Renesas Electronics Corp Data processor
US7962869B2 (en) 2002-08-09 2011-06-14 Synopsys, Inc. Method and system for debug and test using replicated logic
JP2011128937A (en) * 2009-12-18 2011-06-30 Nec Corp Semiconductor verification device and method
JP2012133585A (en) * 2010-12-21 2012-07-12 Fujitsu Ltd Circuit device, monitoring device and monitoring method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8392859B2 (en) 2002-08-09 2013-03-05 Synopsys, Inc. Method and system for debugging using replicated logic and trigger logic
US7962869B2 (en) 2002-08-09 2011-06-14 Synopsys, Inc. Method and system for debug and test using replicated logic
JP2008544337A (en) * 2005-04-22 2008-12-04 シンプリシティー インコーポレイテッド Method and system for debugging using replication logic and trigger logic
JP2011081834A (en) * 2005-10-21 2011-04-21 Renesas Electronics Corp Data processor
JP2009282808A (en) * 2008-05-23 2009-12-03 Fujitsu Ltd Semiconductor circuit design support program
US8386989B2 (en) 2008-05-23 2013-02-26 Fujitsu Limited Semiconductor circuit design support technique
WO2010016300A1 (en) * 2008-08-05 2010-02-11 日本電気株式会社 Semiconductor verifying device, method, and program
US8683404B2 (en) 2008-08-05 2014-03-25 Nec Corporation Semiconductor verification apparatus, method, and program
JP5170246B2 (en) * 2008-08-05 2013-03-27 日本電気株式会社 Semiconductor verification apparatus, method and program
WO2010041451A1 (en) * 2008-10-08 2010-04-15 日本電気株式会社 Semiconductor verification device, method, and program
US8510691B2 (en) 2008-10-08 2013-08-13 Nec Corporation Semiconductor verification apparatus, method and program
JP5333792B2 (en) * 2008-10-08 2013-11-06 日本電気株式会社 Semiconductor verification apparatus, method and program
JP2011128937A (en) * 2009-12-18 2011-06-30 Nec Corp Semiconductor verification device and method
JP2012133585A (en) * 2010-12-21 2012-07-12 Fujitsu Ltd Circuit device, monitoring device and monitoring method

Similar Documents

Publication Publication Date Title
Anis et al. Low cost debug architecture using lossy compression for silicon debug
US5717695A (en) Output pin for selectively outputting one of a plurality of signals internal to a semiconductor chip according to a programmable register for diagnostics
US7146538B2 (en) Bus interface module
JP2003332443A (en) Semiconductor integrated circuit and design supporting device as well as test method therefor
US8103992B1 (en) Rapid rerouting based runtime reconfigurable signal probing
US20040176924A1 (en) Apparatus and method for testing electronic systems
US11073556B2 (en) Low pin count reversible scan architecture
JP4211010B2 (en) Integrated circuit
US10060978B2 (en) Implementing prioritized compressed failure defects for efficient scan diagnostics
US10520550B2 (en) Reconfigurable scan network defect diagnosis
CN114667455A (en) Universal compressor architecture for test circuits
JP2004280426A (en) Internal signal tracing device for logic integrated circuit
US11493553B2 (en) Extended JTAG controller and method for functional reset using the extended JTAG controller
US9239897B2 (en) Hierarchical testing architecture using core circuit with pseudo-interfaces
US11662383B2 (en) High-speed functional protocol based test and debug
US7500165B2 (en) Systems and methods for controlling clock signals during scan testing integrated circuits
Nawarathna et al. Low-Cost Automatic Test Equipment for Digital ICs Using DE0-Nano-Altera Cyclone IV FPGA
EP3367114A1 (en) Extended jtag controller and method for functional reset using the extended jtag controller
CN113454725A (en) Bidirectional scan cell for single path reversible scan chain
JP2837703B2 (en) Fault diagnosis device
KR20100084153A (en) Error catch ram support using fan-out/fan-in matrix
JP2002196047A (en) Bist circuit built-in semiconductor integrated circuit device and testing method for it
CN117370257A (en) Device for converting serial port into bus, field programmable gate array and debugging method thereof
CN114325357A (en) DEBUG system, method, device and medium
Ferreira et al. A modular architecture for BIST of boundary scan boards

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070605

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070724

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071024

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071024

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080108

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080507