JP4006062B2 - Logic circuit analyzer - Google Patents
Logic circuit analyzer Download PDFInfo
- Publication number
- JP4006062B2 JP4006062B2 JP21652797A JP21652797A JP4006062B2 JP 4006062 B2 JP4006062 B2 JP 4006062B2 JP 21652797 A JP21652797 A JP 21652797A JP 21652797 A JP21652797 A JP 21652797A JP 4006062 B2 JP4006062 B2 JP 4006062B2
- Authority
- JP
- Japan
- Prior art keywords
- pin
- signal
- pins
- logic
- logic circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は論理回路解析方法に係り、特に、設計した論理回路の信号の流れをトレースする際に用いられる論理回路解析方法に関する。
論理回路の設計において、シミュレーションの結果、目的の結果が得られなかった場合に、各論理ブロックの入出力の論理をトレースすることにより論理回路の解析を行っている。
【0002】
【従来の技術】
従来は論理回路をシミュレーションした後、シミュレーションの結果に基づいてマニュアル操作によりバックトレースを行うピンを指定して、トレースを行っていた。
ここで、たどり着きたいピンとは異なるピンを指定してしまった場合には、再びピンの指定をやり直してトレースを行い、所望のピンにたどり着くまで、上記操作を繰り返していた。
【0003】
そこで、論理回路の解析を効率よく行えるようにするために、例えば、特開平5−225286号公報等により入出力信号系を他の信号系とは色分けして表示することにより信号系の認識を容易にすることにより解析を容易にする発明が提案されている。
特開平5−225286号公報には、単に入出力ピンを指示し、入出力ピンの間でパストレースを行うことにより、入出力ピン間のパスを抽出し、他の信号線と色分けする回路素子接続検索方式が記載されている。
【0004】
【発明が解決しようとする課題】
しかるに、従来の論理回路解析方法では、シミュレーションの結果に基づいてマニュアル操作により分岐先(パス)を指示してトレースを行っていたため、分岐先をマニュアル操作により指示しなければならず、誤っていた場合には再び元のピンに戻って、前回指定のピンとは異なるピンを指定し、再びバックトレースをかけ、必要なピンが解析できるまで繰り返す必要があったため、解析に時間がかかり、非効率的であった。
【0005】
また、特開平5−225286号公報の発明は、単に入出力ピンを指示し、入出力ピンの間でパストレースを行うことにより、入出力ピン間のパスを抽出し、他の信号線と色分けするだけで、1系統の信号だけを認識できるだけで、他のパスについては、再び入出力ピンを指定してパストレースを行う必要があり、論理回路全体の解析を行いたい場合には、従来と同様に解析に時間がかかり、非効率的である等の問題点があった。
【0006】
本発明は上記の点に鑑みてなされたもので、容易に所望のパスをトレースできる論理回路解析方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明の請求項1は、論理ブロックの信号の流れを解析する処理を行う論理回路解析装置において、前記論理ブロックの信号が流れるピン、及び、該ピンの接続関係を解析し、記録する解析手段と、前記解析手段により記録された前記論理ブロックの信号が流れるピン、及び、該ピンの接続関係を表示する表示手段とを有し、前記解析手段は、前記論理ブロックの信号が流れる可能性のある全てのピン、及び、該ピンの接続関係を解析し、記録するパストレース手段を有することを特徴とする。
【0008】
請求項1によれば、論理ブロックの信号が流れるピン、及び、ピンの接続関係を解析、記録し、表示することにより、各ピン毎に伝達元を容易に認識できるので、トレース時に各ピンの分岐先を容易に認識でき、よって、トレースの分岐先の選択を容易に行え、解析を効率的に行える。
【0009】
また、請求項1によれば、パストレース手段により論理ブロックの信号が流れる可能性のある全てのピン、及び、ピンの接続関係を解析し、記録することにより、各ピン毎に伝達元を容易に認識できるので、トレース時に各ピンの分岐先を容易に認識でき、よって、トレースの分岐先の選択を容易に行え、解析を効率的に行える。
【0010】
請求項2は、前記解析手段が、前記論理ブロックの論理的に信号が流れるピン、及び、該ピンの接続関係を解析し、記録するシミュレーション手段を有することを特徴とする。請求項2によれば、シミュレーション手段により論理ブロックの論理的に信号が流れるピン、及び、ピンの接続関係を解析し、記録することにより、所定の論理における各ピンでの信号の状態を認識でき、信号の状態によりトレースの分岐先の選択を容易に行え、解析を効率的に行える。
【0011】
請求項3は、前記パストレース手段が、前記信号の流れと同じ方向に前記論理ブロックの信号が流れる可能性のある全てのピン、及び、該ピンの接続関係を解析し、記録するフォワードトレース手段と、前記フォワードトレース手段で解析、記録された全てのピン、及び、該ピンの接続関係に対して前記信号の流れと逆方向に前記論理ブロックの信号が流れる可能性のある全てのピン、及び、該ピンの接続関係を解析し、前記ピン、及び、ピンの接続関係を絞り込むバックトレース手段とを有することを特徴とする。
【0012】
請求項3によれば、フォワードトレース手段により論理ブロックの信号が流れる可能性のある全てのピン、及び、ピンの接続関係を解析、記録した後、バックトレース手段によりフォワードトレース手段でトレースされた論理ブロックの信号が流れる可能性のある全てのピン、及び、ピンの接続関係から所望のピンを絞り込むことにより、必要なピンの分岐先を容易に認識でき、よって、トレースの分岐先の選択を容易に行え、解析を効率的に行える。
【0013】
【発明の実施の形態】
図1に本発明の一実施例のブロック構成図を示す。
本実施例の論理解析方法が適用される論理解析装置1は、入力装置となるキーボード2、マウス3、キーボード2及びマウス3からの指示を入力する入力インタフェース4、解析すべき論理回路の構造が格納された論理回路データベース5、解析処理を行うCPU6、CPU6で処理されるべきプログラムが格納されたプログラムメモリ7、CPU6での解析結果が格納される解析結果記憶部8、解析結果を表示するCRT9、CRT9への表示を制御する表示コントローラ10、入力インタフェース4、論理回路データベース5、CPU6、プログラムメモリ7、解析結果記憶部8を接続するバス11から構成される。
【0014】
論理解析装置1は、プログラムメモリ7に予め格納された解析プログラムに従って、論理回路データベース5に格納された論理回路データに基づいて論理回路の接続を解析する処理を行う。
プログラムメモリ7に格納されるプログラムとしては、論理回路のパスを解析するパストレース機能、及び、論理回路に所定の初期設定値を設定して、その入出力論理を解析するシミュレーション機能とを有し、解析結果は解析結果記憶部8に記憶される。
【0015】
解析結果記憶部8に記憶された解析結果は、表示コントローラ10により画像データに変換されて、CRT9に表示される。
次に、CPU6による解析動作について説明する。
図2に本発明の一実施例のCPUにより処理フローチャートを示す。
CPU6は、キーボード2、マウス3により論理回路データベース5に格納された論理回路のパストレースを行うトレース機能が指示されると、プログラムメモリ7に格納されたプログラムにより、まず、解析すべき論理回路の階層の指定が指示される。キーボード2、マウス3により解析すべき論理回路の階層が指定されると、論理回路データベース5から指定された階層で論理回路のデータが読み出される(ステップS1−0)。
【0016】
次に、解析すべき論理回路がスキャンチェーンか否かを判定する(ステップS1−1)。
ステップS1−1で、スキャンチェーンでなければ、各パスをトレースして、パスが通過するピンにマークを付与し、解析結果記憶部8に記憶する(ステップS1−2)。
【0017】
ここで、パストレースについて図2とともに説明する。
図3に本発明の一実施例のパストレースの動作説明図を示す。図2はANDゲートの場合を示しており、ANDゲートの場合、入力ピンaに供給された信号は、入力ピンbの論理が”0”であると、出力ピンcへは供給されないが、入力ピンbの論理が”1”であると、出力ピンcに供給されることになる。このため、パストレースは、パスa→c,b→cともに信号が通過するパスであると判断する。すなわち、パストレースでは、論理的に通過するか否ではなく、論理が通過する可能性のある全てのパスをトレースする。
【0018】
一方、シミュレーションの場合には、入力ピンbの論理に応じて出力ピンcの論理が決まるので、パスa→cのパスは通らないもの判断される。以上のようにして、通過する可能性のあるすべてのパストレースが順次決定される。
ステップS1−1でスキャンチェーン系であれば、CPU6は、スキャン系、クロック系それぞれで、フォワードトレース及びバックトレースを実施して、パスを絞り込み、その結果を解析結果記憶部8に記憶する(ステップS1−3)。
【0019】
また、CPU6は、ステップS1−2、及び、ステップS1−3でピンがマークされ、マークされたピン毎に接続可能なピンが記録されると、次に、シミュレーションを行う。シミュレーションでは、まず、解析すべき論理回路の入力端子に供給すべき初期設定値を設定する(ステップS1−4)。
次に、ステップS1−4で設定された初期設定値に応じてシミュレーションを行い、マークされたピンの信号の伝達状態を検出し、各ピン毎に解析結果記憶部に記憶する(ステップS1−5)。
【0020】
次に、CPU6は、表示コントローラ10を制御して、ステップS1−1,S1−3で解析結果記憶部8の解析結果を論理回路とともに、CRT9に表示する(ステップS1−6)。
次に、キーボード2又はマウス3の指示により初期設定値の変更が指示されるとステップS1−4に戻って、初期設定値が変更され再びシミュレーションが行われる(ステップS1−7)。
【0021】
ここで、ステップS1−6でのCRT9に表示される表示結果について説明する。
図4に本発明の一実施例の解析結果の表示例を示す図を示す。
ステップS1−6の解析結果の表示時には、論理回路100が表示される。論理回路100には、論理ブロック111〜116の入出力ピンにマークa〜uが付与されるとともに、シミュレーション結果の論理値”1”,”0”,”x”が表示される。
【0022】
論理回路100の下部には、論理ブロック111〜116の入出力ピンマークa〜u毎にその信号の供給元が表示される。例えば、ピンマークa〜dは論理回路100の入力ピンであり、信号の供給元のピンマークa〜uが表示されてないので、信号の供給元は空きとなる。
また、ピンマークeのピンは、ゲート111の入力ピンであり、論理回路100の入力ピンであるピンマークbのピンに接続されており、ピンマークbのピンから信号が供給される。よって、ピンマークeには、ピンマークbが表示される。このとき、ピンマークbのピンに供給される信号はクロックCLKであるので、ピンマークbにクロックを示す「(CLK)」が付与される。
【0023】
同様に、ピンマークfは、ゲート111の入力ピンであり、論理回路100の入力ピンであるピンマークcのピンに接続されており、ピンマークcのピンから信号が供給される。よって、ピンマークfには、ピンマークcが表示される。このとき、ピンマークcのピンに供給される信号は制御信号CNTであるので、ピンマークcに制御信号を示す「(CNT)」が付与される。
【0024】
さらに、ゲート111の出力ピンであるピンマークhには、ピンマークe,fのピンに供給される信号の論理に応じた出力結果が供給されるので、ピンマークe,fが表示されるとともに、ピンマークe,fの信号供給元であるピンマークb(CLK),c(CNT)が表示される。同様にして、ピンマークg〜uに信号供給元が表示される。
【0025】
論理回路100の下部、パストレース信号元の表示の左側には、シミュレーション信号元のピンマークを示す表示が表示される。
例えば、初期設定値としてピンマークaに論理値「1」、ピンマークbに論理値「0」、ピンマークcに論理値「1」、ピンマークdに論理値「1」が供給されるものとすると、ピンマークe,f,g,mは、ピンマークa,b,c,dに直接接続されるので、ピンマークa,b,c,dの論理「1」,「0」,「1」,「1」がそのまま供給される。このため、シミュレーション信号元としては、ピンマークeにピンマークb(CLK)、ピンマークfにピンマークc(CNT)、ピンマークgにピンマークd、ピンマークmにピンマークaが表示される。
【0026】
また、ピンマークhでは、ゲート111がANDゲートであるとすると、ピンマークb(CLK)の論理値が「0」、すなわち、ピンマークeの論理値が「0」のときには、ピンマークc(CNT)の論理値、すなわち、ピンマークfの論理値にかかわらず、ゲート111の出力となるピンマークhの論理値は「0」となる。したがって、シミュレーションの結果としては、ピンマークhにはピンマークb(CLK),eに供給される信号が供給されると判断でき、ピンマークhにはピンマークb(CLK),eが表示される。
【0027】
以上のようにして初期設定値によるシミュレーションの結果、論理が通過するピンマークa〜uがピンマークa〜u毎に表示される。
図4に示すように、論理回路100にピンマークa〜uが表示され、パス毎に所定の初期設定値に応じたシミュレーション結果の論理値が表示される。また、論理回路100の下部には、上述したようにピンマークa〜u毎にトレース可能なピンマーク、及び、所定の初期設定値の結果、通過可能なピンマークがリスト形式で表示される。
【0028】
このため、論理回路100で所定の初期設定値に対して所定の出力が得られなかった場合に、論理回路100を解析するために論理回路100に対してバックトレースを行う際に、図4に示すような論理回路100の下部に表示されたピンマーク毎のリストを認識することにより、各ピンからの分岐先を容易に認識でき、次のピンの選択が容易になるので、トレースを効率よく行える。
【0029】
また、本実施例ではステップS1−2で論理回路の形式を判定し、スキャンチェーンの場合については、ステップS1−1のフォワードトレースに加えて、さらに、ステップS1−3でバックトレースを行うことにより、パスを絞り込んで、解析を行うことができる。
図5に本発明の一実施例のスキャンチェーンの解析時の動作説明図を示す。
【0030】
論理回路200は、スキャンチェーンを構成している。スキャンチェーンは、ゲート211〜214、フリップフロップ221〜223から構成され、ゲート211〜213とフリップフロップ221〜223とが交互に配置された構成とされている。
スキャンチェーンの場合、スキャン系について入力端子SIからのフォワードトレースと出力端子SOからのバックトレースにより入力端子SIから出力端子SOに至るパスを検出することにより、図5に「=」で示すようなピンマークb→g→j→l→m→n→p→r→s→t→v→x→y→zのパスを認識する。
【0031】
また、クロック系については、クロック入力TCKからフォワードトレースを行い、フリップフロップ221〜223のクロック端子からバックトレースを行ってクロック入力TCKからフリップフロップ221〜223に至るパスを検出し、図5に「−」太線で示すようなピンマークa→f→i→k、a→f→i→q、a→f→i→wのパスを認識する。
【0032】
なお、スキャン系、及び、クロック系のトレースの際、各論理ブロックのピンにピンマークa〜zが付与される。
このように、論理回路がスキャンチェーン構造のときには、パスの表示によりスキャン系とクロック系が容易に認識でき、解析時にバックトレースを行う際、信号がどこで滞っているかを容易に認識できる。
【0033】
また、パスを表示するときに、信号の属性を線種または色により区別することにより、信号の属性、すなわち、スキャン系の信号か、クロック系の信号か、コントロール系の信号かを容易に識別できる。
例えば、図5では、スキャン系の信号が「=」で表示され、クロック系の信号が「−」太線で表示され、コントロール系の信号が「−」細線で表示されている。
【0034】
また、異なる属性の信号が同一線路を通過する場合には、異なる属性の信号の表示を平行して表示することにより、信号を確実に識別できる。例えば、図5では、ピンマークj→i、m→n、p→r、s→t、v→x、y→zでは、スキャン系の信号が「=」とコントロール系の信号が「−」細線とが平行に表示されている。
【0035】
なお、本実施例では、スキャン系の信号、クロック系の信号、コントロール系の信号を「=」、「−」太線、「−」細線等の線種の別により表示したが、これに限られるものではなく、色の別により表示してもよい。
さらに、ステップS1−0で解析すべき論理回路の論理階層又は物理階層を指定することにより、必要な階層で解析を行うことができる。
【0036】
図6に本発明の一実施例の階層に応じた表示を説明するための図を示す。
例えば、ステップS1−0で、論理回路310の階層を最も詳細なレベル1に指定し、解析を行うと、図6に示すように論理素子311〜316が表示され、論理素子311〜316の各入出力ピンにピンマークa〜c,f〜l,p〜v,xが付与され、表示される。
【0037】
また、ステップS1−0で、論理回路310の階層をレベル1より上位の階層のレベル2に指定し、解析を行うと、図6に示すように論理ブロック321,322が表示され、論理ブロック321,322の各入出力ピンにピンマークa〜e,m〜o,w,xが付与され、表示される。
このように、階層を指定することにより、論理素子単位やLSI単位など、所望の単位で解析を行うことができるため、論理回路ので解析を効率よく行うことができる。
【0038】
【発明の効果】
上述の如く、本発明の請求項1によれば、論理ブロックの信号が流れるピン、及び、ピンの接続関係を解析、記録し、表示することにより、各ピン毎に伝達元を容易に認識できるので、トレース時に各ピンの分岐先を容易に認識でき、よって、トレースの分岐先の選択を容易に行え、解析を効率的に行える等の特長を有する。
【0039】
また、請求項1によれば、パストレース手段により論理ブロックの信号が流れる可能性のある全てのピン、及び、ピンの接続関係を解析し、記録することにより、各ピン毎に伝達元を容易に認識できるので、トレース時に各ピンの分岐先を容易に認識でき、よって、トレースの分岐先の選択を容易に行え、解析を効率的に行える等の特長を有する。
【0040】
請求項2によれば、シミュレーション手段により論理ブロックの論理的に信号が流れるピン、及び、ピンの接続関係を解析し、記録することにより、所定の論理における各ピンでの信号の状態を認識でき、信号の状態によりトレースの分岐先の選択を容易に行え、解析を効率的に行える等の特長を有する。請求項3によれば、フォワードトレース手段により論理ブロックの信号が流れる可能性のある全てのピン、及び、ピンの接続関係を解析、記録した後、バックトレース手段によりフォワードトレース手段でトレースされた論理ブロックの信号が流れる可能性のある全てのピン、及び、ピンの接続関係から所望のピンを絞り込むことにより、必要なピンの分岐先を容易に認識でき、よって、トレースの分岐先の選択を容易に行え、解析を効率的に行える等の特長を有する。
【図面の簡単な説明】
【図1】本発明の一実施例のブロック構成図である。
【図2】本発明の一実施例のCPUの動作フローチャートである。
【図3】本発明の一実施例のパストレースの動作を説明するための図である。
【図4】本発明の一実施例の解析結果の表示例を示す図である。
【図5】本発明の一実施例のスキャンチェーン解析時の動作説明図である。
【図6】本発明の一実施例の階層に応じた表示を説明するための図である。
【符号の説明】
1 論理回路解析装置
2 キーボード
3 マウス
4 入力インタフェース
5 論理回路データベース
6 CPU
7 プログラムメモリ
8 解析結果記憶部
9 表示コントローラ
10 CRT
11 バス[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a logic circuit analysis method, and more particularly to a logic circuit analysis method used when tracing a signal flow of a designed logic circuit.
In designing a logic circuit, when a target result is not obtained as a result of simulation, the logic circuit is analyzed by tracing the input / output logic of each logic block.
[0002]
[Prior art]
Conventionally, after simulating a logic circuit, tracing is performed by specifying a pin for performing back tracing by manual operation based on the result of the simulation.
If a pin different from the pin to be reached is designated, the pin is designated again and traced, and the above operation is repeated until the desired pin is reached.
[0003]
Therefore, in order to efficiently analyze the logic circuit, for example, according to Japanese Patent Laid-Open No. 5-225286, the input / output signal system is displayed separately from the other signal systems to recognize the signal system. An invention has been proposed that facilitates analysis.
Japanese Patent Application Laid-Open No. 5-225286 discloses a circuit element for extracting a path between input / output pins by simply designating an input / output pin and performing a path trace between the input / output pins and color-coding with other signal lines. A connection search method is described.
[0004]
[Problems to be solved by the invention]
However, in the conventional logic circuit analysis method, since the tracing is performed by instructing the branch destination (path) by manual operation based on the result of the simulation, the branch destination has to be instructed by manual operation, which is incorrect. In some cases, it was necessary to go back to the original pin, specify a different pin from the previous pin, apply the backtrace again, and repeat until the required pin could be analyzed. Met.
[0005]
Further, the invention disclosed in Japanese Patent Laid-Open No. 5-225286 extracts the path between the input / output pins by simply designating the input / output pins and performing the path trace between the input / output pins, and is color-coded with other signal lines. It is possible to recognize only one system signal. For other paths, it is necessary to specify input / output pins again and perform path trace. If you want to analyze the entire logic circuit, Similarly, the analysis takes time and is inefficient.
[0006]
The present invention has been made in view of the above points, and an object thereof is to provide a logic circuit analysis method capable of easily tracing a desired path.
[0007]
[Means for Solving the Problems]
[0008]
According to the first aspect, by analyzing, recording, and displaying the pin through which the logic block signal flows and the connection relationship between the pins, the transmission source can be easily recognized for each pin. The branch destination can be easily recognized. Therefore, the trace branch destination can be easily selected and the analysis can be performed efficiently .
[0009]
In addition, according to the first aspect, by analyzing and recording all the pins on which the logic block signal may flow and the connection relation of the pins by the path trace means , the transmission source can be easily set for each pin. Therefore, the branch destination of each pin can be easily recognized at the time of tracing, so that the branch destination of the trace can be easily selected and the analysis can be performed efficiently.
[0010]
According to a second aspect of the present invention, the analysis unit includes a pin through which a logical signal of the logic block flows, and a simulation unit that analyzes and records a connection relation of the pin. According to
[0011]
Claim 3, the path trace means, all pins that may signal the logical block flows in the same direction as the flow of the signal, and a forward tracing means for analyzing the connection relationships of the pin, and records And all the pins analyzed and recorded by the forward trace means , and all the pins in which the signal of the logic block may flow in a direction opposite to the signal flow with respect to the connection relation of the pins, and And a back trace means for analyzing the connection relation of the pins and narrowing down the connection relation between the pins and the pins.
[0012]
According to the third aspect, after analyzing and recording all the pins in which the logic block signal may flow by the forward trace means and the connection relation of the pins, the logic traced by the forward trace means by the back trace means By narrowing down the desired pins based on all the pins that can cause the block signal to flow and the pin connection relationship, it is possible to easily recognize the branch destinations of the necessary pins, thus making it easy to select the branch destination of the trace. Can be performed efficiently.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing an embodiment of the present invention.
The
[0014]
The
The program stored in the program memory 7 has a path trace function for analyzing the path of the logic circuit, and a simulation function for setting a predetermined initial setting value in the logic circuit and analyzing the input / output logic. The analysis result is stored in the analysis
[0015]
The analysis result stored in the analysis
Next, the analysis operation by the
FIG. 2 shows a processing flowchart by the CPU of one embodiment of the present invention.
When the
[0016]
Next, it is determined whether or not the logic circuit to be analyzed is a scan chain (step S1-1).
If it is not a scan chain in step S1-1, each path is traced, a mark is given to a pin through which the path passes, and stored in the analysis result storage unit 8 (step S1-2).
[0017]
Here, the path trace will be described with reference to FIG.
FIG. 3 is a diagram for explaining the operation of path tracing according to an embodiment of the present invention. FIG. 2 shows the case of the AND gate. In the case of the AND gate, the signal supplied to the input pin a is not supplied to the output pin c if the logic of the input pin b is “0”, but the input pin a is input. When the logic of the pin b is “1”, it is supplied to the output pin c. For this reason, the path trace is determined to be a path through which signals pass in both paths a → c and b → c. That is, in the path trace, not all the paths that logically pass are traced, but all paths that the logic may pass are traced.
[0018]
On the other hand, in the simulation, since the logic of the output pin c is determined according to the logic of the input pin b, it is determined that the path a → c does not pass. As described above, all path traces that may pass through are sequentially determined.
If it is a scan chain system in step S1-1, the
[0019]
Further, when the pins are marked in step S1-2 and step S1-3, and the connectable pins are recorded for each marked pin, the
Next, a simulation is performed according to the initial setting value set in step S1-4, the signal transmission state of the marked pin is detected, and stored in the analysis result storage unit for each pin (step S1-5). ).
[0020]
Next, the
Next, when the change of the initial setting value is instructed by the instruction of the
[0021]
Here, the display result displayed on the
FIG. 4 shows a display example of the analysis result of one embodiment of the present invention.
When the analysis result is displayed in step S1-6, the
[0022]
Below the
The pin marked e is an input pin of the
[0023]
Similarly, the pin mark f is an input pin of the
[0024]
Further, the pin mark h, which is an output pin of the
[0025]
A display showing the pin mark of the simulation signal source is displayed below the
For example, a logical value “1” is supplied to the pin mark a, a logical value “0” is supplied to the pin mark b, a logical value “1” is supplied to the pin mark c, and a logical value “1” is supplied to the pin mark d. Then, since the pin marks e, f, g, m are directly connected to the pin marks a, b, c, d, the logic “1”, “0”, “ “1” and “1” are supplied as they are. Therefore, as a simulation signal source, pin mark b (CLK) is displayed on pin mark e, pin mark c (CNT) is displayed on pin mark f, pin mark d is displayed on pin mark g, and pin mark a is displayed on pin mark m. .
[0026]
Further, in the pin mark h, if the
[0027]
As a result of the simulation using the initial setting values as described above, the pin marks a to u through which the logic passes are displayed for each pin mark a to u.
As shown in FIG. 4, pin marks a to u are displayed on the
[0028]
For this reason, when a predetermined output is not obtained with respect to a predetermined initial setting value in the
[0029]
In this embodiment, the logic circuit format is determined in step S1-2. In the case of a scan chain, in addition to the forward trace in step S1-1, the back trace is further performed in step S1-3. The analysis can be performed by narrowing down the path.
FIG. 5 is a diagram for explaining the operation at the time of analysis of the scan chain according to one embodiment of the present invention.
[0030]
The
In the case of a scan chain, the path from the input terminal SI to the output terminal SO is detected by a forward trace from the input terminal SI and a back trace from the output terminal SO in the scan system, as shown by “=” in FIG. The path of pin mark b → g → j → l → m → n → p → r → s → t → v → x → y → z is recognized.
[0031]
As for the clock system, forward tracing is performed from the clock input TCK, back tracing is performed from the clock terminals of the flip-flops 221 to 223, and a path from the clock input TCK to the flip-flops 221 to 223 is detected. − ”Recognizes paths of pin marks a → f → i → k, a → f → i → q, and a → f → i → w as shown by bold lines.
[0032]
Note that pin marks a to z are given to the pins of each logical block at the time of scanning and clock tracing.
As described above, when the logic circuit has the scan chain structure, the scan system and the clock system can be easily recognized by displaying the path, and when the back trace is performed at the time of analysis, it can be easily recognized where the signal is stagnant.
[0033]
Also, when displaying a path, by distinguishing the signal attributes by line type or color, it is possible to easily identify the signal attributes: scan signals, clock signals, or control signals. it can.
For example, in FIG. 5, the scan signal is displayed as “=”, the clock signal is displayed as a “−” thick line, and the control signal is displayed as a “−” thin line.
[0034]
Further, when signals having different attributes pass through the same line, the signals can be reliably identified by displaying the signals having different attributes in parallel. For example, in FIG. 5, in the pin marks j → i, m → n, p → r, s → t, v → x, and y → z, the scan signal is “=” and the control signal is “−”. Thin lines are displayed in parallel.
[0035]
In this embodiment, the scan system signal, the clock system signal, and the control system signal are displayed according to the line type such as “=”, “−” thick line, “−” thin line, but the present invention is not limited to this. You may display according to a color instead of a thing.
Further, by specifying the logical hierarchy or the physical hierarchy of the logic circuit to be analyzed in step S1-0, the analysis can be performed at a necessary hierarchy.
[0036]
FIG. 6 is a diagram for explaining display according to the hierarchy of an embodiment of the present invention.
For example, in step S1-0, when the hierarchy of the
[0037]
In step S1-0, if the hierarchy of the
In this way, by specifying the hierarchy, the analysis can be performed in a desired unit such as a logic element unit or an LSI unit, so that the analysis can be efficiently performed in the logic circuit.
[0038]
【The invention's effect】
As described above, according to the first aspect of the present invention, by analyzing, recording, and displaying the pin through which the logic block signal flows and the pin connection relationship, the transmission source can be easily recognized for each pin. Therefore, it is possible to easily recognize the branch destination of each pin at the time of tracing, so that it is possible to easily select the branch destination of the trace and to perform analysis efficiently.
[0039]
In addition, according to the first aspect, by analyzing and recording all the pins on which the logic block signal may flow and the connection relation of the pins by the path trace means , the transmission source can be easily set for each pin. Therefore, it is possible to easily recognize the branch destination of each pin at the time of tracing. Therefore, it is possible to easily select the branch destination of the trace and to perform analysis efficiently.
[0040]
According to
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of the present invention.
FIG. 2 is an operation flowchart of a CPU according to an embodiment of the present invention.
FIG. 3 is a diagram for explaining a path trace operation according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a display example of an analysis result according to an embodiment of the present invention.
FIG. 5 is an operation explanatory diagram at the time of scan chain analysis according to an embodiment of the present invention.
FIG. 6 is a diagram for explaining display according to a hierarchy according to an embodiment of the present invention;
[Explanation of symbols]
DESCRIPTION OF
7
11 Bus
Claims (3)
前記論理ブロックの信号が流れるピン、及び、該ピンの接続関係を解析し、記録する解析手段と、
前記解析手段により記録された前記論理ブロックの信号が流れるピン、及び、該ピンの接続関係を表示する表示手段とを有し、
更に前記解析手段は、前記論理ブロックの信号が流れる可能性のある全てのピン、及び、該ピンの接続関係を解析し、記録するパストレース手段を有することを特徴とする論理回路解析装置。In the logic circuit analyzing apparatus for performing a process of analyzing a flow of a signal logical block,
Pin signal flows before Symbol logic blocks, and analyzes the connection of the pin, and analyzing means for recording,
A pin through which the signal of the logic block recorded by the analyzing means flows, and a display means for displaying a connection relation of the pins;
Further, the analysis means has all the pins through which the signal of the logic block may flow, and path trace means for analyzing and recording the connection relation of the pins.
前記フォワードトレース手段で解析、記録された全てのピン、及び、該ピンの接続関係に対して前記信号の流れと逆方向で前記論理ブロックの信号が流れる可能性のある全てのピン、及び、該ピンの接続関係を解析し、前記ピン、及び、ピンの接続関係を絞り込むバックトレース手段とを有することを特徴とする請求項2記載の論理解析装置。The path trace means is a forward trace means for analyzing and recording all the pins through which the signal of the logic block may flow in the same direction as the signal flow, and the connection relation of the pins,
All the pins analyzed and recorded by the forward trace means , and all the pins in which the signal of the logic block may flow in the opposite direction of the signal flow with respect to the connection relation of the pins, and 3. The logic analysis apparatus according to claim 2, further comprising back trace means for analyzing a pin connection relationship and narrowing down the pin and pin connection relationship.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21652797A JP4006062B2 (en) | 1997-08-11 | 1997-08-11 | Logic circuit analyzer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21652797A JP4006062B2 (en) | 1997-08-11 | 1997-08-11 | Logic circuit analyzer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH1166109A JPH1166109A (en) | 1999-03-09 |
| JP4006062B2 true JP4006062B2 (en) | 2007-11-14 |
Family
ID=16689835
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21652797A Expired - Fee Related JP4006062B2 (en) | 1997-08-11 | 1997-08-11 | Logic circuit analyzer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4006062B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100249838B1 (en) * | 1997-10-07 | 2000-03-15 | 이계철 | High Frequency Filter with Citron Resonator |
| JP4839856B2 (en) | 2006-01-23 | 2011-12-21 | 富士通株式会社 | Scan chain extraction program, scan chain extraction method, and test apparatus |
-
1997
- 1997-08-11 JP JP21652797A patent/JP4006062B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH1166109A (en) | 1999-03-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4970664A (en) | Critical path analyzer with path context window | |
| US5327568A (en) | Apparatus for supporting graphic data driven program development and for displaying instruction execution results superimposed on the graphic program | |
| US4675832A (en) | Visual display logic simulation system | |
| US7134081B2 (en) | Method and apparatus for controlling an instrumentation system | |
| CN102156255B (en) | A method of and an arrangement for testing connections on a printed circuit board | |
| US20030227483A1 (en) | Displaying operations in an application using a graphical programming representation | |
| US5323108A (en) | Method for generating functional tests for printed circuit boards based on pattern matching of models | |
| JP2004164459A (en) | Waveform editing program, computer-readable recording medium recording waverform editing program therein, and waveform editing device | |
| EP0463732A2 (en) | Method and system for animating the execution of a computer program | |
| US7721255B2 (en) | Sequence program editing apparatus | |
| US6243858B1 (en) | Program construction assisting system | |
| US7165231B2 (en) | Method and system for incremental behavioral validation of digital design expressed in hardware description language | |
| JP4006062B2 (en) | Logic circuit analyzer | |
| US20070101302A1 (en) | Mixed signal circuit simulator | |
| JP3535354B2 (en) | Stall detection display device and method | |
| CN119718806A (en) | A signal test case generation method, device, equipment and storage medium | |
| JPH11195053A (en) | Test pattern generating device | |
| JP2991143B2 (en) | Printed wiring board CAD apparatus and its wiring design method | |
| JP2532138B2 (en) | Logic circuit delay time analyzer | |
| JPH10320190A (en) | Source program path search device and medium recording search program | |
| JPH02105975A (en) | Electronic circuit data editing device | |
| JPH06274567A (en) | Logic simulation device | |
| JPH11118889A (en) | Test program generating system | |
| JPH08202741A (en) | Functional design support device and functional design support method | |
| JP3640684B2 (en) | Test sequence generation device and testability design device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070122 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070206 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070406 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070522 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070720 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070821 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070827 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100831 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110831 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120831 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120831 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130831 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |