JPH0535909B2 - - Google Patents

Info

Publication number
JPH0535909B2
JPH0535909B2 JP62197659A JP19765987A JPH0535909B2 JP H0535909 B2 JPH0535909 B2 JP H0535909B2 JP 62197659 A JP62197659 A JP 62197659A JP 19765987 A JP19765987 A JP 19765987A JP H0535909 B2 JPH0535909 B2 JP H0535909B2
Authority
JP
Japan
Prior art keywords
simulation
clock
event
integrated circuit
semiconductor integrated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62197659A
Other languages
Japanese (ja)
Other versions
JPS6441975A (en
Inventor
Masahiko Koike
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62197659A priority Critical patent/JPS6441975A/en
Publication of JPS6441975A publication Critical patent/JPS6441975A/en
Publication of JPH0535909B2 publication Critical patent/JPH0535909B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、シミユレータに関し、特にLSI等の
実際にシステムに使われる半導体集積回路(以
下、ICと称する)をシミユレーシヨンモデルに
用いたシミユレータに関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a simulator, and particularly to a simulator that uses a semiconductor integrated circuit (hereinafter referred to as an IC) that is actually used in a system such as an LSI as a simulation model. Regarding the simulator.

〔従来の技術〕[Conventional technology]

理論回路の開発に於て、設計・製造上の誤りを
発見するために実際の装置を作動させて検査する
のに先だつて論理シミユレーシヨンを行つて論理
の検査を行うことが一般的となつている。しかし
装置の規模が大きくなり多くのLSIを含んだシス
テムのシミユレーシヨンを行うと時間が掛かりす
ぎる事、及び使用されるLSIのシミユレーシヨン
モデルを作成することが困難となつてきている事
が問題である。そこで近年実際のLSIをそのまま
シミユレーシヨンのモデルとして使用するいわゆ
る“ハードウエア・モデルリング”と呼ばれる手
法が取られるようになつている。この様にすれば
LSI内部の論理モデル作成は不用となり、しかも
シミユレーシヨン評価も実時間に近い速度で行え
るので高速化が可能となる。ところが一般的に
LSIはダイナミツク型の論理回路が用いられ、ま
た、内部に複雑な状態を持つているのでシミユレ
ーシヨン本体と同期しながらLSIをステツプ実行
することが出来ない。そのためベクトルメモリを
設けシミユレーシヨン開始から現在までの全ての
入力信号の履歴を記憶しておき、入力変化のイベ
ントが来る度にこのベクトルメモリを毎回最初か
ら読みだしLSIに入力系列を初めから与え状態を
復元することが行われている。
In the development of theoretical circuits, it has become common practice to perform logic simulations and test the logic before operating and testing the actual device in order to discover design and manufacturing errors. . However, as the scale of equipment increases, the problem is that it takes too much time to simulate a system that includes many LSIs, and it is becoming difficult to create a simulation model of the LSIs that will be used. It is. Therefore, in recent years, a method called "hardware modeling" has been adopted, in which the actual LSI is used as a simulation model. If you do it like this
There is no need to create a logic model inside the LSI, and simulation evaluation can be performed at a speed close to real time, making it possible to speed up the process. However, generally
Since LSI uses a dynamic logic circuit and has a complex internal state, it is not possible to step-execute the LSI in synchronization with the simulation itself. Therefore, a vector memory is provided to store the history of all input signals from the start of the simulation to the present, and each time an input change event occurs, this vector memory is read from the beginning and the input sequence is given to the LSI from the beginning and the state is Restoration is being done.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のシミユレータは、ハードウエ
ア・モデリングの手法を用いて各入力イベントが
来る度に毎回初めから全履歴をICに供給してい
たのでシミユレーシヨンすべきクロツク数が増え
るとその評価に時間がかかりすぎて、全体の性能
を悪化させるという欠点がある。
The conventional simulators mentioned above use hardware modeling techniques to supply the entire history to the IC from the beginning each time each input event arrives, so as the number of clocks to be simulated increases, it takes time to evaluate them. This has the disadvantage of deteriorating the overall performance.

本発明の目的は、この様な従来の欠点を除去
し、高速な処理を行うシミユレータを提供するこ
とにある。
An object of the present invention is to provide a simulator that eliminates such conventional drawbacks and performs high-speed processing.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のシミユレータは、ICをシミユレーシ
ヨンモデルに使う論理シミユレータにおいて、
ICの入力信号の全履歴をシミユレーシヨン開始
から1つ前のシミユレーシヨン対象のクロツクま
でを記憶し掃き出しクロツクによつて記憶されて
いた全履歴を掃き出しICに供給しICのそれまで
の状態を再現するためのベクトルメモリと、IC
に対する入力信号の変化イベントが論理シミユレ
ータの本体部から来るとベクトルメモルにイベン
トを追加する状態セツト部と、シミユレーシヨン
本体からの次のシミユレーシヨン対象のクロツク
のシミユレーシヨンを開始する信号を入力すると
ベクトルメモリに掃き出しクロツクの供給を開始
し1つ前までのシミユレーシヨン対象のクロツク
までの再現する処理をシミユレーシヨン本体がシ
ミユレーシヨン対象のクロツクのシミユレーシヨ
ンを行うのと平行して行い続いてシミユレーシヨ
ン本体から来るICに対する入力信号の変化イベ
ントを状態セツトが追加した入力信号変化をIC
に供給すると制御部と、ICの入力信号変化に対
応した出力変化を検出しシミユレータ本体にイベ
ントとして返すイベント出力部とを有している。
The simulator of the present invention is a logic simulator that uses an IC as a simulation model.
To store the entire history of input signals of the IC from the start of simulation to the clock of the previous simulation target, and use the sweep clock to sweep out the entire history stored in the memory and supply it to the IC to reproduce the state of the IC up to that point. vector memory and IC
When an input signal change event comes from the main body of the logic simulator, the state set part adds the event to the vector memory, and when a signal from the simulation main body that starts simulation of the next clock to be simulated is input, it is swept to the vector memory. The process of starting the clock supply and reproducing up to the previous simulation target clock is performed in parallel with the simulation unit simulating the simulation target clock, and then changes the input signal to the IC coming from the simulation unit. The input signal change with the event state set added to the IC
It has a control section and an event output section that detects output changes corresponding to changes in the input signal of the IC and returns them as events to the simulator main body.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照しな
がら説明する。第1図は本発明の一実施例の構成
を示す。第1図において、本発明の一実施例は
IC1と、ベクトルメモリ2と、制御部3と、セ
ツト部4と、イベント出力部5と、シミユレーシ
ヨン本体10とを含む。ベクトルメモリ2は掃き
出しクロツク103を受けるとメモリの初めから
順番に供給イベント104を出し、記憶されてい
る最後のイベントの掃き出しを終えると終了10
7を出す。また、ベクトルメモリ2はセツト部4
からセツトイベント102を入力するとメモリの
最後尾にイベントを登録する。セツト部4はシミ
ユレーシヨン本体10よりイベント100を入力
するとセツトイベント102を出す。IC1は供
給イベント104を入力し所定の動作を行い出力
105を出す。制御回路3はシミユレーシヨン本
体10よりシミユレーシヨンするクロツクの開始
信号101を入力すると直ちに掃き出しクロツク
103の供給を開始する。ベクトルメモリ2より
一つ前までのクロツクの掃き出しを終了し、終了
107が返されると制御回路3は掃き出しクロツ
ク103の供給を中止し、セツト部4がセツトイ
ベント102を出し当該のシミユレーシヨンのク
ツクに於けるイベントを入力すると掃き出しクロ
ツク103を1つ発生し供給イベント104がベ
クトルメモリ2より出され、IC1に内部の処理
を行わせる。IC1が所定の内部処理を行つた結
果出力105を出すとイベント出力部5が出力1
05を感知しシミユレータ本体106に応答イベ
ント106として返す。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of an embodiment of the present invention. In FIG. 1, one embodiment of the present invention is
It includes an IC 1, a vector memory 2, a control section 3, a setting section 4, an event output section 5, and a simulation main body 10. When the vector memory 2 receives the sweep clock 103, it outputs supply events 104 in order from the beginning of the memory, and when it finishes sweeping the last stored event, it ends 10.
Roll a 7. Further, the vector memory 2 is connected to the set section 4.
When a set event 102 is input from , the event is registered at the end of the memory. When the set section 4 receives an event 100 from the simulation main body 10, it outputs a set event 102. IC1 receives a supply event 104, performs a predetermined operation, and outputs an output 105. When the control circuit 3 receives a simulation clock start signal 101 from the simulation main body 10, it immediately starts supplying the sweep clock 103. When the sweep of the previous clock from the vector memory 2 is completed and the end 107 is returned, the control circuit 3 stops supplying the sweep clock 103, and the set section 4 issues a set event 102 to set the clock of the simulation in question. When an event is input, one sweep clock 103 is generated, a supply event 104 is output from the vector memory 2, and the IC 1 is caused to perform internal processing. When IC1 outputs the result output 105 after performing predetermined internal processing, the event output unit 5 outputs 1.
05 is sensed and returned to the simulator body 106 as a response event 106.

第2図は本実施例のベクトルメモリ2の構成例
を示す。第2図において、ベクトルメモリ2はカ
ウンタ20,21と、比較器22と、マルチプレ
クサ23と、メモリ24と、制御回路25,26
とを有している。カウンタ20は今までに記憶さ
れているベクトル数を記憶し、カウンタ21を現
在の掃き出したクロツク数を示す。カウンタ21
はクロツク開始信号101を入力すると初期化さ
れ、掃き出しクロツク103を入力する度にカウ
ントを進める。カウンタ20,21の各々の出力
201と202は比較器22によつて比較され一
置すると終了107を出す。制御回路25はイベ
ント102を入力するとセツト指令203を出
し、マルチプレクサ23に対しアドレス206を
出力201に選択させ、メモリ24に書き込み2
05を行うと共にカウンタ20を1つ進める。制
御回路26は掃き出しクロツク103が来る度に
メモリ24に読み出しアクセス207を行い読み
出しデータとして供給イベント104を出す。
FIG. 2 shows an example of the configuration of the vector memory 2 of this embodiment. In FIG. 2, the vector memory 2 includes counters 20 and 21, a comparator 22, a multiplexer 23, a memory 24, and control circuits 25 and 26.
It has Counter 20 stores the number of vectors stored so far, and counter 21 indicates the current number of clocks that have been swept out. counter 21
is initialized when the clock start signal 101 is input, and advances the count each time the sweep clock 103 is input. The outputs 201 and 202 of each of the counters 20 and 21 are compared by a comparator 22 and outputs a termination signal 107 after one pause. When the control circuit 25 receives the event 102, it issues a set command 203, causes the multiplexer 23 to select the address 206 as the output 201, and writes it to the memory 24.
05 and increments the counter 20 by one. The control circuit 26 performs a read access 207 to the memory 24 every time the sweep clock 103 comes, and issues a supply event 104 as read data.

第3図は本発明のシミユレータと従来のシミユ
レータの結果の違いを示すためのシミユレーシヨ
ン処理のタイムチヤートである。第3図Aが従来
のシミユレータの場合である。30で示す行がシ
ミユレータ本体の処理であり、斜線で示す部分が
実際の処理を行つている部分である。31がIC
に対する処理部分でありシミユレータ本体はIC
の処理を待つて次の処理を行つているので全体の
処理時間がかかる。第3図Bは本発明のシミユレ
ータの場合であり、各々のクロツクの開始と同時
にシミユレータ本体の処理及びICに対する処理
を平行して行うことが出来る。2重斜線で示す部
分が実際に当該のシミユレーシヨンクロツクに於
て本体に評価が必要な部分であり、その以前の現
状復元の処理はシミユレーシヨン本体の処理と独
立に同時に行えるので高速化が実現される。
FIG. 3 is a time chart of simulation processing to show the difference in results between the simulator of the present invention and a conventional simulator. FIG. 3A shows the case of a conventional simulator. The line indicated by 30 is the processing of the simulator main body, and the shaded area is the part where the actual processing is performed. 31 is IC
This is the processing part for the simulator, and the main body of the simulator is the IC
Since the next process is performed after waiting for the previous process, the overall processing time takes longer. FIG. 3B shows the case of the simulator of the present invention, in which processing of the simulator main body and processing of the IC can be performed in parallel at the start of each clock. The double hatched area is the part that actually needs to be evaluated by the main unit in the relevant simulation clock, and the process of restoring the previous state can be performed simultaneously and independently from the processing of the simulation main unit, resulting in faster processing. Realized.

この様に本実施例のシミユレータは、実際の
ICをシミユレーシヨンモデルに使う論理シミユ
レータにおいて、IC1の入力信号の全履歴をシ
ミユレーシヨン開始から1つ前のシミユレーシヨ
ン対象のクロツクまでを記憶し掃き出しクロツク
によつて記憶されていた全履歴を掃き出しIC1
に供給しIC1のそれまでの状態を再現するため
のベクトルメモリ2と、IC1に対する入力信号
の変化イベント100が論理シミユレータの本体
部10から来るとベクトルメモリにイベントを追
加する状態セツト部4と、シミユレーシヨン本体
10から次のシミユレーシヨン対象のクロツクの
シミユレーシヨンを開始する信号101を入力す
るとイベントメモリ2に掃き出しクロツク103
の供給を開始し1つ前までのシミユレーシヨン対
象のクロツクまでの再現する処理をシミユレーシ
ヨン本体10がシミユレーシヨン対象のクロツク
のシミユレーシヨンを行うのと平行して行い続い
てシミユレーシヨン本体10から来るIC1に対
する入力信号の変化イベント100を状態セツト
部4が追加した入力信号変化104をIC1に供
給する制御部3と、IC1の入力信号変化105
に対応した出力変化を検出しシミユレータ本体1
0にイベント106として返すイベント出力部5
とを含み構成される。
In this way, the simulator of this example is similar to the actual
In a logic simulator that uses an IC as a simulation model, the entire history of the input signal of IC1 is stored from the start of simulation to the clock of the previous simulation target, and the entire history stored in IC1 is swept out using the sweep-out clock.
a vector memory 2 for reproducing the previous state of the IC1; a state setting unit 4 for adding an event to the vector memory when a change event 100 of the input signal to the IC1 comes from the main unit 10 of the logic simulator; When a signal 101 to start simulation of the next clock to be simulated is input from the simulation main body 10, the clock 103 is flushed out to the event memory 2.
In parallel with the simulation main unit 10 simulating the clock to be simulated, the process of reproducing up to the previous clock to be simulated is performed. A control unit 3 supplies the input signal change 104 to which the state setting unit 4 added the change event 100 to the IC1, and an input signal change 105 of the IC1.
The simulator body 1 detects the output change corresponding to
Event output unit 5 that returns event 106 to 0
It consists of:

〔発明の効果〕〔Effect of the invention〕

本発明によれば、以上説明したように、実際に
用いられるLSI等のICをシミユレーシヨンモデル
として用い、各々のシミユレーシヨンサイクル毎
に必要なICの状態再現の処理をシミユレータ本
体と平行して同時に行うことが可能となり高速な
シミユレータが構成できる。
According to the present invention, as explained above, an IC such as an LSI that is actually used is used as a simulation model, and the process of reproducing the IC state necessary for each simulation cycle is performed with the simulator itself. It is possible to perform parallel operations simultaneously, and a high-speed simulator can be constructed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すブロツク図、
第2図は本実施例のベクトルメモリ2を示すブロ
ツク図、第3図は本発明のシミユレータと従来の
シミユレータの効果の違いを示すためのシミユレ
ーシヨン処理のタイムチヤートである。 1……半導体集積回路、2……ベクトルメモ
リ、3,25,26……制御回路、4……セツト
部、5……イベント出力部、10……シミユレー
シヨン本体、20,21……カウンタ、22……
比較器、23……マルチプレクサ、24…メモ
リ。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a block diagram showing the vector memory 2 of this embodiment, and FIG. 3 is a time chart of simulation processing to show the difference in effect between the simulator of the present invention and a conventional simulator. DESCRIPTION OF SYMBOLS 1... Semiconductor integrated circuit, 2... Vector memory, 3, 25, 26... Control circuit, 4... Set section, 5... Event output section, 10... Simulation main body, 20, 21... Counter, 22 ……
Comparator, 23...Multiplexer, 24...Memory.

Claims (1)

【特許請求の範囲】[Claims] 1 半導体集積回路をシミユレーシヨンモデルに
使う論理シミユレータにおいて、前記半導体集積
回路の入力信号の全履歴をシミユレーシヨン開始
から1つ前のシミユレーシヨン対象のクロツクま
でを記憶し掃き出しクロツクによつて記憶されて
いた全履歴をはきだし前記半導体集積回路に供給
し前記半導体集積回路のそれまでの状態を再現す
るためのベクトルメモリと、前記半導体集積回路
に対する入力信号の変化イベントが論理シミユレ
ータの本体部から来ると前記ベクトルメモリに前
記イベントを追加する状態セツト部と、前記シミ
ユレーシヨン本体からの次シミユレーシヨン対象
のクロツクのシミユレーシヨンを開始する信号を
入力すると前記ベクトルメモリに掃き出しクロツ
クの供給を開始し前記1つの前までのシミユレー
シヨン対象のクロツクまでの再現する処理を前記
シミユレーシヨン本体が前記シミユレーシヨン対
象のクロツクのシミユレーシヨンを行うのと平行
して行い続いて前記シミユレーシヨン本体から来
る前記半導体集積回路に対する入力信号の前記変
化イベントを前記状態セツト部が追加した入力信
号変化を前記半導体集積回路に供給する制御部
と、前記半導体集積回路の前記入力信号変化に対
応した出力変化を検出し前記シミユレータ本体に
イベントとして返すイベント出力部とを含むこと
を特徴とするシミユレータ。
1. In a logic simulator that uses a semiconductor integrated circuit as a simulation model, the entire history of input signals of the semiconductor integrated circuit is stored from the start of simulation to the clock of the previous simulation target, and is stored by a sweep clock. a vector memory for reproducing the state of the semiconductor integrated circuit up to that point by extracting the entire history of the semiconductor integrated circuit; and a vector memory for reproducing the state of the semiconductor integrated circuit until then; When inputting a state setting unit that adds the event to the vector memory and a signal from the simulation main body to start simulation of the next simulation target clock, it starts supplying the sweep clock to the vector memory and continues the simulation up to the previous one. A process for reproducing up to the target clock is performed in parallel with the simulation of the target clock by the simulation main body, and then the change event of the input signal to the semiconductor integrated circuit coming from the simulation main body is set to the state. a control unit that supplies the input signal change added by the unit to the semiconductor integrated circuit; and an event output unit that detects an output change corresponding to the input signal change of the semiconductor integrated circuit and returns it as an event to the simulator main body. A simulator featuring
JP62197659A 1987-08-07 1987-08-07 Simulator Granted JPS6441975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62197659A JPS6441975A (en) 1987-08-07 1987-08-07 Simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62197659A JPS6441975A (en) 1987-08-07 1987-08-07 Simulator

Publications (2)

Publication Number Publication Date
JPS6441975A JPS6441975A (en) 1989-02-14
JPH0535909B2 true JPH0535909B2 (en) 1993-05-27

Family

ID=16378184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62197659A Granted JPS6441975A (en) 1987-08-07 1987-08-07 Simulator

Country Status (1)

Country Link
JP (1) JPS6441975A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2924968B2 (en) * 1989-07-20 1999-07-26 富士通株式会社 Time interactive simulation device

Also Published As

Publication number Publication date
JPS6441975A (en) 1989-02-14

Similar Documents

Publication Publication Date Title
US5327361A (en) Events trace gatherer for a logic simulation machine
CA1215468A (en) Method and apparatus for modeling of systems of complex circuits
US4635218A (en) Method for simulating system operation of static and dynamic circuit devices
US5781718A (en) Method for generating test pattern sets during a functional simulation and apparatus
EP0472818A2 (en) Built-in self test for integrated circuits
JPS633344B2 (en)
JPS5948424B2 (en) parallel computing system
Jephson et al. A three-value computer design verification system
JPH0511329B2 (en)
US4891773A (en) Logic simulation
US7228513B2 (en) Circuit operation verification device and method
JPH0535909B2 (en)
JPS6141017B2 (en)
US4995037A (en) Adjustment method and apparatus of a computer
US6973422B1 (en) Method and apparatus for modeling and circuits with asynchronous behavior
Bellon et al. Taking into account asynchronous signals in functional test of complex circuits
JPS60163142A (en) Modeling operation of complicated digital device
JPH0391195A (en) Memory circuit
JPH08327703A (en) Memory architecture for automatic testing device using vector module table
JPS60163141A (en) Simulator
JP2824853B2 (en) Pattern data writing method
SU832558A1 (en) Device for simulating digital objects
JP2834020B2 (en) Testability design equipment
SU1543408A1 (en) Device for shaping tests
JP3048969B2 (en) Cycle-based simulator

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees