JPH02224141A - Logical simulation system - Google Patents

Logical simulation system

Info

Publication number
JPH02224141A
JPH02224141A JP1045745A JP4574589A JPH02224141A JP H02224141 A JPH02224141 A JP H02224141A JP 1045745 A JP1045745 A JP 1045745A JP 4574589 A JP4574589 A JP 4574589A JP H02224141 A JPH02224141 A JP H02224141A
Authority
JP
Japan
Prior art keywords
simulation
logic
logical
simulators
hardware logic
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
JP1045745A
Other languages
Japanese (ja)
Inventor
Hiroshi Nishioka
浩 西岡
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 JP1045745A priority Critical patent/JPH02224141A/en
Publication of JPH02224141A publication Critical patent/JPH02224141A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To obtain a logical simulation system with a simple constitution by organically connecting plural hardware logical simulators through lines. CONSTITUTION:The 1st to 4th hardware logical simulators 1 to 4 are connected to a general purpose computer 5 respectively through a loop connecting device 9. Respective simulators 1 to 4 are provided with logical simulation parts 11, 21, 31, 41, simulation control parts 12, 22, 32, 42 and channel control circuits 13, 23, 33, 43 and the computer 5 is provided with an I/O processor 51, a main storage device 52 and an instruction processor 55. Since plural hardware logical simulators 1 to 4 are connected by the line system connecting device, a large- scale logical system consisting of plural logical devices can be simulated without developing a large-scale hardware logical simulator.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は論理シミュレーション方式に関し、特に複数の
ハードウェア論理シミュレータを有機的に接続した簡単
な構成の論理シミュレーション方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a logic simulation method, and particularly to a logic simulation method with a simple configuration in which a plurality of hardware logic simulators are organically connected.

(従来の技術) 従来、この種の論理シミュレーション方式としては、例
えば特開昭59−11459号公報に提案されているよ
うな、対象となる論理装置と同等の動作を、複数の論理
ブロックから構成されるハードウェア論理シミュレータ
を使用して短時間でシミュレーションを行い、論理設計
の検査を行う方式がある。
(Prior Art) Conventionally, this type of logic simulation method has been proposed, for example, in Japanese Patent Laid-Open No. 11459/1982, in which the operation equivalent to that of a target logic device is constructed from a plurality of logic blocks. There is a method in which logic designs are inspected by performing simulations in a short time using a hardware logic simulator.

(発明が解決しようとする課題) 上述した従来の論理シミュレーション方式は、複数の論
理装置からなる大規模な論理システムをシミュレートす
るとき、論理システムのシミュレーションモデルを作成
し、1台のハードウェア論理シミュレータでシミュレー
トしなければならないため、ハードウェア論理シミュレ
ータの規模が十分大きくなければならないという欠点が
ある。
(Problem to be Solved by the Invention) In the conventional logic simulation method described above, when simulating a large-scale logic system consisting of a plurality of logic devices, a simulation model of the logic system is created and a single hardware logic Since the simulation must be performed using a simulator, there is a drawback that the scale of the hardware logic simulator must be sufficiently large.

(課題を解決するための手段) 本発明による論理シミュレーション方式は、それぞれシ
ミュレート対象である装置について論理シミュレートす
る複数のハードウェア論理シミュレータと、これら論理
シミュレータと回線を介して接続され、前記論理シミュ
レートするためのシミュレーション実行プログラムを内
蔵し、論理シミュレーションモデルと試験プログラムに
基づいて論理シミュレートするために前記ハードウェア
論理シミュレータを制御する実行制御手段とを備える。
(Means for Solving the Problems) A logic simulation method according to the present invention includes a plurality of hardware logic simulators each simulating the logic of a device to be simulated, and a plurality of hardware logic simulators that are connected to these logic simulators via a line. The apparatus includes an execution control means that contains a simulation execution program for simulating and controls the hardware logic simulator to perform logic simulation based on a logic simulation model and a test program.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は本発明による論理シミュレーション方式の一実
施例を示す構成図であり、第1〜第4のハードウェア論
理シミュレータ1〜4と汎用コンピュータ5とは、それ
ぞれループ接続装置9を介して接続されている。各ハー
ドウェア論理シミュレータには、論理シミュレーション
部11,21゜31.41、シミュレーション制御部1
2,22゜32.42、チャンネル制御回路13,23
゜33.43を備えている。また、汎用コンピュータ5
は、入出力処理装置51、主記憶装置52、命令処理装
置55を備えており、主記憶装置52には、オペレーテ
ィングシステム54の制御のもとて第1〜第4のハード
ウェア論理シミュレータ1〜4を制御するシミュレーシ
ョン実行制御プログラム53が格納されている。
FIG. 1 is a block diagram showing an embodiment of the logic simulation method according to the present invention, in which first to fourth hardware logic simulators 1 to 4 and a general-purpose computer 5 are connected via a loop connection device 9, respectively. has been done. Each hardware logic simulator includes a logic simulation section 11, 21゜31.41, and a simulation control section 1.
2, 22° 32.42, channel control circuit 13, 23
It is equipped with ゜33.43. In addition, general-purpose computer 5
is equipped with an input/output processing device 51, a main storage device 52, and an instruction processing device 55, and the main storage device 52 stores first to fourth hardware logic simulators 1 to 1 under the control of an operating system 54. A simulation execution control program 53 for controlling 4 is stored.

第2図には、本実施例がシミュレートする論理システム
の構成図が示されている。主記憶装置(MMU) 20
1 、第1の演算処理装置(EPU)203および第2
の演算処理装置(EPU)204がシステム制御装置(
SCU)202に接続されており、更にサービスプロセ
ッサ(SVP)205がシステム制御装置202を介し
て上記各装置201〜204に接続されている。また、
第3図には、第1〜第4のハードウェア論理シミュレー
タ1〜4と汎用コンピュータ5との間で転送される情報
の形式が示されている。
FIG. 2 shows a configuration diagram of a logical system simulated by this embodiment. Main memory unit (MMU) 20
1, the first arithmetic processing unit (EPU) 203 and the second
The arithmetic processing unit (EPU) 204 of the system controller (
Furthermore, a service processor (SVP) 205 is connected to each of the above devices 201 to 204 via the system control device 202. Also,
FIG. 3 shows the format of information transferred between the first to fourth hardware logic simulators 1 to 4 and the general-purpose computer 5.

本実施例におけるシミュレーション実行制御プログラム
53の処理の流れ図が第4図に示され、また、第1の演
算装置203から主記憶装置201に対してメモリ読み
出しを行った時に処理の流れ図が第5図に示されている
。以下、本実施例の動作を説明する。
A flowchart of the processing of the simulation execution control program 53 in this embodiment is shown in FIG. 4, and a flowchart of the processing when memory reading is performed from the first arithmetic unit 203 to the main storage device 201 is shown in FIG. is shown. The operation of this embodiment will be explained below.

まず、汎用コンピュータ5内のオペレーティングシステ
ム54は、シミュレーション実行制御プログラム53を
主記憶装置52にロードし、シミュレーション実行制御
プログラム53を起動する。
First, the operating system 54 in the general-purpose computer 5 loads the simulation execution control program 53 into the main storage device 52 and starts the simulation execution control program 53.

起動されたシミュレーション実行制御プログラム53は
、第4図に示した処理を行う、すなわち、ループ接続装
置9を介して第1〜第4のハードウェア論理シミュレー
タ1〜4に対しハードウェアの初期化を指示しく処理4
01)、初期化の終了した第1〜第4のハードウェア論
理シミュレータ1〜4に対し、磁気ディスク装置に格納
されている論理シミュレーションモデル6をループ接続
装置9を経由してロードする(処理402)。
The activated simulation execution control program 53 performs the processing shown in FIG. Directly process 4
01), the logic simulation model 6 stored in the magnetic disk device is loaded via the loop connection device 9 to the first to fourth hardware logic simulators 1 to 4 that have been initialized (process 402 ).

ここで、第1のハードウェア論理シミュレータ1には第
2図の主記憶装置201をシミュレートする論理シミュ
レーションモデルをロードし、第2のハードウェア論理
シミュレータ2にはシステム制御装置202を、第3の
ハードウェア論理シミュレータ3には第1の演算装置2
03を、第4のハードウェア論理シミュレータ4には第
2の演算装置204をそれぞれシミュレートする論理シ
ミュレーションモデルをロードする。
Here, the first hardware logic simulator 1 is loaded with a logic simulation model that simulates the main storage device 201 in FIG. 2, the second hardware logic simulator 2 is loaded with the system control device 202, and the third The hardware logic simulator 3 includes a first arithmetic unit 2
03, a logic simulation model for simulating the second arithmetic unit 204 is loaded into the fourth hardware logic simulator 4.

続いて、シミュレーション実行制御プログラム53は、
磁気ディスク装置に格納されている試験プログラム7を
ループ接続装置9を経由して主記憶装置201をシミュ
レートする第1のハードウェア論理シミュレータ1の第
1の論理シミュレーション部11にロードする(処理4
03)、この様に、シミュレーション実行制御プログラ
ム53は5VP205の機能をシミュレートすることに
なる。
Subsequently, the simulation execution control program 53
The test program 7 stored in the magnetic disk device is loaded via the loop connection device 9 into the first logic simulation unit 11 of the first hardware logic simulator 1 that simulates the main storage device 201 (processing 4).
03) In this way, the simulation execution control program 53 simulates the functions of the 5VP 205.

さて、試験プログラムのロードが完了すると、ループ接
続袋r19を介して第1〜第4のハードウェア論理シミ
ュレータ1〜4の第1〜第4のシミュレーション制御部
12〜42に対し、シミュレーションの開始を指示する
とく処理404)、各ハードウェア論理シミュレータは
他装置からの起動通信待状態となる。このとき処理40
5において、第1のEPU203をシミュレートする第
3のハードウェア論理シミュレータ3に対し、ループ接
続装置9を経由して試験プログラム起動のためのプロセ
ッサ間通信を送信する。
Now, when the loading of the test program is completed, the start of simulation is sent to the first to fourth simulation control units 12 to 42 of the first to fourth hardware logic simulators 1 to 4 via the loop connection bag r19. Upon receiving the instruction (step 404), each hardware logic simulator enters a state of waiting for activation communication from another device. At this time, processing 40
5, interprocessor communication for starting the test program is transmitted to the third hardware logic simulator 3 simulating the first EPU 203 via the loop connection device 9.

続いて、シミュレーション実行制御プログラム53は、
第1〜第4のハードウェア論理シミュレータ1〜4から
の要求を待ち合わせ(処理406)、第3図に示される
データを伴った要求を受は付けると、送信データ303
の送信先301を検査しく処理407)、送信先が汎用
コンピュータ5でなければ、受信情報を送信先301で
示されるハードウェア論理シミュレータに転送する(処
理408)、一方、処理407において、送信先が汎用
コンピュータであると認識したときは、第1〜第4のハ
ードウェア論理シミュレータ1〜4に対しシミュレーシ
ョンの終了を指示しく処理409)、第1〜第4のハー
ドウェア論理シミュレータに格納されているシミュレー
ション結果を読み出しく処理410)、シミュレーショ
ン結果を編集してプリンタ8に出力(処理411)した
後、全ての処理を終了する。
Subsequently, the simulation execution control program 53
Waiting for requests from the first to fourth hardware logic simulators 1 to 4 (processing 406), and accepting requests with the data shown in FIG.
If the destination 301 is checked (process 407), and the destination is not the general-purpose computer 5, the received information is transferred to the hardware logic simulator indicated by the destination 301 (process 408); When it recognizes that it is a general-purpose computer, it instructs the first to fourth hardware logic simulators 1 to 4 to end the simulation (409), and the computer is stored in the first to fourth hardware logic simulators. After reading out the simulation results (process 410), editing the simulation results and outputting them to the printer 8 (process 411), all processes are ended.

次に、本実施例がシミュレートする論理システムの構成
を示す第2図において、第1の演算送信203が他装置
と通信するのは、主記憶装置201に対し命令の取り出
しおよびオペランドへのデータ読み出し並びに書き込み
と、第2の演算装置204に対する起動および同期のた
めのプロセッサ間通信に大別される。ここで、主記憶装
!201に対するデータ読み出しについてのシミュレー
ション方法を第5図を参照して説明する。
Next, in FIG. 2 showing the configuration of the logical system simulated by this embodiment, the first arithmetic transmission 203 communicates with other devices by fetching instructions from the main memory 201 and sending data to operands. Communication is broadly classified into reading and writing, and interprocessor communication for starting and synchronizing the second arithmetic unit 204. Here, the main memory! A simulation method for reading data to 201 will be described with reference to FIG.

まず、第3のハードウェア論理シミュレータ3(第1の
EPU)の第3の論理シミュレーション部31がシミュ
レーションの結果、メモリ読み出しコマンドを生成しく
処理501)、第3のシミュレーション制御部32は、
メモリ読み出しコマンドを送信データ303とし、送信
先301を第2のハードウェア論理シミュレータ2 (
SCU)にし、送信元302を第3のハードウェア論理
シミュレータ3(第1のEPU)として汎用コンピュー
タ5に通知する(処理502)、続いて処理503にお
いて、通知を受は取ったシミュレーション実行制御プロ
グラム53は受信情報を送信先である第2のハードウェ
ア論理シミュレータ2(SCU)に転送し、受信した情
報をもとにシミュレーションを行い(処理504)、そ
の結果として第1のハードウェア論理シミュレータ1(
MMU’)へのコマンドを生成し汎用コンピュータ5に
送信する(処理505)。
First, the third logic simulation unit 31 of the third hardware logic simulator 3 (first EPU) generates a memory read command as a result of the simulation (501), and the third simulation control unit 32 performs the following steps.
The memory read command is the transmission data 303, and the transmission destination 301 is the second hardware logic simulator 2 (
SCU) and notifies the general-purpose computer 5 that the sender 302 is the third hardware logic simulator 3 (first EPU) (process 502), and then in process 503, the simulation execution control program that received the notification 53 transfers the received information to the second hardware logic simulator 2 (SCU) that is the transmission destination, performs simulation based on the received information (process 504), and as a result, the first hardware logic simulator 1 (
A command to the MMU') is generated and sent to the general-purpose computer 5 (processing 505).

その後、受信データを送信先である第1のハードウェア
論理シミュレータ1に転送しく処理506) 、受信し
た情報をもとにシミュレーションを行い(処理507)
 、シミュレーション結果として得られた読み出しデー
タを転送するコマンドを生成する(処理508) 、そ
して、汎用コンピュータにコマンドを送信しく処理50
9) 、受信したコマンドを送信先である第2のハード
ウェア論理シミュレータ2 (SCU)に転送しく処理
510)、受信した情報をもとにシミュレーションを行
う(処理511)。このシミュレーションの結果として
第3のハードウェア論理シミュレータ3(第1のEPU
)に読み出しデータを送信するコマンドを生成し、汎用
コンピュータ5に送信しく処理512)、受信した情報
を送信先である第3のハードウェア論理シミュレータ3
(第1のEPU)に転送し、受信した情報をもとに第3
のハードウェア論理シミュレータ3(第1のEPU)で
シミュレーションを続行する(処理514)ことで一連
のメモリ読み出し処理を終了する。
Thereafter, the received data is transferred to the first hardware logic simulator 1, which is the destination (process 506), and a simulation is performed based on the received information (process 507).
, generate a command to transfer the read data obtained as the simulation result (process 508), and process 50 to send the command to the general-purpose computer.
9) Transfer the received command to the second hardware logic simulator 2 (SCU), which is the destination (process 510), and perform simulation based on the received information (process 511). As a result of this simulation, the third hardware logic simulator 3 (first EPU
) generates a command to send read data to the general-purpose computer 5 (step 512), and sends the received information to the third hardware logic simulator 3, which is the destination.
(first EPU), and based on the received information, the third EPU
By continuing the simulation with the hardware logic simulator 3 (first EPU) (processing 514), the series of memory read processing ends.

ここでメモリ書き込み処理についても読み出し処理と同
様にシミュレートできるし、プロセッサ間通信に関して
も第3のハードウェア論理シミュレータ3(第1のEP
U)から汎用コンピュータを介して第2のハードウェア
論理シミュレータ2(SCU)に、さらに汎用コンピュ
ータを介して第4のハードウェア論理シミュレータ4(
第2のEPU)に情報を転送することでシミュレートで
きる。また、第4のハードウェア論理シミュレータ4(
第2のEPU)からのメモリアクセスおよび第3のハー
ドウェア論理シミュレータ3(第2のEPU)へのプロ
セッサ間通信についても同様にシミュレートすることが
できる。
Memory write processing can be simulated in the same way as read processing, and inter-processor communication can also be simulated using the third hardware logic simulator 3 (first EP
U) via a general-purpose computer to a second hardware logic simulator 2 (SCU), and further via a general-purpose computer to a fourth hardware logic simulator 4 (SCU).
This can be simulated by transferring information to the second EPU. In addition, a fourth hardware logic simulator 4 (
Memory access from the second EPU) and interprocessor communication to the third hardware logic simulator 3 (second EPU) can be similarly simulated.

ところで本実施例では、ハードウェア論理シミュレータ
が4台であるが、2台以上であれば何台でも良いことは
明らかである。また、各ハードウェア論理シミュレータ
は汎用コンピュータを介して通信しているが直接通信し
て良いことも明らかである。さらに、本実施例ではルー
プ接続装置を使用しているが、回線系接続装置であれば
何でも良いことは明らかである。
By the way, in this embodiment, there are four hardware logic simulators, but it is clear that any number of hardware logic simulators may be used as long as there are two or more. Furthermore, although the hardware logic simulators communicate via a general-purpose computer, it is clear that they may communicate directly. Further, although a loop connection device is used in this embodiment, it is obvious that any line-based connection device may be used.

(発明の効果) 以上説明したように本発明は、複数のハードウェア論理
シミュレータを回線系接続装置で接続することにより、
大規模なハードウェア論理シミュレータを開発すること
なく、複数の論理装置から成る大規模な論理システムを
シミュレートできる効果がある。
(Effects of the Invention) As explained above, the present invention provides the following advantages:
This has the effect of simulating a large-scale logic system consisting of multiple logic devices without developing a large-scale hardware logic simulator.

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

第1図は本発明による論理シミュレーション方式の一実
施例を示す構成図、第2図は本実施例におけるシミュレ
ーションの対象となる論理システム構成図、第3図は本
実施例におけるシミュレータ間で転送する情報の形式を
示す図、第4図は本実施例におけるシミュレーション実
行制御プログラムの処理を示す図、第5図は本実施例に
おけるメモリ読み出しのシミュレーション手順を示す図
である。 1.2,3.4・・・第1〜第4のハードウェア論理シ
ミュレータ、11.21,31.41・・・第1〜第4
の論理シミュレーション部、12,22゜32.42・
・・第1〜第4のシミュレーション制御部、13.23
.33.43・・・第1〜第4のチャネル制御回路、9
・・・ループ接続回路、5・・・汎用コンピュータ、5
1・・・入出力処理装置、52・・・主記憶装置、53
・・・シミュレーション実行IIJ#プログラム、54
・・・オペレーティングシステム、55・・・命令処理
装置、6・・・論理シミュレーションモデル、7・・・
試験プログラム、8・・・プリンタ、201・・・主記
憶装置、202・・・システム制御装置、203゜20
4・・・第1と第2の演算装置、205・・・サービス
プロセッサ。 2’01  主3乙、1克裟遣
Fig. 1 is a block diagram showing an embodiment of the logic simulation method according to the present invention, Fig. 2 is a block diagram of a logical system to be simulated in this embodiment, and Fig. 3 is a diagram showing the configuration of a logical system to be simulated in this embodiment. FIG. 4 is a diagram showing the format of information, FIG. 4 is a diagram showing the processing of the simulation execution control program in this embodiment, and FIG. 5 is a diagram showing the simulation procedure of memory read in this embodiment. 1.2, 3.4...first to fourth hardware logic simulators, 11.21, 31.41...first to fourth
Logic simulation section, 12,22゜32.42・
...First to fourth simulation control units, 13.23
.. 33.43...first to fourth channel control circuits, 9
...Loop connection circuit, 5...General-purpose computer, 5
1... Input/output processing device, 52... Main storage device, 53
...Simulation execution IIJ# program, 54
...Operating system, 55...Instruction processing device, 6...Logic simulation model, 7...
Test program, 8... Printer, 201... Main storage device, 202... System control device, 203゜20
4... First and second arithmetic units, 205... Service processor. 2'01 3 masters, 1 victory

Claims (1)

【特許請求の範囲】[Claims] それぞれシミュレート対象である装置について論理シミ
ュレートする複数のハードウェア論理シミュレータと、
これら論理シミュレータと回線を介して接続され、前記
論理シミュレートするためのシミュレーション実行プロ
グラムを内蔵し、論理シミュレーションモデルと試験プ
ログラムに基づいて論理シミュレートするために前記ハ
ードウェア論理シミュレータを制御する実行制御手段と
を備えて成ることを特徴とする論理シミュレーション方
式。
a plurality of hardware logic simulators each simulating logic for a device to be simulated;
Execution control that is connected to these logic simulators via a line, has a built-in simulation execution program for simulating the logic, and controls the hardware logic simulator for simulating logic based on the logic simulation model and test program. A logical simulation method characterized by comprising: means.
JP1045745A 1989-02-27 1989-02-27 Logical simulation system Pending JPH02224141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045745A JPH02224141A (en) 1989-02-27 1989-02-27 Logical simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045745A JPH02224141A (en) 1989-02-27 1989-02-27 Logical simulation system

Publications (1)

Publication Number Publication Date
JPH02224141A true JPH02224141A (en) 1990-09-06

Family

ID=12727854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045745A Pending JPH02224141A (en) 1989-02-27 1989-02-27 Logical simulation system

Country Status (1)

Country Link
JP (1) JPH02224141A (en)

Similar Documents

Publication Publication Date Title
CA1246743A (en) Array for simulating computer functions for large computer systems
JPH05216712A (en) Computer system, method for performing inner-viewing task on computer system and i/o processor assembly
US8150670B2 (en) Simulator and simulation method
US20080281576A1 (en) Interface board, simulator, synchronization method, and synchronization program
JP3189793B2 (en) System simulator and system simulation method
JPH02224141A (en) Logical simulation system
JP3212709B2 (en) Logic simulation device
JPH01305444A (en) Logic simulation system
JPH01305443A (en) Logic simulation system
JPH01147736A (en) Logical simulation system
JP2563082Y2 (en) Pseudo communication control device
JPH02118849A (en) Simulation system for input output device
JP2908337B2 (en) VHDL simulation execution system for multi-process
JPH03130839A (en) On-line simulation system
JPS6299837A (en) Check system for input and output processor
JP2001209555A (en) Device for input/output emulation, method for emulating input/output device and storage medium which stores input/output emulation program
JPS61231607A (en) Simulation system for iron and steel rolling control system
JPH02257339A (en) Logical verification system
JPH0561934A (en) Logical simulation system
JP2001067241A (en) Test system for information processor
JPH0821043B2 (en) Simulation method
JPH0328936A (en) Diagnostic test system for information processor
JPS62280940A (en) Data processor
JPH04369044A (en) Testing device for computer
JPH08101852A (en) Logic simulation system