JPH07296032A - Logical model verification device - Google Patents

Logical model verification device

Info

Publication number
JPH07296032A
JPH07296032A JP6109161A JP10916194A JPH07296032A JP H07296032 A JPH07296032 A JP H07296032A JP 6109161 A JP6109161 A JP 6109161A JP 10916194 A JP10916194 A JP 10916194A JP H07296032 A JPH07296032 A JP H07296032A
Authority
JP
Japan
Prior art keywords
logic
function description
library
result
hdl
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
JP6109161A
Other languages
Japanese (ja)
Inventor
Hideki Sato
秀樹 佐藤
Hirohito Kimoto
浩仁 木元
Satoshi Kanemura
聡 金村
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP6109161A priority Critical patent/JPH07296032A/en
Publication of JPH07296032A publication Critical patent/JPH07296032A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a device for automatically verifying the propriety of the function description of a logic model. CONSTITUTION:The logic model verification device is provided with a single library extraction means 18 generating a single library 11 from a library to be tested, an HDL function description group extraction means counting the number of the input/output pins of the logic model in the single library 11 and extracting an HDL function description group from an HDL function description group template 10, a logic synthetic tool 20 which logically synthesizes the HDL function description group by using the single library 11 and generating a net list 14, a first simulation means simulating 21 the net list 14 and obtaining a first result, a second simulation means simulating 22 HDL function description and obtaining a second result and a result comparison means 23 comparing the first and second results and obtaining a verified result.

Description

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

【0001】[0001]

【産業上の利用分野】ASIC等の半導体集積回路を設
計する分野において使用する装置に関する。特に、ハー
ドウエア記述言語、論理式、真理値表等の高位レベルの
設計データから論理図、ネットリスト等の論理回路を自
動生成する論理合成ツール等で用いる論理モデルを集め
たライブラリにおいて、論理モデルの機能記述の検証を
行う装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device used in the field of designing a semiconductor integrated circuit such as an ASIC. In particular, in a library that collects logical models used in a logic synthesis tool that automatically generates logic circuits such as logic diagrams and netlists from high-level design data such as hardware description languages, logic expressions, truth tables, etc. The present invention relates to a device for verifying the functional description of.

【0002】[0002]

【従来の技術】近年、LSIを始めとする半導体集積回
路の設計において、HDL(ハードウエア記述言語)記
述から論理合成により回路を生成する手法が脚光を浴び
てきた。図8はHDL記述による設計データの一例を示
す図である。図8において、第1行目は設計されるモジ
ュール名がカウンター(COUNTER_4)であるこ
とを示している。第2〜6行目は、パラメータとしての
SIZEに4が代入されており、入力は、INとCLR
であり、出力は、OUTで0〜3の値をとり、その値が
繰り返すことを示している。
2. Description of the Related Art In recent years, in the design of semiconductor integrated circuits such as LSI, a method of generating a circuit by logic synthesis from an HDL (hardware description language) description has been in the limelight. FIG. 8 is a diagram showing an example of design data according to the HDL description. In FIG. 8, the first line indicates that the designed module name is a counter (COUNTER_4). In the 2nd to 6th lines, 4 is assigned to SIZE as a parameter, and the input is IN and CLR.
The output has a value of 0 to 3 at OUT and indicates that the value repeats.

【0003】また第7行以降は、このカウンターは、I
N又はCLRに入力されるパルス信号の立ち上がりによ
って動作を開始し、その信号がCLRに入力された場合
には出力OUTは0となり、INに入力された場合には
出力には1が加算されることを示している。以上説明し
たような設計データから論理合成ツールによって自動で
論理回路が合成される。
After the 7th line, this counter is I
The operation is started by the rising edge of the pulse signal input to N or CLR. When the signal is input to CLR, the output OUT becomes 0, and when it is input to IN, 1 is added to the output. It is shown that. A logic circuit is automatically synthesized by the logic synthesis tool from the design data described above.

【0004】図9は、図8の設計データに基づいて論理
合成ツールにおいて合成された論理回路を示す図であ
る。図9において、論理記号で示されたNAND、NO
R、NOT、FF等は、論理回路の合成において設計部
品として用いられた論理モデルである。ライブラリはこ
れら論理モデルを集めたものである。このように半導体
集積回路におけるモジュールの論理回路設計は、設計デ
ータとしてモジュールの機能記述を行うことによって、
その機能記述から論理合成ツールによって論理回路を合
成することができる。
FIG. 9 is a diagram showing a logic circuit synthesized by a logic synthesis tool based on the design data of FIG. In FIG. 9, NAND and NO indicated by logical symbols
R, NOT, FF, etc. are logic models used as design components in the synthesis of logic circuits. The library is a collection of these logical models. As described above, the logic circuit design of the module in the semiconductor integrated circuit is performed by describing the function of the module as design data.
A logic circuit can be synthesized from the functional description using a logic synthesis tool.

【0005】[0005]

【本発明が解決しようとする課題】ところで、ユーザと
しては任意に選択した半導体メーカーが提供するライブ
ラリを用いて任意に選択したCAD開発メーカーが提供
する論理合成ツールによって論理回路を合成することが
できることが望ましい。そのためには半導体メーカーの
数と論理合成ツールの数を掛け合わせた数のライブラリ
を必要とするが、メーカーにおいては全てが用意されて
いるわけではない。
By the way, as a user, it is possible to synthesize a logic circuit by a logic synthesis tool provided by a CAD development maker arbitrarily selected by using a library provided by a semiconductor maker arbitrarily selected. Is desirable. For that purpose, the number of libraries that is obtained by multiplying the number of semiconductor manufacturers by the number of logic synthesis tools is required, but not all of them are prepared by the manufacturer.

【0006】従ってユーザとしては必要に応じてライブ
ラリを作成することになるが、作成されたライブラリに
含まれている論理モデルの機能を自動的に検証する方法
はなく、論理モデル設計者の目視によって論理モデルの
検証を論理モデルごとに行っているのが現状である。こ
のため、検証は効率が悪く、信頼性も低いものであっ
た。そこで本発明の目的は、論理モデルの機能記述が正
しいか否かを自動で検証する装置を提供することにあ
る。
Therefore, the user must create a library as needed, but there is no method for automatically verifying the function of the logical model included in the created library, and the logical model designer can visually check the function. At present, the verification of the logical model is performed for each logical model. Therefore, the verification was inefficient and the reliability was low. Therefore, an object of the present invention is to provide an apparatus for automatically verifying whether or not the functional description of a logical model is correct.

【0007】[0007]

【課題を解決するための手段】上記目的は下記の本発明
によって達成される。即ち、論理合成用の被テストライ
ブラリからテストする個々の論理合成用の論理モデルを
抽出して単独ライブラリを生成する単独ライブラリ抽出
手段と、前記単独ライブラリの論理モデルの入出力ピン
数を計数し、HDL機能記述群テンプレートより、ピン
数が対応するHDL機能記述群を抽出するHDL機能記
述群抽出手段と、前記単独ライブラリを用い、前記HD
L機能記述群の論理合成を行い、ネットリストを生成す
る論理合成ツールと、前記ネットリストについて、それ
に対応するシミュレーションテストパターンと論理シミ
ュレーション用の論理モデルを用いシミュレーションを
行い、第1の結果を得る第1のシミュレーション手段
と、前記論理合成されたHDL機能記述について、前記
シミュレーションテストパターンを用いシミュレーショ
ンを行い、第2の結果を得る第2のシミュレーション手
段と、前記第1の結果と前記第2の結果を比較して検証
結果を得る結果比較手段と、前記検証結果を出力する出
力手段と、から構成されることを特徴とする論理モデル
検証装置。
The above object can be achieved by the present invention described below. That is, a single library extracting unit that extracts a logic model for individual logic synthesis to be tested from the tested library for logic synthesis to generate a single library, and the number of input / output pins of the logic model of the single library is counted, The HDL function description group extracting means for extracting the HDL function description group corresponding to the number of pins from the HDL function description group template and the independent library
A logic synthesis tool for performing a logic synthesis of the L function description group to generate a netlist, and a simulation test pattern corresponding to the netlist and a simulation model using a logic model for logic simulation are performed to obtain a first result. First simulation means, second simulation means for obtaining a second result by performing a simulation on the logic-synthesized HDL functional description using the simulation test pattern, the first result, and the second result. A logical model verification device comprising: result comparison means for comparing results to obtain a verification result; and output means for outputting the verification result.

【0008】[0008]

【作用】本発明の論理モデル検証装置によれば、単独ラ
イブラリ抽出手段により、論理合成用の被テストライブ
ラリからテストする個々の論理合成用の論理モデルを抽
出して単独ライブラリが生成され、HDL機能記述群抽
出手段により、前記単独ライブラリの論理モデルの入出
力ピン数を計数し、HDL機能記述群テンプレートよ
り、ピン数が対応するHDL機能記述群が抽出され、論
理合成ツールにより、前記単独ライブラリを用い、前記
HDL機能記述群の論理合成を行い、ネットリストが生
成され、第1のシミュレーション手段により、前記ネッ
トリストについて、それに対応するシミュレーションテ
ストパターンと論理シミュレーション用の論理モデルを
用いシミュレーションを行い、第1の結果が得られ、第
2のシミュレーション手段により、前記論理合成された
HDL機能記述について、前記シミュレーションテスト
パターンを用いシミュレーションを行い、第2の結果が
得られ、結果比較手段により、前記第1の結果と前記第
2の結果を比較して検証結果が得られ、出力手段によ
り、前記検証結果が出力される。そして、以上の処理過
程を検証済み以外の論理モジュールについて繰り返すこ
とによって、全ての論理モジュールの検証結果を得るこ
とができる。
According to the logical model verification apparatus of the present invention, the individual library extracting means extracts the individual logical models for logical synthesis to be tested from the library under test for logical synthesis to generate the individual library, and the HDL function is provided. The description group extraction means counts the number of input / output pins of the logical model of the single library, extracts the HDL function description group corresponding to the number of pins from the HDL function description group template, and extracts the single library by the logic synthesis tool. Using the above, the HDL functional description group is logically synthesized to generate a netlist, and the first simulation means performs simulation on the netlist using a simulation test pattern corresponding to the netlist and a logical model for logical simulation. The first result is obtained and the second simulation The means performs a simulation on the logically synthesized HDL functional description using the simulation test pattern to obtain a second result. The result comparing means compares the first result and the second result. As a result, the verification result is obtained, and the output unit outputs the verification result. Then, by repeating the above processing steps for the logic modules other than the verified ones, the verification results of all the logic modules can be obtained.

【0009】[0009]

【実施例】以下、本発明について好適な実施例を挙げて
説明する。図1は本発明の論理モデル検証装置のハード
ウエア構成を示す図である。図1において、1はエンジ
ニアリングワークステーション、パーソナルコンピュー
ター等のコンピューターの本体である演算処理装置、
2、3はコンピューターの本体に接続された入力装置で
あるキーボード、マウス、4はCRTカラーディスプレ
イモニター等の表示装置、5はフロッピーディスク装置
であるFD装置、6は固定磁気ディスク装置等の記憶装
置、7はプリンター、8がイーサーネット等のLAN
(ローカルエリアネットワーク)である。
EXAMPLES The present invention will be described below with reference to preferred examples. FIG. 1 is a diagram showing a hardware configuration of a logical model verification device of the present invention. In FIG. 1, reference numeral 1 denotes an arithmetic processing unit, which is a main body of a computer such as an engineering workstation and a personal computer.
Reference numerals 2 and 3 are a keyboard and mouse which are input devices connected to the main body of the computer, 4 is a display device such as a CRT color display monitor, 5 is an FD device which is a floppy disk device, and 6 is a storage device such as a fixed magnetic disk device. , 7 is a printer, 8 is a LAN such as Ethernet
(Local area network).

【0010】図1のハードウエア構成において本発明の
論理モデル検証装置は図2に示す処理を行う。図2は本
発明の論理モデル検証装置による処理過程を示すフロー
図である。図2において、9は論理合成用の被テストラ
イブラリ、10はHDL機能記述群テンプレート、11
は単独ライブラリ、12はHDL機能記述群、13はシ
ミュレーション用の論理モデル、14はネットリスト、
15は単独ライブラリが合成されたHDL機能記述、1
6は論理シミュレーション用のテストパターン、17は
データファイル等の検証結果である。
In the hardware configuration of FIG. 1, the logical model verification apparatus of the present invention performs the processing shown in FIG. FIG. 2 is a flow chart showing a processing process by the logical model verification device of the present invention. In FIG. 2, 9 is a library under test for logic synthesis, 10 is an HDL function description group template, 11
Is a single library, 12 is an HDL functional description group, 13 is a logical model for simulation, 14 is a netlist,
15 is a HDL function description in which a single library is synthesized, 1
6 is a test pattern for logic simulation, and 17 is a verification result of a data file or the like.

【0011】これら9〜16は記憶装置6に格納され
た、あるいは格納されるデータファイルであって、本発
明の処理が行われる際は演算処理装置1に読込まれ、あ
るいは書込まれる。17は処理を行った後に得られるシ
ミュレーション結果のデータであってデータファイルと
してFD装置5または記憶装置6に格納され、あるいは
プリントアウトされる。また図2において、、18は単
独ライブラリ抽出手段、19はHDL機能記述群抽出手
段、20は論理合成ツール、21は第1のシミュレーシ
ョン手段、22は第2のシミュレーション手段、23は
結果比較手段、24は出力手段である。これら18〜2
4は図1の演算処理装置1に組み込まれているソフトウ
エアであって、これらによって図2における処理が実行
される。
Data 9 to 16 are data files stored in or stored in the storage device 6, and are read or written in the arithmetic processing unit 1 when the processing of the present invention is performed. Reference numeral 17 is data of a simulation result obtained after performing the processing, which is stored in the FD device 5 or the storage device 6 as a data file or is printed out. Further, in FIG. 2, 18 is a single library extraction means, 19 is an HDL function description group extraction means, 20 is a logic synthesis tool, 21 is a first simulation means, 22 is a second simulation means, and 23 is a result comparison means. Reference numeral 24 is an output means. These 18-2
Reference numeral 4 denotes software incorporated in the arithmetic processing unit 1 of FIG. 1, by which the processing in FIG. 2 is executed.

【0012】以下、本発明の論理モデル検証装置につい
て、各構成手段ごとに詳細を説明する。 §1.単独ライブラリ抽出手段 単独ライブラリ抽出手段18によって、論理合成用の被
テストライブラリ9からテストする個々の論理合成用の
論理モデルを抽出して単独ライブラリ11が生成され
る。抽出するときは、すでに検証が済んでいる論理モデ
ル以外の論理モデルが抽出されるように行われる。そう
することによって、以下に説明する検証処理を繰り返す
ことで、被テストライブラリに含まれる全ての論理モデ
ルの検証処理を行うことができる。
The logical model verification apparatus of the present invention will be described in detail below for each of the constituent means. §1. Individual Library Extracting Unit The individual library extracting unit 18 extracts the individual logic models for logic synthesis to be tested from the tested library 9 for logic synthesis to generate the individual library 11. When extracting, a logical model other than the already verified logical model is extracted. By doing so, by repeating the verification process described below, it is possible to perform the verification process for all the logical models included in the library under test.

【0013】図3は論理合成用の被テストライブラリ9
の中身の一部を一例として示す図である。図3におい
て、第1行目はライブラリの名称がMODELであるこ
とを示している。また第2〜4行目は半導体集積回路の
製造プロセスが「1」で示されるプロセスであること、
特性解析が行われたときの条件が周囲温度26℃、駆動
電圧3.0ボルトであることを示している。そして、第
5行目は論理モデル名としてのセル名であって、この場
合はNANDである。図3においては、他にセル名とし
てDFF(D─プフリップフロップ)、INV(インバ
ータ)、LATCH(ラッチ)が記述されている。
FIG. 3 shows a library 9 to be tested for logic synthesis.
It is a figure which shows a part of contents as an example. In FIG. 3, the first line indicates that the name of the library is MODEL. The second to fourth lines indicate that the manufacturing process of the semiconductor integrated circuit is the process indicated by "1".
It is shown that the condition when the characteristic analysis is performed is that the ambient temperature is 26 ° C. and the driving voltage is 3.0 V. The fifth line is the cell name as the logical model name, which is NAND in this case. In FIG. 3, DFF (D-p flip-flop), INV (inverter), and LATCH (latch) are also described as cell names.

【0014】論理モデルはHDLによって記述され、H
DLによってモジュールを設計する際に用いられる部品
データである。図4は論理合成用の被テストライブラリ
9のから生成された単独ライブラリ11の一例(NAN
D)を示す図である。この例は論理モデルとしてNAN
D論理をHDLによって記述したものである。図3にお
いて、第1〜7行目は、論理モデル名としてのセル名称
がNANDで、セルの面積が300、I1、I2はとも
に入力でファンアウトが1.1、容量が0.03である
ことを示している。また第13行目以降は、O1が出力
でファンアウトが10、機能が「(I1&I2)’」即
ちI1とI2のAND論理の否定でありNAND論理で
あることが記述されている。
The logical model is described by HDL, and H
It is part data used when designing a module by DL. FIG. 4 shows an example of the independent library 11 (NAN generated from the tested library 9 for logic synthesis).
It is a figure which shows D). This example uses NAN as a logical model.
The D logic is described in HDL. In the first to seventh lines in FIG. 3, the cell name as a logical model name is NAND, the cell area is 300, and both I1 and I2 are inputs and have a fanout of 1.1 and a capacity of 0.03. It is shown that. Further, from the 13th line onward, it is described that O1 is an output, fanout is 10, and the function is "(I1 & I2) '", that is, the NOT of the AND logic of I1 and I2 and the NAND logic.

【0015】また、図5は論理合成用の被テストライブ
ラリ9のから生成された単独ライブラリ11の一例(D
FF)を示す図である。図5においてセル名称がDFF
(D─フリップフロップ)で、セルの面積が1500、
CLK、D、CLRはともに入力で容量が0.0である
ことを示している。また第15行目以降は、機能の記述
とQが出力であることが記述されている。本発明は、上
記のような論理モデルに対応するライブラリに登録され
ている論理名と上述の論理モデルの記述における論理の
機能記述とが一致していて正しいか否かを検証するもの
である。
Further, FIG. 5 shows an example of the independent library 11 generated from the tested library 9 for logic synthesis (D
It is a figure which shows FF). In FIG. 5, the cell name is DFF
(D-flip-flop), the cell area is 1500,
CLK, D, and CLR all indicate that they are inputs and have a capacitance of 0.0. Also, from the 15th line onward, it is described that the function description and Q are output. The present invention verifies whether or not the logical name registered in the library corresponding to the above logical model and the functional description of the logic in the above described logical model match and are correct.

【0016】§2.HDL機能記述群抽出手段 HDL機能記述群抽出手段19により、前記単独ライブ
ラリ11の論理モデルの入出力ピン数が計数され、HD
L機能記述群テンプレート10より、対応するピン数の
HDL機能記述群12が抽出される。図6は、HDL機
能記述群抽出手段19によって生成されたピン数が3の
HDL機能記述群12の一例を示す図である。また図
7、HDL機能記述群抽出手段19によって生成された
ピン数が4のHDL機能記述群12の一例を示す図であ
る。HDL機能記述群テンプレート10は、これら図
6、図7に示すようなHDL機能記述群12の集合であ
る。
§2. HDL function description group extraction means The HDL function description group extraction means 19 counts the number of input / output pins of the logical model of the independent library 11,
From the L function description group template 10, the HDL function description group 12 having the corresponding number of pins is extracted. FIG. 6 is a diagram showing an example of the HDL function description group 12 with the number of pins of 3 generated by the HDL function description group extraction means 19. FIG. 7 is a diagram showing an example of the HDL function description group 12 having 4 pins generated by the HDL function description group extraction means 19. The HDL function description group template 10 is a set of HDL function description groups 12 as shown in FIGS. 6 and 7.

【0017】図4において、セルNANDのピンは、p
in(I1)、pin(I2)、pin(O1)と記述
されているから、ピン数は3である。従って、HDL機
能記述群テンプレート10において、モジュール名(m
odule名) 3pinsが検索され、図6に示すHD
L機能記述群12が抽出される。図6において、in1
_1、in2_1、out_1、in1_2、in2_
2、out_2、in_3、out_3、clk_3は
入出力ピンであって、inは入力を、outは出力を示
している。またinまたはoutの直後の数値は1つの
HDL機能記述内に複数の入出力ピンがある場合の区別
の為に付されたものであり、_の直後の数値は複数のH
DL機能記述からなるHDL機能記述群において、HD
L機能記述を特定するために付されたものである。図6
の例においては、HDL機能記述は、2NAND(2入
力のNAND論理)、2NOR(2入力のNOR論
理)、D Flip−Flop(Dフリップフロップ)
について機能が記述されている。
In FIG. 4, the pin of the cell NAND is p
Since it is described as in (I1), pin (I2), and pin (O1), the number of pins is three. Therefore, in the HDL function description group template 10, the module name (m
3names are searched and HD shown in FIG.
The L function description group 12 is extracted. In FIG. 6, in1
_1, in2_1, out_1, in1_2, in2_
2, out_2, in_3, out_3, and clk_3 are input / output pins, in indicates an input and out indicates an output. Also, the numerical value immediately after in or out is given for distinguishing when there are a plurality of input / output pins in one HDL function description, and the numerical value immediately after _ is a plurality of H
In the HDL function description group consisting of DL function descriptions, HD
It is added to specify the L function description. Figure 6
In the above example, the HDL functional description is 2 NAND (2-input NAND logic), 2 NOR (2-input NOR logic), DFlip-Flop (D flip-flop).
Function is described.

【0018】同様に図5において、セルDFFのピン
は、pin(CLK)、pin(D)、pin(RES
ET)、pin(Q)であるから、ピン数は4である。
従って、HDL機能記述群テンプレート10において、
モジュール名(module名) 4pinsが検索さ
れ、図7に示すHDL機能記述群12が抽出される。図
7の例においては、HDL機能記述は、D Flip−
Flop withasynchronous res
et(非同期リセット付きDフリップフロップ)、D
Flip−Flop with asynchrono
us set(非同期セット付きDフリップフロップ)
について機能が記述されている。
Similarly, in FIG. 5, the pins of the cell DFF are pin (CLK), pin (D), pin (RES).
ET) and pin (Q), the number of pins is four.
Therefore, in the HDL function description group template 10,
The module name (module name) 4pins is searched, and the HDL function description group 12 shown in FIG. 7 is extracted. In the example of FIG. 7, the HDL function description is D Flip-
Flop with synchronous res
et (D flip-flop with asynchronous reset), D
Flip-Flop with asyncrono
us set (D flip-flop with asynchronous set)
Function is described.

【0019】§3.論理合成ツール 論理合成ツール20によって、図4(または図5)に示
す論理合成用の単独ライブラリを用い、図6(または図
7)に示すHDL機能記述群の論理合成を行い、ネット
リスト14が生成される。また、そのとき論理合成され
た(マッピングされた)HDL機能記述群12のHDL
機能記述が抽出され、単独ライブラリが合成されたHD
L機能記述15が生成される。
§3. Logic Synthesis Tool The logic synthesis tool 20 uses the single library for logic synthesis shown in FIG. 4 (or FIG. 5) to perform logic synthesis of the HDL function description group shown in FIG. Is generated. Further, at that time, the HDL of the HDL function description group 12 which is logically synthesized (mapped)
HD in which functional descriptions are extracted and a single library is synthesized
The L function description 15 is generated.

【0020】単独ライブラリ11が2入力のNANDで
あれば、その単独ライブラリ11を使ってHDL機能記
述群12の論理合成を行うと、HDL機能記述の中で2
入力のNANDについてはマッピングを行うことができ
る。一方、他のHDL機能記述については、単独ライブ
ラリ11は2入力のNANDだけであるから、マッピン
グを行うことができない。すなわち、単独ライブラリ1
1を使ってHDL機能記述群12の論理合成を行うと、
マッピングが可能な単独ライブラリ11と論理が一致す
るHDL機能記述のネットリストだけが合成後得られる
こととなる。図2の論理合成ツール20の図に示されて
いるように、単独ライブラリ11のNANDはHDL機
能記述のnandにはマッピングされるが、他のHDL
機能記述にはマッピングされず、ネットリスト14はN
ANDのみのネットリスト14となる。
If the independent library 11 is a 2-input NAND, logic synthesis of the HDL function description group 12 is performed by using the independent library 11, and the result is 2 in the HDL function description.
Mapping can be performed for the input NAND. On the other hand, with respect to other HDL function descriptions, since the single library 11 is only a 2-input NAND, mapping cannot be performed. That is, independent library 1
When the logic synthesis of the HDL function description group 12 is performed using 1,
Only the netlist of the HDL functional description having the same logic as that of the single library 11 which can be mapped is obtained after the synthesis. As shown in the diagram of the logic synthesis tool 20 of FIG. 2, the NAND of the single library 11 is mapped to the nand of the HDL function description, but other HDLs are mapped.
It is not mapped to the function description, and the netlist 14 is N
It becomes the netlist 14 of AND only.

【0021】§4.第1のシミュレーション手段 第1のシミュレーション手段21により、ネットリスト
14について、それに対応するシミュレーションテスト
パターン16と論理シミュレーション用の論理モデルを
用いシミュレーションを行い、第1の結果が得られる。
§4. First Simulation Means The first simulation means 21 performs a simulation on the netlist 14 using the corresponding simulation test pattern 16 and the logic simulation logic model, and obtains a first result.

【0022】シミュレーションテストパターン16は、
HDL機能記述群テンプレート10のHDL機能記述と
1対1の関係で用意されている。図2に示すように、H
DL機能記述群テンプレート10のHDL機能記述、i
nv、nand、nor、and、or、dffの各々
に対して、シミュレーションテストパターン16にはi
nv.pat、nand.pat、nor.pat、a
nd.pat、or.pat、dff.patが用意さ
れている。従って、ネットリスト14がNANDであれ
ばシミュレーションテストパターン16としてはnan
d.patが選択されて、シミュレーションが行われ
る。
The simulation test pattern 16 is
It is prepared in a one-to-one relationship with the HDL function description of the HDL function description group template 10. As shown in FIG.
HDL function description of the DL function description group template 10, i
For each of nv, nand, nor, and, or, dff, the simulation test pattern 16 has i
nv. pat, nand. pat, nor. pat, a
nd. pat, or. pat, dff. pat is prepared. Therefore, if the netlist 14 is NAND, the simulation test pattern 16 is nan.
d. Pat is selected and the simulation is performed.

【0023】例えば表1に示すようにパターンが与えら
れて、表1に示すように第1の結果が得られる。
For example, a pattern is given as shown in Table 1 and a first result is obtained as shown in Table 1.

【表1】 表1に示すように、シミュレーションされるネットリス
トNANDが可能な全ての状態を取り得るようなパター
ンを、パターンnand.patは有している。他のシ
ミュレーションテストパターン16においても同様であ
る。
[Table 1] As shown in Table 1, patterns that can take all the possible states of the simulated netlist NAND are the pattern nand. pat has. The same applies to the other simulation test patterns 16.

【0024】もう1つの例として、非同期リセット付き
Dフリップフロップのシミュレーションテストパターン
16であるdff.patの場合のパターンを下記の表
2に示す。
As another example, a simulation test pattern 16 of the D flip-flop with asynchronous reset, dff. The pattern for pat is shown in Table 2 below.

【表2】 表2に示すようにパターン(in,clk,rese
t)が与えられて、表2に示すように結果outが得ら
れる。 resetが1の場合においてinが0でclkがL
owからHighに立ち上がるとoutは0、res
etが1の場合においてinが1でclkがLowから
Highに立ち上がるとoutは1、resetが0
の場合はin、clkに係わらずoutは0である。
[Table 2] As shown in Table 2, patterns (in, clk, rese
Given t), the result out is obtained as shown in Table 2. When reset is 1, in is 0 and clk is L
When rising from ow to High, out is 0, res
When et is 1, when in is 1 and clk rises from Low to High, out is 1 and reset is 0.
In the case of, out is 0 regardless of in and clk.

【0025】§5.第2のシミュレーション手段 第2のシミュレーション手段22により、抽出された単
独ライブラリ11がマッピングされたHDL機能記述1
5について、第1のシミュレーション手段で用いられた
と同じシミュレーションテストパターン16を用いシミ
ュレーションを行い、第2の結果が得られる。
§5. Second simulation means HDL function description 1 to which the single library 11 extracted by the second simulation means 22 is mapped
For No. 5, simulation is performed using the same simulation test pattern 16 as used in the first simulation means, and a second result is obtained.

【0026】§6.結果比較手段及び出力手段 結果比較手段23により、上記第1の結果と上記第2の
結果が同一パターンの出力どうしの出力値がが同一であ
るか否かが比較され、検証結果が得られる。そして出力
手段24により、その検証結果が出力される。出力形態
は、表示装置4の表示画面、データファイル、あるいは
プリントアウトされたリストとして出力される。
§6. Result comparing means and output means The result comparing means 23 compares whether or not the output values of the same patterns of the first result and the second result are the same, and a verification result is obtained. Then, the output unit 24 outputs the verification result. The output form is output as a display screen of the display device 4, a data file, or a printed out list.

【0027】出力される内容としては、被テストライブ
ラリの名称、テストされた論理モデルの名称、基準ライ
ブラリの名称、テストに使用された基準ライブラリの論
理モデルの名称、結果比較手段23によって判定した結
果の正否の別、判定が否の場合は、否の場合のテストパ
ターン、否と判定された論理モデルの名称等である。
The output contents include the name of the library under test, the name of the tested logical model, the name of the reference library, the name of the logical model of the reference library used for the test, and the result determined by the result comparing means 23. If the determination is no, the test pattern in the case of no, the name of the logical model determined to be no, and the like.

【0028】そして、以上の処理過程§1.〜§6.を
検証済み以外の論理モジュールについて繰り返すことに
よって、全ての論理モジュールの検証結果を得ることが
できる。出力手段24による検証結果の出力は、前述の
ように一つの論理モジュールを検証するごとに逐次出力
する方法であっても、また全ての論理モジュールの検証
後に一括して出力する方法であってもよい。
Then, the above processing steps §1. ~ §6. It is possible to obtain the verification results of all the logic modules by repeating the above for the logic modules other than the verified ones. The output of the verification result by the output means 24 may be a method in which it is sequentially output every time one logic module is verified as described above, or a method in which it is collectively output after verification of all the logic modules. Good.

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、人
による判定を必要とせず自動的に、かつ被テストライブ
ラリ中の複数の論理モデルについて検証を行う事ができ
る。またHDL機能記述群のテンプレートが、全ての論
理モデルの機能を網羅していれば、上述したような逐次
処理により全ての論理モデルの検証をおこなうことがで
きる。従って、検証の信頼性が高く、効率が良い。ま
た、検証作業を行う上で、各論理モデルの機能を知って
理解する必要が無く、検証作業を単に決められた手順に
従って行えばよいから、検証作業者の習熟度による差異
が無い。
As described above, according to the present invention, it is possible to verify a plurality of logical models in a library under test automatically without the need for human judgment. If the template of the HDL function description group covers the functions of all the logical models, all the logical models can be verified by the above-mentioned sequential processing. Therefore, the verification is highly reliable and efficient. Further, in performing the verification work, it is not necessary to know and understand the function of each logical model, and since the verification work may be simply performed according to the determined procedure, there is no difference due to the skill level of the verification worker.

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

【図1】本発明の論理モデル検証装置のハードウエア構
成を示す図である。
FIG. 1 is a diagram showing a hardware configuration of a logical model verification device of the present invention.

【図2】本発明の論理モデル検証装置による処理過程を
示すフロー図である。
FIG. 2 is a flowchart showing a processing process by the logical model verification device of the present invention.

【図3】論理合成用の被テストライブラリの中身の一部
を示す図である。
FIG. 3 is a diagram showing a part of contents of a library under test for logic synthesis.

【図4】論理合成用の被テストライブラリから生成され
た単独ライブラリの一例(NAND)を示す図である。
FIG. 4 is a diagram showing an example (NAND) of a single library generated from a library under test for logic synthesis.

【図5】論理合成用の被テストライブラリから生成され
た単独ライブラリの一例(DFF)を示す図である。
FIG. 5 is a diagram showing an example (DFF) of a single library generated from a library under test for logic synthesis.

【図6】HDL機能記述群抽出手段によって生成された
ピン数が3のHDL機能記述群を示す図である。
FIG. 6 is a diagram showing an HDL function description group with a pin number of 3 generated by an HDL function description group extraction means.

【図7】HDL機能記述群抽出手段によって生成された
ピン数が4のHDL機能記述群を示す図である。
FIG. 7 is a diagram showing an HDL function description group having four pins generated by an HDL function description group extraction means.

【図8】HDL記述による設計データの一例を示す図で
ある。
FIG. 8 is a diagram showing an example of design data in HDL description.

【図9】論理合成ツールにおいて合成された論理回路の
一例を示す図である。
FIG. 9 is a diagram showing an example of a logic circuit synthesized by a logic synthesis tool.

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

1 演算処理装置 2 キーボード 3 マウス 4 表示装置 5 FD装置 6 記憶装置 7 プリンター 8 LAN 9 論理合成用の被テストライブラリ 10 HDL機能記述群テンプレート 11 単独ライブラリ 12 HDL機能記述群 13 シミュレーション用の論理モデル 14 ネットリスト 15 HDL機能記述 16 シミュレーションテストパターン 17 検証結果 18 単独ライブラリ生成手段 19 HDL機能記述群抽出手段 20 論理合成ツール 21 第1のシミュレーション手段 22 第2のシミュレーション手段 23 結果比較手段 24 出力手段 1 arithmetic processing device 2 keyboard 3 mouse 4 display device 5 FD device 6 storage device 7 printer 8 LAN 9 test library for logic synthesis 10 HDL function description group template 11 single library 12 HDL function description group 13 logic model for simulation 14 Netlist 15 HDL function description 16 Simulation test pattern 17 Verification result 18 Single library generation means 19 HDL function description group extraction means 20 Logic synthesis tool 21 First simulation means 22 Second simulation means 23 Result comparison means 24 Output means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】論理合成用の被テストライブラリからテス
トする個々の論理合成用の論理モデルを抽出して単独ラ
イブラリを生成する単独ライブラリ抽出手段と、 前記単独ライブラリの論理モデルの入出力ピン数を計数
し、HDL機能記述群テンプレートより、ピン数が対応
するHDL機能記述群を抽出するHDL機能記述群抽出
手段と、 前記単独ライブラリを用い、前記HDL機能記述群の論
理合成を行い、ネットリストを生成する論理合成ツール
と、 前記ネットリストについて、それに対応するシミュレー
ションテストパターンと論理シミュレーション用の論理
モデルを用いシミュレーションを行い、第1の結果を得
る第1のシミュレーション手段と、 前記論理合成されたHDL機能記述について、前記シミ
ュレーションテストパターンを用いシミュレーションを
行い、第2の結果を得る第2のシミュレーション手段
と、 前記第1の結果と前記第2の結果を比較して検証結果を
得る結果比較手段と、 前記検証結果を出力する出力手段と、 から構成されることを特徴とする論理モデル検証装置。
1. A single library extracting means for generating a single library by extracting a logic model for individual logic synthesis to be tested from a test target library for logic synthesis, and the number of input / output pins of the logic model of the single library. The HDL function description group extracting means for counting and extracting the HDL function description group corresponding to the number of pins from the HDL function description group template and the independent library are used to perform the logic synthesis of the HDL function description group to generate a netlist. A logic synthesizing tool to be generated, first net simulation means for simulating the netlist using a corresponding simulation test pattern and a logic model for logic simulation, and the logic synthesized HDL. Regarding the functional description, the simulation test pattern A second simulation means for obtaining a second result, a result comparing means for obtaining a verification result by comparing the first result with the second result, and an output for outputting the verification result. A logical model verification device comprising means and.
JP6109161A 1994-04-26 1994-04-26 Logical model verification device Pending JPH07296032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6109161A JPH07296032A (en) 1994-04-26 1994-04-26 Logical model verification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6109161A JPH07296032A (en) 1994-04-26 1994-04-26 Logical model verification device

Publications (1)

Publication Number Publication Date
JPH07296032A true JPH07296032A (en) 1995-11-10

Family

ID=14503196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6109161A Pending JPH07296032A (en) 1994-04-26 1994-04-26 Logical model verification device

Country Status (1)

Country Link
JP (1) JPH07296032A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2362728A (en) * 1999-10-29 2001-11-28 Sgs Thomson Microelectronics Verifying the accuracy of a digital model of an integrated circuit
JP2010157194A (en) * 2009-01-05 2010-07-15 Ricoh Co Ltd Simulating netlist generation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2362728A (en) * 1999-10-29 2001-11-28 Sgs Thomson Microelectronics Verifying the accuracy of a digital model of an integrated circuit
GB2362728B (en) * 1999-10-29 2002-04-24 Sgs Thomson Microelectronics A method of verifying the accuracy of a digital model
JP2010157194A (en) * 2009-01-05 2010-07-15 Ricoh Co Ltd Simulating netlist generation device

Similar Documents

Publication Publication Date Title
Walters Computer-aided prototyping for ASIC-based systems
EP0508075B1 (en) Automatic logic model generation from schematic data base
US5572437A (en) Method and system for creating and verifying structural logic model of electronic design from behavioral description, including generation of logic and timing models
US6311317B1 (en) Pre-synthesis test point insertion
US5598344A (en) Method and system for creating, validating, and scaling structural description of electronic device
US5880971A (en) Methodology for deriving executable low-level structural descriptions and valid physical implementations of circuits and systems from semantic specifications and descriptions thereof
US6470482B1 (en) Method and system for creating, deriving and validating structural description of electronic system from higher level, behavior-oriented description, including interactive schematic design and simulation
US5553002A (en) Method and system for creating and validating low level description of electronic design from higher level, behavior-oriented description, using milestone matrix incorporated into user-interface
US5541849A (en) Method and system for creating and validating low level description of electronic design from higher level, behavior-oriented description, including estimation and comparison of timing parameters
US5557531A (en) Method and system for creating and validating low level structural description of electronic design from higher level, behavior-oriented description, including estimating power dissipation of physical implementation
US5870308A (en) Method and system for creating and validating low-level description of electronic design
US5572436A (en) Method and system for creating and validating low level description of electronic design
US9064068B1 (en) Debuggable opaque IP
TW451129B (en) Semiconductor integrated circuit evaluation system
EP0508620B1 (en) Method and System for automatically determing the logical function of a circuit
US7480878B2 (en) Method and system for layout versus schematic validation of integrated circuit designs
US20090254525A1 (en) Method and system for a database to monitor and analyze performance of an electronic design
US9183329B2 (en) Debugging simulation with partial design replay
US7958473B2 (en) Method and computer program for configuring an integrated circuit design for static timing analysis
US6311318B1 (en) Design for test area optimization algorithm
US20080127009A1 (en) Method, system and computer program for automated hardware design debugging
US8868396B1 (en) Verification and debugging using heterogeneous simulation models
US6546536B1 (en) System and method for disabling schematics
TWI716079B (en) Simulation method for use in functional equivalence check
US7065724B2 (en) Method and apparatus for generating and verifying libraries for ATPG tool

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030325