JPS6072034A - Emulation device - Google Patents

Emulation device

Info

Publication number
JPS6072034A
JPS6072034A JP58179606A JP17960683A JPS6072034A JP S6072034 A JPS6072034 A JP S6072034A JP 58179606 A JP58179606 A JP 58179606A JP 17960683 A JP17960683 A JP 17960683A JP S6072034 A JPS6072034 A JP S6072034A
Authority
JP
Japan
Prior art keywords
command
control
host machine
section
specifications
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
JP58179606A
Other languages
Japanese (ja)
Inventor
Kaoru Tono
東野 薫
Noriyuki Oura
大浦 範之
Hiroshi Tanaka
宏 田中
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58179606A priority Critical patent/JPS6072034A/en
Publication of JPS6072034A publication Critical patent/JPS6072034A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To obtain a device which can be operated even if it is connected to a host machine whose command specifications are different, by providing a command converting part for converting a control command to be inputted, to its own command specification. CONSTITUTION:A titled device is provided with a command converting part for converting a control command inputted from an interface part, to its own command specifications. For instance, in case a use desires to display the contents of 1000 address through 10FF address of a memory in an emulation device 10, on a console 15, a command is received through an interface part 2 of an information processing device 1, a communicating circuit 3 and an interface part 11, and converted to a command DM-1000, 10FF which conforms with its own command specifications by the command converting part 12. Subsequently, by this command, the contents of the memory in the emulation device 10 are converted so as to conform with a display form of a host machine, sent out to the host machine through the interface part 11, and its contents are displayed on the console 15.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は、エミーレーション装置に関し、特にマイクロ
プロセッサのハードウェア機能のエミュレーシ冒ンを行
うエミュレータ5ン装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to an emulation device, and more particularly to an emulator device that emulates the hardware functions of a microprocessor.

〔従来技術〕[Prior art]

マイクロプロセッサを使ったシステムを設計して動かす
場合、ソフトウェアが必要であり、そのソフトウェアは
一度で完全なものを作るのは難しい。通常、作られたソ
フトウェアの誤りを訂正するためにデバッグを行う。こ
のデバッグを助けるアルタイムで実行してそのときのマ
イクロプロセッサの動きを知ることができる装置として
インサーキット・エミレータがある。インサーキット・
エミュレータは、マイクロプロセッサと同シビン配列を
有するプローブ’に4している。マイクロブロセ、すを
ICソケットから取りlし、そのソケットにインサーキ
ット・エミュレータのプローグを差込むことによシ、マ
イクロプロセッサと4く同じ命令を実行することができ
る。この命令を実行すると、マイクロプロセッサの実行
時には分らなかったレジスタの内容、メモリに対する書
込み読出しなどを知ることができる。
When designing and operating a system using a microprocessor, software is required, and it is difficult to create complete software at once. Debugging is usually performed to correct errors in software that has been created. An in-circuit emulator is a device that can be executed in real time to help with this debugging and to know the operation of the microprocessor at that time. In-circuit
The emulator has four probes that have the same scibin arrangement as the microprocessor. By removing the microprocessor from the IC socket and inserting an in-circuit emulator probe into the socket, it is possible to execute the same instructions as a microprocessor. By executing this instruction, it is possible to know the contents of registers, reading and writing to memory, etc., which were not known when the microprocessor was executed.

第1図は従来のインサーキット・エミュレータを含む情
報処理システムの一例のブロック図である。
FIG. 1 is a block diagram of an example of an information processing system including a conventional in-circuit emulator.

第1図において、1は情報処理装置、4はインサーキッ
ト・エミーレータである。情報処理装置1はインサーキ
ット−エミュレータ4に対して制御コマンドを発行する
機能を有する。情報処理装置1はインサーキット・エミ
ーレータ4に対して制御コマンドを発行する機能を有す
る。情報処理装置1はインサーキット・エミーレータ4
に対してホスト・マシンとなるので以下情報処理装置1
をホスト・マシンと呼ぶ。インサーキット・エミーレー
タはインターフェース部5、制御部6、エミュレーシヨ
ン都7を有し、インターフェース部5は情報処理装置の
インターフェース部2と通信回線3で結ばれる。
In FIG. 1, 1 is an information processing device, and 4 is an in-circuit emulator. The information processing device 1 has a function of issuing control commands to the in-circuit emulator 4. The information processing device 1 has a function of issuing control commands to the in-circuit emulator 4. The information processing device 1 is an in-circuit emulator 4
Since it becomes the host machine for the following information processing device 1
is called the host machine. The in-circuit emulator has an interface section 5, a control section 6, and an emulation section 7, and the interface section 5 is connected to the interface section 2 of the information processing device through a communication line 3.

次にこのシステムの動作を説明する。ホスト・マシンは
、ソフト・ウェアを開発するための装置で、インサーキ
ット・エミーレータに対して制御コマンドを発行する機
能を持っている。このホスト・マシンから発行された制
御コマンドは、インターフェース部2で通信用の信号に
変換され、通信回線3を通シ、インサーキット・エミー
レータ4へ到達する。インサーキット・エミュレータ内
では、インターフェース部5によシ通傷用に変換された
信号を元の制御コマンドに戻し、そのコマンドによシ制
御部6がエミュレータ部7を制御しエミュレーシ目ンヲ
行つ。
Next, the operation of this system will be explained. The host machine is a device for developing software and has the function of issuing control commands to the in-circuit emulator. Control commands issued from the host machine are converted into communication signals by the interface section 2, and reach the in-circuit emulator 4 through the communication line 3. In the in-circuit emulator, the signal converted by the interface unit 5 for use in communication and injury is returned to the original control command, and in accordance with the command, the control unit 6 controls the emulator unit 7 to carry out the emulation process.

従来のインサーキット・エミーレータは、上記制御部6
に特定のホスト・マシンの持つIll 御コマンドのみ
解釈できる機能しか持っておらず、他のホスト・マシン
に接続する場合、ホスト・マシンのコマンド仕様を変更
しなければならないという欠点があった。
In the conventional in-circuit emulator, the control section 6
It has the disadvantage that it only has the ability to interpret only the commands of a specific host machine, and when connecting to another host machine, the command specifications of the host machine must be changed.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記欠点を除去し、コマンド仕様の異
なるホスト・マシンに接続しても動作させることのでき
るエミュレーシヨン装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an emulation device that eliminates the above drawbacks and can operate even when connected to a host machine with different command specifications.

〔発明の構成〕[Structure of the invention]

本発明のエミュレーシヨン装置は、制御コマンドを発行
する機能を持つ情報処理装置のインターフェース部に通
信回線で接続するインターフェース部と、該インターフ
ェース部から入力される前記制御コマンドを自己のコマ
ンド仕様に変換するコマンド変換部と、該コマンド変換
部からの変換された制御コマンドを受取って動作制御を
行なう制御部と、該制御部の制御によって動作するエミ
ュレーシヨン都とを含んで構成される。
The emulation device of the present invention includes an interface unit that is connected via a communication line to an interface unit of an information processing device that has a function of issuing control commands, and converts the control commands input from the interface unit into its own command specifications. It is configured to include a command conversion section, a control section that receives the converted control command from the command conversion section and performs operation control, and an emulation module that operates under the control of the control section.

〔実施例の説明〕[Explanation of Examples]

次に、本発明の一実施例について図面を用いて説明する
Next, one embodiment of the present invention will be described using the drawings.

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

この実施例は、■制御コマンドを発行する機能を持つ情
報処理装置1のインターフェース部2に通信回IfM3
で接続するインターフェース部11と、このインターフ
ェース部11から入力される制御コマンドを自己のコマ
ンド仕様に変換するコマンド変換部12と、このコマン
ド変換部12からの変換された制御コマンドを受取って
動作制御を行なう制御部13と、この制御部13の制御
によって動作するエミュレーシヨン都14とを含んで構
成される。
In this embodiment, (1) communication circuit IfM3 is connected to the interface unit 2 of the information processing device 1 having the function of issuing control commands.
an interface section 11 connected to the interface section 11, a command conversion section 12 that converts control commands input from this interface section 11 into its own command specifications, and a command conversion section 12 that receives the converted control commands from this command conversion section 12 and performs operation control. The emulation unit 14 is configured to include a control unit 13 that performs the following operations, and an emulation unit 14 that operates under the control of the control unit 13.

このエミュレーシヨンe= ffft i’li 、シ
リアル、パラレルのいずれの方式のものにも適用される
This emulation e=ffft i'li is applicable to both serial and parallel systems.

第3図は第2図に示すコマンド変換部のブロック図であ
る。
FIG. 3 is a block diagram of the command converter shown in FIG. 2.

このコマンド変換部12は、ホスト・マシンから送られ
るコマンドを受取るコマンド・バッファ。
This command conversion unit 12 is a command buffer that receives commands sent from the host machine.

レジスタ21と、プログラムをi己憶するR OM 2
4と、几0M24に省かれたプログラムにより自己のコ
マンド仕様に基いたコマンドを発行するマイクロプロセ
ッサ23と、マイクロプロセッサ23から送られるコマ
ンドを蛍取り、!I;1j御部13へ送るコマンド・バ
ッファ・レジスタ22とを含んで構成される。ま1ヒ、
fa’l岬部13から送られて来7七メモリのデータも
マイクロプロセ、す23によりホスト・マシンの表示形
式に合致した形式に変換する。
Register 21 and ROM 2 that stores programs
4, a microprocessor 23 that issues commands based on its own command specifications using a program omitted in the 几0M24, and a firefly captures commands sent from the microprocessor 23! I;1j includes a command buffer register 22 for sending to the control section 13. Ma1hi,
The data in the 77 memory sent from the fa'l cape section 13 is also converted by the microprocessor 23 into a format that matches the display format of the host machine.

次に、本実施例の動作について説明する。この説明ハ、
エミュレーション装置10のコマンド仕様とは異なるコ
マンド仕様のホスト・マシンとエミュレーション装置と
が接続された場合について行う。また、ユーザーがエミ
ュレーション装置10内のメモリの1000番地からl
oFF番地の内容をコンソールに表示させようとする場
合を例にとって説明することにする。
Next, the operation of this embodiment will be explained. This explanation,
This is performed when the emulation device is connected to a host machine whose command specifications differ from those of the emulation device 10. In addition, if the user
An example will be explained in which the contents of the oFF address are to be displayed on the console.

ユーザがコンソール15からDISP 1000T01
OFFというコマンドを受取る。このコマンドは、コマ
ンド変換部12で、自己のコマンド仕様に合致するコマ
ンドDM−1000,l0FF’に変換する。そして、
そのコマンドによシ制御部が、エミュレーション装置内
のメモリの内容を読出し、自己の表示形式でコマンド変
換部12へ送り出す。
The user accesses DISP 1000T01 from console 15.
Receives the command OFF. This command is converted by the command converter 12 into a command DM-1000, l0FF' that matches its own command specifications. and,
In response to the command, the controller reads the contents of the memory within the emulation device and sends it to the command converter 12 in its own display format.

コマンド変換部12は、そのメモリの内容をホスト・マ
シンの表示形式に合致するように変換し、インターフェ
ース部11を通してホスト・マシンに送り出す。そして
、ホスト・マシンはそのメモリの内容をコンソール15
上に表示し、一連の処理が終わる。
The command conversion section 12 converts the contents of the memory to match the display format of the host machine, and sends it to the host machine through the interface section 11. The host machine then records the contents of its memory on the console 15.
It will be displayed above and the series of processing will be completed.

コマンド変換部の動作について更に詳しく説明する。コ
マンド・バッファ・レジスタ21にポスト・マシンから
コマンドが送られてくる。するとマイクロプロセッサ2
3はROM24に1かれたプログラムによシコマンド・
バッファ・レジスタ22に自己のコマンド仕様に基いた
コマンドを送る。
The operation of the command converter will be explained in more detail. A command is sent to the command buffer register 21 from the post machine. Then microprocessor 2
3 is a command written by the program written in ROM24.
A command based on its own command specifications is sent to the buffer register 22.

この様に、コマンドの変換は、マイクロプロセッサによ
シ行うので、ホスト・マシンのコマンド仕様に応じた変
換用プログラムを書込んだROMを用意しておけば、R
OMを取換えるだけで、どのようなコマンド仕様のホス
ト・マシンに対しても本発明のエミーレーシ日ン装置は
、接続し、動作することができる。また、この様な構成
にすることによシ、誤まったコマンド入力を行った場合
、コマンド変換部で、コマンド・エラーとして検出、シ
、ホスト・マシンにメツセージを出力するので、制御部
はそれらの処理にかかわらず、エミュレーション部の制
御に専念できる吉いう利点もある。
In this way, command conversion is performed by the microprocessor, so if you prepare a ROM in which a conversion program is written according to the command specifications of the host machine, R
By simply replacing the OM, the Emmy LAN system of the present invention can be connected to and operated on any host machine with any command specifications. Also, with this configuration, if an incorrect command is input, the command converter will detect it as a command error and output a message to the host machine, so the control unit will There is also the advantage that you can concentrate on controlling the emulation section, regardless of the processing.

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

本発明は、以上説明し/こように、エミーレーシ日ン装
置にコマンド変換機能を持たせることにより、コマンド
仕様の異なるホスト・マシンに接続して動作させること
ができ、ホスト・マシン側のソフトlウェアを伺ら変更
する必要がないという効果を有する。
As explained above/as described above, the present invention is capable of connecting and operating a host machine with different command specifications by providing the Emmy LASI date device with a command conversion function, and the host machine's software l This has the effect that there is no need to change the clothing.

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

第1図は、従来のインサーキット・エミーレータを含む
情報処理システムの一例のブロック図、第2図は本発明
の一実施例のブロック図、第3図は第2図に示すコマン
ド変換部のブロック図である。 1・・・・・・情報処理装置、2・・・・・インターフ
ェース部、3・・・・・通悟回にハ4・・・・・・イン
サーキット・エーレーションt装置、1 i・・・・・
・インターフェース部、12・・・・・・コマンド変換
部、13・・・・・・制御部、14・・・・・・エミュ
レーション部、15・・団・コンソール、21.22・
・・・・・コマンド・バッファ・レジスタ、23・・・
・・・マイクロプロセッサ、24・・・・・・ROM 
FIG. 1 is a block diagram of an example of an information processing system including a conventional in-circuit emulator, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a block diagram of the command converter shown in FIG. 2. It is a diagram. 1...Information processing device, 2...Interface unit, 3...Intelligence unit 4...In-circuit aeration device, 1 i... ...
- Interface section, 12... Command conversion section, 13... Control section, 14... Emulation section, 15... Group console, 21.22.
...Command buffer register, 23...
...Microprocessor, 24...ROM
.

Claims (1)

【特許請求の範囲】[Claims] 制御コマンドを発行する機能を持つ情報処理装置のイン
ターフェース部に通信回線で接続するイア’X−フェー
ス部と、該インターフェース部から入力される前部制御
コマンドを自己のコマンド仕様に変換するコマンド変換
部と、該コマンド変換部からの変換された制御コマンド
を受取って動作制御を行なう制御部と、該制御部の制御
によって動作するエミュレーシヨン部とを含むことを特
徴トスルエミーレーシコン装置。
An ear'X-face unit that is connected via a communication line to an interface unit of an information processing device that has a function of issuing control commands, and a command conversion unit that converts front control commands input from the interface unit into its own command specifications. What is claimed is: 1. A tossle emulation system comprising: a control section that receives the converted control command from the command conversion section and performs operation control; and an emulation section that operates under the control of the control section.
JP58179606A 1983-09-28 1983-09-28 Emulation device Pending JPS6072034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58179606A JPS6072034A (en) 1983-09-28 1983-09-28 Emulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58179606A JPS6072034A (en) 1983-09-28 1983-09-28 Emulation device

Publications (1)

Publication Number Publication Date
JPS6072034A true JPS6072034A (en) 1985-04-24

Family

ID=16068682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58179606A Pending JPS6072034A (en) 1983-09-28 1983-09-28 Emulation device

Country Status (1)

Country Link
JP (1) JPS6072034A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0351925A (en) * 1989-07-19 1991-03-06 Yokogawa Electric Corp Microprocessor simulator
US6708289B1 (en) 1998-03-31 2004-03-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7047443B2 (en) 1998-03-31 2006-05-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0351925A (en) * 1989-07-19 1991-03-06 Yokogawa Electric Corp Microprocessor simulator
US6708289B1 (en) 1998-03-31 2004-03-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
WO2004075059A1 (en) * 1998-03-31 2004-09-02 Makoto Kudo Microcomputer, electronic device, and debugging system
US7047443B2 (en) 1998-03-31 2006-05-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7100086B1 (en) 1998-03-31 2006-08-29 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7114101B2 (en) 1998-03-31 2006-09-26 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system

Similar Documents

Publication Publication Date Title
CN115033444B (en) 8051 core-based online debugging circuit control device
JPS6072034A (en) Emulation device
CN210667263U (en) Communication system for simulation training device
US20010016923A1 (en) Program execution system for semiconductor testing apparatus
JPH03286303A (en) Sequence control test system
JPS6310456B2 (en)
CN113515415B (en) Test medium generation method, system and medium
JPS6333181B2 (en)
JP2001084161A (en) Data processor
JPS60159911A (en) Hierarchical sequence control device
JPS62171043A (en) Aiding device for software development
JPH0460807A (en) Programming device for programmable controller
JPH0368037A (en) Program developing device
JPS5991510A (en) Testing device of function in process control
JPH0477919A (en) Magnetic disk device with debug interface
JPS6326741A (en) Testing instrument for data processor
JPH11167501A (en) Program debugging system and program debugging method
JPH01253043A (en) Input/output controller
JPS6324328A (en) Data input/output system
JPH04369044A (en) Testing device for computer
JPS62111333A (en) System debugging method
JPS6235947A (en) Controller
JPS62280940A (en) Data processor
JPH03105430A (en) Unit function test system
JPS63172321A (en) Data input device