JPS63206835A - Logic circuit simulating system - Google Patents

Logic circuit simulating system

Info

Publication number
JPS63206835A
JPS63206835A JP62040550A JP4055087A JPS63206835A JP S63206835 A JPS63206835 A JP S63206835A JP 62040550 A JP62040550 A JP 62040550A JP 4055087 A JP4055087 A JP 4055087A JP S63206835 A JPS63206835 A JP S63206835A
Authority
JP
Japan
Prior art keywords
logic
real
software
simulation
real parts
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.)
Granted
Application number
JP62040550A
Other languages
Japanese (ja)
Other versions
JPH0823833B2 (en
Inventor
Osamu Tada
修 多田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4055087A priority Critical patent/JPH0823833B2/en
Publication of JPS63206835A publication Critical patent/JPS63206835A/en
Publication of JPH0823833B2 publication Critical patent/JPH0823833B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a simulating time, by transferring an input signal string required for each real parts, performing a logical operation in each real parts in parallel, and transferring respective computed result to a software simulation comprehensively. CONSTITUTION:Input vectors 108 and 109 for integrated circuits A and B registered on a real parts event table are collected in one packet, and is transferred from a software logical simulator 101 to a real parts logical simulation device 102. The device 102 divides it into input circuits A and B, and drives two real parts 105 in parallel. After the simulation of the real parts being completed, and output vectors of the circuits A and B are collected in one packet consisting of 110 and 111, and it is transferred to the simulator 101. During that time, the simulator 101 waits the transfer of the calculation result from the device 102, and then it is transferred, registers the output vector on the event table. After that, the simulation of a software model is performed. In such a way, it is possible to perform the parallel operation of the real parts to be processed, and to accelerate processing speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理回路シミュレーション方式に係り、特に
マイクロプロセッサ等、内部論理が不明な素子を含む回
路の論理シミュレーション方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic circuit simulation method, and particularly to a logic simulation method for a circuit including an element whose internal logic is unknown, such as a microprocessor.

〔従来の技術〕[Conventional technology]

従来、ディジタル論理回路のシミュレーションは、一般
に汎用目的コンピュータによりソフトウェア的に実現し
ていた1例えば第4図の如く、集積回路を接続して構成
される論理回路の回路シミュレーションを形成する際に
も、集積回路をソフトウェア的にANDゲート、ORゲ
ートなどの基本回路を用いて等値論理回路を構成し、汎
用目的コンピュータプログラムにより、ANDゲート、
ORゲートなどの入力刺激に対する出力を計算すること
で実現していた。しかし、この方法では市販のマイクロ
プロセッサのように集積度が高く、又、その内部論理回
路図が公開されていないような素子の場合、その等価回
路を正確に作成するのは困難である。
Conventionally, simulations of digital logic circuits have generally been realized using software using general-purpose computers. An equivalent logic circuit is configured using basic circuits such as AND gates and OR gates using software in an integrated circuit, and a general-purpose computer program is used to create AND gates,
This was achieved by calculating the output in response to an input stimulus, such as an OR gate. However, with this method, it is difficult to accurately create an equivalent circuit for a highly integrated device such as a commercially available microprocessor whose internal logic circuit diagram is not made public.

これを解決するものとして、ソフトウェアモデルと実部
品の連動シミュレーション方式がある。
As a solution to this problem, there is an interlocking simulation method of software models and real parts.

この方式では、内部論理回路が不明な集積回路について
は実際の部品(実部品)をシミュレーションモデルとし
、その他の論理回路は従来通りソフトウェアモデルを用
いて論理シミュレーションを行い、ソフトウェアモデル
の計算結果を実部品に送り、実部品の出力値をソフトウ
ェアモデルに送り返すことにより、対象とする論理回路
全体のシミュレーションを行う。
In this method, for integrated circuits whose internal logic circuits are unknown, actual components are used as simulation models, and for other logic circuits, logic simulations are performed using software models as before, and the calculation results of the software models are implemented. By sending the output value of the actual component back to the software model, the entire target logic circuit is simulated.

なお、これに関連する公知例としては、例えば持分M6
1−36262号公報を挙げることができる。
In addition, as a publicly known example related to this, for example, equity M6
1-36262 can be mentioned.

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

上記ソフトウェアモデルと実部品の連動シミュレータ1
ン方式によれば、市販のマイクロプロセッサのように集
積度が高く、その内部論理回路図が公開されていないよ
うな素子を含む論理回路のシミュレーションが比較的容
易に実現できる。しかしながら、従来はシミュレーショ
ン対象論理回路内に内部論理が不明な集積回路が複数個
存在する場合の性能改善について、配慮がなされていな
い、このため、内部論理が不明な集積回路が増加するに
つれ、ソフトウェアモデルと実部品との通信回数が増加
し、また、ソフトウェアモデルと実部品との通信はシリ
アルに行われるため、論理シミュレーション対象回路中
の実部品数に比例して論理シミュレーション所要時間が
増大するという問題があった。
Interlocking simulator 1 of the above software model and real parts
According to this method, it is relatively easy to simulate a logic circuit that is highly integrated, such as a commercially available microprocessor, and includes elements whose internal logic circuit diagrams are not made public. However, conventionally, no consideration has been given to improving performance when there are multiple integrated circuits whose internal logic is unknown in the logic circuit to be simulated.As a result, as the number of integrated circuits whose internal logic is unknown increases, software Because the number of communications between the model and real parts increases, and communication between the software model and real parts is done serially, the time required for logic simulation increases in proportion to the number of real parts in the circuit targeted for logic simulation. There was a problem.

本発明の目的は、シミュレーション対象論理回路に市販
マイクロプロセッサの如く、内部論理の不明な素子を実
部品で表現し、他の部分はソフトウェアモデルで表現す
るという論理回路シミュレーション方式において、前記
内部論理の不明な素子を複数個含む論理回路を高速にシ
ミュレートする論理回路シミュレーション方式を提供す
ること1こある。
An object of the present invention is to provide a logic circuit simulation method in which, like a commercially available microprocessor, elements whose internal logic is unknown are represented by real parts in a logic circuit to be simulated, and other parts are represented by software models. One object of the present invention is to provide a logic circuit simulation method for quickly simulating a logic circuit including a plurality of unknown elements.

〔問題点を解決するための手段〕  ゛上記目的は、ソ
フトウェアモデルで実現した論理シミュレータが複数個
の実部品の中から同時に動作させることが可能な複数個
の実部品を選び出し、該各実部品に必要な入力信号列(
入力ベクトル)を同時に転送して、該各実部品で論理演
算を並列に行い、それぞれの論理演算結果を一括してソ
フトウェア論理シミュレータに転送することにより達成
される。
[Means for solving the problem] ゛The above purpose is to select a plurality of real parts that can be operated simultaneously from among a plurality of real parts by a logic simulator realized by a software model, and to The input signal sequence required for (
This is accomplished by simultaneously transferring the input vectors), performing logic operations in parallel on each of the real components, and transferring the results of each logic operation all at once to a software logic simulator.

〔作 用〕[For production]

実部品とソフトウェアモデルを連動させる論理シミュレ
ーション方式では、単位シミュレーション時間当りに要
する処理時間Tはソフトウェアモデルの論理シミュレー
ションに要する時間t、と複数個の実部品(RMl、R
M、、 ・RMn )各々の論理シミュレーションに要
する時間tHL e tll t・・・、t□の和とな
る。即ち、 となる、二Nで、複数個の実部品1例えばRMユ。
In a logical simulation method that links real parts and software models, the processing time T required per unit simulation time is the time t required for logical simulation of the software model, and the processing time t required for the logical simulation of the software model, and the processing time T required for multiple real parts (RMl, R
M,, ・RMn) It is the sum of the time required for each logic simulation tHL e tll t..., t□. That is, 2N, a plurality of real parts 1, for example RM Yu.

RM、が並行して動作する場合、RMLとRM、を論理
シミュレーションするのに要する時間はtllとt□の
うち最も大きな値(例えば七〇i)となり、各々の和(
1N、+1.、)よりは小さくてすむ、よって、この場
合の論理シミュレーションに要する時間T′は となり、論理シミュレーション時間の短縮が達成できる
When RM and RM operate in parallel, the time required for logical simulation of RML and RM is the largest value (for example, 70i) of tll and t□, and the sum of each (
1N, +1. , ).Therefore, the time T' required for logic simulation in this case is T', and the logic simulation time can be shortened.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により詳細に説明
する。なお、本実施例においては、ソフトウェア論理シ
ミュレーション方式として広く用いられているイベント
ドリブン方式を使用した例について説明する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. In this embodiment, an example will be described in which an event-driven method, which is widely used as a software logic simulation method, is used.

イベントドリブン方式は、シミュレーション対象回路中
で信号発生の生じた素子だけを追跡し。
The event-driven method tracks only the elements that generate signals in the circuit being simulated.

シミュレートするものであり、処理時間を短縮する手法
として用いられている。信号変化の要求をイベントと呼
び、イベントを襞録した表をイベン1−表と称する。ま
た、論理シミュレータ内で時刻を管理する手段として、
通常、タイムループ表が用意されている。タイムループ
表は複数のスロットに分割され、各スロットがシミュレ
ータ内の時刻の最小単位を表わす、前記各イベントは、
処理されるべき時刻に相当するタイムループ表のスロッ
トに接続されている。
It is used as a method to reduce processing time. A signal change request is called an event, and a table in which the events are recorded is called an event 1 table. Also, as a means of managing time within the logic simulator,
Usually, a time loop table is provided. The time loop table is divided into a plurality of slots, each slot representing the smallest unit of time in the simulator, and each event is defined as:
Connected to the time loop table slot corresponding to the time to be processed.

第5図(a)は内部論理が不明な集積回路を2個含んだ
論理回路例であり、集積回路Aおよび集積回路Bは実部
品論理シミュレーション装置上に搭載された実部品を用
いてシミュレーションされ、それ以外の回路はソフトウ
ェア論理シミュレータ上でシミュレーションされる0図
中501,502はそれぞれNANDゲートG1の入力
信号綿、出力信号線であり、同図(b)の503,50
4は信号線501,502上の信号波形である。こ\で
、t□+ tzt t3は論理シミュレータ内の時刻で
ある。時刻t工からt3の差はNANDゲートG1のゲ
ート遅延によるものである。
FIG. 5(a) is an example of a logic circuit including two integrated circuits whose internal logic is unknown, and integrated circuit A and integrated circuit B are simulated using real components mounted on a real component logic simulation device. , the other circuits are simulated on a software logic simulator. 501 and 502 in the figure are the input signal line and output signal line of the NAND gate G1, respectively, and 503 and 50 in the same figure (b)
4 is a signal waveform on signal lines 501 and 502. Here, t□+tzt t3 is the time in the logic simulator. The difference from time t to t3 is due to the gate delay of NAND gate G1.

第6図は第5図に示す信号変化が発生した時のソフトウ
ェア論理シミュレータ内でのタイムループ表とイベント
表の関係を示したものである1図中601はタイムルー
プ表であり、二Nに示されたし工t tzt t3は第
5図のtxe tay taに対応する。また、図中6
02は時刻t、に処理すべきイベントであり、二〜で集
積回路A、集積回路BおよびANDゲートG2の出力値
を計算しなければならないことを示している。
Figure 6 shows the relationship between the time loop table and the event table in the software logic simulator when the signal change shown in Figure 5 occurs. The illustrated step t tzt t3 corresponds to txe tay ta in FIG. Also, 6 in the figure
02 is an event to be processed at time t, indicating that the output values of integrated circuit A, integrated circuit B, and AND gate G2 must be calculated from 2 to 2.

第7図は各イベント表の内容を示す0図中701はシミ
ュレートすべき素子が実部品かソフトウェアモデルかの
区分を示す、702は素子の種類であり、実部品論理シ
ミュレーション装置では。
FIG. 7 shows the contents of each event table. In the figure, 701 indicates whether the element to be simulated is a real component or a software model. 702 is the type of element, which is used in a real component logic simulation device.

これにより、どの実部品に入力ベクトルを与え、駆動す
べきかを決定する。703は該当モデルに供給すべき入
力ベクトル、704はモデルの出力計算値を伝えるべき
素子のアドレス、705は同一時刻内で処理すべき他の
イベント表のアドレスを格納している。
This determines which real part should be given the input vector and driven. 703 stores an input vector to be supplied to the corresponding model; 704 stores the address of an element to which the calculated output value of the model is to be transmitted; and 705 stores the address of another event table to be processed within the same time.

第8図(a)は同一時刻に処理すべき実部品に関するイ
ベントのみを格納する実部品イベント表801、同図(
b)はソフトウェアモデル専用のソフトウェアモデルイ
ベント表802を示す、これら2種類の表の各レコード
には、第7図のイベント表の情報のうち、素子識別名7
02〜出刃先ポインタ704の情報が格納される。
FIG. 8(a) shows a real parts event table 801 that stores only events related to real parts to be processed at the same time.
b) shows a software model event table 802 dedicated to software models.Each record in these two types of tables includes element identification name 7 among the information in the event table in FIG.
Information of 02 to cutting edge pointer 704 is stored.

第1図は本発明の一実施例のブロック図であり。FIG. 1 is a block diagram of one embodiment of the present invention.

ソフトウェア論理シミュレータと実部品論理シミュレー
ション装置とを接続したシステム構成を示している。1
01は汎用計算機上に実現したソフトウェア論理シミュ
レータである。第6図乃至第8図で説明したタイムルー
プ表と各イベント表は該ソフトウェア論理シミュレータ
101に用意される。102は実部品論理シミュレーシ
ョン装置であり、シミュレートしたい集積回路自身を搭
載して、それの入力信号列(入力ベクトル)をソフトウ
ェア論理シミュレータ1.01から受は取り。
This shows a system configuration in which a software logic simulator and a real component logic simulation device are connected. 1
01 is a software logic simulator realized on a general-purpose computer. The time loop table and each event table explained in FIGS. 6 to 8 are prepared in the software logic simulator 101. Reference numeral 102 denotes a real component logic simulation device, which is equipped with the integrated circuit itself to be simulated, and receives and receives its input signal sequence (input vector) from the software logic simulator 1.01.

出力信号列(出力ベクトル)をソフトウェア論理シミュ
レータ101に返す0本例では、105の集積回路Aと
集積回路Bという2つの実部品が実部品論理シミュレー
ション装置102に搭載されている。実部品論理シミュ
レーション装置は102コントローラ103、各実部品
105に与える入力ベクトルを格納する入力レジスタ1
04、各実部品105の出力ベクトルを格納する出力レ
ジスタ106および各実チップ105の出力レジスタ1
06からの出力ベクトルを1つのパケットにまとめる出
カバソファ装置107とで構成され、2つ以上の実部品
を同時に動作させる機能を有している。
In this example, two real components, 105 integrated circuits A and B, are mounted on the real component logic simulation device 102. The real component logic simulation device includes 102 controller 103, and an input register 1 that stores input vectors given to each real component 105.
04, output register 106 for storing the output vector of each real component 105 and output register 1 of each real chip 105
06 into one packet, and has the function of operating two or more real parts at the same time.

108.109はソフトウェア論理シミュレータ101
から105の集積回路A、Bに対する入力ベクトルをパ
ケット化したものであり、それぞれの実部品に対するデ
ータの内容は、第2図(a)の如く実部品の種類を示す
素子識別名120と該実部品に対する入力ベクトル12
1から成る。101.111は105の集積回路A、B
の出力ベクトルをパケット化したものであり、それぞれ
の実部品に対するデータの内容は、第2図(b)の如く
素子識別名122と実部品の出力ベクトル123から成
る。
108.109 is software logic simulator 101
The input vectors for the integrated circuits A and B of 105 are packetized, and the data contents for each actual component include an element identification name 120 indicating the type of the actual component and the actual component as shown in FIG. 2(a). Input vector 12 for the part
Consists of 1. 101.111 are 105 integrated circuits A and B
The data contents for each real part consist of an element identification name 122 and an output vector 123 of the real part, as shown in FIG. 2(b).

第3図は本発明による処理フロー例を示したもので、同
一時刻に動作可能な実部品が複数存在する場合、ソフト
ウェア論理シミュレータ101がそれら実部品を検出し
、該複数実部品に対する入力ベクトルを1つのパケット
として実部品論理シミュレーション装置102に転送す
るという方式で論理シミュレーションを進めていく。
FIG. 3 shows an example of the processing flow according to the present invention. When there are multiple real parts that can operate at the same time, the software logic simulator 101 detects these real parts and calculates the input vector for the plural real parts. Logic simulation proceeds by transferring the data as one packet to the real component logic simulation device 102.

まず、処理310でシミュレーション開始時刻を初期設
定し、シミュレーション時刻終了判定処理302にてシ
ミュレーション終了時刻に達していなければシミュレー
ション処理に入る。以下、第5図〜第8図を例に説明す
る。
First, in process 310, the simulation start time is initialized, and in simulation time end determination process 302, if the simulation end time has not been reached, simulation processing begins. Hereinafter, the explanation will be given using FIGS. 5 to 8 as examples.

処理303〜306によりタイマーTが示すタイムルー
プに接続される全てのイベント表について、登録された
素子が実部品かソフトウェアモデルかを判定し、実部品
なら実部品イベント表にソフトウェアモデルならソフト
ウェアモデルイベント表に振り分けながら登録される。
Through processes 303 to 306, for all event tables connected to the time loop indicated by timer T, it is determined whether the registered element is a real component or a software model, and if it is a real component, it is determined whether it is a real component event table or if it is a software model, it is a software model event. They are registered while being sorted into a table.

こぎで、実部品イベント表およびソフトウェアモデルイ
ベント表に登録されたイベントは、同一レミュレーショ
ン時刻内で処理されNばよいものであり、それらイベン
ト間での処理順序が変わってもシミュレーション結果に
与える影響はない、今、タイマーTが第5図(b)の時
刻t、であるとき、処理すべきイベントが3個存在し、
うち2個が実部品を使ってシミュレートされる集積回路
AおよびBであり、1個がソフトウェアモデルであるA
NDゲートG2であるため、処理303〜306により
、実部品イベント表、ソフトウェアモデルイベント表は
第8図(a)及び(b)の如くなる。
In this case, the events registered in the real component event table and the software model event table only need to be processed within the same simulation time, and even if the processing order among these events is changed, there is no effect on the simulation results. No. Now, when timer T is at time t in FIG. 5(b), there are three events to be processed,
Two of them are integrated circuits A and B, which are simulated using real components, and one is a software model, A.
Since it is the ND gate G2, the actual parts event table and software model event table become as shown in FIGS. 8(a) and 8(b) through processes 303 to 306.

処理307では、実部品イベント表801に登録された
集積回路AおよびBに対する入力ベクトルを第1図の1
08,109の如く1つのパケットとしてまとめ(第1
1 (a)は該パケットのフォーマットである)、処理
308にて実部品論理シミュレーション装置102へ転
送する。このパケット化により、ソフトウェア論理シミ
ュレータ101から実部品論理シミュレーション装置1
゜2への入力信号転送回数が減少する(本実施例では1
/2)、通常、このソフトウェア論理シミュレータ10
1と実部品論理シミュレーション装置102との通信に
要する時間は、データ等に依存するデータ転送処理時間
と、通信回数に依存するチャネルの割当て解除等の前処
理、後処理、すなわちパケット単位のオーバヘッド時間
で決定される。このため、データ転送路が同じなら通信
回数が少ない方が処理時間が短くてすみ、本実施例の方
式によりソフトウェア論理シミュレータ101と実部品
論理シミュレーション族[102との通信時間を削減で
きる。
In process 307, the input vectors for integrated circuits A and B registered in the real component event table 801 are converted to 1 in FIG.
08,109 as one packet (first
1 (a) is the format of the packet), and is transferred to the real component logic simulation device 102 in process 308. By this packetization, the software logic simulator 101 is transferred to the real component logic simulation device 1.
The number of input signal transfers to ゜2 is reduced (in this example, 1
/2), usually this software logic simulator 10
The time required for communication between 1 and the real component logic simulation device 102 is the data transfer processing time that depends on the data, etc., and the pre-processing and post-processing such as channel deallocation that depends on the number of communications, that is, the overhead time in packet units. determined by Therefore, if the data transfer path is the same, the processing time will be shorter if the number of communications is smaller, and the method of this embodiment can reduce the communication time between the software logic simulator 101 and the real component logic simulation group [102].

実部品論理シミュレーション装置102では、コントロ
ーラ103により入力パケットを集積回路A、Bに分割
し、入力レジスタ104に格納して、2個の実部品10
5を鍾列して駆動する。この時、所要時間は、105の
集積回路A、Bがそれぞれ動作するのに要する時間のう
ち良い方であり、これら2個の実部品がシリアルに動作
する時間に比べ、明らかに短くなる。実部品のシミュレ
ーションが終了すると、出力ベクトルバッファ装置10
7は集積回路A、Bの出力ベクトルを出力レジスタ10
6を介して受は取り、第1回の110.111のように
1つのパケットにまとめ(第2図(b)は該パケットの
フォーマットである)、ソフトウェア論理シミュレータ
101に転送する。
In the real component logic simulation device 102, the controller 103 divides the input packet into integrated circuits A and B, stores it in the input register 104, and divides the input packet into two real components 10.
5 are lined up and driven. At this time, the required time is the better of the times required for each of the 105 integrated circuits A and B to operate, and is clearly shorter than the time required for these two actual components to operate serially. When the simulation of the actual part is completed, the output vector buffer device 10
7 is an output register 10 for output vectors of integrated circuits A and B.
6, the packets are collected into one packet as in the first packet 110 and 111 (FIG. 2(b) is the format of this packet), and transferred to the software logic simulator 101.

なお、この時もソフトウェア論理シミュレータ101か
ら実部品論理シミュレーション装置102への通信回数
削減と同等の効果がある。
Note that this also has the same effect as reducing the number of communications from the software logic simulator 101 to the real component logic simulation device 102.

この間、ソフトウェア論理シミュレータ101では、処
理309により実部品論理シミュレーション装置102
からの計算結果が転送されるのを待つ、該処理は1通常
、汎用目的計算機システム等で行われる外部記憶装置と
のデータのやり取りと同じ仕掛けで実現できる。計算結
果が転送゛されてくれば、処理310にてその出力ベク
トルを各信号毎に新しくイベント表に登録する。該処理
は、通常ソフトウェア論理シミュレータで行われている
イベント登録処理と全く同様の手順で実現できる。その
後、処理311にてソフトウェアモデルのシミュレーシ
ョンを行う。該処理でも、新しくその出力信号値が変化
した素子については、その出力信号線に接続される素子
を新しくイベント表に登録する。
During this time, in the software logic simulator 101, the real component logic simulation device 102 performs processing 309.
The process of waiting for the calculation results to be transferred can be realized using the same mechanism as the data exchange with an external storage device that is normally performed in a general-purpose computer system or the like. When the calculation results are transferred, the output vectors are newly registered in the event table for each signal in step 310. This process can be realized using exactly the same procedure as the event registration process normally performed in a software logic simulator. Thereafter, in process 311, the software model is simulated. In this process as well, for an element whose output signal value has newly changed, the element connected to that output signal line is newly registered in the event table.

以上で、時刻Tで処理すべきイベントが全てなくなると
、シミュレーション時刻を1ユニットクイム進め、同様
の処理を繰返す。
As described above, when all events to be processed at time T are exhausted, the simulation time is advanced by one unit and the same process is repeated.

以上の処理により、同一時刻で処理すべき実部品を並行
して動作させることができ、シミュレーション処理速度
の向上を実現できる。
Through the above processing, real parts to be processed at the same time can be operated in parallel, and simulation processing speed can be improved.

また、並列に動作させるべき集積回路を本実施例のよう
に2個ではなく3個にする場合も、第1図のコントロー
ラ102を3種の素子まで識別可能とし、各素子に対し
入力信号を与えるタイミング、出力データをラッチする
タイミングを制御する回路を3組持ち、さらに104,
105,106の実部品駆動用の機能を3組具備すると
共に、ソフト・ウェアモデルのシミュレータ101側で
も同時に駆動可能な集積回路のイベントをイベント表か
ら3個まで探索し、1つのパケットとしてまとめ、実部
品論理シミュレーション装置102八転送する機能を具
備することにより実現できる。
Furthermore, even when the number of integrated circuits to be operated in parallel is three instead of two as in this embodiment, the controller 102 in FIG. It has three sets of circuits that control the timing to supply and the timing to latch output data, and further 104,
It is equipped with three sets of functions for driving real components 105 and 106, and searches for up to three integrated circuit events that can be simultaneously driven on the simulator 101 side of the software model from the event table and combines them into one packet. This can be realized by having a function to transfer data to the real component logic simulation device 1028.

同様に4個以上の集積回路を並列動作させることも本実
施例により簡単に推察できる。
Similarly, it can be easily inferred from this embodiment that four or more integrated circuits can be operated in parallel.

このように3個以上の実部品を並列に動作させた場合も
、実部品シミュレーションに要する4間は全ての実部品
について個別に動作するのに要する時間のうち、最長の
時間であり、全実部品がシリアルに動作する時間に比べ
、明らかに短くなる。
Even when three or more real parts are operated in parallel in this way, the 4 hours required for real part simulation is the longest time out of the time required to operate all real parts individually, and This is clearly shorter than the time it takes for parts to operate serially.

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

以上説明したように、本発明によれば、実部品連動論理
シミュレーションの如く、実際の部品とソフトウェアモ
デルが混在した論理シミュレーション方式において、同
一時刻に処理すべき実部品を並行して動作させることが
できるため、シミュレーション処理時間を短縮で−きる
という効果が得られる。
As explained above, according to the present invention, in a logic simulation method in which real parts and software models coexist, such as real parts linked logic simulation, it is possible to operate real parts to be processed at the same time in parallel. Therefore, the effect of shortening the simulation processing time can be obtained.

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

第1図は本発明の一実施例のブロック図、第2図は入力
パケット、出力パケットの内容を示す図、第3図は第1
図による論理シミュレーションの処理フローチャート、
第4図は集積回路を含む論理回路を説明する図、第5図
は本発明の論理シミュレーションの対象となる回路構成
の一例を示す図、第6図はタイムループ表とイベント表
の関係を示す図、第7図はイベント表の内容を示す図、
第8図は実部品とソフトウェアモデルイベントを分離す
るテーブルの概略図である。 101・・・ソフトウェア論理シミュレータ、102・
・・実部品論理シミュレーション装置。 103・・・コントローラ、  104・・・入力レジ
スタ、105・・・実部品、 106・・・出力レジス
タ。 107・・・出力ベクトルパソファ装置。 第1因 第4図 第5図
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a diagram showing the contents of input packets and output packets, and Fig. 3 is a block diagram of an embodiment of the present invention.
Logic simulation processing flowchart with diagrams,
FIG. 4 is a diagram explaining a logic circuit including an integrated circuit, FIG. 5 is a diagram showing an example of a circuit configuration targeted for logic simulation of the present invention, and FIG. 6 is a diagram showing the relationship between a time loop table and an event table. Figure 7 is a diagram showing the contents of the event table,
FIG. 8 is a schematic diagram of a table that separates real parts and software model events. 101... Software logic simulator, 102.
・Real component logic simulation device. 103...Controller, 104...Input register, 105...Actual part, 106...Output register. 107...Output vector patho device. First cause Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] (1)ソフトウェア論理シミュレータと実部品との連動
により論理回路をシミュレーションする方式において、 ソフトウェア論理シミュレータは、実部品に論理演算信
号を供給する際、同時に動作可能な複数個の実部品を選
択し、該複数個の実部品に対して必要な論理演算信号を
与え、 実部品側では、前記論理演算信号の与えられた複数個の
実部品が論理演算を並列に行い、該複数個の実部品での
論理演算結果を一括してソフトウェア論理シミュレータ
に送る、 ことを特徴とする論理回路シミュレーション方式。
(1) In a method of simulating logic circuits by linking a software logic simulator and real components, the software logic simulator selects multiple real components that can operate simultaneously when supplying logic operation signals to the real components, A necessary logical operation signal is given to the plurality of real parts, and on the real part side, the plurality of real parts to which the said logic operation signal is given perform the logical operation in parallel, and the plurality of real parts A logic circuit simulation method characterized by sending the results of logic operations in bulk to a software logic simulator.
JP4055087A 1987-02-24 1987-02-24 Logic circuit simulation method Expired - Lifetime JPH0823833B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4055087A JPH0823833B2 (en) 1987-02-24 1987-02-24 Logic circuit simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4055087A JPH0823833B2 (en) 1987-02-24 1987-02-24 Logic circuit simulation method

Publications (2)

Publication Number Publication Date
JPS63206835A true JPS63206835A (en) 1988-08-26
JPH0823833B2 JPH0823833B2 (en) 1996-03-06

Family

ID=12583561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4055087A Expired - Lifetime JPH0823833B2 (en) 1987-02-24 1987-02-24 Logic circuit simulation method

Country Status (1)

Country Link
JP (1) JPH0823833B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60173483A (en) * 1984-02-20 1985-09-06 Hitachi Ltd Logical circuit simulation system
JPS61273641A (en) * 1985-05-30 1986-12-03 Nec Corp Logical simulator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60173483A (en) * 1984-02-20 1985-09-06 Hitachi Ltd Logical circuit simulation system
JPS61273641A (en) * 1985-05-30 1986-12-03 Nec Corp Logical simulator

Also Published As

Publication number Publication date
JPH0823833B2 (en) 1996-03-06

Similar Documents

Publication Publication Date Title
US5881267A (en) Virtual bus for distributed hardware simulation
JPS5948424B2 (en) parallel computing system
WO1985002033A1 (en) Digital system simulation method and apparatus
JP2002183234A (en) Joint simulation method for digital circuit
US4821173A (en) Wired "OR" bus evaluator for logic simulation
JP2004519041A (en) Hardware-aided design verification system using integrated packet-based protocol logic for efficient data loading and unloading
JPS62251843A (en) Logical simulation method and its apparatus
JPS63206835A (en) Logic circuit simulating system
JP2778547B2 (en) Digital signal processing circuit simulation device
JP2003330992A (en) Model simulation
JP2508620B2 (en) Logic circuit simulation device
JP3212709B2 (en) Logic simulation device
JP2001256048A (en) Simulation of data processor
JP2845032B2 (en) Logic simulation equipment
JPH03269674A (en) Logic simulation device
SU1405051A1 (en) Device for converting coordinates
JPH0290267A (en) Input/output delay processing system for simulation device
SU1483460A1 (en) Petri graph simulator
JP2921087B2 (en) Real Chip Simulation Method for Hardware Accelerator
JPH03250225A (en) Logical simulation environment setting system
JPS6037063A (en) Logical simulator
JPH05266124A (en) Method for preparing circuit element library for logic circuit simulation
JPH05282395A (en) Bidirectional pin input/output switching method for hardware simulator
JPH0410068A (en) Simulation engine
JP2004070559A (en) Simulation device and simulation method