JPS6091455A - Simulation system of logical circuit - Google Patents

Simulation system of logical circuit

Info

Publication number
JPS6091455A
JPS6091455A JP58198623A JP19862383A JPS6091455A JP S6091455 A JPS6091455 A JP S6091455A JP 58198623 A JP58198623 A JP 58198623A JP 19862383 A JP19862383 A JP 19862383A JP S6091455 A JPS6091455 A JP S6091455A
Authority
JP
Japan
Prior art keywords
simulator
lsi
input
simulation
computer
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
JP58198623A
Other languages
Japanese (ja)
Inventor
Yasuo Sekine
康雄 関根
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58198623A priority Critical patent/JPS6091455A/en
Publication of JPS6091455A publication Critical patent/JPS6091455A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation

Abstract

PURPOSE:To simplify the operation of a simulation system without increasing the load on a simulator by using an exclusive device which actuates individually and continuously various types of LSIs by an indication given from the simulator. CONSTITUTION:A simulator set on a host computer 1 receives the input data from outside for a logical circuit which performs simulation. Then the simulator extracts an element having varied input in response to the received input data and outputs both the identification code and the input pattern of the corresponding element to an exclusive device 3. This device 3 receives the data from a computer 1 through a drive control part 31 to select the element corresponding to the received identification code. At the same time, the device 3 feeds the received data pattern to a drive part 32, and sends the output data fed from the corresponding element back to the simulation on the computer 1.

Description

【発明の詳細な説明】 (al 発明の技術分野 本発明は大規模集積回路(以下LSIと称する)を含む
ディジタル論理回路のシミュレーション方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a simulation method for digital logic circuits including large-scale integrated circuits (hereinafter referred to as LSIs).

(bl 従来技術と問題点 従来の論理シミュレーション方式として、例えば以下の
2通りの方法がある。その1つは機能前述方式と称され
るもので、各論理素子(特にL SI)の機能を特殊の
記号(言語)を用いて前述し、それをシミュレータに解
釈実行させるものである。
(bl) Prior Art and Problems As a conventional logic simulation method, there are, for example, the following two methods. One of them is called the function-above method, in which the function of each logic element (especially LSI) is This is described above using symbols (language), and the simulator interprets and executes them.

また他の方法としては、各論理素子をゲートレベルの等
価回路に展開してシミュレーションするゲートレベル展
開方式がある。
Another method is a gate level expansion method in which each logic element is expanded into a gate level equivalent circuit and simulated.

しかしながら前者の方法では、機能記述を行う為にかな
りの熟練を要し、機能記述の為の工数も大きくなる欠点
がある。更にシミュレータの規模が増大する懸念もある
。一方後者の方法においては、ゲートレベルに展開する
工数、シミュレータの規模を考えると前者より有利であ
る。しかしながらシミュレーションを行う論理回路内に
は市販のLSIが搭載される場合が多い。この種のLS
lについてはゲートレベルの等価回路は公表されていな
いのが一般的である。
However, the former method requires considerable skill to perform the functional description, and has the drawback that the number of man-hours required for the functional description is also large. Furthermore, there is also a concern that the scale of the simulator will increase. On the other hand, the latter method is more advantageous than the former in terms of the number of man-hours required for development at the gate level and the scale of the simulator. However, commercially available LSIs are often installed in logic circuits that perform simulations. This kind of LS
Generally, the gate-level equivalent circuit for 1 has not been published.

従って、この種のLSIをゲートレベルに展開するには
、そのLSIの動作機能を基に新たに論理設計を行わな
ければならず、かえって多大の工数が必要となる欠点が
ある。
Therefore, in order to expand this type of LSI to the gate level, a new logic design must be performed based on the operational functions of the LSI, which has the drawback of requiring a large number of man-hours.

Tel 発明の目的 本発明の目的は上述した従来の欠点を取除くべく、ゲー
トレベルの展開が容易でないLSIを含む論理回路であ
っても、シミュレータへの負担を増すことなく、またそ
の運用も簡易化できる論理回路のシミュレーション方式
を提供するにある。
Tel Object of the Invention The object of the present invention is to eliminate the above-mentioned drawbacks of the conventional technology, and to provide a simulator that can be easily operated without increasing the load on the simulator, even for logic circuits including LSIs that are not easy to develop at the gate level. The purpose of this invention is to provide a simulation method for logic circuits that can be simulated.

ld) 発明の構成 上記目的を達成するため、本発明においては、シミュレ
ーションにおいて市販LSIをソフト的に処理する方法
はいずれもシミュレータおよび運用のための負担が大き
く簡単でないためこれをハード的に処理することとし、
シミュレータのホストコンピュータの内部回路または入
出力装置として、シミュレータからの指示により各種L
SIをそれぞれ単独かつ連続的に動作させることができ
る専用装置を設け、そのコントロールとLSI部以外の
ソフト的処理を有機的に組合せて、LSIを含む回路全
体のシミュレーションを可能とするものである。以下実
施例を用いて本発明を詳述する。
ld) Structure of the Invention In order to achieve the above object, in the present invention, any method of processing a commercially available LSI using software in a simulation places a large burden on the simulator and operation and is not easy, so this method is processed using hardware. This year,
As an internal circuit or input/output device of the simulator's host computer, various L
A dedicated device that can operate each SI individually and continuously is provided, and by organically combining its control with software processing other than the LSI section, it is possible to simulate the entire circuit including the LSI. The present invention will be explained in detail below using Examples.

(el 発明の実施例 第1図は本発明の論理シミュレーションの原理を示す説
明図、第2図は本発明の一実施例を示す図、第3図は第
2図に示した専用装置3の詳細構成を示す図である。
(el Embodiment of the Invention FIG. 1 is an explanatory diagram showing the principle of logic simulation of the invention, FIG. 2 is a diagram showing an embodiment of the invention, and FIG. 3 is an illustration of the dedicated device 3 shown in FIG. 2. FIG. 3 is a diagram showing a detailed configuration.

第1図に示すように本発明においては、シミュレーショ
ンを行う論理回路20における各論理素子LC1,Lc
:lL、・・・ をゲートレベルの等価回路でソフト的
にモデル化する。但し、前述した如くゲートレベル展開
の難しい集積回路LSIについては、該当するLSIを
実際に動作させる。
As shown in FIG. 1, in the present invention, each logic element LC1, Lc in a logic circuit 20 for which simulation
:lL, . . . are modeled in software using a gate-level equivalent circuit. However, as mentioned above, for integrated circuit LSIs for which gate level development is difficult, the corresponding LSI is actually operated.

第2図において、1はホストコンピュータであり、上述
したソフトシュミレーションを実行するもの、2は信号
線、3は専用装置であり、上述したLSIを実際に動作
させる駆動部32及び駆動制御部31を備える。即ち本
実施例では、専用装置3をホストコンピュータ1の外部
装置(入出力装置)として実現する例を示す。またホス
トコンピュータ1上のソフトシュミレータのシミューシ
ョン方式は、イベント法を用いるものとする。
In FIG. 2, 1 is a host computer that executes the above-mentioned software simulation, 2 is a signal line, and 3 is a dedicated device, which controls the drive section 32 and drive control section 31 that actually operate the above-mentioned LSI. Be prepared. That is, this embodiment shows an example in which the dedicated device 3 is implemented as an external device (input/output device) of the host computer 1. It is also assumed that the simulation method of the software simulator on the host computer 1 uses an event method.

また専用装置3において駆動させるLSIは被シミユレ
ーシヨン回路20上に含まれるLSIと対応がとられて
いる。以下実施例装置動作を説明する。
Further, the LSI driven in the dedicated device 3 corresponds to the LSI included in the circuit to be simulated 20. The operation of the embodiment apparatus will be explained below.

、まずホストコンピュータ1」二のシミュレータは、シ
ミュレーションを行うべき論理回路20に対する入力デ
ータを外部より受取る。
First, the simulator of the host computer 1'' receives input data for the logic circuit 20 to be simulated from the outside.

シミュレータは受取った入力データINに応じて、入力
が変化した素子を取出す。例えば、入力)直1alが変
化したとする。するとシミュレータは素子Aを取出し、
素子AがLSIかそうでないかを判定する。この場合素
子AはLSIでないので、素子Aの機能に応じた演算を
ソフト的に行い、その出力値Oaをめる。しかる後、こ
の出力値Oaが変化したか否かを判別する。判別の結果
、変化があった場合は、即ち素子Cの入力値1cが変化
したことになるので、シミュレータは次に素子Cを取出
す。ここで素子CはLSIであるので、シミュレータは
そのLSIの識別コードと入カバターンIcを専用装置
3に出力する。専用装置3は、コンピュータ1からの出
力データを駆動制御部31にて受信する。そして、受信
した識別コードに応じたLSIを選択するとともに、支
えられたデータパターンIcを駆動部32に与え、該当
するLSIからの出力データOcを得る。得られた出力
データOcは、信号線2を介してホストコンピュータ1
上のシミュレータに返送されることになる。これを受け
てシミュレータは、LSI以外のゲートレベル展開され
た各素子と同様にイベント発生処理を行うことになる。
The simulator takes out the element whose input has changed according to the received input data IN. For example, assume that the input (input) 1al changes. Then the simulator takes out element A and
It is determined whether element A is an LSI or not. In this case, since element A is not an LSI, calculations corresponding to the function of element A are performed using software, and the output value Oa is calculated. After that, it is determined whether or not this output value Oa has changed. If there is a change as a result of the determination, that is, the input value 1c of element C has changed, so the simulator takes out element C next. Here, since the element C is an LSI, the simulator outputs the identification code and input cover pattern Ic of the LSI to the dedicated device 3. The dedicated device 3 receives output data from the computer 1 at the drive control section 31 . Then, an LSI corresponding to the received identification code is selected, and the supported data pattern Ic is given to the driving section 32 to obtain output data Oc from the corresponding LSI. The obtained output data Oc is sent to the host computer 1 via the signal line 2.
It will be sent back to the simulator above. In response to this, the simulator performs event generation processing in the same way as each element developed at the gate level other than LSI.

専用装置3は、第3図に示す如く、シミュレーションを
行うLS I 16. これらLS116に対応して設
けられる入力レジスタ15.入カバソファゲート14.
出カバソファゲート17.及びデコーダを備えたLSI
駆動部32と駆動制御部31から成る。上述の如く、信
号線2を介してホストコンピュータ1上のシミュレータ
から送出される識別コード及び入力データを駆動制御部
31で受信する。駆動制御部31は、受信した識別コー
ドを信号1118を介してデコーダ13に供給する。
As shown in FIG. 3, the dedicated device 3 includes an LSI 16. Input registers 15 provided corresponding to these LS116. Entering hippo sofa gate 14.
Decover Sofa Gate 17. and LSI equipped with a decoder
It consists of a drive section 32 and a drive control section 31. As described above, the drive control unit 31 receives the identification code and input data sent from the simulator on the host computer 1 via the signal line 2. Drive control section 31 supplies the received identification code to decoder 13 via signal 1118.

次いで制御部31は、受信した入力データをバス11上
に送出するとともに、入力レジスタ15を動作させるた
めのクロック信号、及び入出カバンファゲート14.1
7をコントロールする入出力コントロール信号をそれぞ
れ信号線19.10上に供給する。
Next, the control unit 31 sends the received input data onto the bus 11, and also sends a clock signal for operating the input register 15 and an input/output buffer gate 14.1.
Input and output control signals for controlling 7 are supplied on signal lines 19 and 10, respectively.

駆動部32において、デコーダ31は与えられた識別コ
ードによって指定されるLSIを選択する。この選択は
、指定されたLSIに対応するレジスタ15.バッファ
ゲート14.17を選択駆動することにより行われる。
In the driving section 32, the decoder 31 selects the LSI specified by the given identification code. This selection is performed in register 15. corresponding to the designated LSI. This is done by selectively driving the buffer gates 14 and 17.

これにより、バス11上に送出された入力データは、各
信号線10゜19により作られるタイミングでデコーダ
13によって選択されたLSIに入力される。またこの
入力データに対応するLSIの出力データは、バス11
を介して駆動制御部31により読取られる。
As a result, the input data sent onto the bus 11 is input to the LSI selected by the decoder 13 at the timing created by each signal line 10.about.19. Furthermore, the output data of the LSI corresponding to this input data is the bus 11.
is read by the drive control section 31 via.

しかして、駆動制御部31にて読取られたデータは、信
号線2を介してホストコンピュータ1に送信される。ホ
ストコンビエータは、この受信データによって以後のシ
ミュレーションを実行することは既に述べた通りである
The data read by the drive control section 31 is then transmitted to the host computer 1 via the signal line 2. As already mentioned, the host combinator executes subsequent simulations using this received data.

以上の通り本実施例によれは、ゲートレベル展開が雛し
いLSIを含む論理回路においても、きわめて簡単かつ
正確なシミュレーションが可能となる。
As described above, according to this embodiment, extremely simple and accurate simulation is possible even for a logic circuit including an LSI with a delicate gate level expansion.

向上記実施例では、LSI駆動のための専用装置をホス
トコンピュータの外部装置として実現したが、コンピュ
ータの内部演算回として組込むこともできる。
In the embodiment described above, the dedicated device for driving the LSI is realized as an external device of the host computer, but it can also be incorporated as an internal calculation circuit of the computer.

この場合、この内部演算回路を動作させる専用命令を設
定することによって実現できる。即ちソフトシミュレー
タは、イベントがLSIに達すると上記命令を実行させ
、演算レジスタ等にセットされた結果を読取ることによ
りイベント発生処理を行うことができる。このような構
成により、シミュレーションが更に高速化され、また組
込み回路の構成次第では、LSIにおける詳細な動作タ
イミングをも考慮に入れたシミュレーションが可能とな
る。
In this case, this can be achieved by setting a dedicated instruction for operating this internal arithmetic circuit. That is, the software simulator can perform event generation processing by executing the above instruction when an event reaches the LSI and reading the result set in an arithmetic register or the like. With such a configuration, the simulation speed can be further increased, and depending on the configuration of the embedded circuit, it is possible to perform a simulation that also takes into account the detailed operation timing of the LSI.

(fl 発明の効果 本発明によれば、市販汎用LSI搭載回路のシミュレー
ションにおいて、LSIの機能定義あるいはゲートレベ
ル等価回路の作成が不要となり、シミュレーション運用
工数が大巾に削減される。
(fl) Effects of the Invention According to the present invention, in the simulation of a commercially available general-purpose LSI-equipped circuit, there is no need to define the functions of the LSI or create a gate-level equivalent circuit, and the number of man-hours required for simulation operation is greatly reduced.

またシミュレータ自体も簡単化されるため開発が容呂に
なる。
Also, the simulator itself is simplified, making development easier.

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

第1図は本発明のシミュレーション方式の原理を示す説
明図、第2図は本発明の一実施例を示す図、第3図は第
2図に示す専用装置3の詳細構成を示す図である。1は
ホストコンピュータ、2は信号線、3は専用装置、31
は駆動制御部、32はLSI駆動部をそれぞれ示す。
FIG. 1 is an explanatory diagram showing the principle of the simulation method of the present invention, FIG. 2 is a diagram showing an embodiment of the present invention, and FIG. 3 is a diagram showing the detailed configuration of the dedicated device 3 shown in FIG. 2. . 1 is a host computer, 2 is a signal line, 3 is a dedicated device, 31
3 represents a drive control section, and 32 represents an LSI drive section.

Claims (1)

【特許請求の範囲】[Claims] 大規模集積回路と、論理素子とを備えた論理回路のシミ
ュレーションを行う装置において、前記論理素子の動作
を模擬するコンピュータと、該コンピュータにより与え
られる情報に基づいて前記大規模集積回路を動作せしめ
る動作手段とを備え、コンピュータによる論理素子の模
擬動作によって大規模集積回路への入力データが変化し
た場合、該入力データを前記動作手段に与えるとともに
、該入力データに応じた動作手段による大規模集積回路
の動作結果を咳大規模集積回路における模擬動作結果と
することを特徴とする論理回路のシミュレーション方式
A device for simulating a logic circuit including a large-scale integrated circuit and a logic element, including a computer that simulates the operation of the logic element, and an operation that causes the large-scale integrated circuit to operate based on information provided by the computer. means, when the input data to the large-scale integrated circuit changes due to the simulated operation of the logic element by the computer, the input data is given to the operating means, and the large-scale integrated circuit is operated by the operating means according to the input data. A logic circuit simulation method characterized in that the operation results of are used as simulated operation results in a large-scale integrated circuit.
JP58198623A 1983-10-24 1983-10-24 Simulation system of logical circuit Pending JPS6091455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58198623A JPS6091455A (en) 1983-10-24 1983-10-24 Simulation system of logical circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58198623A JPS6091455A (en) 1983-10-24 1983-10-24 Simulation system of logical circuit

Publications (1)

Publication Number Publication Date
JPS6091455A true JPS6091455A (en) 1985-05-22

Family

ID=16394272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58198623A Pending JPS6091455A (en) 1983-10-24 1983-10-24 Simulation system of logical circuit

Country Status (1)

Country Link
JP (1) JPS6091455A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4918594A (en) * 1986-02-07 1990-04-17 Hitachi, Ltd. Method and system for logical simulation of information processing system including logic circuit model and logic function model
US5062067A (en) * 1989-03-15 1991-10-29 Vlsi Technology, Inc. Levelized logic simulator with fenced evaluation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5185344A (en) * 1975-01-17 1976-07-26 Hitachi Ltd
JPS55153054A (en) * 1979-05-15 1980-11-28 Hitachi Ltd Logic circuit simulation system
JPS5814257A (en) * 1981-07-17 1983-01-27 Fujitsu Ltd Data processor for logical simulation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5185344A (en) * 1975-01-17 1976-07-26 Hitachi Ltd
JPS55153054A (en) * 1979-05-15 1980-11-28 Hitachi Ltd Logic circuit simulation system
JPS5814257A (en) * 1981-07-17 1983-01-27 Fujitsu Ltd Data processor for logical simulation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4918594A (en) * 1986-02-07 1990-04-17 Hitachi, Ltd. Method and system for logical simulation of information processing system including logic circuit model and logic function model
US5062067A (en) * 1989-03-15 1991-10-29 Vlsi Technology, Inc. Levelized logic simulator with fenced evaluation

Similar Documents

Publication Publication Date Title
US5594741A (en) Method for control of random test vector generation
US6425116B1 (en) Automated design of digital signal processing integrated circuit
JP2003173270A (en) Software debugging device
US7228513B2 (en) Circuit operation verification device and method
JPS6091455A (en) Simulation system of logical circuit
JPH0157824B2 (en)
JP3189793B2 (en) System simulator and system simulation method
JPH07253909A (en) Microprogram verifying method
JPH1185832A (en) Circuit conversion method, circuit design supporting device and record medium
JP2563399B2 (en) Logical simulation method
JPH0561934A (en) Logical simulation system
JP2000242684A (en) Function synthesis method, function synthesis device and recording medium therefor
JP2729122B2 (en) Information processing device
JP2921087B2 (en) Real Chip Simulation Method for Hardware Accelerator
JPH03245270A (en) Setting system for logic simulation environment
JPH05290119A (en) Function and logic simulator
JP2788763B2 (en) Semiconductor design apparatus and method
JPH04333171A (en) Device for simulation
JPH08180080A (en) Logic simulator
JPH0589195A (en) Lsi design system
JPS61239345A (en) I/o simulator
JPH05266124A (en) Method for preparing circuit element library for logic circuit simulation
JPH0576660B2 (en)
JPS60142423A (en) Forming method of conditional code
JPH10260865A (en) Simulation system