JP2005004605A - Simulation device and simulation method - Google Patents
Simulation device and simulation method Download PDFInfo
- Publication number
- JP2005004605A JP2005004605A JP2003169187A JP2003169187A JP2005004605A JP 2005004605 A JP2005004605 A JP 2005004605A JP 2003169187 A JP2003169187 A JP 2003169187A JP 2003169187 A JP2003169187 A JP 2003169187A JP 2005004605 A JP2005004605 A JP 2005004605A
- Authority
- JP
- Japan
- Prior art keywords
- simulation
- test pattern
- information
- signal
- unit
- 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
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
この発明は、ネットリスト内部の信号について動作をしている検証パターンを特定する技術に関するものである。
【0002】
【従来の技術】
図9は、特開平8−272845号公報に開示された結果表示装置のフローを説明するものである。
図において、810は論理合成ツール、812は論理合成で作成される論理回路のネットリスト、814は解析ツール、816は解析ツールから出力されるエラー情報、818は回路図作成手段、820は回路図作成手段818で作成される論理回路図、822はエラーを表示するエラー表示手段である。
【0003】
次に動作について説明する。
この結果表示装置は、論理合成ツールで作成される論理回路のネットリスト812から回路図作成手段818で論理回路図820を作成し、エラー表示手段822により論理回路図上にさらにエラー情報を視覚的に表示する。
しかし、この従来の技術では、指定された信号の解析作業が必要となった場合に、動作確認に使えるパターンを特定することはできない。
指定された内部信号の解析のために使えるパターンの特定方法として、一般的には、検証仕様書や設計資料にもとづいておおよそ的を絞ったいくつかのパターンを使ってシミュレーションを行う。または、動作ノード情報等を見て特定するなど、テストパターンおよび、ネット以外の設計情報ファイルを参照しなければならなかった。そのため、直接検証作業を行った者以外が後から解析する必要がある場合には、知りたい情報を得れずに、ひととおりシミュレーションを実施したり、新たにパターンを作成したりしていたため、多大な時間と作業をする等の問題があった。
【0004】
【特許文献1】
特開平8−272845号公報
【0005】
【発明が解決しようとする課題】
このように、従来の結果表示装置を用いた場合に、指定された信号の動作確認のためにパターンの特定をするためには、資料を調べたり、ひととおりシミュレーションをして結果を調べなければならず時間がかかるといった問題点があった。
【0006】
本発明では、このような問題点を解決しようとするもので、シミュレーションの実施後にいずれかの信号についての再シミュレーションが必要になった場合に、当該信号の再シミュレーションのために使用すべきテストパターンを容易かつ短時間で特定可能な装置及び方法を提供することを目的の一つとする。
【0007】
【課題を解決するための手段】
本発明に係るシミュレーション装置は、
論理合成により作成されるネットリストを取得するネットリスト取得部と、
ネットリストに含まれている少なくとも一つ以上の信号のそれぞれについて少なくとも一つ以上のテストパターンを用いて所定のシミュレーションを実行するシミュレーション実行部と、
前記シミュレーション実行部によるシミュレーションにおいてそれぞれの信号が動作したテストパターンをそれぞれの信号に関連づけるためのテストパターン関連づけ情報をネットリストに付加する情報付加部とを有することを特徴とする。
【0008】
【発明の実施の形態】
実施の形態1.
図1は本実施の形態に係るシミュレーション装置を用いた場合の動作パターン特定手順を示す設計フロー図である。
図において、S101は、機能記述情報から回路接続情報(ネットリスト)を作成・出力する論理合成、S102はネットリスト、S103は、ネットリストを検証する機能シミュレーションおよびタイミングシミュレーション、および信号に対してシミュレーションの結果からテストパターン関連づけ情報を付加するシミュレーション及びテストパターン関連づけ情報付加処理である。S104は、S103のシミュレーション及びテストパターン関連づけ情報付加処理で信号に対して動作しているテストパターンを関連づけるためのテストパターン関連づけ情報が付加された情報付加ネットリスト、S105はLSI製造のためメーカへのデータリリースおよびメーカ側での設計データチェック、S106はLSIメーカ側の設計データチェックにて動作の確認を依頼された信号の情報、S107はLSIメーカ側から動作を依頼された信号について解析に使用するテストパターンを特定するテストパターン特定処理、S108はS107のテストパターン特定処理で特定されたテストパターンを使った再シミュレーション、S109はS106で指定された信号の動作解析作業である。
S103のシミュレーション及びテストパターン関連づけ情報付加処理では、所定のテストパターンを用いてネットリストに含まれている信号についてシミュレーションを行い、シミュレーションの結果に基づき各信号が動作したテストパターンを各信号に関連づけるためのテストパターン関連づけ情報をネットリストに付加する。
また、S107のテストパターン特定処理は、テストパターン関連づけ情報が付加された情報付加ネットリストを参照して、S106で指定された信号の解析に使用するテストパターンを特定する。
本実施の形態に係るシミュレーション装置は、S103のシミュレーション及びテストパターン関連づけ情報付加処理、S107のテストパターン特定処理、及びS108の再シミュレーション処理を行う。
【0009】
次に、図2を参照して、本実施の形態に係るシミュレーション装置1の構成例を説明する。
ネットリスト取得部101は、論理合成により作成されたネットリストを取得する。
シミュレーション部102は、ネットリスト取得部101により取得されたネットリストについて所定のシミュレーションを行う。シミュレーション部102は、シミュレーション実行部1021、情報付加部1022、及び情報格納/取得部1023から構成される。
シミュレーション実行部1021は、ネットリストについて機能シミュレーションやタイミングシミュレーションを実行する。
情報付加部1022は、シミュレーション実行部1021のシミュレーションの結果に応じて各信号が動作したテストパターンを各信号に関連づけるためのテストパターン関連づけ情報をネットリストに付加する。
情報格納/取得部1023は、情報付加部1022によりテストパターン関連づけ情報が付加された情報付加ネットリストを情報付加ネットリスト記憶部104に格納する。また、シミュレーション実行部1021によるシミュレーションが終了した後、シミュレーションに用いたテストパターンをテストパターン記憶部103に格納し、シミュレーション実行部1021にて再シミュレーションが行われる際には、テストパターン特定部106により特定されたテストパターンをテストパターン記憶部103から取得する。
【0010】
テストパターン記憶部103は、シミュレーション実行部1021のシミュレーションに使用されたテストパターンを記憶する。
情報付加ネットリスト記憶部104は、情報付加部1022にてテストパターン関連づけ情報が付加された情報付加ネットリストを記憶する。
入力部105は、シミュレーション実行部1021に対してシミュレーションを指示するシミュレーション指示情報及びシミュレーション実行部1021に対して再シミュレーションを指示する再シミュレーション指示情報をオペレータから入力する。シミュレーション指示情報には、シミュレーション実行部1021でのシミュレーションに使用するテストパターンが含まれ、再シミュレーション指示情報には、再シミュレーションの対象となる信号名が含まれる。
テストパターン特定部106は、再シミュレーション指示情報が入力された際に、情報付加ネットリスト記憶部104から情報付加ネットリストを取得し、情報付加ネットリストを参照して再シミュレーション指示情報で指定された信号に関連づけられているテストパターンを特定し、特定したテストパターンと再シミュレーション指示情報で指定されている信号名をシミュレーション部102に通知する。
出力部107は、シミュレーション部102からの情報付加ネットリストをオペレータに対して出力するとともに、シミュレーション部102において再シミュレーションが行われた際には再シミュレーション結果をオペレータに対して出力する。
【0011】
なお、シミュレーション装置1は、図示していないが、例えばマイクロプロセッサ等のCPU、半導体メモリ等や磁気ディスク等の記録手段を有する計算機により実現することができる。記録手段には、シミュレーション装置1に含まれる各構成要素の機能を実現するプログラムが記録されており、CPUがこれらのプログラムを読み込むことによりシミュレーション装置1の動作を制御し、各構成要素の機能を実現することができる。
【0012】
次に、本実施の形態1に係るシミュレーション装置1の動作を説明する。
まず、ネットリスト取得部101が論理合成からネットリストを取得(入力)する。
このネットリストは、図3のように信号名と論理ゲートの接続が情報として含まれている。
図3の202の行を例にすると左からAND2が論理セル、次のA01がセル毎の固有情報、次の括弧内部は、論理セルと端子の接続情報であり、左から端子Yに信号N0001が接続し、端子Aに信号N0011が接続し、端子Bに信号N0012が接続していることを表現している。
【0013】
また、ネットリスト取得部101によるネットリストの取得に並行して、入力部105がオペレータよりシミュレーション指示情報を入力し、シミュレーション部102のシミュレーション実行部1021がネットリスト取得部101からのネットリストと入力部105からのテストパターンとに基づき、シミュレーションによる検証(タイミング、機能検証)を行う。これは図1のフローのS103が相当する。
シミュレーション実行部1021によるシミュレーションで動作している信号については、情報付加部1022が、各信号が動作するテストパターンを各信号に関連づけるためのテストパターン関連づけ情報をネットリストに付加する。付加する手段としては、シミュレーション中で動作している信号をチェックし次第、ネットリストにテストパターン関連づけ情報を付加してもよいし、または一度動作信号情報をファイルに出力させ、そのファイルからネットリストにテストパターン関連づけ情報をネットリストに付加するといった方法でもよい。
【0014】
情報付加部1022によりテストパターン関連づけ情報が付加された情報付加ネットリストの例を図4に示す。
図4の302の行では、信号N0012がN0012_TP1といった具合に、テストパターン関連づけ情報として、テストパターンの識別情報が付加されている。つまり、このテストパターンの識別情報により信号N0012がシミュレーションにおいてテストパターンTP1で動作したことが分かる。さらに別のテストパターン(例えば、識別情報がTP3であるテストパターン)でもN0012が動作している場合には、N0012_TP1_TP3という具合にテストパターンの識別情報を順次付加する。
シミュレーション実行部1021によるシミュレーションが終了し、情報付加部1022によりテストパターン関連づけ情報がネットリストへ付加されたならば、情報格納/取得部1023がテストパターン関連づけ情報が付加された情報付加ネットリストを情報付加ネットリスト記憶部104に格納し、また、シミュレーション実行部1021でのシミュレーションに使用したテストパターンをテストパターン記憶部103に格納する。
また、シミュレーション部102からは情報付加ネットリストが出力部107へ出力され、出力部107からオペレータに対して情報付加ネットリストが出力される。
【0015】
情報付加ネットリストが出力された後は、図1のS105に示すように、設計データがLSIメーカへリリースされる。設計データを入手したLSIメーカ側では、詳細遅延情報を使ってタイミングシミュレーションや、テクノロジに依存したチェックなどを行う。このチェックの結果、動作の解析(再シミュレーション)を設計側が行なわなければならない信号が発生することがある。
解析には、LSIメーカからテストパターンと信号名が連絡される場合と、信号名のみが連絡される場合とがある。信号名のみが連絡された場合に、その指定された信号が動作しているテストパターンを特定しなければならない。以下では、LSIメーカより信号名だけを連絡された場合を想定して説明する。
【0016】
LSIメーカから再シミュレーションの依頼があった場合には、依頼された信号名を含む再シミュレーション指示情報を入力部105がオペレータより入力し、テストパターン特定部106に出力する。なお、再シミュレーション指示情報で再シミュレーションが指示された信号は、既にシミュレーション実行部1021でシミュレーションが行われている信号である。
再シミュレーション指示情報を入力したテストパターン特定部106では、再シミュレーション指示情報に含まれた信号名に対応する情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、取得した情報付加ネットリストに付加されているテストパターン関連づけ情報から当該信号に関連づけられているテストパターンを特定する。図4に示したように、情報付加ネットリストには、N0012_TP1といった具合に各信号に対してテストパターンの識別情報が付加されている。これによりどのノードでこのパターンが動いているかをネット名だけから理解できる。
そして、テストパターン特定部106においてテストパターンが特定された場合には、情報格納/取得部1023がテストパターン特定部106により特定されたテストパターンをテストパターン記憶部103から取得し、情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、シミュレーション実行部1021がこれらのテストパターンと情報付加ネットリストを用いて、再シミュレーションが指示された信号についての再シミュレーションを行い、再シミュレーション結果を出力部107から出力する。
これにより、図1のS109に示す信号解析作業に進むことができる。
【0017】
以上のように、本実施の形態によればネットリストの内部信号に動作しているパターンの情報を付加しそれを識別するようにしているので、指定された信号が動作しているパターンの特定が容易にかつ短期間にでき、推測でパターンをシミュレーションしてその結果をみるといった手間を省くことができ、これにより論理設計の効率を上げることができる。
【0018】
実施の形態2.
以上の実施の形態1では、ネットリストに付加するテストパターン関連づけ情報として、テストパターンの識別情報を付加していたが、本実施の形態では、異なる形式のテストパターン関連づけ情報をネットリストに付加する。
なお、本実施の形態でも設計フローの手順は図1に示すものと同様であり、また、本実施の形態に係るシミュレーション装置1の構成も図2に示したものと同様である。
本実施の形態では、情報付加部1022においてネットリストに付加するテストパターン関連づけ情報の形式、及びテストパターン特定部106におけるテストパターンの特定の仕方が異なるだけであり、他の動作は実施の形態1で説明したものと同じである。
【0019】
実施の形態1では、テストパターン関連づけ情報として、各信号に対して動作しているテストパターンの識別情報を付加していたが、本実施の形態では、テストパターンの識別情報そのものではなく、所定のID情報及びID情報とテストパターン識別情報とを対応づける対応情報を付加する。
本実施の形態の情報付加部1022による情報付加ネットリストの例を図5に示す。
図5の402の行では、信号N0012に対して、ID情報としてID03を付けてN0012_ID03という形にし、図5の404の行に、対応づけ情報を付加している。図5の例では、対応づけ情報はコメントの形式で追加されており、一番左がID情報であるID03を示し、ID03に対して実際に動作したテストパターンの識別情報であるTP01、TP03が示される。なお、対応づけ情報をネットリストファイル中のコメントの形式とすることにより、各種CADツールで処理の対象外部として扱われるようにしている。
情報付加部1022における情報付加の方法としては、シミュレーション時に各信号をウォッチし、シミュレーション終了時に各信号に対してID情報を付加するとともにコメントとして対応づけ情報を付加する。
なお、ID情報及び対応づけ情報は、複数のテストパターンを一括して特定可能な情報であり、一括特定情報の例に相当する。
【0020】
一方、テストパターン特定部106では、再シミュレーション指示情報が入力された場合に、図5に示す形式の情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、再シミュレーションが指示された信号についてID情報を把握するとともに、当該ID情報の対応づけ情報に基づきテストパターンの識別情報を導き、再シミュレーションに用いるテストパターンを特定する。
以降は実施の形態1と同様であり、情報格納/取得部1023がテストパターン特定部106により特定されたテストパターンをテストパターン記憶部103から取得し、情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、シミュレーション実行部1021がこれらのテストパターンと情報付加ネットリストを用いて、再シミュレーションが指示された信号についての再シミュレーションを行い、再シミュレーション結果を出力部107から出力する。
【0021】
以上のように、本実施の形態によれば、ネットリストファイル中に内部信号に動作しているパターンの情報を付加しそれを識別するようにしているので、指定された信号が動作しているパターンの特定が容易にでき推測でパターンをシミュレーションしてその結果をみるといった手間を省くことができる。さらに実施の形態1では多くパターンで動作している信号については多くのテストパターンの識別情報を付加することにより信号名が長くなってしまうことがあるが、本実施の形態によれば、信号名が長くなるということを避けることができ、信号名がわかりにくくなることがなくなる。
【0022】
実施の形態3.
実施の形態1では、ネットリストにはテストパターンの識別情報(テストパターン関連づけ情報)のみを付加していたが、本実施の形態では、各信号について信号値が変化した回数を示す信号値変化回数情報をテストパターンの識別情報とともにのネットリストに付加する。
なお、本実施の形態でも設計フローの手順は図1に示すものと同様であり、また、本実施の形態に係るシミュレーション装置1の構成も図2に示したものと同様である。
本実施の形態では、情報付加部1022においてネットリストに付加する情報の内容が異なるだけであり、他の動作は実施の形態1で説明したものと同じである。
【0023】
本実施の形態における情報付加部1022は、各信号について、テストパターンの識別情報とともに信号値変化回数情報をネットリストに付加する。
つまり、情報付加部1022は、各信号について、動作しているテストパターンの識別情報とともに信号の値が0→1→0や1→0→1に変化していく回数の情報も付加する。
情報付加部1022における情報付加の方法としては、テストパターンごとにシミュレーションが行われる度に信号値変化回数もウォッチし、テストパターンごとのシミュレーションが終了する度にそれぞれの信号名に既に付加されている信号値変化回数をチェックし、計測した信号値変化回数が既に付加されている信号値変化回数をオーバーしている場合に、そのテストパターンの識別情報と信号値変化回数を信号名に付加、更新する。
【0024】
本実施の形態の情報付加部1022による情報付加ネットリストの例を図6に示す。
図6の502の行では、信号N0012に対して、テストパターン識別情報としてTP01が付加され、また、信号値変化値回数情報として$05が付加されて、N0012_TP01$05という形になっている。これはテストパターンTP01で信号N0012が5回動作している(信号値が5回変化している)ことを表現している例である。
さらに別のパターンでシミュレーションを行ってN0012がより動作していれば更新を行う。図7は更新例である。N0012の信号がテストパターンTP03により7回動作したとして602の行では、N0012_TP03$07という具合に更新される。
【0025】
再シミュレーション指示情報が入力された場合は、実施の形態1と同様に、テストパターン特定部106が、図6に示す形式の情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、情報付加ネットリストに示されたテストパターン関連づけ情報に基づき、再シミュレーションが指示された信号について再シミュレーションに用いるテストパターンを特定する。
また、情報格納/取得部1023がテストパターン特定部106により特定されたテストパターンをテストパターン記憶部103から取得し、情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、シミュレーション実行部1021がこれらのテストパターンと情報付加ネットリストを用いて、再シミュレーションが指示された信号についての再シミュレーションを行い、再シミュレーション結果を出力部107から出力する。
【0026】
以上のように、本実施の形態によれば、ネットリストファイル中の内部信号に動作しているパターンの情報とそのパターンでの動作回数を付加しそれを識別するようにしているので、指定された信号が動作しているパターンの特定が容易にできる。そのため推測でパターンをシミュレーションしてその結果をみるといった手間を省くことができる。さらに本実施の形態では信号値変化回数情報も含めている。信号値変化回数が多い方が、その信号を頻繁に動かしており、解析に適しているので効率的な動作解析をするためのパターン選定ができる。
【0027】
実施の形態4.
本実施の形態では、実施の形態2及び実施の形態3を組み合わせた方式を説明する。
なお、本実施の形態でも設計フローの手順は図1に示すものと同様であり、また、本実施の形態に係るシミュレーション装置1の構成も図2に示したものと同様である。
本実施の形態では、情報付加部1022においてネットリストに付加する情報の内容、及びテストパターン特定部106におけるテストパターンの特定の仕方が異なるだけであり、他の動作は実施の形態1で説明したものと同じである。
【0028】
本実施の形態における情報付加部1022は、実施の形態2及び実施の形態3のを組み合わせた方式でネットリストに情報を付加する。具体的には、情報付加部1022は、各信号について、実施の形態2で示したようにID情報を付加するとともに、対応づけ情報をコメントとして付加する。この対応づけ情報は、ID情報に対してテストパターンの識別情報とそのテストパターンにおける信号変化値回数情報とを対応づける。
すなわち、信号に対して動作しているテストパターンの識別情報とともに信号の値が0→1→0や1→0→1に変化している回数も付加する。
【0029】
本実施の形態の情報付加部1022による情報付加ネットリストの例を図8に示す。
図8の702の行の信号N0012ではID情報は、ID03である。そして図8の704の行がコメントとして追加された行であり、一番左がID情報であるID03を示し、ID03に対して実際に動作したテストパターンの識別情報であるTP01、TP03が、それぞれの信号値変化回数である$05及び$07とともに表示され、TP01$05、TP03$07といった形で示される。
【0030】
再シミュレーション指示情報が入力された際のテストパターン特定部106の動作は、実施の形態2と同様であり、図8に示す形式の情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、再シミュレーションが指示された信号についてID情報を把握するとともに、当該ID情報の対応づけ情報に基づきテストパターンの識別情報を導き、再シミュレーションに用いるテストパターンを特定する。
ここで、例えば、図8の702に示す信号N0012のように、複数のテストパターンが関連づけられているような信号について再シミュレーションが指示された場合には、情報付加部1022は、関連づけられている全てのテストパターンを再シミュレーションに用いるテストパターンとして特定してもよいが、信号値変化回数情報に基づき、複数のテストパターンの中から所定数(例えば1つ)のテストパターンを代表例として選択してもよい。信号値変化回数が多いテストパターンは、その信号の解析に適したテストパターンであると考えられるので、関連づけられたテストパターンが複数ある場合には、信号値変化回数が多いテストパターンを再シミュレーションに用いるべき代表的テストパターンとして特定してもよい。
以降は実施の形態1と同様であり、情報格納/取得部1023がテストパターン特定部106により特定されたテストパターンをテストパターン記憶部103から取得し、情報付加ネットリストを情報付加ネットリスト記憶部104から取得し、シミュレーション実行部1021がこれらのテストパターンと情報付加ネットリストを用いて、再シミュレーションが指示された信号についての再シミュレーションを行い、再シミュレーション結果を出力部107から出力する。
【0031】
以上のように、本実施の形態によれば、ネットリストファイル中に動作しているパターンの情報とそのパターンでの信号値変化回数を付加しそれを識別するようにしている。これにより指定された信号が動作しているパターンの特定が容易にできる。そのため推測でパターンをシミュレーションしてその結果をみるといった手間を省くことができる。さらに実施の形態1に比べて動作回数情報も含めており、また実施の形態3のように信号名部分の変更を減らし、信号名が分かりにくくならないようにしている。
【0032】
また、本実施の形態によれば、再シミュレーションが指示された信号に関連づけられたテストパターンが複数ある場合には、信号値変更回数情報に基づき、複数のテストパターンの中から解析に適した代表的なテストパターンを特定することができ、信号解析を効率的に行うことができる。
【0033】
【発明の効果】
本発明によれば、信号ごとにテストパターン関連づけ情報をネットリストに付加するため、いずれかの信号について再シミュレーションが必要になった場合にも、再シミュレーションに使用すべきテストパターンを容易かつ短時間に特定することができる。
【図面の簡単な説明】
【図1】実施の形態1〜4に係るシミュレーション装置を用いた際の設計フローを示す図。
【図2】実施の形態1〜4に係るシミュレーション装置の構成例を示す図。
【図3】情報付加前のネットリストの例を示す図。
【図4】実施の形態1に係る情報付加ネットリストの例を示す図。
【図5】実施の形態2に係る情報付加ネットリストの例を示す図。
【図6】実施の形態3に係る情報付加ネットリストの例を示す図。
【図7】実施の形態3に係る情報付加ネットリストの例を示す図。
【図8】実施の形態4に係る情報付加ネットリストの例を示す図。
【図9】従来技術を説明する図。
【符号の説明】
1 シミュレーション装置、101 ネットリスト取得部、102 シミュレーション部、103 テストパターン記憶部、104 情報付加ネットリスト記憶部、105 入力部、106 テストパターン特定部、107 出力部、1021 シミュレーション実行部、1022 情報付加部、1023 情報格納/取得部。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for specifying a verification pattern operating on a signal in a netlist.
[0002]
[Prior art]
FIG. 9 explains the flow of the result display device disclosed in Japanese Patent Laid-Open No. 8-272845.
In the figure, 810 is a logic synthesis tool, 812 is a net list of logic circuits created by logic synthesis, 814 is an analysis tool, 816 is error information output from the analysis tool, 818 is circuit diagram creation means, and 820 is a circuit diagram. A logic circuit diagram 822 created by the creating
[0003]
Next, the operation will be described.
This result display device creates a logic circuit diagram 820 by the circuit diagram creation means 818 from the
However, this conventional technique cannot specify a pattern that can be used for operation confirmation when analysis of a designated signal is required.
As a method for identifying a pattern that can be used for analysis of a specified internal signal, generally, simulation is performed using several patterns that are roughly targeted based on verification specifications and design data. Or, it has been necessary to refer to a test pattern and a design information file other than the net, for example, by identifying the operation node information. Therefore, if someone other than the person who directly performed the verification work needs to analyze it later, it was impossible to obtain the information that they wanted to know. There was a problem such as taking time and work.
[0004]
[Patent Document 1]
JP-A-8-272845
[0005]
[Problems to be solved by the invention]
In this way, when using the conventional result display device, in order to identify the pattern for confirming the operation of the specified signal, it is necessary to examine the data or perform a simulation to examine the result. There was a problem that it took time.
[0006]
In the present invention, in order to solve such a problem, when re-simulation of any signal becomes necessary after the simulation is performed, a test pattern to be used for re-simulation of the signal. One of the objects is to provide an apparatus and a method capable of easily specifying the above in a short time.
[0007]
[Means for Solving the Problems]
The simulation apparatus according to the present invention is
A netlist acquisition unit for acquiring a netlist created by logic synthesis;
A simulation execution unit for executing a predetermined simulation using at least one test pattern for each of at least one or more signals included in the netlist;
And an information adding unit for adding test pattern association information for associating the test pattern in which each signal is operated in the simulation by the simulation execution unit to each signal to the net list.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Embodiment 1 FIG.
FIG. 1 is a design flow chart showing an operation pattern specifying procedure when the simulation apparatus according to the present embodiment is used.
In the figure, S101 is a logic synthesis that creates and outputs circuit connection information (netlist) from function description information, S102 is a netlist, S103 is a functional simulation and timing simulation for verifying the netlist, and a simulation for signals This is a simulation for adding test pattern association information from the result of the above and a test pattern association information addition process. S104 is an information-added netlist to which test pattern association information for associating a test pattern operating with a signal in the simulation and test pattern association information addition processing of S103 is added. Data release and design data check on the manufacturer side, S106 is used for analysis of the signal requested to confirm the operation by the design data check on the LSI manufacturer side, and S107 is used for analysis on the signal requested to operate from the LSI manufacturer side. A test pattern specifying process for specifying a test pattern, S108 is a re-simulation using the test pattern specified in the test pattern specifying process in S107, and S109 is an operation analysis operation for the signal specified in S106.
In the simulation and test pattern association information addition processing in S103, a simulation is performed on signals included in the netlist using a predetermined test pattern, and a test pattern in which each signal is operated is associated with each signal based on the result of the simulation. Is added to the netlist.
In the test pattern specifying process in S107, the test pattern used for analyzing the signal specified in S106 is specified with reference to the information addition netlist to which the test pattern association information is added.
The simulation apparatus according to the present embodiment performs a simulation and test pattern association information addition process in S103, a test pattern identification process in S107, and a re-simulation process in S108.
[0009]
Next, a configuration example of the simulation apparatus 1 according to the present embodiment will be described with reference to FIG.
The net
The
The
The information adding unit 1022 adds test pattern association information for associating each pattern with a test pattern in which each signal operates according to the simulation result of the
The information storage /
[0010]
The test
The information addition
The
When the re-simulation instruction information is input, the test
The
[0011]
Although not shown, the simulation apparatus 1 can be realized by a computer having a CPU such as a microprocessor, a semiconductor memory, or a recording unit such as a magnetic disk. In the recording means, a program that realizes the function of each component included in the simulation apparatus 1 is recorded, and the CPU reads the program to control the operation of the simulation apparatus 1 and to control the function of each component. Can be realized.
[0012]
Next, the operation of the simulation apparatus 1 according to the first embodiment will be described.
First, the
As shown in FIG. 3, the net list includes signal names and logic gate connections as information.
Taking the
[0013]
In parallel with the netlist acquisition by the
For the signal operating in the simulation by the
[0014]
An example of an information addition net list to which test pattern association information is added by the information addition unit 1022 is shown in FIG.
In the
When the simulation by the
Further, the information addition net list is output from the
[0015]
After the information addition netlist is output, the design data is released to the LSI manufacturer as shown in S105 of FIG. The LSI manufacturer that obtained the design data uses the detailed delay information to perform timing simulation and technology-dependent checks. As a result of this check, there may be a signal that requires the design side to analyze the operation (re-simulation).
In the analysis, there are a case where a test pattern and a signal name are communicated from an LSI manufacturer, and a case where only a signal name is communicated. When only the signal name is notified, the test pattern in which the designated signal is operating must be specified. In the following description, it is assumed that only the signal name is notified from the LSI manufacturer.
[0016]
When an LSI manufacturer requests re-simulation, the
The test
When the test pattern is specified by the test
Thereby, it is possible to proceed to the signal analysis work shown in S109 of FIG.
[0017]
As described above, according to the present embodiment, the information of the operating pattern is added to the internal signal of the netlist to identify it, so that the pattern in which the designated signal is operating is specified. Can be done easily and in a short period of time, and it is possible to save the trouble of simulating the pattern by estimation and viewing the result, thereby improving the efficiency of the logic design.
[0018]
Embodiment 2. FIG.
In the first embodiment, the test pattern identification information is added as the test pattern association information to be added to the net list. However, in this embodiment, different types of test pattern association information are added to the net list. .
In this embodiment, the design flow procedure is the same as that shown in FIG. 1, and the configuration of the simulation apparatus 1 according to this embodiment is the same as that shown in FIG.
In the present embodiment, only the format of the test pattern association information added to the net list in the information adding unit 1022 and the method of specifying the test pattern in the test
[0019]
In the first embodiment, the identification information of the test pattern operating for each signal is added as the test pattern association information. However, in this embodiment, the identification information of the test pattern is not the identification information itself but a predetermined pattern. Correspondence information for associating ID information and ID information with test pattern identification information is added.
An example of an information addition net list by the information addition unit 1022 of this embodiment is shown in FIG.
In the
As a method of adding information in the information adding unit 1022, each signal is watched at the time of simulation, ID information is added to each signal at the end of the simulation, and association information is added as a comment.
The ID information and the association information are information that can specify a plurality of test patterns in a lump, and correspond to an example of the lump identification information.
[0020]
On the other hand, when the re-simulation instruction information is input, the test
The subsequent steps are the same as in the first embodiment, and the information storage /
[0021]
As described above, according to the present embodiment, the information of the operating pattern is added to the internal signal in the net list file to identify it, so that the designated signal is operating. It is easy to specify the pattern, and it is possible to save the trouble of simulating the pattern by estimation and viewing the result. Furthermore, in the first embodiment, for a signal operating in many patterns, the signal name may become long by adding identification information of many test patterns. However, according to the present embodiment, the signal name Can be avoided, and the signal name is not obfuscated.
[0022]
Embodiment 3 FIG.
In the first embodiment, only test pattern identification information (test pattern association information) is added to the netlist. However, in the present embodiment, the number of signal value changes indicating the number of times the signal value has changed for each signal. The information is added to the netlist together with the test pattern identification information.
In this embodiment, the design flow procedure is the same as that shown in FIG. 1, and the configuration of the simulation apparatus 1 according to this embodiment is the same as that shown in FIG.
In the present embodiment, only the contents of information added to the net list in the information adding unit 1022 are different, and other operations are the same as those described in the first embodiment.
[0023]
The information adding unit 1022 in the present embodiment adds signal value change count information together with test pattern identification information to the net list for each signal.
That is, the information adding unit 1022 adds, for each signal, information on the number of times the signal value changes from 0 → 1 → 0 or 1 → 0 → 1 along with the identification information of the operating test pattern.
As a method of adding information in the information adding unit 1022, the number of signal value changes is also watched each time a simulation is performed for each test pattern, and the information is already added to each signal name every time the simulation for each test pattern is completed. Check the signal value change count, and if the measured signal value change count exceeds the already added signal value change count, add and update the test pattern identification information and signal value change count to the signal name. To do.
[0024]
An example of the information addition net list by the information addition unit 1022 of this embodiment is shown in FIG.
In the
Further, a simulation is performed with another pattern, and if N0012 is operating more, the update is performed. FIG. 7 shows an update example. Assuming that the N0012 signal is operated seven times by the test pattern TP03, the
[0025]
When the re-simulation instruction information is input, as in the first embodiment, the test
Further, the information storage /
[0026]
As described above, according to the present embodiment, the information of the pattern that is operating and the number of operations in that pattern are added to the internal signal in the net list file to identify it. It is possible to easily identify the pattern in which the signal is operating. Therefore, it is possible to save the trouble of simulating the pattern by guessing and viewing the result. Further, in this embodiment, signal value change count information is also included. A signal with a large number of signal value changes moves the signal more frequently and is suitable for analysis, so that a pattern can be selected for efficient operation analysis.
[0027]
Embodiment 4 FIG.
In the present embodiment, a method in which the second embodiment and the third embodiment are combined will be described.
In this embodiment, the design flow procedure is the same as that shown in FIG. 1, and the configuration of the simulation apparatus 1 according to this embodiment is the same as that shown in FIG.
In the present embodiment, only the contents of information added to the net list in the information adding unit 1022 and the test pattern specifying method in the test
[0028]
The information adding unit 1022 in the present embodiment adds information to the net list by a method combining the second embodiment and the third embodiment. Specifically, the information adding unit 1022 adds ID information to each signal as described in Embodiment 2, and adds association information as a comment. This association information associates ID information with test pattern identification information and signal change value count information in the test pattern.
That is, the number of times that the value of the signal has changed from 0 to 1 to 0 or from 1 to 0 to 1 is added together with the identification information of the test pattern operating on the signal.
[0029]
An example of an information addition net list by the information addition unit 1022 of this embodiment is shown in FIG.
In the signal N0012 in the
[0030]
The operation of the test
Here, for example, when a re-simulation is instructed for a signal in which a plurality of test patterns are associated, such as a signal N0012 indicated by 702 in FIG. 8, the information adding unit 1022 is associated. Although all test patterns may be specified as test patterns used for re-simulation, a predetermined number (for example, one) of test patterns is selected as a representative example from a plurality of test patterns based on signal value change frequency information. May be. A test pattern with a large number of signal value changes is considered to be a test pattern suitable for the analysis of the signal, so if there are multiple test patterns associated with it, a test pattern with a large number of signal value changes can be re-simulated. You may specify as a typical test pattern which should be used.
The subsequent steps are the same as in the first embodiment, and the information storage /
[0031]
As described above, according to the present embodiment, information on the pattern operating in the net list file and the number of signal value changes in the pattern are added and identified. As a result, the pattern in which the designated signal is operating can be easily identified. Therefore, it is possible to save the trouble of simulating the pattern by guessing and viewing the result. Furthermore, the information on the number of operations is included as compared with the first embodiment, and the change of the signal name portion is reduced as in the third embodiment so that the signal name is not confused.
[0032]
Further, according to the present embodiment, when there are a plurality of test patterns associated with a signal for which re-simulation is instructed, a representative suitable for analysis is selected from the plurality of test patterns based on the signal value change count information. Specific test patterns can be specified, and signal analysis can be performed efficiently.
[0033]
【The invention's effect】
According to the present invention, since test pattern association information is added to the net list for each signal, even when re-simulation is required for any signal, a test pattern to be used for re-simulation can be easily and quickly. Can be specified.
[Brief description of the drawings]
FIG. 1 is a diagram showing a design flow when a simulation apparatus according to Embodiments 1 to 4 is used.
FIG. 2 is a diagram illustrating a configuration example of a simulation apparatus according to the first to fourth embodiments.
FIG. 3 is a diagram showing an example of a net list before adding information.
FIG. 4 is a diagram showing an example of an information addition net list according to the first embodiment.
FIG. 5 is a diagram showing an example of an information addition net list according to the second embodiment.
6 is a diagram showing an example of an information addition net list according to Embodiment 3. FIG.
7 shows an example of an information addition net list according to Embodiment 3. FIG.
FIG. 8 is a diagram showing an example of an information addition net list according to the fourth embodiment.
FIG. 9 is a diagram illustrating a conventional technique.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Simulation apparatus, 101 Net list acquisition part, 102 Simulation part, 103 Test pattern memory | storage part, 104 Information addition net list memory | storage part, 105 Input part, 106 Test pattern specification part, 107 Output part, 1021 Simulation execution part, 1022 Information addition Part, 1023 information storage / acquisition part.
Claims (8)
ネットリストに含まれている少なくとも一つ以上の信号のそれぞれについて少なくとも一つ以上のテストパターンを用いて所定のシミュレーションを実行するシミュレーション実行部と、
前記シミュレーション実行部によるシミュレーションにおいてそれぞれの信号が動作したテストパターンをそれぞれの信号に関連づけるためのテストパターン関連づけ情報をネットリストに付加する情報付加部とを有することを特徴とするシミュレーション装置。A netlist acquisition unit for acquiring a netlist created by logic synthesis;
A simulation execution unit for executing a predetermined simulation using at least one test pattern for each of at least one or more signals included in the netlist;
A simulation apparatus, comprising: an information addition unit that adds test pattern association information for associating a test pattern in which each signal is operated in a simulation by the simulation execution unit to each signal to a net list.
前記シミュレーション実行部によりシミュレーションが実行されたいずれかの信号についての再シミュレーションを指示する再シミュレーション指示情報を入力する入力部と、
前記情報付加部によりネットリストに付加されたテストパターン関連づけ情報に基づき、再シミュレーション指示情報により再シミュレーションが指示された信号に関連づけられたテストパターンを特定するテストパターン特定部とを有し、
前記シミュレーション実行部は、
前記テストパターン特定部により特定されたテストパターンを用いて、再シミュレーション指示情報により再シミュレーションが指示された信号について再シミュレーションを行うことを特徴とする請求項1に記載のシミュレーション装置。The simulation apparatus further includes:
An input unit for inputting re-simulation instruction information for instructing re-simulation for any signal for which simulation has been executed by the simulation execution unit;
Based on the test pattern association information added to the net list by the information addition unit, a test pattern identification unit that identifies a test pattern associated with a signal for which re-simulation is instructed by re-simulation instruction information,
The simulation execution unit
The simulation apparatus according to claim 1, wherein re-simulation is performed on a signal for which re-simulation is instructed by re-simulation instruction information, using the test pattern specified by the test pattern specifying unit.
テストパターン関連づけ情報として、信号ごとに、動作したテストパターンの識別情報をネットリストに付加することを特徴とする請求項1に記載のシミュレーション装置。The information adding unit includes:
The simulation apparatus according to claim 1, wherein identification information of the operated test pattern is added to the net list for each signal as the test pattern association information.
テストパターン関連づけ情報として、信号ごとに、動作した複数のテストパターンを一括して特定可能な一括特定情報をネットリストに付加することを特徴とする請求項1に記載のシミュレーション装置。The information adding unit includes:
The simulation apparatus according to claim 1, wherein as the test pattern association information, collective identification information capable of collectively identifying a plurality of operated test patterns is added to the net list for each signal.
前記シミュレーション実行部によるシミュレーションにおいてそれぞれの信号の信号値が変化した回数を示す信号値変化回数情報を、信号ごとに、テストパターン関連づけ情報とともにネットリストに付加することを特徴とする請求項1に記載のシミュレーション装置。The information adding unit includes:
The signal value change frequency information indicating the number of times the signal value of each signal has changed in the simulation by the simulation execution unit is added to the netlist together with the test pattern association information for each signal. Simulation equipment.
前記シミュレーション実行部によりシミュレーションが実行されたいずれかの信号についての再シミュレーションを指示する再シミュレーション指示情報を入力する入力部と、
前記情報付加部によりネットリストに付加されたテストパターン関連づけ情報及び信号値変化回数情報に基づき、再シミュレーション指示情報により再シミュレーションが指示された信号について再シミュレーションに用いるべきテストパターンを特定するテストパターン特定部とを有し、
前記シミュレーション実行部は、
前記テストパターン特定部により特定されたテストパターンを用いて、再シミュレーション指示情報により再シミュレーションが指示された信号について再シミュレーションを行うことを特徴とする請求項5に記載のシミュレーション装置。The simulation apparatus further includes:
An input unit for inputting re-simulation instruction information for instructing re-simulation for any signal for which simulation has been executed by the simulation execution unit;
Test pattern specification for specifying a test pattern to be used for re-simulation for a signal for which re-simulation is instructed by re-simulation instruction information based on the test pattern association information and signal value change count information added to the net list by the information adding unit And
The simulation execution unit
6. The simulation apparatus according to claim 5, wherein re-simulation is performed on a signal for which re-simulation is instructed by re-simulation instruction information, using the test pattern specified by the test pattern specifying unit.
ネットリストに含まれている少なくとも一つ以上の信号のそれぞれについて少なくとも一つ以上のテストパターンを用いて所定のシミュレーションを実行するシミュレーション実行ステップと、
前記シミュレーション実行ステップによるシミュレーションにおいてそれぞれの信号が動作したテストパターンをそれぞれの信号に関連づけるためのテストパターン関連づけ情報をネットリストに付加する情報付加ステップとを有することを特徴とするシミュレーション方法。A netlist acquisition step of acquiring a netlist created by logic synthesis;
A simulation execution step of executing a predetermined simulation using at least one test pattern for each of at least one or more signals included in the netlist;
A simulation method comprising: an information addition step of adding test pattern association information for associating a test pattern in which each signal is operated in the simulation by the simulation execution step to each signal to a net list.
前記シミュレーション実行ステップによりシミュレーションが実行されたいずれかの信号についての再シミュレーションを指示する再シミュレーション指示情報を入力する入力ステップと、
前記情報付加ステップによりネットリストに付加されたテストパターン関連づけ情報に基づき、再シミュレーション指示情報により再シミュレーションが指示された信号に関連づけられたテストパターンを特定するテストパターン特定ステップとを有し、
前記シミュレーション実行ステップは、
前記テストパターン特定ステップにより特定されたテストパターンを用いて、再シミュレーション指示情報により再シミュレーションが指示された信号について再シミュレーションを行うことを特徴とする請求項7に記載のシミュレーション方法。The simulation method further includes:
An input step for inputting re-simulation instruction information for instructing re-simulation for any signal for which simulation has been executed by the simulation execution step;
A test pattern specifying step for specifying a test pattern associated with a signal for which re-simulation is instructed by re-simulation instruction information based on the test pattern association information added to the netlist by the information adding step;
The simulation execution step includes:
The simulation method according to claim 7, wherein re-simulation is performed on a signal for which re-simulation is instructed by re-simulation instruction information, using the test pattern specified in the test pattern specifying step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003169187A JP2005004605A (en) | 2003-06-13 | 2003-06-13 | Simulation device and simulation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003169187A JP2005004605A (en) | 2003-06-13 | 2003-06-13 | Simulation device and simulation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005004605A true JP2005004605A (en) | 2005-01-06 |
Family
ID=34094402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003169187A Pending JP2005004605A (en) | 2003-06-13 | 2003-06-13 | Simulation device and simulation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005004605A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008269082A (en) * | 2007-04-17 | 2008-11-06 | Fujitsu Ltd | Verification support program, recording medium with the program recorded thereon, verification support device, and verification support method |
-
2003
- 2003-06-13 JP JP2003169187A patent/JP2005004605A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008269082A (en) * | 2007-04-17 | 2008-11-06 | Fujitsu Ltd | Verification support program, recording medium with the program recorded thereon, verification support device, and verification support method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6760898B1 (en) | Method and system for inserting probe points in FPGA-based system-on-chip (SoC) | |
US8230374B2 (en) | Method of partitioning an algorithm between hardware and software | |
JP2002535684A (en) | System for real version test and simulated version test of integrated circuits | |
JPH0618635A (en) | Method of forming functional test for printed circuit board based on pattern matching of model | |
KR101110241B1 (en) | Program test device and program | |
US20060123377A1 (en) | Interconnect integrity verification | |
JP2019036199A (en) | Information processing apparatus, timing error analyzing program, and timing error analyzing method | |
US9280627B1 (en) | GUI based verification at multiple abstraction levels | |
US20070118342A1 (en) | Mesh creating device, mesh creating method and mesh creating program | |
JP2005004605A (en) | Simulation device and simulation method | |
JP2007293409A (en) | Simulation method and device thereof | |
JP2005250836A (en) | Medical examination navigation system | |
US20110126052A1 (en) | Generation of Test Information for Testing a Circuit | |
JP4979329B2 (en) | Circuit configuration information generation device, control device, circuit verification system, circuit verification method, circuit configuration information generation program, and control program | |
JPWO2006025412A1 (en) | Logic verification method, logic module data, device data, and logic verification apparatus | |
JP2016071883A (en) | Determining signals for readback from fpga | |
CN104462681B (en) | The method for aiding in interference checking | |
JP3657097B2 (en) | Test program generation system | |
JP4149047B2 (en) | Simulator | |
JP3267258B2 (en) | Test group creation device and its creation method | |
JP4183035B2 (en) | Design support apparatus, source code coverage method, and program thereof | |
JPH10307860A (en) | Circuit performance analyzer | |
JPH07209383A (en) | Failure analyzer of printed circuit board | |
JPH09198368A (en) | Device and method for simulation | |
JPH11110430A (en) | Waveform information display system in logic simulation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20041026 |