JPH04333171A - Device for simulation - Google Patents
Device for simulationInfo
- Publication number
- JPH04333171A JPH04333171A JP3102586A JP10258691A JPH04333171A JP H04333171 A JPH04333171 A JP H04333171A JP 3102586 A JP3102586 A JP 3102586A JP 10258691 A JP10258691 A JP 10258691A JP H04333171 A JPH04333171 A JP H04333171A
- Authority
- JP
- Japan
- Prior art keywords
- gate array
- simulation
- logic circuit
- circuit
- 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.)
- Pending
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は論理回路のシミュレーシ
ョン装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic circuit simulation apparatus.
【0002】0002
【従来の技術】図4は従来のディジタル論理回路のシミ
ュレーション装置の構成を示すブロック図で、1は計算
機、2は計算機1内に内蔵されているプロセッサ(CP
Uと略記する)であって、シミュレーションはCPU2
によりプログラム制御され、もっぱらソフトウェア的に
実行されている。2. Description of the Related Art FIG. 4 is a block diagram showing the configuration of a conventional digital logic circuit simulation apparatus.
(abbreviated as U), and the simulation is performed on CPU2.
It is program-controlled and executed entirely in software.
【0003】図5の10はシミュレーションの対象とな
る論理回路の一例、11は対象回路10のソフトウェア
・モデリング・データである。すなわち、対象回路10
の動作はモデリング・データ11によりソフトウェア的
に表すことができる。10 in FIG. 5 is an example of a logic circuit to be simulated, and 11 is software modeling data of the target circuit 10. In FIG. That is, the target circuit 10
The operation can be expressed in software using modeling data 11.
【0004】図7は従来の方法を示すフローチャートで
、71〜77は各ステップを示す。対象回路10につい
て予め作成しておいたモデリング・データを読み込み(
ステップ72)入力信号パターン・データをファイル7
4からCPU2に読み込み、この入力パターン・データ
(図5に示すモデリング・データでは入力1,2,3の
ビットパターン)に対応して図5のモデリング・データ
11に示すシミュレーションをソフトウェアで実行し、
出力1を決定して出力信号結果データとして図7に示す
ファイル75に書き込む。モデリング・データ11と入
力信号パターン・データ74とにより設定すべきプログ
ラムステップが決定されるが、この設定ステップと実行
ステップとの数値が合致したときシミュレーション終了
とし、出力信号結果をディスプレイ上に表示する(ステ
ップ77)。FIG. 7 is a flowchart showing a conventional method, and 71 to 77 indicate each step. Load the modeling data created in advance for the target circuit 10 (
Step 72) Save input signal pattern data to file 7
4 into the CPU 2, and the software executes the simulation shown in the modeling data 11 in FIG.
Output 1 is determined and written to the file 75 shown in FIG. 7 as output signal result data. The program step to be set is determined by the modeling data 11 and the input signal pattern data 74, and when the numerical values of the setting step and the execution step match, the simulation ends and the output signal result is displayed on the display. (Step 77).
【0005】[0005]
【発明が解決しようとする課題】解決しようとする問題
点は、従来のシミュレーション装置は、すべてソフトウ
ェアでシミュレートしているため、処理速度は計算機1
の演算処理能力によって定められ、対象回路10が複雑
になると処理時間が長くなるという点にある。また、こ
のシミュレーションを行うためにCPU2に大きな負荷
が加わり、計算機1をマルチタスクで動作させている場
合は、他のプログラムの処理速度にも影響するという問
題点があった。本発明はかかる課題を解決するためにな
されたもので、CPUの負荷を軽減してシミュレーショ
ン処理を迅速に実行することができるシミュレーション
装置を得ることを目的としている。[Problem to be Solved by the Invention] The problem to be solved is that since all simulations are performed using software in conventional simulation devices, the processing speed is
The problem is that the more complex the target circuit 10 is, the longer the processing time will be. Further, there is a problem in that a large load is applied to the CPU 2 to perform this simulation, and when the computer 1 is operated in multitasking, the processing speed of other programs is also affected. The present invention has been made to solve this problem, and an object of the present invention is to provide a simulation device that can reduce the load on the CPU and quickly execute simulation processing.
【0006】[0006]
【課題を解決するための手段】本発明に係わるシミュレ
ーション装置は、プログラマブルなゲートアレイを用い
て対象回路の全部又は一部を構成することを最も主要な
特徴としている。[Means for Solving the Problems] The most important feature of the simulation apparatus according to the present invention is that all or part of the target circuit is constructed using a programmable gate array.
【0007】[0007]
【作用】本発明においては、プログラマブルなゲートア
レイを用いて対象回路の全部又は一部を構成することに
より、シミュレーションの速度を向上させ、CPUの負
荷の軽減を図ることが可能となる。In the present invention, by configuring all or part of the target circuit using a programmable gate array, it is possible to improve the speed of simulation and reduce the load on the CPU.
【0008】[0008]
【実施例】図1は本発明の一実施例を示すブロック図で
あって、図において、図4と同一符号は同一又は相当部
分を示し、3は外部インタフェース(以下、インタフェ
ースをI/Fと略記する)、4はゲートアレイ・プログ
ラマ、5はゲートアレイである。ゲートアレイ5は論理
素子及び論理素子間の接続を電気的にプログラムし、且
つこれを消去することが可能なEPLD(erasab
le and programmable lo
gic device)により構成される。外部I/
F3、ゲートアレイ・プログラマ4、ゲートアレイ5で
構成される部分を仮にシミュレーション加速装置という
。[Embodiment] FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, the same reference numerals as in FIG. 4 is a gate array programmer, and 5 is a gate array. The gate array 5 is an EPLD (erasab) in which logic elements and connections between logic elements can be electrically programmed and erased.
le and programmable lo
gic device). External I/
The portion consisting of the F3, gate array programmer 4, and gate array 5 is tentatively referred to as a simulation accelerator.
【0009】たとえば、対象回路10が図5に示すもの
である場合、計算機1から外部I/F3を介し、ゲート
アレイ・プログラマ4による制御で、ゲートアレイ5上
の過去の情報を消去した上で、図2に示す論理回路を構
成することができる。このような論理回路を構成してお
けば、ソフトウェアによるシミュレーションを必要とす
ることなく、図2の入力端子に入力信号パターン・デー
タを入力するだけで、その出力端子から直ちに出力を得
ることができる。For example, if the target circuit 10 is as shown in FIG. , the logic circuit shown in FIG. 2 can be constructed. By configuring such a logic circuit, you can immediately obtain an output from the output terminal by simply inputting the input signal pattern data to the input terminal in Figure 2, without the need for software simulation. .
【0010】但し、ゲートアレイ5で構成可能な論理回
路の種類の数は、制限しておく方がゲートアレイ5やゲ
ートアレイ・プログラマ4の構成が容易であるので、対
象回路の全てをゲートアレイ5上に構成できるとは限ら
ない。このような場合は、対象回路の一部はゲートアレ
イ5上の回路でシミュレートし、その他はソフトウェア
でシミュレートすることになる。However, it is easier to configure the gate array 5 and the gate array programmer 4 by limiting the number of types of logic circuits that can be configured in the gate array 5. 5 may not always be possible. In such a case, part of the target circuit will be simulated by the circuit on the gate array 5, and the rest will be simulated by software.
【0011】図6は本発明の動作を示すフローチャート
で、61〜69及び81〜84は各ステップを示す。読
み込んだモデリング・データによって表されるモデルの
内の一部または全部を、ステップ63,64によりゲー
トアレイ5上に構成する。図6に示す実施例では、一部
のモデルがゲートアレイ5に構成される場合を示す。そ
の他のモデルはステップ66によりソフトウェア的に処
理される。ステップ65ではシミュレーション加速装置
が呼び出されて、ステップ81〜83の処理が実行され
る。FIG. 6 is a flowchart showing the operation of the present invention, and 61 to 69 and 81 to 84 indicate each step. Part or all of the model represented by the loaded modeling data is configured on the gate array 5 in steps 63 and 64. The embodiment shown in FIG. 6 shows a case where some models are configured in the gate array 5. Other models are processed in software at step 66. In step 65, the simulation accelerator is called and the processes in steps 81 to 83 are executed.
【0012】入力信号パターン・データはゲートアレイ
5に入力されるべきデータ(仮に第1の種類の入力信号
と言う)と、その他のデータ(仮にそれ以外の入力信号
と言う)に区別され、それぞれステップ81またはステ
ップ66によって処理される。また、ステップ83で処
理されたデータの出力は、中間出力としてステップ66
に送られることがあり、同様にしてステップ66で処理
されたデータの出力が中間出力としてステップ81に送
られることがあるが、図6に示す実施例ではソフトウェ
ア処理の出力がハードウェアに入力されることがない場
合を示している。以上のようにして、ステップ66の出
力とステップ83の出力の一部が出力信号結果データ8
8となる。なお、ステップ68,69は、図7のステッ
プ76,77と同様である。The input signal pattern data is divided into data to be input to the gate array 5 (temporarily referred to as the first type of input signal) and other data (temporarily referred to as other input signals). Processed by step 81 or step 66. Further, the output of the data processed in step 83 is outputted in step 66 as an intermediate output.
Similarly, the output of the data processed in step 66 may be sent to step 81 as an intermediate output, but in the embodiment shown in FIG. 6, the output of software processing is input to the hardware. This shows the case where there is no problem. As described above, part of the output of step 66 and the output of step 83 is converted into output signal result data 8.
It becomes 8. Note that steps 68 and 69 are similar to steps 76 and 77 in FIG.
【0013】図3は本発明の他の実施例を示すブロック
図で、図1と同一符号は同一又は相当部分を示し、31
,32はそれぞれ外部I/F、41,42はそれぞれゲ
ートアレイ・プログラマ、51,52はそれぞれゲート
アレイである。図1に示す装置に比し図3に示す装置で
はシミュレーション加速装置を複数組備えているので、
より複雑なハードウェアモデルを構成し、CPU2の負
荷をさらに軽減することができる。FIG. 3 is a block diagram showing another embodiment of the present invention, in which the same reference numerals as in FIG. 1 indicate the same or corresponding parts, and 31
, 32 are external I/Fs, 41 and 42 are gate array programmers, and 51 and 52 are gate arrays. Compared to the device shown in FIG. 1, the device shown in FIG. 3 is equipped with multiple sets of simulation accelerators, so
It is possible to configure a more complex hardware model and further reduce the load on the CPU 2.
【0014】[0014]
【発明の効果】以上説明したように本発明のシミュレー
ション装置は、論理回路のシミュレーションを迅速に実
行しCPUの負荷を軽減することができるなどの利点が
ある。As described above, the simulation apparatus of the present invention has advantages such as being able to quickly execute logic circuit simulation and reducing the load on the CPU.
【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
【図2】本発明のゲートアレイに構成される論理回路を
示す接続図であるFIG. 2 is a connection diagram showing a logic circuit configured in the gate array of the present invention.
【図3】本発明の他の実施例を示すブロック図である。FIG. 3 is a block diagram showing another embodiment of the present invention.
【図4】従来の装置を示すブロック図である。FIG. 4 is a block diagram showing a conventional device.
【図5】シミュレーションの対象回路とそのモデリング
・データを示す図である。FIG. 5 is a diagram showing a simulation target circuit and its modeling data.
【図6】本発明の一実施例の動作を示すフローチャート
である。FIG. 6 is a flowchart showing the operation of an embodiment of the present invention.
【図7】従来の装置の動作を示すフローチャートである
。FIG. 7 is a flowchart showing the operation of a conventional device.
1 計算機 2 CPU 3 外部I/F 4 ゲートアレイ・プログラマ 5 ゲートアレイ 10 対象回路 11 モデリング・データ 1. Calculator 2 CPU 3 External I/F 4 Gate array programmer 5 Gate array 10 Target circuit 11 Modeling data
Claims (1)
論理素子間の接続を電気的にプログラムし且つ消去する
ことができるゲートアレイ、このゲートアレイのプログ
ラムおよび消去を制御するゲートアレイ・プログラマ、
シミュレーションの対象となる論理回路の全部又は一部
を上記ゲートアレイ・プログラマを介し上記ゲートアレ
イ内に構成する手段、シミュレーションの対象となる論
理回路に入力すべき入力信号のパターンデータを、上記
ゲートアレイ内に構成した論理回路の入力信号となる第
1の種類の入力信号とそれ以外の入力信号とに分離し、
上記第1の種類の入力信号を上記論理回路に入力し、上
記それ以外の入力信号をプログラム制御によりシミュレ
ートする手段、を備えたシミュレーション装置。1. A gate array capable of electrically programming and erasing logic elements and connections between logic elements under external control; a gate array programmer for controlling programming and erasing of the gate array;
Means for configuring all or part of a logic circuit to be simulated in the gate array via the gate array programmer, and means for configuring pattern data of input signals to be input to the logic circuit to be simulated in the gate array. Separating into a first type of input signal and other input signals, which are input signals to a logic circuit configured in the first type,
A simulation device comprising means for inputting the first type of input signal to the logic circuit and simulating the other input signals under program control.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3102586A JPH04333171A (en) | 1991-05-08 | 1991-05-08 | Device for simulation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3102586A JPH04333171A (en) | 1991-05-08 | 1991-05-08 | Device for simulation |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04333171A true JPH04333171A (en) | 1992-11-20 |
Family
ID=14331338
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3102586A Pending JPH04333171A (en) | 1991-05-08 | 1991-05-08 | Device for simulation |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04333171A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008153214A1 (en) * | 2007-06-13 | 2008-12-18 | Toyota Infotechnology Center Co., Ltd. | Processor operation check system and operation check circuit |
-
1991
- 1991-05-08 JP JP3102586A patent/JPH04333171A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008153214A1 (en) * | 2007-06-13 | 2008-12-18 | Toyota Infotechnology Center Co., Ltd. | Processor operation check system and operation check circuit |
| US8060793B2 (en) | 2007-06-13 | 2011-11-15 | Toyota Infotechnology Center Co., Ltd. | Processor operation inspection system and operation inspection circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10929584B1 (en) | Environmental modification testing for design correctness with formal verification | |
| JPH0869447A (en) | Data processing device | |
| US6341367B1 (en) | Hardware realized state machine | |
| JP2861962B2 (en) | Computer program simulation apparatus and method | |
| JPH04333171A (en) | Device for simulation | |
| JPS58178408A (en) | Programmable controller having simulating function | |
| JP2632964B2 (en) | Test processing method of coaching device | |
| JPS6323563B2 (en) | ||
| JPS59117660A (en) | Processing system for restoration of simulation state | |
| JPH0583937B2 (en) | ||
| JPH05233748A (en) | Simulation method | |
| JP3057192B2 (en) | Logic simulation support system | |
| JPH0460719A (en) | Electronic computer | |
| JPS6091455A (en) | Simulation system of logical circuit | |
| JP3110326B2 (en) | Verification test pattern design equipment | |
| JP2757388B2 (en) | Micro program controller | |
| JPS6334644A (en) | Simulator with functional level | |
| JPS5949609A (en) | Programmable controller equipped with simulation performing function | |
| JPH01112429A (en) | Microcomputer | |
| JPS61241843A (en) | Information processor | |
| JPH02284205A (en) | Simulation system for pc | |
| JPH0540661A (en) | Simulator | |
| JPH03245270A (en) | Logical simulation environment setting method | |
| JPH02309428A (en) | Logical simulator | |
| JPH02257339A (en) | Logical verification system |