JPH06282601A - Logical simulator - Google Patents

Logical simulator

Info

Publication number
JPH06282601A
JPH06282601A JP9238493A JP9238493A JPH06282601A JP H06282601 A JPH06282601 A JP H06282601A JP 9238493 A JP9238493 A JP 9238493A JP 9238493 A JP9238493 A JP 9238493A JP H06282601 A JPH06282601 A JP H06282601A
Authority
JP
Japan
Prior art keywords
data
processing
simulation
logic
processor
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
JP9238493A
Other languages
Japanese (ja)
Other versions
JPH081646B2 (en
Inventor
Miyuki Okane
美由紀 大金
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP9238493A priority Critical patent/JPH081646B2/en
Publication of JPH06282601A publication Critical patent/JPH06282601A/en
Publication of JPH081646B2 publication Critical patent/JPH081646B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To quickly execute a processing for setting data at the pertinent position of a basic logical element handled by the respective processors inside a parallel logical simulator based on the data corresponding to logic circuit components prepared in the pre-processing of an instruction level simulator. CONSTITUTION:When the data prepared in the pre-processing of the instruction level simulator 1 are transferred to the parallel logical simulator 2, a data transfer means 31 refers to information in a first storage means 32, divides the data and transfers them to the processors (4-1) to (4-n). The data setting means 42 of the respective processors discriminates which received data are to be set at which position of which basic logical element relating to the execution of simulation by referring to the information of a second storage means 41 for the received data and sets the data at the pertinent position of the pertinent basic logical element in a simulation execution part 43.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は論理シミュレーション装
置に関し、特にシミュレーションの前後処理を行うソフ
トウェアシミュレータである命令レベルシミュレータ
と、シミュレーションの本処理を行う複数の処理プロセ
ッサ及びこれら複数の処理プロセッサの制御と命令レベ
ルシミュレータ間のデータ転送を司る制御プロセッサと
を含むハードウェアシミュレータである並列論理シミュ
レータとで構成された論理シミュレーション装置の改良
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic simulation device, and more particularly to an instruction level simulator which is a software simulator for performing pre-processing and post-processing of simulation, a plurality of processing processors for performing main processing of simulation, and control of these processing processors. The present invention relates to an improvement of a logic simulation device composed of a parallel logic simulator that is a hardware simulator including a control processor that controls data transfer between instruction level simulators.

【0002】[0002]

【従来の技術】一般に論理回路の1つの機能のシミュレ
ーションを行う機械語命令プログラムによる処理は次の
ように分類される。
2. Description of the Related Art Generally, processing by a machine language instruction program for simulating one function of a logic circuit is classified as follows.

【0003】 シミュレーションモデルにテスト実行
の直前の値を設定する機能を動かす命令による処理 テスト実行を行う機能を動かす命令による処理 シミュレーションの結果を判定する機能を動かす命
令による処理
Processing by an instruction that moves a function that sets a value immediately before test execution in a simulation model Processing by an instruction that moves a function that performs test execution Processing by an instruction that moves a function for determining a simulation result

【0004】上記の処理をシミュレーションの前処
理、の処理を本処理、の処理を後処理という。
The above process is called a pre-process for simulation, the process is called a main process, and the process is called a post-process.

【0005】の本処理は、実際の装置を動かす動作を
擬似的に行う為、ゲートレベルでの値の変化が計算され
る必要があるが、,のシミュレーションの前後処理
に関しては機械語命令によって操作可能な論理回路構成
要素のレベルで計算できれば良く、ゲートレベルで計算
すると却って計算量が膨大となる。
In this process of, since the movement of the actual device is simulated, it is necessary to calculate the change in the value at the gate level. However, the pre-processing and post-processing of the simulation are operated by machine language instructions. It suffices to be able to calculate at the level of possible logic circuit constituent elements, and if the calculation is done at the gate level, the amount of calculation becomes enormous.

【0006】そのため、 1)シミュレーション対象の論理回路を構成するレジス
タ,メモリなどの機械語命令で操作可能な論理回路構成
要素を計算単位とする、アセンブラレベルで記述される
ソフトウェアシミュレータ(命令レベルシミュレータ) 2)フリップフロップ,ANDゲート,ORゲートなど
の基本論理素子(この基本論理素子が上記の論理回路構
成要素を構成する素子となる)を計算単位とし、全ての
出力信号値が与えられ、各機械語命令の実行により変化
する値を逐一計算する、装置レベルの論理シミュレーシ
ョンが可能なハードウェアシミュレータ という2種類のシミュレータを用い、,のシミュレ
ーション前後処理に命令レベルシミュレータを用い、
の本処理にハードウェアシミュレータを用いることによ
り、更に、ハードウェアシミュレータを、シミュレーシ
ョンモデル内の同期において動作が互いに独立している
基本論理素子は並行処理できるように、各々別々の基本
論理素子にかかるシミュレーションを実行する複数の処
理プロセッサとこれらを制御する制御プロセッサとで構
成された並列論理シミュレータで実現することにより、
高速なシミュレーションを実現した論理シミュレーショ
ン装置が提案されている。
Therefore, 1) A software simulator (instruction level simulator) described at the assembler level, which has as a calculation unit a logical circuit component operable by a machine language instruction, such as a register or a memory constituting a logic circuit to be simulated. 2) All output signal values are given by using a basic logic element such as a flip-flop, an AND gate, and an OR gate (this basic logic element serves as an element forming the above-mentioned logic circuit constituent element) as a calculation unit, and each machine Using two kinds of simulators, a hardware simulator capable of performing a device-level logic simulation, which calculates a value that changes by the execution of a word instruction,
By using a hardware simulator for this main processing, the hardware simulator is applied to different basic logic elements so that the basic logic elements whose operations are independent of each other in synchronization in the simulation model can be processed in parallel. By implementing with a parallel logic simulator composed of multiple processing processors that execute simulations and control processors that control these,
A logic simulation device that realizes high-speed simulation has been proposed.

【0007】ところで、この種の論理シミュレーション
装置では、の処理の終了時、命令レベルシミュレータ
は機械語命令で処理可能な論理回路構成要素の単位で値
を保持しているのに対し、並列論理シミュレータ中の各
処理プロセッサは、基本論理素子レベルでシミュレーシ
ョンを実行するために基本論理素子レベルでその値を保
持する必要がある。また、各処理プロセッサのシミュレ
ーションで得られるのは基本論理素子レベルでの値であ
るが、命令レベルシミュレータではの処理の開始時点
で論理回路構成要素の単位でシミュレーション結果を保
持する必要がある。
By the way, in the logic simulation apparatus of this type, at the end of the processing of (1), the instruction level simulator holds the value in the unit of the logic circuit component processable by the machine language instruction, whereas the parallel logic simulator. Each processing processor therein needs to hold its value at the basic logic element level in order to perform the simulation at the basic logic element level. Further, although the value obtained at the basic logic element level is obtained by the simulation of each processing processor, it is necessary to hold the simulation result in units of logic circuit components at the start of processing in the instruction level simulator.

【0008】そこで、従来の論理シミュレーション装置
においては、並列論理シミュレータ内の制御プロセッサ
が、命令レベルシミュレータから送られてきた論理回路
構成要素単位のデータを個々の処理プロセッサ対応に分
割すると共に、各分割データが処理プロセッサ上のシミ
ュレーションモデルにおけるどの基本論理素子にセット
されるべきデータであるかを判断し、更に必要に応じて
データの変換(分割)を行った後に、どの基本論理素子
にセットすべきであるかの情報を付加して処理プロセッ
サへ転送している。また、個々の処理プロセッサから送
られてきた基本論理素子対応のデータを命令レベルシミ
ュレータで扱える論理回路構成要素単位のデータの並び
に編集し、且つ、それらを結合して1つの論理回路構成
要素単位のデータを生成して命令レベルシミュレータに
転送するようにしている。
Therefore, in the conventional logic simulation apparatus, the control processor in the parallel logic simulator divides the data in units of logic circuit elements sent from the instruction level simulator into individual processing processors and divides them. Which basic logic element in the simulation model the data should be set to is determined, and after conversion (division) of the data if necessary, which basic logic element should be set Is added to the processing processor. In addition, the data corresponding to the basic logic element sent from each processor is edited and arranged in units of logic circuit components that can be handled by the instruction level simulator, and these are combined to form one logic circuit component unit. Data is generated and transferred to the instruction level simulator.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、このよ
うに、並列論理シミュレータ内の制御プロセッサが、命
令レベルシミュレータから送られてきた論理回路構成要
素単位のデータを個々の処理プロセッサ対応に分割し、
更に各分割データが処理プロセッサ上のシミュレーショ
ンモデルにおけるどの基本論理素子にセットすべきデー
タであるかを判断し、更に必要に応じてデータの変換
(分割)を行った後に、どの基本論理素子にセットすべ
きであるかの情報を付加して処理プロセッサへ転送する
構成では、処理がシーケンシャルに進められるために、
一定時間内に処理できるデータ量が限られてしまい、処
理プロセッサの扱う基本論理素子へのデータ設定が遅
れ、高速なシミュレーションが困難になる。
However, in this way, the control processor in the parallel logic simulator divides the data in units of logic circuit elements sent from the instruction level simulator into individual processors,
Further, it is determined which basic logic element in the simulation model each divided data should be set to, and if necessary, data conversion (division) is performed before setting to which basic logic element. In the configuration in which information on whether or not it should be added is transferred to the processor, since the processing proceeds sequentially,
The amount of data that can be processed within a fixed time is limited, the data setting to the basic logic element handled by the processor is delayed, and high-speed simulation becomes difficult.

【0010】また、制御プロセッサが、個々の処理プロ
セッサから送られてきた基本論理素子対応のデータを命
令レベルシミュレータで扱える論理回路構成要素単位の
データの並びに編集し、且つ、それらを結合して1つの
論理回路構成要素単位のデータを生成して命令レベルシ
ミュレータに転送する構成では、シミュレーション結果
に基づいて論理回路構成要素単位のデータが生成される
までに時間を要し、シミュレーションの後処理を速やか
に開始することができず、全体としてシミュレーション
時間が長くなる。
Further, the control processor edits the data corresponding to the basic logic elements sent from the individual processing processors in the data of the logic circuit component unit which can be handled by the instruction level simulator, and edits them to combine them into one. In the configuration in which data for each logic circuit component unit is generated and transferred to the instruction level simulator, it takes time until the data for each logic circuit component unit is generated based on the simulation result, and the post-processing of the simulation is promptly performed. The simulation time is long as a whole.

【0011】本発明はこのような従来の問題点を解決し
たものであり、その目的は、命令レベルシミュレータの
前処理で論理回路構成要素単位のデータが作成されたと
きに、並列論理シミュレータの各処理プロセッサの扱う
基本論理素子へ該当するデータを速やかに設定し得るよ
うにすることにある。
The present invention solves such a conventional problem, and an object of the present invention is to solve each of the problems of the parallel logic simulator when the data for each logic circuit component is created in the preprocessing of the instruction level simulator. The purpose is to promptly set the corresponding data to the basic logic element handled by the processor.

【0012】また、本発明の別の目的は、個々の処理プ
ロセッサのシミュレーション終了時に、そのシミュレー
ション結果から命令レベルシミュレータで扱う論理回路
構成要素単位のデータを速やかに作成できるようにする
ことにある。
Another object of the present invention is to be able to promptly create data for each logic circuit component handled by the instruction level simulator from the simulation result at the end of the simulation of each processing processor.

【0013】[0013]

【課題を解決するための手段】本発明の論理シミュレー
ション装置は上記の目的を達成するために、シミュレー
ションの前後処理を行う命令レベルシミュレータと、シ
ミュレーションの本処理を行う複数の処理プロセッサお
よび該複数の処理プロセッサの制御と前記命令レベルシ
ミュレータ間のデータ転送を制御する制御プロセッサと
を含む並列論理シミュレータとで構成された論理シミュ
レーション装置において、前記制御プロセッサ内に、前
記命令レベルシミュレータで扱う、機械語命令で処理可
能な論理回路構成要素対応のデータのどの範囲がどの処
理プロセッサに対応するかを示す対応情報を記憶する第
1の記憶手段と、該第1の記憶手段に記憶された対応情
報に基づき、前記命令レベルシミュレータから送られて
きた前記論理回路構成要素対応のデータを分割して前記
処理プロセッサに転送すると共に、前記処理プロセッサ
から送られてきたデータを前記命令レベルシミュレータ
の扱う前記論理回路構成要素対応のデータに編集して前
記命令レベルシミュレータに転送するデータ転送手段と
を備え、前記各々の処理プロセッサに、前記制御プロセ
ッサから送られてくるデータのどのビットがどの基本論
理素子のどの位置にセットされるべきかを示す対応情報
を記憶する第2の記憶手段と、該第2の記憶手段に記憶
された対応情報に基づき、前記制御プロセッサから送ら
れてきたデータを自処理プロセッサで論理シミュレーシ
ョンする際の基本論理素子の該当する位置にセットする
と共に、該セットしたデータに基づいて自処理プロセッ
サでシミュレーション実行して得られた基本論理素子の
データを編集して前記制御プロセッサに送出するデータ
設定手段とを備えている。
In order to achieve the above object, a logic simulation apparatus of the present invention has an instruction level simulator for performing pre-processing and post-processing of simulation, a plurality of processing processors for performing main processing of simulation, and the plurality of processing processors. In a logic simulation device configured with a parallel logic simulator including a control of a processing processor and a control processor for controlling data transfer between the instruction level simulators, a machine language instruction handled by the instruction level simulator in the control processor Based on the correspondence information stored in the first storage means, which stores correspondence information indicating which range of the data corresponding to the logic circuit constituent element that can be processed by , The logic circuit sent from the instruction level simulator The data corresponding to the component is divided and transferred to the processing processor, and the data sent from the processing processor is edited into the data corresponding to the logic circuit component handled by the instruction level simulator, and the data is converted to the instruction level simulator. Data transfer means for transferring, and storing in each of the processing processors corresponding information indicating which bit of the data sent from the control processor should be set in which position of which basic logic element. Based on the second storage means and the correspondence information stored in the second storage means, the data sent from the control processor is set to the corresponding position of the basic logic element when the self-processing processor performs the logic simulation. Along with the obtained data, a simulation is executed by a self-processor to obtain the data. It was by editing the data of the basic logic elements and a data setting means for sending to the control processor.

【0014】[0014]

【作用】本発明の論理シミュレーション装置において
は、シミュレーションモデルの或る1つの機能に対する
シミュレーションを行う場合、先ず命令レベルシミュレ
ータが前処理を行い、この前処理で作成した、機械語命
令で処理可能な論理回路構成要素単位のデータを並列論
理シミュレータの制御プロセッサに転送し、制御プロセ
ッサ内のデータ転送手段が、第1の記憶手段に記憶され
た、前記命令レベルシミュレータで扱う、機械語命令で
処理可能な論理回路構成要素対応のデータのどの範囲が
どの処理プロセッサに対応するかを示す対応情報に基づ
いてその転送されてきたデータを分割して処理プロセッ
サに転送し、各処理プロセッサ内のデータ設定手段が、
第2の記憶手段に記憶された、制御プロセッサから送ら
れてくるデータのどのビットがどの基本論理素子のどの
位置にセットされるべきかを示す対応情報に基づいてそ
の転送されてきたデータを自処理プロセッサで論理シミ
ュレーションする際の基本論理素子の該当する位置にセ
ットする。
In the logic simulation apparatus of the present invention, when performing simulation for one function of the simulation model, the instruction level simulator first performs preprocessing, and the machine language instruction prepared by this preprocessing can be used for processing. Data in units of logic circuit components can be transferred to the control processor of the parallel logic simulator, and the data transfer means in the control processor can be processed by machine language instructions stored in the first storage means and handled by the instruction level simulator. Based on correspondence information indicating which range of data corresponding to different logic circuit components corresponds to which processing processor, the transferred data is divided and transferred to the processing processors, and data setting means in each processing processor But,
Based on the correspondence information stored in the second storage means, which bit of the data sent from the control processor should be set in which position of which basic logic element, the transferred data is automatically stored. It is set to the corresponding position of the basic logic element in the logic simulation by the processor.

【0015】また、このセットされたデータに基づいて
各処理プロセッサでシミュレーション実行されて得られ
たデータを、各処理プロセッサ内のデータ設定手段が、
第2の記憶手段に記憶された対応情報に基づいて編集し
て制御プロセッサに送出し、制御プロセッサ内のデータ
転送手段が、第1の記憶手段に記憶された対応情報に基
づいて、各処理プロセッサから送られてきたデータを編
集して命令レベルシミュレータに転送し、命令レベルシ
ミュレータがこの転送されてきたデータに基づきシミュ
レーションの後処理を行う。
Further, the data setting means in each processing processor sets the data obtained by performing the simulation in each processing processor based on the set data.
The processor is edited based on the correspondence information stored in the second storage means and sent to the control processor, and the data transfer means in the control processor is based on the correspondence information stored in the first storage means. The data sent from the computer is edited and transferred to the instruction level simulator, and the instruction level simulator performs post-processing of the simulation based on the transferred data.

【0016】[0016]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0017】図1を参照すると、本発明の一実施例の論
理シミュレーション装置は、命令レベルシミュレータ1
と並列論理シミュレータ2とで構成されている。
Referring to FIG. 1, a logic simulation apparatus according to an embodiment of the present invention comprises an instruction level simulator 1
And a parallel logic simulator 2.

【0018】命令レベルシミュレータ1は、シミュレー
ションの前後処理を実行するソフトウェアシミュレータ
であり、シミュレーション対象となる論理回路を構成す
るレジスタ,メモリなどの機械語命令で操作可能な論理
回路構成要素を計算単位としてシミュレーションを行
う。
The instruction level simulator 1 is a software simulator for executing pre-processing and post-processing of a simulation, and a logical circuit component operable by a machine language instruction such as a register and a memory constituting a logical circuit to be simulated is used as a calculation unit. Perform a simulation.

【0019】並列論理シミュレータ2は、シミュレーシ
ョンの本処理を実行するハードウェアシミュレータであ
り、フリップフロップ,ANDゲート,ORゲート,レ
ジスタなどの、上記論理回路構成要素を構成する物理レ
ベルの基本論理素子を計算単位としてシミュレーション
を行う。
The parallel logic simulator 2 is a hardware simulator for executing the main processing of the simulation, and includes physical level basic logic elements such as flip-flops, AND gates, OR gates and registers, which constitute the above-mentioned logic circuit constituent elements. Simulation is performed as a unit of calculation.

【0020】並列論理シミュレータ2は、制御プロセッ
サ3と複数の処理プロセッサ4−1〜4−nとを含み、
プロセッサ間でデータの授受が可能な構成を有してい
る。
The parallel logic simulator 2 includes a control processor 3 and a plurality of processing processors 4-1 to 4-n,
It has a configuration capable of exchanging data between processors.

【0021】制御プロセッサ3は、命令レベルシミュレ
ータ1と並列論理シミュレータ2との間のデータ転送を
司ると共に各処理プロセッサ4−1〜4−nのシミュレ
ーションの開始,終了などの制御を司る。
The control processor 3 controls data transfer between the instruction level simulator 1 and the parallel logic simulator 2 and controls the start and end of simulation of each of the processing processors 4-1 to 4-n.

【0022】この制御プロセッサ3は、命令レベルシミ
ュレータ1で扱うデータと処理プロセッサ4−1〜4−
nで扱うデータの対応情報を記憶する第1の記憶手段3
2と、この第1の記憶手段32に記憶された対応情報に
基づき、命令レベルシミュレータ1から送られてきたデ
ータを分割して各処理プロセッサ4−1〜4−nに転送
し、反対に、各処理プロセッサ4−1〜4−nから送ら
れてきたデータを結合して命令レベルシミュレータ1に
転送するデータ転送手段31とを備えている。
The control processor 3 handles the data handled by the instruction level simulator 1 and the processing processors 4-1 to 4-.
First storage means 3 for storing correspondence information of data handled by n
2 and the correspondence information stored in the first storage means 32, the data sent from the instruction level simulator 1 is divided and transferred to each of the processing processors 4-1 to 4-n, and vice versa. The data transfer means 31 is provided to combine the data sent from the processing processors 4-1 to 4-n and transfer the data to the instruction level simulator 1.

【0023】処理プロセッサ4−1〜4−nは、シミュ
レーションモデル内の同期において動作が互いに独立し
ている部分を並行してシミュレーションするプロセッサ
であり、各々の処理プロセッサ4−1〜4−nは、処理
プロセッサ4−1に例示するように、制御プロセッサ3
から送られてきたデータのどのビットがどの基本論理素
子のどの位置にセットされるべきかを示す対応情報を記
憶する第2の記憶手段41と、この第2の記憶手段41
に記憶された対応情報に基づき、制御プロセッサ3から
送られてきたデータを自処理プロセッサで論理シミュレ
ーションする際の基本論理素子の該当する位置にセット
し、反対に、セット後のデータに基づいて自処理プロセ
ッサでシミュレーションして得られた基本論理素子のデ
ータを編集して制御プロセッサ3に送出するデータ設定
手段42と、データ設定手段42により設定されたデー
タによりシミュレーションを実行するシミュレーション
実行部43とを含んでいる。
The processing processors 4-1 to 4-n are processors for simulating in parallel the portions of the simulation model whose operations are independent of each other in synchronization. Each of the processing processors 4-1 to 4-n is a processor. , The control processor 3 as illustrated in the processor 4-1.
Second storage means 41 for storing correspondence information indicating which bit of the data sent from is set in which position of which basic logic element, and this second storage means 41.
The data sent from the control processor 3 is set to the corresponding position of the basic logic element when the logic simulation is performed by the self-processor based on the correspondence information stored in the. The data setting means 42 for editing the data of the basic logic element obtained by the simulation by the processing processor and sending it to the control processor 3 and the simulation execution part 43 for executing the simulation by the data set by the data setting means 42. Contains.

【0024】以下、このように構成された本実施例の動
作を説明する。
The operation of the present embodiment thus constructed will be described below.

【0025】シミュレーションモデルについて論理シミ
ュレーションを実行する場合、論理回路の検証しようと
する機能毎に、シミュレーションの前処理,シミュレー
ションの本処理,シミュレーションの後処理を行う。シ
ミュレーションの前処理と後処理は命令レベルシミュレ
ータ1が行い、シミュレーションの本処理は並列論理シ
ミュレータ2が行う。
When the logic simulation is performed on the simulation model, the pre-processing of the simulation, the main processing of the simulation, and the post-processing of the simulation are performed for each function to be verified of the logic circuit. The pre-processing and post-processing of the simulation are performed by the instruction level simulator 1, and the main processing of the simulation is performed by the parallel logic simulator 2.

【0026】命令レベルシミュレータ1では、シミュレ
ーションの前処理において、シミュレーションモデルに
テスト実行する直前の値を設定する機能を動かす命令を
実行する。この前処理で作成されるデータは、機械語命
令で処理可能な論理回路構成要素に対応するデータであ
る。今、或る論理回路構成要素の名前をAAAとし、そ
れに関するデータ(例えば1ワード,16ビットの00
11011010010001とする)が前処理で作成
されたとすると、命令レベルシミュレータ1は、例え
ば、 AAA=0011011010010001 という形式でデータの集合を並列論理シミュレータ2に
転送する。
In the instruction level simulator 1, in the pre-processing of the simulation, the instruction level simulator 1 executes the instruction to operate the function of setting the value immediately before the test execution in the simulation model. The data created by this pre-processing is data corresponding to the logic circuit components that can be processed by the machine language instruction. Now, assume that the name of a certain logic circuit component is AAA, and the data related to it (for example, 1 word, 16-bit 00
1101101000001) is created by preprocessing, the instruction level simulator 1 transfers the data set to the parallel logic simulator 2 in the format of AAA = 001101110100001, for example.

【0027】上記転送されたデータは並列論理シミュレ
ータ2の制御プロセッサ3におけるデータ転送手段31
で受信される。データ転送手段31は命令レベルシミュ
レータ1からデータを受信すると、データに付加された
要素名AAAで第1の記憶手段32を検索し、要素名A
AAのデータに関する対応情報を取得する。今、例えば
以下のような対応情報が取得されたとする。
The transferred data is the data transfer means 31 in the control processor 3 of the parallel logic simulator 2.
Will be received at. When the data transfer unit 31 receives the data from the instruction level simulator 1, the data transfer unit 31 searches the first storage unit 32 for the element name AAA added to the data, and the element name A
Corresponding information about AA data is acquired. Now, for example, it is assumed that the following correspondence information is acquired.

【0028】AAA(0:1,0:16)=(REG,
0,0〜3,PROC1) (REG,0,4〜7,PROC2) (REG,0,8〜15,PROC1) この対応情報は、要素名AAAの論理回路構成要素が、
0ワード目から始まる1ワード構成のレジスタに関する
要素であり、1ワードは0ビット目から始まる16ビッ
トで構成されていること、この要素名AAAの論理回路
構成要素の0ワード目の0〜3ビットと8〜15ビット
とがPROC1という名前の処理プロセッサに対応し、
4〜7ビットがPROC2という名前の処理プロセッサ
に対応することを示している。なお、説明の便宜上、処
理プロセッサ4−1の名前がPROC1,処理プロセッ
サ4−2の名前がPROC2であるものとする。
AAA (0: 1, 0:16) = (REG,
0,0-3, PROC1) (REG, 0, 4-7, PROC2) (REG, 0, 8-15, PROC1) This correspondence information is for the logic circuit component of the element name AAA,
It is an element related to a register having a 1-word structure starting from the 0th word, and 1 word is composed of 16 bits starting from the 0th bit. 0th to 3rd bits of the 0th word of the logic circuit constituent element of this element name AAA. And 8 to 15 bits correspond to the processor named PROC1,
It is shown that 4 to 7 bits correspond to a processor named PROC2. For convenience of explanation, it is assumed that the name of the processing processor 4-1 is PROC1 and the name of the processing processor 4-2 is PROC2.

【0029】データ転送手段31は、受信した要素名A
AAのデータに関する対応情報として上記の如き情報を
取得すると、その対応情報に従ってデータを、0011
と0110と10010001とに分割し、1番目と3
番目の分割データを予め決められたフォーマットに従っ
て編集し、例えば、 AAA=001110010001 という形式で処理プロセッサ4−1へ転送し、2番目の
分割データを、例えば、 AAA=0110 という形式で処理プロセッサ4−2へ転送する。
The data transfer means 31 receives the element name A
When the above-mentioned information is acquired as the correspondence information regarding the AA data, the data is 0011 according to the correspondence information.
And 0110 and 10010001, divided into the first and third
The second divided data is edited according to a predetermined format, and is transferred to the processor 4-1 in the format of AAA = 001110010001, and the second divided data is processed in the format of AAA = 0110, for example. Transfer to 2.

【0030】転送された各データは転送先の処理プロセ
ッサ4−1,4−2のデータ設定手段42で受け取られ
る。
The transferred data are received by the data setting means 42 of the processing processors 4-1 and 4-2 at the transfer destination.

【0031】処理プロセッサ4−1におけるデータ設定
手段42は、制御プロセッサ3からデータを受信する
と、データに付加された要素名AAAで第2の記憶手段
41を検索し、要素名AAAのデータに関する対応情報
を取得する。今、例えば以下のような対応情報が取得さ
れたとする。
When the data setting means 42 in the processor 4-1 receives the data from the control processor 3, the data setting means 42 searches the second storage means 41 by the element name AAA added to the data, and makes a correspondence regarding the data of the element name AAA. Get information. Now, for example, it is assumed that the following correspondence information is acquired.

【0032】 AAA(0:3)=(REG1,0:1,0:3) AAA(3:1)=(REG2,0:1,0:1) AAA(4:8)=(REG2,0:1,1:8) この対応情報は、要素名AAAの0ビット目から始まる
3ビットのデータは、0ワード目から始まる1ワード構
成のREG1という名前の基本論理素子の0ビット目か
ら始まる3ビットにセットされること、要素名AAAの
3ビット目から始まる1ビットのデータは、0ワード目
から始まる1ワード構成のREG2という名前の基本論
理素子の0ビット目から始まる1ビットにセットされる
こと、要素名AAAの4ビット目から始まる8ビットの
データは、基本論理素子REG2の1ビット目から始ま
る8ビットにセットされることを示している。
AAA (0: 3) = (REG1,0: 1,0: 3) AAA (3: 1) = (REG2,0: 1,0: 1) AAA (4: 8) = (REG2,0) : 1,1: 8) This correspondence information indicates that 3-bit data starting from the 0th bit of the element name AAA starts from the 0th bit of the basic logic element named REG1 of 1-word configuration starting from the 0th word. Being set to a bit, the 1-bit data starting from the 3rd bit of the element name AAA is set to the 1-bit starting from the 0th bit of the basic logic element named REG2 having the 1-word configuration starting from the 0th word. That is, it is indicated that 8-bit data starting from the 4th bit of the element name AAA is set to 8 bits starting from the 1st bit of the basic logic element REG2.

【0033】データ設定手段42は、受信した要素名A
AAのデータに関する対応情報として上記の如き情報を
取得すると、その情報に従って、受信した要素名AAA
のデータ(001110010001)を001と1と
10010001とに分割し、各分割データをシミュレ
ーション実行部43における該当する基本論理素子RE
G1,REG2の該当する位置へセットする。これによ
りシミュレーション実行部43はシミュレーションが可
能となる。
The data setting means 42 receives the received element name A
When the above information is acquired as the correspondence information regarding the AA data, the element name AAA received according to the information.
Data (001110010001) is divided into 001, 1 and 10010001, and each divided data is divided into corresponding basic logic elements RE in the simulation execution unit 43.
Set it to the corresponding position of G1 and REG2. This allows the simulation executing unit 43 to perform a simulation.

【0034】他方、処理プロセッサ4−2内のデータ設
定手段も処理プロセッサ4−1のデータ設定手段42と
ほぼ同時期に、内部の第2の記憶手段の対応情報を参照
して、受信したデータの各ビットを内部のシミュレーシ
ョン実行部の該当する位置へセットするという処理を行
っている。
On the other hand, the data setting means in the processor 4-2 also receives the received data by referring to the corresponding information in the second storage means at the same time as the data setting means 42 of the processor 4-1. Each bit of is set to the corresponding position of the internal simulation execution unit.

【0035】その後、各処理プロセッサ4−1〜4−n
内のシミュレーション実行部43でシミュレーションが
行われる。
After that, each processor 4-1 to 4-n
The simulation is performed by the simulation execution unit 43 inside.

【0036】今、処理プロセッサ4−1のシミュレーシ
ョン実行部43でシミュレーションが終了したとする
と、データ設定手段42はシミュレーション実行部43
から基本論理素子対応のシミュレーション結果を受け取
り、第2の記憶手段41の対応情報を参照して、基本論
理素子のデータを制御プロセッサ3に送るデータに編集
し、制御プロセッサ3のデータ転送手段31に転送す
る。
Now, assuming that the simulation is completed in the simulation executing section 43 of the processor 4-1 the data setting means 42 is operated in the simulation executing section 43.
From the simulation result corresponding to the basic logic element, the data of the basic logic element is edited into the data to be sent to the control processor 3 by referring to the correspondence information of the second storage means 41, and the data is transferred to the data transfer means 31 of the control processor 3. Forward.

【0037】即ち、要素名AAAのデータ(00111
0010001)の各ビットを前述したように要素名R
EG1,REG2の基本論理素子の該当するビットにセ
ットしてシミュレーション実行部43でシミュレーショ
ンした結果、基本論理素子REG1の値が000に、基
本論理素子REG2の値が011111111にそれぞ
れ変化していたとすると、データ設定手段42は、要素
名AAAに対応する第2の記憶手段41中の対応情報 AAA(0:3)=(REG1,0:1,0:3) AAA(3:1)=(REG2,0:1,0:1) AAA(4:8)=(REG2,0:1,1:8) に基づき、基本論理素子REG1,REG2の各ビット
を制御プロセッサ3から送られてきたときの元の要素名
AAAの形式に編集し、例えば、 AAA=000011111111 という形式でデータ転送手段31へ転送する。
That is, the data of the element name AAA (00111
Each bit of 0001001) is the element name R as described above.
Assuming that the value of the basic logic element REG1 has changed to 000 and the value of the basic logic element REG2 has changed to 011111111 as a result of setting the corresponding bit of the basic logic elements of EG1 and REG2 to the simulation execution section 43, The data setting means 42 uses the correspondence information AAA (0: 3) = (REG1,0: 1,0: 3) AAA (3: 1) = (REG2) in the second storage means 41 corresponding to the element name AAA. 0: 1, 0: 1) Based on AAA (4: 8) = (REG2,0: 1,1: 8), each bit of the basic logic elements REG1 and REG2 is sent from the control processor 3. The element name AAA is edited and transferred to the data transfer means 31 in the format AAA = 000011111111, for example.

【0038】このような処理プロセッサ4−1の動作と
並行して、他の処理プロセッサ4−2〜4−nにおいて
も、シミュレーションの結果得られた基本論理素子対応
のデータを内部のデータ設定手段により編集して制御プ
ロセッサ3に転送する動作が行われる。
In parallel with the operation of the processor 4-1 as described above, also in the other processors 4-2 to 4-n, the data corresponding to the basic logic element obtained as a result of the simulation is set in the internal data setting means. Is edited and transferred to the control processor 3.

【0039】さて、各処理プロセッサ4−1〜4−nに
おけるシミュレーションが終了し、結果のデータが全て
データ転送手段31に転送されると、データ転送手段3
1は、第1の記憶手段32に記憶された対応情報を参照
して、各処理プロセッサ4−1〜4−nから送られてき
たデータを命令レベルシミュレータ1の扱うデータに編
集し、この編集したデータを命令レベルシミュレータ1
に転送する。
Now, when the simulation in each of the processors 4-1 to 4-n is completed and all the resulting data is transferred to the data transfer means 31, the data transfer means 3
The reference numeral 1 refers to the correspondence information stored in the first storage means 32 to edit the data sent from each of the processing processors 4-1 to 4-n into the data handled by the instruction level simulator 1, and this editing Command level simulator 1
Transfer to.

【0040】例えば、前述のように要素名AAAのデー
タ(0011011010010001)を分割して処
理プロセッサ4−1,4−2に転送した各分割データに
基づきシミュレーションが終了し、処理プロセッサ4−
1から、 AAA=000011111111 というデータが転送され、処理プロセッサ4−2から、
例えば、 AAA=1110 というデータが転送されてきた場合、データ転送手段3
1は、要素名AAAに対応する対応情報、 AAA(0:1,0:16)=(REG,0,0〜3,
PROC1) (REG,0,4〜7,PROC2) (REG,0,8〜15,PROC1) に基づき、 AAA=0000111011111111 というデータを編集して命令レベルシミュレータ1へ転
送する。
For example, as described above, the simulation is completed based on the divided data obtained by dividing the data of the element name AAA (0011011101001000) and transferred to the processing processors 4-1 and 4-2.
1, the data AAA = 000011111111 is transferred, and from the processor 4-2,
For example, when the data AAA = 1110 is transferred, the data transfer means 3
1 is correspondence information corresponding to the element name AAA, AAA (0: 1, 0:16) = (REG, 0, 0-3,
PROC1) Based on (REG, 0,4 to 7, PROC2) (REG, 0,8 to 15, PROC1), the data of AAA = 0000111011111111111 is edited and transferred to the instruction level simulator 1.

【0041】命令レベルシミュレータ1では、この転送
されてきたデータを基に、シミュレータの結果を判定す
る機能を動かす命令を実行することにより、シミュレー
ションの後処理を行う。
The instruction level simulator 1 executes post-processing of the simulation by executing an instruction for operating the function of judging the result of the simulator based on the transferred data.

【0042】[0042]

【発明の効果】以上説明したように、本発明の論理シミ
ュレーション装置においては、命令レベルシミュレータ
の前処理で作成された論理回路構成要素単位のデータを
並列論理シミュレータの制御プロセッサに転送すると、
制御プロセッサ内のデータ転送手段が、第1の記憶手段
に記憶された対応情報に基づいてその転送されてきたデ
ータを分割して処理プロセッサに転送し、各処理プロセ
ッサ内のデータ設定手段が、第2の記憶手段に記憶され
た対応情報に基づいてその転送されてきたデータを自処
理プロセッサで論理シミュレーションする際の基本論理
素子の該当する位置にセットするので、前処理において
作成された論理回路構成要素対応のデータに基づく各処
理プロセッサの扱う基本論理素子の該当位置へのデータ
セットを速やかに実行し得るという効果がある。
As described above, in the logic simulation apparatus of the present invention, when the data in the unit of logic circuit created in the preprocessing of the instruction level simulator is transferred to the control processor of the parallel logic simulator,
The data transfer means in the control processor divides the transferred data on the basis of the correspondence information stored in the first storage means and transfers the divided data to the processing processors. Based on the correspondence information stored in the second storage means, the transferred data is set at the corresponding position of the basic logic element in the logic simulation by the self-processing processor, so that the logic circuit configuration created in the pre-processing is set. There is an effect that a data set to a corresponding position of a basic logic element handled by each processor can be promptly executed based on element-corresponding data.

【0043】また、セットされたデータに基づいて各処
理プロセッサでシミュレーション実行されて得られたデ
ータを、各処理プロセッサ内のデータ設定手段が、第2
の記憶手段に記憶された対応情報に基づいて編集して制
御プロセッサに送出し、制御プロセッサ内のデータ転送
手段が、第1の記憶手段に記憶された対応情報に基づい
て、各処理プロセッサから送られてきたデータを編集し
て命令レベルシミュレータに転送するので、個々の処理
プロセッサのシミュレーション終了時に、そのシミュレ
ーション結果から命令レベルシミュレータで扱う論理回
路構成要素単位のデータを速やかに作成できるという効
果がある。
Further, the data setting means in each processor sets the data obtained by performing the simulation in each processor based on the set data by the second data processor.
Edited based on the correspondence information stored in the storage means and sent to the control processor, and the data transfer means in the control processor sends the data from each processing processor based on the correspondence information stored in the first storage means. Since the received data is edited and transferred to the instruction level simulator, there is an effect that at the end of the simulation of each processing processor, the data for each logic circuit component handled by the instruction level simulator can be quickly created from the simulation result. .

【0044】従って、論理検証の効率が向上するという
効果がある。
Therefore, there is an effect that the efficiency of logic verification is improved.

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

【図1】図1は本発明の論理シミュレーション装置の一
実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of a logic simulation apparatus of the present invention.

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

1…命令レベルシミュレータ 2…並列論理シミュレータ 3…制御プロセッサ 31…データ転送手段 32…第1の記憶手段 4−1〜4−n…処理プロセッサ 41…第2の記憶手段 42…データ設定手段 43…シミュレーション実行部 DESCRIPTION OF SYMBOLS 1 ... Instruction level simulator 2 ... Parallel logic simulator 3 ... Control processor 31 ... Data transfer means 32 ... First storage means 4-1 to 4-n ... Processing processor 41 ... Second storage means 42 ... Data setting means 43 ... Simulation execution unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 シミュレーションの前後処理を行う命令
レベルシミュレータと、シミュレーションの本処理を行
う複数の処理プロセッサおよび該複数の処理プロセッサ
の制御と前記命令レベルシミュレータ間のデータ転送を
制御する制御プロセッサとを含む並列論理シミュレータ
とで構成された論理シミュレーション装置において、 前記制御プロセッサ内に、 前記命令レベルシミュレータで扱う、機械語命令で処理
可能な論理回路構成要素対応のデータのどの範囲がどの
処理プロセッサに対応するかを示す対応情報を記憶する
第1の記憶手段と、 該第1の記憶手段に記憶された対応情報に基づき、前記
命令レベルシミュレータから送られてきた前記論理回路
構成要素対応のデータを分割して前記処理プロセッサに
転送するデータ転送手段とを備え、 前記各々の処理プロセッサに、 前記制御プロセッサから送られてくるデータのどのビッ
トがどの基本論理素子のどの位置にセットされるべきか
を示す対応情報を記憶する第2の記憶手段と、 該第2の記憶手段に記憶された対応情報に基づき、前記
制御プロセッサから送られてきたデータを自処理プロセ
ッサで論理シミュレーションする際の基本論理素子の該
当する位置にセットするデータ設定手段とを備えること
を特徴とする論理シミュレーション装置。
1. An instruction level simulator that performs pre-processing and post-processing of simulation, a plurality of processing processors that perform main processing of simulation, and a control processor that controls the plurality of processing processors and controls data transfer between the instruction level simulators. In a logic simulation device configured with a parallel logic simulator including, in the control processor, which range of data corresponding to a logic circuit component which can be processed by a machine language instruction and which is handled by the instruction level simulator corresponds to which processing processor. First storage means for storing correspondence information indicating whether or not to perform processing, and dividing the logic circuit component correspondence data sent from the instruction level simulator based on the correspondence information stored in the first storage means. And a data transfer means for transferring to the processor. Second storage means for storing in each of the processing processors correspondence information indicating which bit of the data sent from the control processor should be set at which position of which basic logic element; Data setting means for setting the data sent from the control processor to the corresponding position of the basic logic element when performing logic simulation of the data sent from the control processor based on the correspondence information stored in the second storage means. A logic simulation device characterized by.
【請求項2】 シミュレーションの前後処理を行う命令
レベルシミュレータと、シミュレーションの本処理を行
う複数の処理プロセッサおよび該複数の処理プロセッサ
の制御と前記命令レベルシミュレータ間のデータ転送を
制御する制御プロセッサとを含む並列論理シミュレータ
とで構成された論理シミュレーション装置において、 前記制御プロセッサ内に、 前記命令レベルシミュレータで扱う、機械語命令で処理
可能な論理回路構成要素対応のデータのどの範囲がどの
処理プロセッサに対応するかを示す対応情報を記憶する
第1の記憶手段と、 該第1の記憶手段に記憶された対応情報に基づき、前記
命令レベルシミュレータから送られてきた前記論理回路
構成要素対応のデータを分割して前記処理プロセッサに
転送すると共に、前記処理プロセッサから送られてきた
データを前記命令レベルシミュレータの扱う前記論理回
路構成要素対応のデータに編集して前記命令レベルシミ
ュレータに転送するデータ転送手段とを備え、 前記各々の処理プロセッサに、 前記制御プロセッサから送られてくるデータのどのビッ
トがどの基本論理素子のどの位置にセットされるべきか
を示す対応情報を記憶する第2の記憶手段と、 該第2の記憶手段に記憶された対応情報に基づき、前記
制御プロセッサから送られてきたデータを自処理プロセ
ッサで論理シミュレーションする際の基本論理素子の該
当する位置にセットすると共に、該セットしたデータに
基づいて自処理プロセッサでシミュレーション実行して
得られた基本論理素子のデータを編集して前記制御プロ
セッサに送出するデータ設定手段とを備えることを特徴
とする論理シミュレーション装置。
2. An instruction level simulator that performs pre-processing and post-processing of simulation, a plurality of processing processors that perform main processing of simulation, and a control processor that controls the plurality of processing processors and controls data transfer between the instruction level simulators. In a logic simulation device configured with a parallel logic simulator including, in the control processor, which range of data corresponding to a logic circuit component which can be processed by a machine language instruction and which is handled by the instruction level simulator corresponds to which processing processor. First storage means for storing correspondence information indicating whether or not to perform processing, and dividing the logic circuit component correspondence data sent from the instruction level simulator based on the correspondence information stored in the first storage means. And transfer it to the processing processor, and Data transfer means for editing the data sent from the processor into data corresponding to the logic circuit components handled by the instruction level simulator and transferring the data to the instruction level simulator, wherein each of the processing processors has the control processor The correspondence information stored in the second storage means for storing correspondence information indicating which bit of the data sent from the device should be set at which position of which basic logic element; and the correspondence information stored in the second storage means. Based on the set data, the data sent from the control processor is set to the corresponding position of the basic logic element when the self-processing processor performs logic simulation, and the self-processing processor executes the simulation based on the set data. A data setting procedure for editing the data of the basic logic element and sending it to the control processor. Logic simulation apparatus comprising: a and.
JP9238493A 1993-03-26 1993-03-26 Logic simulation device Expired - Lifetime JPH081646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9238493A JPH081646B2 (en) 1993-03-26 1993-03-26 Logic simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9238493A JPH081646B2 (en) 1993-03-26 1993-03-26 Logic simulation device

Publications (2)

Publication Number Publication Date
JPH06282601A true JPH06282601A (en) 1994-10-07
JPH081646B2 JPH081646B2 (en) 1996-01-10

Family

ID=14052936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9238493A Expired - Lifetime JPH081646B2 (en) 1993-03-26 1993-03-26 Logic simulation device

Country Status (1)

Country Link
JP (1) JPH081646B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01207838A (en) * 1988-02-16 1989-08-21 Fujitsu Ltd Parallel logic simulation control system
JPH0248742A (en) * 1988-08-11 1990-02-19 Nec Corp Logical simulation device
JPH02199578A (en) * 1989-01-30 1990-08-07 Fujitsu Ltd Logical circuit dividing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01207838A (en) * 1988-02-16 1989-08-21 Fujitsu Ltd Parallel logic simulation control system
JPH0248742A (en) * 1988-08-11 1990-02-19 Nec Corp Logical simulation device
JPH02199578A (en) * 1989-01-30 1990-08-07 Fujitsu Ltd Logical circuit dividing system

Also Published As

Publication number Publication date
JPH081646B2 (en) 1996-01-10

Similar Documents

Publication Publication Date Title
JPH0533423B2 (en)
US4584642A (en) Logic simulation apparatus
JPH06282601A (en) Logical simulator
JP2508620B2 (en) Logic circuit simulation device
JPH0962720A (en) Digital signal processing circuit simulation device
Yoshikawa et al. A multi-microprocessor approach to a high-speed and low-cost continuous-system simulation
JP2000057188A (en) Hardware and software cooperative evaluating device
JPH09330339A (en) Automatic description dividing device
JP3055139B2 (en) Micro program control method
JP2845032B2 (en) Logic simulation equipment
JP2019016168A (en) Simulation program, method, and device
JP2000242524A (en) Software simulator for processor
JP2000242684A (en) Function synthesis method, function synthesis device and recording medium therefor
JP2576379B2 (en) Logic simulation equipment
WO2000068782A1 (en) Method for developing semiconductor integrated circuit
JPH0457031B2 (en)
JPH05282395A (en) Bidirectional pin input/output switching method for hardware simulator
JPS62109136A (en) Simulation method for logic circuit
CN115114755A (en) Simulation model generation method and device for network on chip, electronic device and computer readable storage medium
JPH0576660B2 (en)
JPS6057603B2 (en) arithmetic processing unit
JPS607531A (en) Logical simulation device
JPH03250225A (en) Logical simulation environment setting system
JPS62147545A (en) Processing system for transfer instruction of information processor
JPS5938859A (en) High speed logical simulating system