JP2621492B2 - Microprocessor simulator device - Google Patents

Microprocessor simulator device

Info

Publication number
JP2621492B2
JP2621492B2 JP1187073A JP18707389A JP2621492B2 JP 2621492 B2 JP2621492 B2 JP 2621492B2 JP 1187073 A JP1187073 A JP 1187073A JP 18707389 A JP18707389 A JP 18707389A JP 2621492 B2 JP2621492 B2 JP 2621492B2
Authority
JP
Japan
Prior art keywords
target
signal
microprocessor
simulator
definition
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.)
Expired - Lifetime
Application number
JP1187073A
Other languages
Japanese (ja)
Other versions
JPH0351925A (en
Inventor
晃 永島
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP1187073A priority Critical patent/JP2621492B2/en
Publication of JPH0351925A publication Critical patent/JPH0351925A/en
Application granted granted Critical
Publication of JP2621492B2 publication Critical patent/JP2621492B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、マイクロプロセッサ応用機器の開発支援装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an apparatus for supporting development of a microprocessor application device.

〈従来の技術〉 従来よりマイクロプロセッサ応用機器の開発支援装置
として、インサーキットエミュレータや、ミニコンピュ
ータあるいはパーソナルコンピュータをホストとするシ
ミュレータ等がある。これらの装置は、通常ターゲット
マイクロプロセッサの動作を次の2通りで実行させてい
る。
<Conventional Technology> Conventionally, as a development support device for a microprocessor application device, there is an in-circuit emulator, a simulator using a minicomputer or a personal computer as a host, and the like. These devices normally execute the operation of the target microprocessor in the following two ways.

インサーキットエミュレータ等では、実マイクロプロ
セッサ(ターゲットマイクロプロセッサ)をそのまま動
作させる。
In an in-circuit emulator or the like, a real microprocessor (target microprocessor) is operated as it is.

ミニコンピュータあるいはパーソナルコンピュータを
ホストとするシミュレータ等では、ターゲットマイクロ
プロセッサの動きをプログラムでシミュレートする。
In a simulator or the like using a minicomputer or a personal computer as a host, the movement of a target microprocessor is simulated by a program.

〈発明が解決しようとする課題〉 しかしながら、上記の場合、実マイクロプロセッサ
が入手できるまでは開発支援装置を使用できないという
問題があり、また上記の場合は、ターゲットマイクロ
プロセッサ以外のターゲットハードウェアがシミュレー
トできないため、開発支援装置の効果的な利用が難し
く、実行速度上の問題(実速度よりも千倍以上も遅いと
いう問題)もあった。
<Problem to be Solved by the Invention> However, in the above case, there is a problem that the development support device cannot be used until a real microprocessor is available.In the above case, target hardware other than the target microprocessor is simulated. Therefore, it is difficult to use the development support device effectively, and there is a problem in execution speed (a problem that the speed is more than 1000 times slower than the actual speed).

本発明の目的は、このような点に鑑みてなされたもの
で、ターゲットマイクロプロセッサの動作を高速でシミ
ュレートする専用のシミュレータ装置と、ターゲットマ
イクロプロセッサのハードウェアインターフェイスをエ
ミュレートする装置を組み合わせることにより、ターゲ
ットマイクロプロセッサが存在しなくても存在したと同
様のシステム動作を可能としたマイクロプロセッサシミ
ュレータ装置を提供することにある。
The object of the present invention has been made in view of the above points, and combines a dedicated simulator device for simulating the operation of a target microprocessor at high speed and a device for emulating a hardware interface of the target microprocessor. Accordingly, it is an object of the present invention to provide a microprocessor simulator device which can perform the same system operation as when a target microprocessor does not exist.

〈課題を解決するための手段〉 このような目的を達成するための本発明は、 ターゲットマイクロプロセッサの動作を定義した定義
体を格納する定義体メモリ(1)と、 この定義体メモリ(1)の定義体を解釈してターゲッ
トマイクロプロセッサのロジックをシミュレートし、外
部から受け取る信号にターゲットマイクロプロセッサと
同一の作用を施すことのできるターゲットマイクロプロ
セッサシミュレータ(2)と、 ターゲットからの実信号を取り込み前記定義体メモリ
(1)で定義される信号仕様に従って論理信号に変換し
前記ターゲットマイクロプロセッサシミュレータ(2)
へ送出すると共に、逆にターゲットマイクロプロセッサ
シミュレータ(2)からの論理信号を変換しターゲット
へ送出することのできる信号変換発生部(3)と、 ターゲットから前記信号変換発生部へ送受される信号
を整合するターゲットマイクロプロセッサソケットイン
ターフェイス(4)と、 上位コンピュータと情報交換を行うために、情報のダ
ウンロード、各部の内部情報のアクセスおよび各部の制
御を行う制御部(8) を具備したことを特徴とする。
<Means for Solving the Problems> In order to achieve the above object, the present invention provides a definition memory (1) for storing a definition defining the operation of a target microprocessor, and a definition memory (1). The target microprocessor simulator (2) that simulates the logic of the target microprocessor by interpreting the definition field of the target microprocessor and can apply the same operation to the signal received from the outside as the target microprocessor, and captures the actual signal from the target The target microprocessor simulator (2) converts into a logic signal according to a signal specification defined in the definition memory (1).
And a signal conversion generator (3) capable of converting a logic signal from the target microprocessor simulator (2) and sending the signal to the target, and a signal transmitted from the target to the signal conversion generator. A matching target microprocessor socket interface (4), and a control unit (8) for downloading information, accessing internal information of each unit, and controlling each unit in order to exchange information with a host computer. I do.

〈作用〉 本発明では、定義体メモリにターゲットマイクロプロ
セッサの動作を定義した定義体を格納しておき、ターゲ
ットマイクロプロセッサシミュレータへの入出力信号を
信号変換発生部で前記定義体のロジック仕様、信号仕様
に従って変換する。
<Operation> In the present invention, a definition body defining the operation of the target microprocessor is stored in the definition body memory, and an input / output signal to / from the target microprocessor simulator is signal-converted by the signal conversion generation unit to specify the logic specification of the definition body and the signal. Convert according to specifications.

また、ターゲットに対するインターフェイス経由の入
出力信号も、信号変換発生部で前記定義体の仕様に従っ
て信号変換する。
In addition, input / output signals via the interface to the target are also signal-converted by the signal conversion generator in accordance with the specification of the definition body.

このようにした上で、ターゲットマイクロプロセッサ
シミュレータにおいてターゲットマイクロプロセッサの
動作をシミュレートすることにより、ターゲットマイク
ロプロセッサ不在でもマイクロプロセッサ応用機器の動
作チェックが可能となる。
Then, by simulating the operation of the target microprocessor in the target microprocessor simulator, it is possible to check the operation of the microprocessor applied device even in the absence of the target microprocessor.

〈実施例〉 以下図面を参照して本発明を詳細に説明する。図は本
発明に係るマイクロプロセッサシミュレータ装置の一実
施例を示す構成図である。図において、1はターゲット
マイクロプロセッサの動作を定義した定義体を格納する
定義体メモリ、2はターゲットマイクロプロセッサシミ
ュレータで、例えばディジタルシグナルプロセッサまた
はコンピュータで構成されるロジック装置であり、メモ
リ1の定義体を解釈してターゲットマイクロプロセッサ
のロジックをシミュレートする。要するに、外部から受
け取る信号にターゲットマイクロプロセッサと同一の作
用を施すことができる。
<Example> Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a configuration diagram showing one embodiment of a microprocessor simulator device according to the present invention. In the figure, reference numeral 1 denotes a definition memory for storing a definition that defines the operation of a target microprocessor. Reference numeral 2 denotes a target microprocessor simulator, which is a logic device constituted by, for example, a digital signal processor or a computer. To simulate the logic of the target microprocessor. In short, the same operation as the target microprocessor can be applied to the signal received from the outside.

3は信号変換発生部で、ターゲットからの実信号を取
り込みメモリ1で定義される信号仕様に従って論理信号
に変換しターゲットマイクロプロセッサシミュレータ2
へ送出すると共に、逆にターゲットマイクロプロセッサ
シミュレータ2からの論理信号を変換しターゲットへ送
出する。
Reference numeral 3 denotes a signal conversion generation unit which takes in an actual signal from the target, converts it into a logical signal in accordance with the signal specifications defined in the memory 1, and converts it into a target microprocessor simulator 2.
And at the same time, converts the logic signal from the target microprocessor simulator 2 and sends it to the target.

4はターゲットマイクロプロセッサソケット5に入出
力する信号を整順化するターゲットマイクロプロセッサ
ソケットインターフェイスである。
Reference numeral 4 denotes a target microprocessor socket interface for ordering signals input to and output from the target microprocessor socket 5.

6はターゲットメモリ内容をキャッシュするキャッシ
ュメモリ、7はターゲットに実装されていない入出力
(以下I/Oという)機器をシミュレートするI/Oシミュレ
ータで、メモリ1の定義に従い疑似的なI/O動作を行な
うことができる。
Reference numeral 6 denotes a cache memory for caching the contents of the target memory. Reference numeral 7 denotes an I / O simulator for simulating an input / output (hereinafter referred to as I / O) device which is not mounted on the target. Actions can be taken.

8は制御部で、上位コンピュータ(図示せず)と情報
交換を行なうために、情報のダウンロード、各部の内部
情報のアクセスおよび各部の制御を行なうものである。
A control unit 8 downloads information, accesses internal information of each unit, and controls each unit in order to exchange information with a host computer (not shown).

このような構成において、上位コンピュータより制御
部8を介して定義体メモリ1に、ターゲットマイクロプ
ロセッサのロジック仕様、信号仕様がそれぞれ定義され
ると共に、I/Oシミュレーション仕様が定義される。ロ
ジック仕様はターゲットマイクロプロセッサシミュレー
タ2で利用され、信号仕様は信号変換発生部3で利用さ
れる。I/Oシミュレーション仕様はI/Oシミュレータ7で
利用されるが、I/Oシミュレータ7は必ずしも必要では
なく、I/Oシミュレーションを行なわない場合には除去
していても差し支えない。
In such a configuration, the logic specification and the signal specification of the target microprocessor are defined in the definition memory 1 via the control unit 8 by the host computer, and the I / O simulation specification is defined. The logic specification is used in the target microprocessor simulator 2, and the signal specification is used in the signal conversion generator 3. Although the I / O simulation specifications are used in the I / O simulator 7, the I / O simulator 7 is not always necessary, and may be removed when the I / O simulation is not performed.

ターゲットマイクロプロセッサシミュレータ2は定義
体メモリ1の仕様定義に従って信号変換発生部3から受
け取る信号にターゲットマイクロプロセッサと同一の作
用を施す。この場合キャッシュ6はターゲットメモリア
クセスを高速化する目的で使用される。
The target microprocessor simulator 2 performs the same operation as that of the target microprocessor on the signal received from the signal conversion generator 3 according to the specification definition of the definition memory 1. In this case, the cache 6 is used to speed up target memory access.

信号変換発生部3からターゲットマイクロプロセッサ
シミュレータ2に与えられる前記信号は、インターフェ
イス4により整順化されたターゲットマイクロプロセッ
サソケット5経由のアナログ入力信号を、定義体メモリ
1で定義された信号仕様に従って論理信号に変換したも
のである。
The signal supplied from the signal conversion generator 3 to the target microprocessor simulator 2 is obtained by logically converting an analog input signal via the target microprocessor socket 5 ordered by the interface 4 via the target microprocessor socket 5 according to a signal specification defined in the definition memory 1. It is converted into a signal.

また、ターゲットマイクロプロセッサシミュレータ2
からターゲットに信号を送出する場合は、信号変換発生
部3が定義体メモリ1の信号仕様定義に従って送出信号
を変換し、更にインターフェイス4でアナログ信号に変
換しソケット5経由でターゲットへ出力する。
In addition, the target microprocessor simulator 2
When transmitting a signal to the target, the signal conversion generation unit 3 converts the transmission signal according to the signal specification definition of the definition memory 1, further converts the signal to an analog signal at the interface 4, and outputs the analog signal to the target via the socket 5.

I/Oに対して信号を入出力する場合は、信号変換発生
部3を介して(ここで信号変換が行なわれるが)信号を
I/Oシミュレータ7に入出力する。I/Oシミュレータ7は
定義体メモリのI/Oシミュレーション仕様定義に従い疑
似的にI/O動作を行なう。
When inputting / outputting a signal to / from the I / O, the signal is converted via the signal conversion generator 3 (although the signal conversion is performed here).
Input / output to / from the I / O simulator 7. The I / O simulator 7 performs pseudo I / O operations according to the I / O simulation specification definition of the definition memory.

このような動作により、ターゲットマイクロプロセッ
サに代わって同等の動作を行なわせることができる。
With such an operation, an equivalent operation can be performed instead of the target microprocessor.

なお、定義体メモリ1およびターゲットマイクロプロ
セッサシミュレータ2は物理的な配置として上位コンピ
ュータ側に配置してもよい。
The definition memory 1 and the target microprocessor simulator 2 may be physically located on the host computer.

〈発明の効果〉 以上詳細に説明したように、本発明によれば、従来タ
ーゲットマイクロプロセッサを入手するまではマイクロ
プロセッサを含んだシステムの動作チェックができなか
っが、本発明の装置により一部リアルタイム性能上の問
題は残るもののターゲットマイクロプロセッサ不在での
動作チェックが可能となった。
<Effects of the Invention> As described in detail above, according to the present invention, it is not possible to check the operation of a system including a microprocessor until a target microprocessor is conventionally obtained. Although performance problems remain, it is now possible to check operation without a target microprocessor.

また、ASIC、カスタムチップの出現によりマイクロプ
ロセッサ不在での動作チェックはますます高まり、した
がって本発明のマイクロプロセッサシミュレータ装置は
実用に供してその効果はきわめて大きい。
In addition, with the advent of ASICs and custom chips, the operation check in the absence of a microprocessor has become more and more important. Therefore, the microprocessor simulator of the present invention is practically used and its effect is extremely large.

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

図は本発明に係るマイクロプロセッサシミュレータ装置
の一実施例を示す構成図である。 1……定義体メモリ、2……ターゲットマイクロプロセ
ッサシミュレータ、3……信号変換発生部、4……ター
ゲットマイクロプロセッサソケットインターフェイス、
5……ターゲットマイクロプロセッサソケット、6……
キャッシュメモリ、7……I/Oシミュレータ、8……制
御部。
FIG. 1 is a configuration diagram showing one embodiment of a microprocessor simulator device according to the present invention. 1 ... definition memory, 2 ... target microprocessor simulator, 3 ... signal conversion generator, 4 ... target microprocessor socket interface,
5 ... target microprocessor socket, 6 ...
Cache memory, 7: I / O simulator, 8: Control unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ターゲットマイクロプロセッサの動作を定
義した定義体を格納する定義体メモリ(1)と、 この定義体メモリ(1)の定義体を解釈してターゲット
マイクロプロセッサのロジックをシミュレートし、外部
から受け取る信号にターゲットマイクロプロセッサと同
一の作用を施すことのできるターゲットマイクロプロセ
ッサシミュレータ(2)と、 ターゲットからの実信号を取り込み前記定義体メモリ
(1)で定義される信号仕様に従って論理信号に変換し
前記ターゲットマイクロプロセッサシミュレータ(2)
へ送出すると共に、逆にターゲットマイクロプロセッサ
シミュレータ(2)からの論理信号を変換しターゲット
へ送出することのできる信号変換発生部(3)と、 ターゲットから前記信号変換発生部へ送受される信号を
整合するターゲットマイクロプロセッサソケットインタ
ーフェイス(4)と、 上位コンピュータと情報交換を行うために、情報のダウ
ンロード、各部の内部情報のアクセスおよび各部の制御
を行う制御部(8) を具備したことを特徴とするマイクロプロセッサシミュ
レータ装置。
A definition memory for storing a definition defining operation of the target microprocessor; interpreting the definition of the definition memory to simulate logic of the target microprocessor; A target microprocessor simulator (2) capable of performing the same operation as a target microprocessor on a signal received from the outside; a real signal from a target is fetched into a logical signal according to a signal specification defined in the definition memory (1) Convert the target microprocessor simulator (2)
And a signal conversion generator (3) capable of converting a logic signal from the target microprocessor simulator (2) and sending the signal to the target, and a signal transmitted from the target to the signal conversion generator. A matching target microprocessor socket interface (4), and a control unit (8) for downloading information, accessing internal information of each unit, and controlling each unit in order to exchange information with a host computer. Microprocessor simulator device.
JP1187073A 1989-07-19 1989-07-19 Microprocessor simulator device Expired - Lifetime JP2621492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1187073A JP2621492B2 (en) 1989-07-19 1989-07-19 Microprocessor simulator device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1187073A JP2621492B2 (en) 1989-07-19 1989-07-19 Microprocessor simulator device

Publications (2)

Publication Number Publication Date
JPH0351925A JPH0351925A (en) 1991-03-06
JP2621492B2 true JP2621492B2 (en) 1997-06-18

Family

ID=16199664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1187073A Expired - Lifetime JP2621492B2 (en) 1989-07-19 1989-07-19 Microprocessor simulator device

Country Status (1)

Country Link
JP (1) JP2621492B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6576689B2 (en) 2015-05-27 2019-09-18 Ntn株式会社 Fastening band for constant velocity universal joint boots

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6072034A (en) * 1983-09-28 1985-04-24 Nec Corp Emulation device
JPS6318444A (en) * 1986-07-09 1988-01-26 Nec Corp System for developing software development supporting system

Also Published As

Publication number Publication date
JPH0351925A (en) 1991-03-06

Similar Documents

Publication Publication Date Title
US5363501A (en) Method for computer system development verification and testing using portable diagnostic/testing programs
JPH11505645A (en) Apparatus and method for simulating a digital system based on a processor
JP2621492B2 (en) Microprocessor simulator device
CN115202808A (en) DMA method and system for system on chip in virtualization environment
CN113204929A (en) Method for realizing AHB VIP based on SV and UVM, electronic device and storage medium
JP2570558B2 (en) Hardware emulator
JP3212709B2 (en) Logic simulation device
Mears et al. Virtual Design of an Audio Lifelogging System: Tools for IoT Systems
CN116090372B (en) FPGA-based chip simulation acceleration method and system
JP2004013227A (en) Simulation device and simulation model generation program
JP2003177937A (en) Apparatus and method for improvement of communication between emulator unit and host device
CN114047948B (en) Reconfigurable trusted cryptographic module simulator, implementation method and simulation reconstruction method
JPH0368037A (en) Program developing device
JPH0322057A (en) Information processor
Han et al. ArmSim: A Complete System Simulation Environment of the ARM Embedded System
JP2004046716A (en) Debugging system
JPH02118739A (en) Data processor
Chung et al. HSA Simulators
JPH03103936A (en) Evaluating system for input/output control program
JPH0352038A (en) Debugging device
JPH0335125A (en) Measuring instrument
JP2563082Y2 (en) Pseudo communication control device
MacMillen et al. Nimble Compiler Environment for Agile Hardware. Volume 1
JPS63208146A (en) Computer environment converter
HARDWARE AFRL-IF-WP-TR-2002-1536