JP2003178105A - Logic verification system of system lsi - Google Patents

Logic verification system of system lsi

Info

Publication number
JP2003178105A
JP2003178105A JP2001377240A JP2001377240A JP2003178105A JP 2003178105 A JP2003178105 A JP 2003178105A JP 2001377240 A JP2001377240 A JP 2001377240A JP 2001377240 A JP2001377240 A JP 2001377240A JP 2003178105 A JP2003178105 A JP 2003178105A
Authority
JP
Japan
Prior art keywords
cpu
behavior model
system lsi
interface
software
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.)
Withdrawn
Application number
JP2001377240A
Other languages
Japanese (ja)
Inventor
Hiroshi Hosokawa
博司 細川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001377240A priority Critical patent/JP2003178105A/en
Publication of JP2003178105A publication Critical patent/JP2003178105A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a logic verification system for a system LSI in which a software used as a device driver and/or check program is used to perform co-verification. <P>SOLUTION: A peripheral device interface 116 is prepared from the device driver and check program for controlling behavior models 110-112 of any peripheral device, and thereby the device driver and check program capable of operating on the actual chip can undergo a logic verification using the behavior models 110-112 of the peripheral device. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、集積回路であるシ
ステムLSIの論理検証方式に関するものである。 【0002】 【従来の技術】従来、コ・ベリフィケーションを利用し
た検証方法は、C言語などで記述されたソフトウェアに
より、ビヘイビュアモデルにCPUと同様のトランザク
ションを発生させることで、検証対象となる回路のテス
トを行う。例えば以下のような方法がある。 【0003】(1)インストラクション・セット・シミ
ュレーター C言語などで記述されたソフトウェアをコンパイルし、
実行形式となったオブジェクトを解析してCPUのビヘ
イビュアモデルに入力するインストラクション・セット
・シミュレータを介し、CPUと同等のトランザクショ
ンを発生する方法。 【0004】(2)ソフトウェア専用インターフェース C言語などで記述するソフトウェアに、ビヘイビュアモ
デルとインターフェースを取るCPUコマンドを定義
し、ソフトウェアの中でCPUコマンドをコールした
ら、ビヘイビュアモデルとのインターフェースを介し
て、CPUと同等のトランザクションを発生させる方
法。 【0005】 【発明が解決しようとする課題】しかしながら上記従来
例では、ソフトウェアは本来、CPUで実行されること
を前提に記述される場合が多いため、CPUからアクセ
ス可能な回路の制御しかできない。実チップ上で実行す
る場合、電気回路基板上に該チップが実装され、さらに
周辺デバイスや周辺装置等が接続されるため、ソフトウ
ェアはそれらの周辺デバイスや周辺装置との動作確認が
可能となる。しかしながら、論理検証の場合はシステム
LSIに接続される周辺デバイスや周辺装置が無いた
め、仮想動作モデルを接続してテストを行う。これらの
仮想動作モデルはシステムLSIの外部デバイス・周辺
装置のため、CPUから設定などを行うことはできな
い。よって、ソフトウェアからこれらの仮想動作モデル
の制御は行えないため、システムLSIの実動作に基づ
いた回路の検証が難しい、という欠点があった。 【0006】本発明の目的は、ソフトウェアから、シス
テムLSIに接続される外部デバイス・周辺装置の仮想
動作モデルの制御が可能な機構を設けることにより、シ
ステムLSIの実動作環境の元で検証が行えるように
し、さらに該ソフトウェアは実チップ上でのデバイスド
ライバ・チェックプロとしても使用可能とする点にあ
る。 【0007】 【課題を解決するための手段】このため、本発明におい
ては、下記のシステムLSIの論理検証方式を提供する
ことにより、前記目的を達成しようとするものである。 【0008】中央制御回路(以下、CPU)と、該CP
Uと電気的に接続した周辺回路とを内蔵したことを特徴
とする集積回路(以下、システムLSI)と、該システ
ムLSIの検証を行うための仮想動作モデル(以下、ビ
ヘイビュアモデル)と、該システムLSIを該ビヘイビ
ュアモデルを用いて検証するための論理検証環境(以
下、テストベンチ)と、該テストベンチ上で該システム
LSIの検証を行うテストプログラムと、該テストプロ
グラムを使用することで該システムLSIの検証を行う
システムLSIの論理検証方式であって、該CPUの替
りに該CPUのビヘイビュアモデルを使用するテストベ
ンチと、実チップ上で動作可能な周辺回路制御プログラ
ム(以下、デバイスドライバ)および周辺回路動作検証
プログラム(以下、チェックプロ)を該CPUビヘイビ
ュアモデルを介して実行することで検証を行う方式(以
下、コ・ベリフィケーション)と、該コ・ベリフィケー
ションにおいてシステムLSIのハードウェアとソフト
ウェアのインターフェースを取る手段を具備する論理検
証環境において、該デバイスドライバおよび該チェック
プロから、該ビヘイビュアモデルを制御するためインタ
ーフェースを用意することにより、実チップ上で動作可
能な該デバイスドライバおよび該チェックプロが、該ビ
ヘイビュアモデルを用いて論理検証できることを特徴と
するシステムLSIの論理検証方式。 【0009】 【発明の実施の形態】(第1の実施例)図1は本発明の
特徴を最もよく表す図である。 【0010】101はシステムLSI、102はシステ
ムLSI101の回路を検証するソフトウェア、103
はCPUビヘイビュアモデル、104はソフトウェア1
02のCPU命令とCPUビヘイビュアモデル103の
間のCPUインターフェース、105はCPUビヘイビ
ュアモデル103の電気的信号が接続されるCPUバ
ス、106はCPUバス105のバス利用権を調停する
バスアービター、107はCPUバス105に接続され
るメモリコントローラ、108はメモリコントローラ1
07により読書きされるメモリ、109はCPUバス1
05に接続されるDMAコントローラ、110〜112
は周辺デバイスのビヘイビュアモデル、113〜115
は各周辺デバイス110〜112を制御する周辺デバイ
スコントローラ、116はソフトウェア102から周辺
デバイスのビヘイビュアモデルへの周辺デバイスインタ
ーフェースである。 【0011】ソフトウェア102においてCPUコマン
ドを記述することにより、CPUコマンドはCPUイン
ターフェース104を介して、CPUビヘイビュアモデ
ル103に命令の実行を要求する。例えばソフトウェア
102でメモリ108上のアドレスAにデータDを書き
込むCPUコマンドが記述された場合、要求を受けたC
PUビヘイビュアモデル103は、バスアービター10
6にバス利用権の取得要求を出す。バス調停の結果、バ
スアービター106がCPUビヘイビュアモデル103
にバス利用権を与えると、CPUビヘイビュアモデル1
03はメモリコントローラ107にメモリ108上のア
ドレスAへのデータDを書き込み要求を出す。要求を受
けたメモリコントローラ107はメモリ108にアクセ
スし、データを書き込み、CPUビヘイビュアモデル1
03には書き込み完了を通知する。するとCPUビヘイ
ビュアモデル103は、CPUインターフェース104
を介して、メモリ108への書き込み要求を行ったソフ
トウェア102に書き込み完了を通知する。 【0012】このようにソフトウェア102からCPU
ビヘイビュアモデル103を使用することで、システム
LSI101内の回路の制御が可能となる。しかしこの
手法だけでは、外部の周辺デバイスのビヘイビュアモデ
ル110〜112の制御は、CPUビヘイビュアモデル
103では不可能なため、実チップ上で動作する周辺デ
バイス制御プログラムは実行できない。例えば、111
がシリアルインターフェースのビヘイビュアモデルで、
114がシリアルインターフェースモデル111のコン
トローラである場合、シリアルインターフェースのビヘ
イビュアモデル111に様々な転送速度で動作させるた
めの設定や、転送エラーを発生させる設定など、ビヘイ
ビュアモデルの設定が行えないとコントローラの仕様を
満たす検証が行えない。 【0013】そこでこのような場合、ソフトウェア10
2から、シリアルインターフェースのビヘイビュアモデ
ル111の制御を行うための周辺デバイスインターフェ
ース116を設けることで、周辺デバイスのビヘイビュ
アモデル110〜112を様々なモードに設定した検証
が可能となる。実チップ上で実行する際は、この周辺デ
バイスのビヘイビュアモデル110〜112ヘの設定箇
所を削除するだけで使用できる。 【0014】図2は、本発明のアルゴリズムの例を示し
たものである。 【0015】201はソフトウェア102から周辺デバ
イスヘのコマンドの発行、202はインターフェースの
選択、203は周辺デバイスインターフェース116か
ら周辺デバイスビヘイビュアモデル110〜112への
コマンドの発行、204は対応する周辺デバイスの選
択、205は周辺デバイスビヘイビュアモデル110〜
112の実行結果の応答待ち、206はCPUインター
フェース104からソフトウェア102への応答、20
7はCPUインターフェース104からCPUビヘイビ
ュアモデル103ヘのコマンドの発行、208はCPU
ビヘイビュアモデル103の実行結果の応答待ち、20
9は周辺デバイスインターフェース116からソフトウ
ェア102ヘの応答、210はソフトウェア102の終
了確認を示している。 【0016】例えば、シリアルコントローラ114の1
1520bps(bits persecond)にお
ける読み出し論理検証を行う場合、ソフトウェア102
からシリアルインターフェースのビヘイビュアモデル1
11に、11520bpsのデータを転送する振る舞い
を期待する設定を行う必要がある。その場合、201〜
205のアルゴリズムを経由してシリアルインターフェ
ースのビヘイビュアモデル111に設定を行う。これに
より、シリアルインターフェースのビヘイビュアモデル
111から11520bpsでデータが転送され、シリ
アルコントローラ114からの割込み要求や、その割り
込みに対するソフトウェア102の処理などが論理検証
可能となる。 【0017】この手法で周辺デバイスのビヘイビュアモ
デル110〜112に対し、あらゆる転送速度の設定
や、故意にエラーを発生させる設定などを行うことで、
ソフトウェア102によるシステムLSI101の論理
検証が可能となる。 【0018】図3は、本発明の周辺デバイスインターフ
ェース116を利用したプログラム例を示したものであ
る。 【0019】301はシリアルインターフェースのビヘ
イビュアモデル設定プログラム、302は周辺デバイス
インターフェース、303はシリアルインターフェース
のビヘイビュアモデル、各々のソースコードの例の抜粋
である。 【0020】シリアルインターフェースのビヘイビュア
モデル設定プログラムのソースコード301における、
1から5行目の構造体と、周辺デバイスインターフェー
スのソースコード302の1から5行目の構造体のデー
タをやり取りすることでインターフェースを取る例であ
る。実際の論理検証環境においては、FLI等のCプロ
グラムと論理検証環境のインターフェースを利用するこ
とになる。 【0021】この例では周辺デバイスビヘイビュアモデ
ルの一例としてシリアルインターフェースを使い、その
モデルの転送速度を11520bpsに設定する方法を
紹介する。 【0022】ソフトウェア(シリアルインターフェース
のビヘイビュアモデル設定プログラムのソースコード)
301と周辺デバイスインターフェースのソースコード
302の間で以下のことが取り決められている場合であ
る。 【0023】(1)typeが1の場合はシリアルイン
ターフェースのビヘイビュアモデルが選択される。 【0024】(2)typeが1で、Paramが1の
時は11520bpsに設定される。 【0025】まず、ソフトウェア(シリアルインターフ
ェースのビヘイビュアモデル設定プログラムのソースコ
ード)301の10〜12行目の構造体の値がセットさ
れると、13行目においてソフトウェア(シリアルイン
ターフェースのビヘイビュアモデル設定プログラムのソ
ースコード)301はstatの値が1になるまで待ち
続ける。周辺デバイスインターフェースのソースコード
302の7〜8行目で、シリアルインターフェースのビ
ヘイビュアモデルのソースコード303が選択され、9
行目でシリアルインターフェースのビヘイビュアモデル
のソースコード303の設定を行う。すると、シリアル
インターフェースのビヘイビュアモデルのソースコード
303の1行目のtaskが実行され、paramが1
の場合は5行目で転送速度が11520bpsに設定さ
れる。シリアルインターフェースのビヘイビュアモデル
設定プログラムのソースコード301の設定が終了する
と、シリアルインターフェースのビヘイビュアモデル設
定プログラムのソースコード301から周辺デバイスイ
ンターフェースのソースコード302の10行目に応答
が返り、Statが1に設定される。すると周辺デバイ
スインターフェースのソースコード302からソフトウ
ェア(シリアルインターフェースのビヘイビュアモデル
設定プログラムのソースコード)301の13行目に応
答が返り、設定が完了する。 【0026】(第2の実施例)図4は、図1の実施例に
おける、CPUインターフェース104を、インストラ
クション・セット・シミュレーターに置き換えた場合の
実施例である。 【0027】401はインストラクション・セット・シ
ミュレータである。 【0028】その他の構成は、図1と同様であり、同一
符号を付し説明を省略する。 【0029】ソフトウェア102をコンパイルし実行す
ると、インストラクション・セット・シミュレーター4
01は実行形式コードを解釈し、CPUのビヘイビュア
モデル103に送る。ここで図1におけるソフトウェア
102と違う点は、図1のソフトウェア102は特別に
定めたCPUインターフェース104とのCPUコマン
ドが必要だったのに対し、図4のソフトウェア102は
一般的なC言語で記述されたソフトウェア102を、イ
ンストラクション・セット・シミュレーター401がC
PU命令に解釈して実行できる点である。 【0030】またこの場合も、ソフトウェア102か
ら、周辺デバイスのビヘイビュアモデル110〜112
の制御を行うための周辺デバイスインターフェース11
6を設けることで、周辺デバイスのビヘイビュアモデル
110〜112を様々なモードに設定した検証が可能と
なる。実チップ上で実行する際は、この周辺デバイスの
ビヘイビュアモデルへ110〜112の設定箇所を削除
するだけで使用できる。 【0031】 【発明の効果】以上説明したように、本出願に係わる発
明によれば、デバイスドライバやチェックプロでは設定
できなかった、周辺デバイスのビヘイビュアモデル11
0〜112への設定が可能となり、ソフトウェア102
による論理検証が可能となる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic verification method for a system LSI which is an integrated circuit. 2. Description of the Related Art Conventionally, a verification method using co-verification uses a software described in C language or the like to generate a transaction similar to that of a CPU in a behavior model so that a verification target can be identified. Test of the circuit. For example, there are the following methods. (1) Instruction set simulator Simulates software written in C language or the like,
A method of generating a transaction equivalent to a CPU via an instruction set simulator that analyzes an object in an executable form and inputs the analyzed object to a behavior model of the CPU. (2) Software-dedicated interface A CPU command for interfacing with a behavior model is defined in software described in C language or the like. When a CPU command is called in software, the CPU command is called through the interface with the behavior model. A method for generating a transaction equivalent to a CPU. However, in the above conventional example, software is often described on the assumption that it is executed by the CPU, so that only software that can be accessed from the CPU can be controlled. When executed on an actual chip, the chip is mounted on an electric circuit board, and further, peripheral devices and peripheral devices are connected, so that software can check the operation with those peripheral devices and peripheral devices. However, in the case of logic verification, since there is no peripheral device or peripheral device connected to the system LSI, a test is performed by connecting a virtual operation model. Since these virtual operation models are external devices and peripheral devices of the system LSI, they cannot be set from the CPU. Therefore, since these virtual operation models cannot be controlled from software, there is a disadvantage that it is difficult to verify a circuit based on the actual operation of the system LSI. An object of the present invention is to provide a mechanism capable of controlling a virtual operation model of an external device / peripheral device connected to a system LSI from software, thereby enabling verification under a real operation environment of the system LSI. And that the software can be used as a device driver / check pro on an actual chip. [0007] Therefore, the present invention is to achieve the above object by providing the following system LSI logic verification method. A central control circuit (hereinafter referred to as CPU) and the CP
An integrated circuit (hereinafter, referred to as a system LSI) having a built-in peripheral circuit electrically connected to the U; a virtual operation model (hereinafter, a behavior model) for verifying the system LSI; A logic verification environment (hereinafter referred to as a test bench) for verifying a system LSI using the behavior model, a test program for verifying the system LSI on the test bench, and a test program using the test program. A logic verification method for a system LSI for verifying a system LSI, comprising: a test bench using a behavior model of the CPU instead of the CPU; and a peripheral circuit control program (hereinafter referred to as a device driver) operable on an actual chip. ) And a peripheral circuit operation verification program (hereinafter referred to as “check pro”) through the CPU behavior model. In a logic verification environment including a method of performing verification by performing the verification (hereinafter referred to as co-verification) and a means for interfacing hardware and software of a system LSI in the co-verification, the device driver and the By preparing an interface for controlling the behavior model from the check pro, the device driver operable on an actual chip and the check pro can be logically verified using the behavior model. A logic verification method for system LSI. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) FIG. 1 is a diagram that best illustrates the features of the present invention. Reference numeral 101 denotes a system LSI, 102 denotes software for verifying a circuit of the system LSI 101, 103
Is a CPU behavior model, 104 is software 1
CPU interface between the CPU instruction 02 and the CPU behavior model 103; 105, a CPU bus to which the electrical signals of the CPU behavior model 103 are connected; 106, a bus arbiter for arbitrating the right to use the CPU bus 105; Is a memory controller connected to the CPU bus 105, and 108 is a memory controller 1
07 is a memory to be read / written, and 109 is a CPU bus 1
DMA controller 110 to 110-112
Are behavior models of peripheral devices, 113 to 115
Is a peripheral device controller that controls each of the peripheral devices 110 to 112, and 116 is a peripheral device interface from the software 102 to the behavior model of the peripheral device. By writing a CPU command in the software 102, the CPU command requests the CPU behavior model 103 to execute an instruction via the CPU interface 104. For example, when a CPU command for writing data D to an address A on the memory 108 is described in the software 102, the C
PU behavior viewer model 103 is a bus arbiter 10
A request to acquire the right to use the bus is issued to 6. As a result of the bus arbitration, the bus arbiter 106 becomes the CPU behavior model 103
Gives bus usage right to CPU behavior model 1
03 issues a request to the memory controller 107 to write the data D to the address A on the memory 108. Upon receiving the request, the memory controller 107 accesses the memory 108, writes data, and executes the CPU behavior model 1
03 is notified that writing has been completed. Then, the CPU behavior model 103 becomes the CPU interface 104
, The software 102 that has made a write request to the memory 108 is notified of the completion of writing. As described above, the software 102
By using the behavior model 103, it is possible to control a circuit in the system LSI 101. However, with this method alone, since the CPU behavior model 103 cannot control the behavior models 110 to 112 of the external peripheral devices, the peripheral device control program operating on the actual chip cannot be executed. For example, 111
Is a serial interface behavior model,
If the controller 114 is a controller of the serial interface model 111, if the behavior model cannot be set, such as a setting to operate the serial interface behavior model 111 at various transfer speeds and a setting to generate a transfer error, Verification that satisfies the specifications cannot be performed. Therefore, in such a case, the software 10
From 2, the provision of the peripheral device interface 116 for controlling the behavior model 111 of the serial interface enables verification in which the behavior models 110 to 112 of the peripheral device are set to various modes. When executed on an actual chip, the peripheral device can be used simply by deleting the set locations of the behavior models 110 to 112. FIG. 2 shows an example of the algorithm of the present invention. Reference numeral 201 denotes issuance of a command from the software 102 to the peripheral device, reference numeral 202 denotes selection of an interface, reference numeral 203 denotes issuance of a command from the peripheral device interface 116 to the peripheral device behavior models 110 to 112, and reference numeral 204 denotes selection of a corresponding peripheral device. , 205 are peripheral device behavior models 110 to 110
Waiting for a response of the execution result of 112, 206 is a response from the CPU interface 104 to the software 102, 20
7, a command issuance from the CPU interface 104 to the CPU behavior model 103;
Waiting for response of execution result of behavior model 103, 20
Reference numeral 9 denotes a response from the peripheral device interface 116 to the software 102, and reference numeral 210 denotes confirmation of termination of the software 102. For example, one of the serial controllers 114
When performing read logic verification at 1520 bps (bits per second), the software 102
To serial interface behavior model 1
11, it is necessary to make settings for expecting the behavior of transferring 11520 bps data. In that case, 201-
The setting is performed on the behavior model 111 of the serial interface via the algorithm 205. As a result, data is transferred at 11520 bps from the behavior model 111 of the serial interface, and an interrupt request from the serial controller 114 and processing of the software 102 for the interrupt can be logically verified. By using this method, setting of all transfer speeds and setting of intentionally generating an error are performed on the behavior models 110 to 112 of peripheral devices.
The logic verification of the system LSI 101 by the software 102 becomes possible. FIG. 3 shows an example of a program using the peripheral device interface 116 of the present invention. Reference numeral 301 denotes a behavior model setting program for a serial interface, reference numeral 302 denotes a peripheral device interface, reference numeral 303 denotes a behavior model for a serial interface, and an excerpt of an example of each source code. In the source code 301 of the behavior model setting program for the serial interface,
In this example, an interface is obtained by exchanging data of the structures on the first to fifth lines and the structures on the first to fifth lines of the source code 302 of the peripheral device interface. In an actual logic verification environment, an interface between a C program such as FLI and the logic verification environment is used. In this example, a method of using a serial interface as an example of a peripheral device behavior model and setting the transfer speed of the model to 11520 bps will be introduced. Software (source code of behavior model setting program for serial interface)
The following is agreed upon between the source code 301 and the source code 302 of the peripheral device interface. (1) When type is 1, the behavior model of the serial interface is selected. (2) When type is 1 and Param is 1, it is set to 11520 bps. First, when the values of the structures on the 10th to 12th lines of the software (source code of the behavior model setting program of the serial interface) 301 are set, the software (the behavior model setting of the serial interface) is set on the 13th line. The program source code) 301 waits until the value of stat becomes 1. In the seventh to eighth lines of the source code 302 of the peripheral device interface, the source code 303 of the behavior model of the serial interface is selected.
In the line, the source code 303 of the behavior model of the serial interface is set. Then, the task on the first line of the source code 303 of the behavior model of the serial interface is executed, and param becomes 1
In the case of, the transfer speed is set to 11520 bps in the fifth row. When the setting of the source code 301 of the behavior model setting program of the serial interface is completed, a response is returned from the source code 301 of the behavior model setting program of the serial interface to the tenth line of the source code 302 of the peripheral device interface, and Stat is set to 1 Is set to Then, a response is returned from the source code 302 of the peripheral device interface to the thirteenth line of the software (source code of the behavior model setting program of the serial interface) 301, and the setting is completed. (Second Embodiment) FIG. 4 shows an embodiment in which the CPU interface 104 in the embodiment of FIG. 1 is replaced with an instruction set simulator. Reference numeral 401 denotes an instruction set simulator. Other configurations are the same as those in FIG. 1, and the same reference numerals are given and the description is omitted. When the software 102 is compiled and executed, the instruction set simulator 4
01 interprets the executable code and sends it to the behavior model 103 of the CPU. The difference from the software 102 in FIG. 1 is that the software 102 in FIG. 1 requires a CPU command with a specially defined CPU interface 104, whereas the software 102 in FIG. The instruction set simulator 401 converts the
That is, it can be interpreted as a PU instruction and executed. Also in this case, the behavior models 110 to 112 of the peripheral devices are transmitted from the software 102.
Device interface 11 for controlling the
Providing 6 enables verification in which the behavior models 110 to 112 of peripheral devices are set to various modes. When it is executed on an actual chip, it can be used simply by deleting the setting points 110 to 112 in the behavior model of the peripheral device. As described above, according to the invention of the present application, the behavior model 11 of the peripheral device, which cannot be set by the device driver or the check pro, is used.
0 to 112 can be set, and the software 102
Can be used for logic verification.

【図面の簡単な説明】 【図1】 本発明の第1の実施例に係わる、システムL
SIの検証方式を表す図 【図2】 本発明の第1の実施例に係わる、アルゴリズ
ムの例 【図3】 本発明の第1の実施例に係わる、本発明の周
辺デバイスインターフェースを利用したプログラム例
(a)シリアルインターフェースのビヘイビュアモデル
設定プログラムのソースコードの例の抜粋(b)周辺デ
バイスインターフェースのソースコードの例の抜粋
(c)シリアルインターフェースのビヘイビュアモデル
のソースコードの例の抜粋 【図4】 本発明の第2の実施例に係わる、システムL
SIの検証方式を表す図 【符号の説明】 101 システムLSI 102 システムLSI101の回路を検証するソフト
ウェア 103 CPUビヘイビュアモデル 104 ソフトウェア102のCPU命令とCPUビヘ
イビュアモデル103の間のCPUインターフェース 105 CPUビヘイビュアモデル103の電気的信号
が接続されるCPUバス 106 CPUバス105のバス利用権を調停するバス
アービター 107 CPUバス105に接続されるメモリコントロ
ーラ 108 メモリコントローラ107により読書きされる
メモリ 109 CPUバス105に接続されるDMAコントロ
ーラ 110〜112 周辺デバイスのビヘイビュアモデル 113〜115 各周辺デバイスのビヘイビュアモデル
110〜112を制御する周辺デバイスコントローラ 116 ソフトウェア102から周辺デバイスのビヘイ
ビュアモデル110〜112への周辺デバイスインター
フェース 301 シリアルインターフェースのビヘイビュアモデ
ル設定プログラムのソースコードの例の抜粋 302 周辺デバイスインターフェースのソースコード
の例の抜粋 303 シリアルインターフェースのビヘイビュアモデ
ルのソースコードの例の抜粋 401 インストラクション・セット・シミュレーター
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows a system L according to a first embodiment of the present invention.
FIG. 2 is a diagram showing an SI verification method. FIG. 2 is an example of an algorithm according to the first embodiment of the present invention. FIG. 3 is a program using a peripheral device interface of the present invention according to the first embodiment of the present invention. Example (a) Excerpt of source code example of behavior model setting program of serial interface (b) Excerpt of source code example of peripheral device interface (c) Excerpt of source code example of behavior model of serial interface 4. System L according to the second embodiment of the present invention
[Description of Symbols] 101 System LSI 102 Software 103 for verifying the circuit of system LSI 101 CPU behavior model 104 CPU interface 105 between CPU instruction of software 102 and CPU behavior model 103 CPU behavior CPU bus 106 to which the electric signal of model 103 is connected Bus arbiter 107 for arbitrating the right to use the bus of CPU bus 105 Memory controller 108 connected to CPU bus 105 Memory 109 read and written by memory controller 107 CPU bus 105 Connected DMA controllers 110 to 112 Behavior models 113 to 115 of peripheral devices Peripheral device controllers that control behavior models 110 to 112 of each peripheral device Roller 116 Peripheral device interface 301 from software 102 to peripheral device behavior models 110 to 112 Extraction of source code example of behavior model setting program of serial interface 302 Extraction of source code example of peripheral device interface 303 Serial interface Source code excerpt of behavior model 401 Instruction set simulator

Claims (1)

【特許請求の範囲】 【請求項1】 中央制御回路(以下、CPU)と、該C
PUと電気的に接続した周辺回路とを内蔵したことを特
徴とする集積回路(以下、システムLSI)と、該シス
テムLSIの検証を行うための仮想動作モデル(以下、
ビヘイビュアモデル)と、該システムLSIを該ビヘイ
ビュアモデルを用いて検証するための論理検証環境(以
下、テストベンチ)と、該テストベンチ上で該システム
LSIの検証を行うテストプログラムと、該テストプロ
グラムを使用することで該システムLSIの検証を行う
システムLSIの論理検証方式であって、該CPUの替
りに該CPUのビヘイビュアモデルを使用するテストベ
ンチと、実チップ上で動作可能な周辺回路制御プログラ
ム(以下、デバイスドライバ)および周辺回路動作検証
プログラム(以下、チェックプロ)を該CPUビヘイビ
ュアモデルを介して実行することで検証を行う方式(以
下、コ・ベリフィケーション)と、該コ・ベリフィケー
ションにおいてシステムLSIのハードウェアとソフト
ウェアのインターフェースを取る手段を具備する論理検
証環境において、該デバイスドライバおよび該チェック
プロから、該ビヘイビュアモデルを制御するためインタ
ーフェースを用意することにより、実チップ上で動作可
能な該デバイスドライバおよび該チェックプロが、該ビ
ヘイビュアモデルを用いて論理検証できることを特徴と
するシステムLSIの論理検証方式。
Claims: 1. A central control circuit (hereinafter referred to as a CPU),
An integrated circuit (hereinafter, referred to as a system LSI) having a built-in peripheral circuit electrically connected to the PU, and a virtual operation model (hereinafter, referred to as a system operation) for verifying the system LSI.
A behavior model), a logic verification environment (hereinafter, referred to as a test bench) for verifying the system LSI using the behavior model, a test program for verifying the system LSI on the test bench, A logic verification method of a system LSI for verifying the system LSI by using a program, comprising: a test bench using a behavior model of the CPU instead of the CPU; and a peripheral circuit operable on a real chip. A method of performing verification by executing a control program (hereinafter, device driver) and a peripheral circuit operation verification program (hereinafter, check pro) through the CPU behavior model (hereinafter, co-verification);・ In verification, the interface between hardware and software of the system LSI An interface for controlling the behavior model from the device driver and the check pro in a logic verification environment having a means for taking the interface, the device driver and the check pro operable on an actual chip. Wherein a logic verification can be performed using the behavior model.
JP2001377240A 2001-12-11 2001-12-11 Logic verification system of system lsi Withdrawn JP2003178105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001377240A JP2003178105A (en) 2001-12-11 2001-12-11 Logic verification system of system lsi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001377240A JP2003178105A (en) 2001-12-11 2001-12-11 Logic verification system of system lsi

Publications (1)

Publication Number Publication Date
JP2003178105A true JP2003178105A (en) 2003-06-27

Family

ID=19185256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001377240A Withdrawn JP2003178105A (en) 2001-12-11 2001-12-11 Logic verification system of system lsi

Country Status (1)

Country Link
JP (1) JP2003178105A (en)

Similar Documents

Publication Publication Date Title
US6006166A (en) Apparatus for testing a controller with random constraints
US6678625B1 (en) Method and apparatus for a multipurpose configurable bus independent simulation bus functional model
KR101035832B1 (en) Simulation circuit of pci express endpoint and downstream port for a pci express switch
US8380481B2 (en) Conveying data from a hardware device to a circuit simulation
JP3302357B2 (en) CPU bus controller
US6076180A (en) Method for testing a controller with random constraints
CN108268414B (en) SD card driver based on SPI mode and control method thereof
JP2002259157A (en) In-circuit emulation device, its chip designing method and in-circuit emulation system
CN112035299B (en) System and method for performing simulated device testing using memory-based communication protocol
CN115146568B (en) Chip verification system and verification method based on UVM
US9418181B2 (en) Simulated input/output devices
WO2018218954A1 (en) Verification platform and verification method, and computer storage medium
KR20010080515A (en) A direct memory access engine for supporting multiple virtual direct memory access channels
CN112685240A (en) Chip subsystem verification method and device
CN114444422A (en) Chip verification system, method and storage medium
US10409935B2 (en) Modeling a bus for a system design incorporating one or more programmable processors
US20050144436A1 (en) Multitasking system level platform for HW/SW co-verification
CN114153674A (en) Authentication method, authentication apparatus, electronic device, and computer-readable storage medium
US20050071145A1 (en) Simulation apparatus, simulation program, and recording medium
JP2003178105A (en) Logic verification system of system lsi
JP4100901B2 (en) Logic verification method for system LSI
TWI739853B (en) Computing device and operation method
Divya et al. AHB design and verification AMBA 2.0 using System Verilog
US9223585B2 (en) Data processing device with serial bus that needs initialization before use
CN114281726B (en) System architecture for soc chip and peripheral communication method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050301