JPH086810A - Logic circuit simulation device - Google Patents

Logic circuit simulation device

Info

Publication number
JPH086810A
JPH086810A JP6135287A JP13528794A JPH086810A JP H086810 A JPH086810 A JP H086810A JP 6135287 A JP6135287 A JP 6135287A JP 13528794 A JP13528794 A JP 13528794A JP H086810 A JPH086810 A JP H086810A
Authority
JP
Japan
Prior art keywords
simulation
ice
memory
data
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
Application number
JP6135287A
Other languages
Japanese (ja)
Inventor
Hajime Kuriyama
山 元 栗
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6135287A priority Critical patent/JPH086810A/en
Publication of JPH086810A publication Critical patent/JPH086810A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To verify a system including a logic circuit, a CPU, and its program without making a board for evaluation by providing a simulation part with an ICE control function and a transmitting and receiving function for data. CONSTITUTION:A simulation core 14 once obtaining data to be inputted to the CPU from a memory 13 passes the process to an ICE driver 14b and stores the data in a memory 21a. At interface part 20, a timing address control part 23 outputs the data from the memory 21a to an ICE 30, which performs simulation and also stores the result in a memory 21b. The ICE driver 14b reads the data out of the memory 21b and returns the process to the simulation core 14, thus completing the simulation.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CPU(central proce
ssing unit) のプログラム動作をエミュレーションする
ためのICE(in circuit emulation)を接続する論理回
路シミュレーション装置に関するものである。
The present invention relates to a CPU (central processing unit).
The present invention relates to a logic circuit simulation device for connecting an ICE (in circuit emulation) for emulating a program operation of a ssing unit).

【0002】[0002]

【従来の技術】図2は従来の論理回路とCPUとそのプ
ログラムを含むシステムの検証を行なうための装置(治
具)の構成を示している。図2において、評価用ボード
40は、設計された論理回路を実際に基板上に構成した
ものであり、これをICE50と接続することによりシ
ステムを構成する。測定器60は、ハードウェアの動作
を検証するための装置であり、評価用ボード40と接続
される。
2. Description of the Related Art FIG. 2 shows the structure of a conventional device (jig) for verifying a system including a logic circuit, a CPU and its program. In FIG. 2, the evaluation board 40 is one in which a designed logic circuit is actually formed on a board, and the system is formed by connecting this to the ICE 50. The measuring device 60 is a device for verifying the operation of hardware, and is connected to the evaluation board 40.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例では、一度評価用ボード40が完成しない限りシス
テムの検証をすることができないという問題があった。
また、ハードウェアの検証は、評価用ボード40の基板
上に測定器60を接続して行なうため、測定個所および
時間に制限があり、このため、不具合が認められた際の
原因特定が容易にできないという問題があった。さら
に、ハードウェアに不具合が発見された場合、評価用ボ
ード40の修正が必要となり、新たな治具の完成までに
多くの時間が費やされてしまい、効率的な設計開発を行
なうことが難しいという問題があった。
However, the above-mentioned conventional example has a problem that the system cannot be verified unless the evaluation board 40 is completed once.
Further, since the hardware verification is performed by connecting the measuring device 60 on the board of the evaluation board 40, there is a limitation on the measurement point and time, and therefore, when a defect is recognized, the cause can be easily identified. There was a problem that I could not. Furthermore, when a defect is found in the hardware, the evaluation board 40 needs to be corrected, and it takes a lot of time to complete a new jig, which makes it difficult to perform efficient design development. There was a problem.

【0004】本発明は、このような従来の問題を解決す
るものであり、評価用ボードを作成することなくシステ
ムの検証を可能にし、効率的な設計開発ができる優れた
論理回路シミュレーション装置を提供することを目的と
するものである。
The present invention solves such a conventional problem, and provides an excellent logic circuit simulation apparatus which enables system verification without creating an evaluation board and enables efficient design development. The purpose is to do.

【0005】[0005]

【課題を解決するための手段】本発明は、上記目的を達
成するために、シミュレーション部にICE制御機能お
よびデータの送受信機能を設け、インタフェース部を介
してICEと接続することにより、シミュレーション部
からICEの制御およびデータの送受信ができるように
したものである。
In order to achieve the above object, the present invention provides a simulation unit with an ICE control function and a data transmission / reception function, and by connecting the ICE through an interface unit, The ICE is controlled and data can be transmitted and received.

【0006】[0006]

【作用】したがって、本発明によれば、シミュレーショ
ン部からICEの制御およびデータの送受信を行なうこ
とにより、論理回路シミュレーション装置が、ICEを
活用したCPUとそのプログラムを含むシステムのシミ
ュレーションが可能になる。
Therefore, according to the present invention, by controlling the ICE and transmitting / receiving the data from the simulation unit, the logic circuit simulation apparatus can simulate the system including the CPU and the program utilizing the ICE.

【0007】[0007]

【実施例】以下、本発明の一実施例について、図面を参
照しながら説明する。図1は本発明の一実施例における
論理回路シミュレーション装置のブロック図である。図
1において、10はシミュレーション部、20はインタ
フェース部、30はICEである。シミュレーション部
10は、設計データファイル11aとテストパターンフ
ァイル11bとからなる入力データ部11を持ち、さら
に結果を格納するシミュレーション結果ファイル12を
備えている。これら入力データ部11およびシミュレー
ション結果ファイル12のデータは、メモリ13に一時
的に格納される。メモリ13に関する制御は、シミュレ
ーションコア14aおよびICEドライバ14bを有す
る制御部14によって行なわれる。また、制御部14
は、キーボード15からの条件設定を受け付けたり、デ
ィスプレイ16への出力を制御する機能を有する。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a logic circuit simulation apparatus according to an embodiment of the present invention. In FIG. 1, 10 is a simulation unit, 20 is an interface unit, and 30 is an ICE. The simulation unit 10 has an input data unit 11 including a design data file 11a and a test pattern file 11b, and further includes a simulation result file 12 for storing the result. The data of the input data section 11 and the simulation result file 12 are temporarily stored in the memory 13. The control regarding the memory 13 is performed by the control unit 14 including the simulation core 14a and the ICE driver 14b. In addition, the control unit 14
Has a function of accepting condition setting from the keyboard 15 and controlling output to the display 16.

【0008】インタフェース部20は、シミュレーショ
ン部10からのデータを格納するメモリ21aと、IC
E30からのデータを格納するメモリ21bとからなる
速度変換部21を備えている。また、ICE30とのデ
ータの受け渡しは、バッファ22を介して行なう。これ
ら速度変換部21およびバッファ22に対する制御は、
タイミング・アドレス制御部23によって行なわれる。
The interface section 20 has a memory 21a for storing data from the simulation section 10 and an IC.
A speed conversion unit 21 including a memory 21b for storing data from E30 is provided. The data is transferred to and from the ICE 30 via the buffer 22. The control for the speed conversion unit 21 and the buffer 22 is as follows.
This is performed by the timing / address control unit 23.

【0009】ICE30は、エミュレーションCPU3
1およびエミュレーションメモリ32を有し、エミュレ
ーションCPU31の動作モード設定およびエミュレー
ションメモリ32へのプログラム転送等の制御は、モニ
タ部33が行なう。
The ICE 30 is an emulation CPU 3
1 and the emulation memory 32, the monitor unit 33 controls the operation mode setting of the emulation CPU 31 and program transfer to the emulation memory 32.

【0010】次に、本実施例における各部の動作につい
て説明する。シミュレーションコア14aは、キーボー
ド15からシミュレーション実行の指示を受けると、設
計データファイル11aに含まれるシミュレーション対
象回路のデータ(使用されている素子およびその接続情
報)と、テストパターンファイル11bに含まれるシミ
ュレーション対象回路へ入力すべきデータおよび出力デ
ータ(期待値)とをメモリ13へ格納する。次に、シミ
ュレーション対象回路の各素子について、メモリ13に
格納された上記情報をもとに、シミュレーションの最小
単位時間毎にシミュレーションを実行する。通常の素子
(NANDゲート等)であればシミュレーションコア1
4aのみで、またはCPUであればシミュレーションコ
ア14aがICEドライバ14bおよびインタフェース
部20を介して、ICE30においてシミュレーション
を実行し、その結果を再びメモリ13に格納する。同一
時間におけるすべての素子のシミュレーションが完了す
ると、メモリ13に格納されている結果をシミュレーシ
ョン結果ファイル12に格納するとともに、やはりメモ
リ13に格納されている出力データ(期待値)と比較
し、その結果をシミュレーション結果ファイル12に格
納する。この工程が終了すると、シミュレーションの時
間を最小単位時間進め、メモリ13に格納されているシ
ミュレーション結果を基に、次の時間でのシミュレーシ
ョンを行なう。このようにしてシミュレーションを繰り
返し、テストパターンファイル11bに示された、また
はキーボード15から指示された終了時間に達すると、
シミュレーションコア14aはシミュレーションを終了
し、キーボード15から指示された形式(例えば波形
等)で、シミュレーション結果をシミュレーション結果
ファイル12からメモリ13を介してディスプレイ16
へ表示する。
Next, the operation of each part in this embodiment will be described. When the simulation core 14a receives a simulation execution instruction from the keyboard 15, the simulation core 14a includes data of a simulation target circuit included in the design data file 11a (used elements and connection information thereof) and a simulation target included in the test pattern file 11b. Data to be input to the circuit and output data (expected value) are stored in the memory 13. Next, for each element of the circuit to be simulated, the simulation is executed for each minimum unit time of the simulation based on the above information stored in the memory 13. If it is an ordinary element (NAND gate, etc.), the simulation core 1
4a only, or if it is a CPU, the simulation core 14a executes the simulation in the ICE 30 via the ICE driver 14b and the interface unit 20, and stores the result in the memory 13 again. When the simulation of all the elements at the same time is completed, the result stored in the memory 13 is stored in the simulation result file 12 and is compared with the output data (expected value) also stored in the memory 13, and the result is compared. Are stored in the simulation result file 12. When this step is completed, the simulation time is advanced by the minimum unit time, and the simulation at the next time is performed based on the simulation result stored in the memory 13. The simulation is repeated in this way, and when the end time indicated in the test pattern file 11b or designated by the keyboard 15 is reached,
The simulation core 14a finishes the simulation and displays the simulation result from the simulation result file 12 via the memory 13 in the format (for example, waveform) instructed by the keyboard 15.
Display to.

【0011】次に、シミュレーションコア14aがIC
E30においてCPUのシミュレーションを実行する際
の動作について説明する。シミュレーションコア14a
は、メモリ13からCPUへ入力するデータを得ると、
その処理をICEドライバ14bへ引き渡す。ICEド
ライバ14bでは、インタフェース部20を通してIC
E30とデータを送受信するための制御信号を生成す
る。具体的にはメモリ13のデータを格納するメモリ2
1aへのライト信号およびライトアドレス、ICE30
からのデータを格納しているメモリ21bへのリード信
号およびリードアドレス、そしてそれら速度変換部21
を制御するタイミング・アドレス制御部23へのタイミ
ング信号である。これらの制御信号により、ICEドラ
イバ14bは、メモリ13からCPUへ入力するデータ
をメモリ21aへ格納する。ICEドライバ14bは、
メモリ21aにICE30でシミュレーション可能な最
小限のデータを格納すると、タイミング・アドレス制御
部23へタイミング信号を出力する。インタフェース部
20では、上記タイミング信号をもとに、タイミング・
アドレス制御部23がバッファ22を介してICE30
へクロックを与えるとともに、メモリ21aからデータ
を読み出し、バッファ22を介してデータをICE30
へ出力する。ICE30では、エミュレーションメモリ
32に格納されているプログラムに従い、エミュレーシ
ョンCPU31が上記データに対してシミュレーション
を実行する。このシミュレーション結果は、インタフェ
ース部20がメモリ21aからデータを読み出すのと同
じ速度で、バッファ22を介してメモリ21bに格納さ
れる。ICEドライバ14bでは、シミュレーションコ
ア14aから処理を引き渡されたシミュレーション時間
に対応した、ICE30でのシミュレーション結果をメ
モリ21bから読み出し、そのデータをメモリ13に格
納し、処理をシミュレーションコア14aへ返す。
Next, the simulation core 14a is an IC
The operation when executing the CPU simulation at E30 will be described. Simulation core 14a
Obtains the data to be input to the CPU from the memory 13,
The processing is handed over to the ICE driver 14b. In the ICE driver 14b, the IC is passed through the interface unit 20.
A control signal for transmitting and receiving data to and from E30 is generated. Specifically, the memory 2 that stores the data in the memory 13
1a write signal and write address, ICE30
Signal and read address to the memory 21b that stores the data from the
Is a timing signal to the timing / address control unit 23 for controlling. With these control signals, the ICE driver 14b stores the data input from the memory 13 to the CPU in the memory 21a. The ICE driver 14b is
When the minimum data that can be simulated by the ICE 30 is stored in the memory 21a, a timing signal is output to the timing / address control unit 23. In the interface unit 20, based on the timing signal,
The address control unit 23 transmits the ICE 30 via the buffer 22.
The clock is given to the memory 21a, the data is read from the memory 21a, and the data is transferred to the ICE 30 via the buffer 22.
Output to. In the ICE 30, the emulation CPU 31 executes a simulation on the above data according to a program stored in the emulation memory 32. The simulation result is stored in the memory 21b via the buffer 22 at the same speed as the interface unit 20 reads data from the memory 21a. In the ICE driver 14b, the simulation result in the ICE 30 corresponding to the simulation time when the processing is handed over from the simulation core 14a is read from the memory 21b, the data is stored in the memory 13, and the processing is returned to the simulation core 14a.

【0012】上記のようにして、シミュレーションコア
14aは、CPUのシミュレーションをICEドライバ
14bに処理を引き渡し、その結果を得ることによって
シミュレーションを実現する。
As described above, the simulation core 14a realizes the simulation by handing over the CPU simulation to the ICE driver 14b and obtaining the result.

【0013】ここで、インタフェース部20は、ICE
30でシミュレーションが行なわれていないときはIC
E30へブレーク信号を出力する、またはクロック信号
を停止するなどの手段により、ICE30内部の状態を
維持する。これは、通常ICE30でのシミュレーショ
ンの方が論理シミュレーション装置10よりも速く行な
われるためである。
Here, the interface unit 20 uses the ICE
If no simulation is performed on 30, the IC
The state inside ICE 30 is maintained by means such as outputting a break signal to E30 or stopping the clock signal. This is because the simulation in the ICE 30 is usually performed faster than in the logic simulation apparatus 10.

【0014】このようにして、本実施例によれば、シミ
ュレーション部10は、インタフェース部20を介して
接続されたICE30を活用し、従来の論理回路だけで
なく、CPUとそのプログラムを含めたシミュレーショ
ンを、従来の評価用ボードを用いることなく実現でき
る。また、評価用ボードの代わりにシミュレーション部
10を備えていることにより、シミュレーション結果フ
ァイル12に格納されている各素子の、シミュレーショ
ン最小単位時間毎の状態を容易に検証することができ
る。
As described above, according to the present embodiment, the simulation unit 10 utilizes the ICE 30 connected via the interface unit 20 to simulate not only the conventional logic circuit but also the CPU and its program. Can be realized without using a conventional evaluation board. Further, by providing the simulation unit 10 instead of the evaluation board, it is possible to easily verify the state of each element stored in the simulation result file 12 for each minimum simulation unit time.

【0015】[0015]

【発明の効果】本発明は、上記実施例から明らかなよう
に、シミュレーション部にICE制御機能およびデータ
の送受信機能を設け、インタフェース部を介してICE
と接続することにより、シミュレーション部は、従来の
論理回路だけでなく、CPUとそのプログラムを含めた
シミュレーションが可能になり、評価用ボードを作成す
ることなくシステムの検証が可能となる。したがって、
多くの工数を費やす評価用ボードの作成・修正時間を省
くことができ、また評価用ボードの代わりにシミュレー
ション部を接続することにより、ハードウェアの解析を
効率的に行なうことが可能となり、効率的な設計開発が
できる。
As is apparent from the above embodiment, the present invention provides the simulation unit with the ICE control function and the data transmission / reception function, and the ICE via the interface unit.
By connecting with, the simulation unit can perform simulation including not only the conventional logic circuit but also the CPU and its program, and the system can be verified without creating an evaluation board. Therefore,
Efficient hardware analysis can be performed by saving the time for creating and modifying the evaluation board, which requires a lot of man-hours, and by connecting the simulation unit instead of the evaluation board. You can do various design development.

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

【図1】本発明の一実施例におけるICEを接続する論
理回路シミュレーション装置のブロック図
FIG. 1 is a block diagram of a logic circuit simulation device for connecting ICEs in an embodiment of the present invention.

【図2】従来の論理回路とCPUとそのプログラムを含
むシステムの検証を行なうための装置のブロック図
FIG. 2 is a block diagram of a device for verifying a system including a conventional logic circuit, a CPU and its program.

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

10 シミュレーション部 11 入力データ部 11a 設計データファイル 11b テストパターンファイル 12 シミュレーション結果ファイル 13 メモリ 14 制御部 14a シミュレーションコア 14b ICEドライバ 15 キーボード 16 ディスプレイ 20 インタフェース部 21 速度変換部 21a、21b メモリ 22 バッファ 23 タイミング・アドレス制御部 30 ICE 31 エミュレーションCPU 32 エミュレーションメモリ 33 モニタ部 10 simulation part 11 input data part 11a design data file 11b test pattern file 12 simulation result file 13 memory 14 control part 14a simulation core 14b ICE driver 15 keyboard 16 display 20 interface part 21 speed converter 21a, 21b memory 22 buffer 23 timing 23 Address control unit 30 ICE 31 Emulation CPU 32 Emulation memory 33 Monitor unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPUおよびそのプログラムの動作をエ
ミュレーションするICEと、前記ICEの制御および
データの送受信機能を有するシミュレーション部と、前
記ICEと前記シミュレーション部との間に接続されて
内部に一定量のデータ格納できる速度変換部およびその
制御部を有するインタフェース部とを備えた論理回路シ
ミュレーション装置。
1. An ICE that emulates an operation of a CPU and its program, a simulation unit having a control function of the ICE and a data transmission / reception function, and a fixed amount of internal connection connected between the ICE and the simulation unit. A logic circuit simulation device comprising a speed conversion unit capable of storing data and an interface unit having a control unit thereof.
【請求項2】 シミュレーション部が、設計データファ
イルおよびテストパターンファイルを有する入力データ
部と、シミュレーション結果を格納するシミュレーショ
ン結果ファイルと、前記入力データ部およびシミュレー
ション結果ファイルのデータを一時的に格納するメモリ
と、シミュレーションコアおよびICEドライバを有し
て前記メモリを制御する制御部と、前記制御部の条件設
定を行なうキーボードと、シミュレーション結果を表示
するディスプレイとを備えた請求項1記載の論理回路シ
ミュレーション装置。
2. A simulation section, an input data section having a design data file and a test pattern file, a simulation result file for storing a simulation result, and a memory for temporarily storing data of the input data section and the simulation result file. 2. The logic circuit simulation apparatus according to claim 1, further comprising: a control unit having a simulation core and an ICE driver to control the memory, a keyboard for setting conditions of the control unit, and a display for displaying a simulation result. .
JP6135287A 1994-06-17 1994-06-17 Logic circuit simulation device Pending JPH086810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6135287A JPH086810A (en) 1994-06-17 1994-06-17 Logic circuit simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6135287A JPH086810A (en) 1994-06-17 1994-06-17 Logic circuit simulation device

Publications (1)

Publication Number Publication Date
JPH086810A true JPH086810A (en) 1996-01-12

Family

ID=15148178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6135287A Pending JPH086810A (en) 1994-06-17 1994-06-17 Logic circuit simulation device

Country Status (1)

Country Link
JP (1) JPH086810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761822B2 (en) 2007-03-19 2010-07-20 Fujitsu Limited File information generating method, file information generating apparatus, and storage medium storing file information generation program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761822B2 (en) 2007-03-19 2010-07-20 Fujitsu Limited File information generating method, file information generating apparatus, and storage medium storing file information generation program

Similar Documents

Publication Publication Date Title
US7930162B1 (en) Accelerating hardware co-simulation using dynamic replay on first-in-first-out-driven command processor
US6668339B1 (en) Microprocessor having a debug interruption function
JP3684831B2 (en) Microcomputer, electronic equipment and debugging system
US5515530A (en) Method and apparatus for asynchronous, bi-directional communication between first and second logic elements having a fixed priority arbitrator
JPH086810A (en) Logic circuit simulation device
CN115081366A (en) Modeling method for burst access of register
JP2002366384A (en) Matching device for emulator and processor
KR100439073B1 (en) A semiconductor device comprising a function evaluation function
US20010016923A1 (en) Program execution system for semiconductor testing apparatus
JP3214459B2 (en) Simulation method and apparatus
JPH1083318A (en) Electronic circuit analyzing device
JPH0934918A (en) Method and apparatus for simulation of digital circuit
JP2004252824A (en) Circuit verification method, circuit simulator, and circuit verification program
JP2810342B2 (en) IC test equipment
KR100273280B1 (en) Debugging logic control circuit
JPH04369044A (en) Testing device for computer
JP2935710B2 (en) Test equipment for processor integrated circuit devices
JPS6055457A (en) Channel adapter diagnostic system
JPH09114692A (en) Incircuit emulator
JPH09223043A (en) Test method using plural simulations
JPS6091455A (en) Simulation system of logical circuit
JPH10206501A (en) Semiconductor integrated circuit device and testing method
JPS60171546A (en) Debug system of input and output device
JPS61243379A (en) Ic test system
JPH0863368A (en) Emulator and microcomputer