JPS63282855A - Multi-cpu controller - Google Patents

Multi-cpu controller

Info

Publication number
JPS63282855A
JPS63282855A JP62116888A JP11688887A JPS63282855A JP S63282855 A JPS63282855 A JP S63282855A JP 62116888 A JP62116888 A JP 62116888A JP 11688887 A JP11688887 A JP 11688887A JP S63282855 A JPS63282855 A JP S63282855A
Authority
JP
Japan
Prior art keywords
cpu
memory
address space
monitor
bus
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
JP62116888A
Other languages
Japanese (ja)
Inventor
Hiroshi Kudegata
久手堅 浩
Kazuhiko Mino
三野 和彦
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.)
Aisin Takaoka Co Ltd
Original Assignee
Takaoka Industrial 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 Takaoka Industrial Co Ltd filed Critical Takaoka Industrial Co Ltd
Priority to JP62116888A priority Critical patent/JPS63282855A/en
Publication of JPS63282855A publication Critical patent/JPS63282855A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the efficiency of debugging by using a part of a monitor CPU as address spaces of a mapping memory and a microinstruction memory. CONSTITUTION:An address space A1 for a monitor CPU program is an area storing a program for operating a CPU itself and an address space A2 for monitor CPU data is an area to the used as a buffer at the time of loading data from a host CPU 1. A mapping memory address space A3 and a microinstruction memory address space A4 are respective areas for the mapping memory 8 and the microinstruction memory 10 in a CPU emulation device 22. The monitor CPU 4 extracts data from the address space A2 and transfers the data of the necessary number of bytes to the address spaces A3, A4. Consequently, emulation can be easily executed.

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明はソフトウェア開発のデバッグ装置として使用す
るCPUエミュレーション装置のマルチCPtJエミュ
レーションの制御に関するものでる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to multi-CPtJ emulation control of a CPU emulation device used as a debugging device for software development.

「従来の技術」 従来のエミュレーションは、ワークステーション等のホ
スト上で実際のCPUの命令を一命令毎エアシミュレー
タ又はそれに類するエミュレータ装置であり、目的とす
るCPU毎にそれらを設けていた。
``Prior Art'' Conventional emulation is an air simulator or similar emulator device that analyzes actual CPU instructions one by one on a host such as a workstation, and is provided for each target CPU.

[発明が解決しようとする問題点」 目的とするCPU毎にソフトウェア・シミュレータ(又
はそれに類するエミュレーション装置)が必要であり、
非常に高価になるとともに、新規の目的とするCPUに
対しては、その都度ソフトウェア・シミュレータ(又は
それに類するエミュレーション装置)を新たに作成しな
ければならず、短期間に対応することは非常に困難であ
る。
[Problem to be solved by the invention] A software simulator (or similar emulation device) is required for each target CPU;
In addition to being extremely expensive, a new software simulator (or similar emulation device) must be created each time a new CPU is targeted, making it extremely difficult to respond in a short period of time. It is.

「問題点を解決するための手段」 CPtJエミュレーション装置のマツピングメモリ、マ
イクロ・インストラクションメモリに格納されるデータ
を変更することにより、各種目的のCPUエミュレーシ
ョンを可能にするために、水制6tl装置の全体をコン
トロールするモニタCPUと、そのバスに接続されるモ
ニタCPLIのプログラム及びデータを格納覆るメモリ
、モニタCPUのバスに接続されそのバスとマツピング
メモリ及びマイクロ・インストラクションメモリとの接
続をコントロールするバス接続回路、モニタCPUのバ
スに接続されCPUエミュレーション装置のスタート、
ストップをコントロールしその結果マイクロ・インスト
ラクションメモリより出力されるアクノレッジ信号によ
りバス接続回路をコントロールするバス接続↓制御回路
、モニタCPUのバスに接続されマツピングメモリ及び
マイクロ・インストラクションメモリに格納するデータ
をホストからロードするためのホストインタフェイスを
備えるとともに、マツピングメモリ及びマイクロ・イン
ストラクションメモリのアドレス空間はモニタcpuめ
一部を使用する。
"Means for Solving Problems" In order to enable CPU emulation for various purposes by changing the data stored in the mapping memory and micro-instruction memory of the CPtJ emulation device, we have developed the water control 6TL device. A monitor CPU that controls the entire system, a memory that stores and covers programs and data for the monitor CPLI connected to the bus, and a bus that is connected to the monitor CPU bus and controls the connection between that bus and the mapping memory and micro-instruction memory. The connection circuit is connected to the bus of the monitor CPU and starts the CPU emulation device.
Bus connection that controls the stop and as a result controls the bus connection circuit by the acknowledge signal output from the micro-instruction memory ↓ Control circuit, connected to the bus of the monitor CPU and hosts the data stored in the mapping memory and micro-instruction memory The address space of the mapping memory and micro-instruction memory uses part of the address space of the monitor CPU.

「実施例」 つぎに第1図以降を参照して本発明の詳細な説明する。"Example" Next, the present invention will be explained in detail with reference to FIG. 1 and subsequent figures.

第1図はマルチCPU制御装置21の構成図を示し、マ
ルチCPU制御装置21とCPUエミュレーション装置
22及びホストCPU1との関連もあわせて図示しであ
る。
FIG. 1 shows a configuration diagram of the multi-CPU control device 21, and also shows the relationship between the multi-CPU control device 21, the CPU emulation device 22, and the host CPU 1.

第2図はマルチCPU制御装置 ントロールする際、必要なアドレス空間の割付の一例で
おる。
FIG. 2 shows an example of address space allocation required when controlling a multi-CPU controller.

第1図においてマツピングメモリ8及びマイクロ・イン
ストラクションメモリ10に格納するデータをホストイ
ンタフェイス2を介してモニタCPU4の制御のもとに
ホストCPU1よりメモリ3にローディングする。ロー
ディングするアドレス空間は第2図に示すモニタCPU
データ用アドレス空間A2で必る。
In FIG. 1, data to be stored in a mapping memory 8 and a micro-instruction memory 10 are loaded into a memory 3 by a host CPU 1 via a host interface 2 under the control of a monitor CPU 4. The address space for loading is the monitor CPU shown in Figure 2.
Required for data address space A2.

第2図において、モニタCPtJプログラム用アドレス
空間A1はモニタCPU自身が動作するためのプログラ
ムを格納するエリア、モニタCPUデータ用アドレス空
間A2はホスi〜CPU1よりローディングする際のバ
ッファとして使用するエリア、マツピングメモリ用アド
レス空間A3およびマイクロ・インストラクションメモ
リ用アドレス空間A4はCPtJエミュレーション装置
22のそれぞれマツピングメモリ8、マイクロ・インス
トラクションメモリ10用のエリアでおる。
In FIG. 2, a monitor CPtJ program address space A1 is an area for storing a program for the monitor CPU itself to operate, a monitor CPU data address space A2 is an area used as a buffer when loading from the host i to CPU1, The mapping memory address space A3 and the micro-instruction memory address space A4 are areas for the mapping memory 8 and micro-instruction memory 10, respectively, of the CPtJ emulation device 22.

第1図のモニタCPU4よりバス接続制御回路7を介し
てCPUエミュレーション装置22のシーケンサ9に対
して信号りにストップ信号を出力する。
The monitor CPU 4 shown in FIG. 1 outputs a stop signal to the sequencer 9 of the CPU emulation device 22 via the bus connection control circuit 7.

CPUエミュレーション装置22が停止するとマイクロ
・インストラクションメモリ10よりアクノレッジ信号
E(停止)が出力され、その信号がバス接続回路5及び
6に入力されるとモニタCPU4の3個のバス人、B、
C(Aはアドレス・バス、Bはデータ・バス、Cはコン
トロール・バスとして使用)とマツピングメモリ8、マ
イクロインストラクションメモリ10が接続される。
When the CPU emulation device 22 stops, the micro-instruction memory 10 outputs an acknowledge signal E (stop), and when this signal is input to the bus connection circuits 5 and 6, the three buses of the monitor CPU 4, B, and
C (A is used as an address bus, B is used as a data bus, and C is used as a control bus), mapping memory 8, and microinstruction memory 10 are connected.

アクノレッジ信号E(停止)をバス接続制御回路7を介
してモニタCPU4が認識したならば、モニタCPU4
は第2図のモニタCPUデータ用アドレス空間A2より
データを取り出しマツピングメモリ用アドレス空間A3
及びマイクロ・インストラクションメモリ用アドレス空
間A4へそれぞれ必要なバイト数データを転送する。
When the monitor CPU 4 recognizes the acknowledge signal E (stop) via the bus connection control circuit 7, the monitor CPU 4
extracts data from address space A2 for monitor CPU data in Figure 2 and transfers it to address space A3 for mapping memory.
and transfer the required number of bytes of data to the micro instruction memory address space A4.

モニタCPU4はデータの転送終了後バス接続制御回路
7を介してCPUエミュレーション装置22のシーケン
サ9に対して信号りにスターI・信号を出力する。CP
Uエミュレーション装置22が動作を開始するとマイク
ロ・インストラクションメモリ10よりアクノレッジ信
号E(開始)が出ツノされ、その信号がバス接続回路5
及び6に入力されるとモニタCPU4の3個のバス(ア
ドレスバスA、データ・バスBおよびコントロール・バ
スC〉とマツピングメモリ8、マイクロ・インストラク
ションメモリ10が切離されCPUエミュレーション装
置22は独立して動作する。アクノレッジ信号E(開始
)をバス接続制御回路7を介してモニタCPU4が認識
し一連の動作が終了する。
After the data transfer is completed, the monitor CPU 4 outputs a star I signal to the sequencer 9 of the CPU emulation device 22 via the bus connection control circuit 7. C.P.
When the U emulation device 22 starts operating, an acknowledge signal E (start) is output from the micro instruction memory 10, and this signal is sent to the bus connection circuit 5.
and 6, the three buses (address bus A, data bus B, and control bus C) of the monitor CPU 4, the mapping memory 8, and the microinstruction memory 10 are separated, and the CPU emulation device 22 becomes independent. The monitor CPU 4 recognizes the acknowledge signal E (start) via the bus connection control circuit 7, and the series of operations ends.

ホストCPU1よりローディングするデータをエミュレ
ーションする各種の目的CPUのデータに変更し以上の
動作を繰り返すこととによりマルチCPUエミュレーシ
ョンの制御が可能となる。
Multi-CPU emulation control becomes possible by changing the data loaded from the host CPU 1 to data for various target CPUs to be emulated and repeating the above operations.

「発明の効果」 本発明により1gのCPUエミュレーション装置により
各種の目的とするcpu <市販されているCPU、カ
スタムCPU等々)のエミュレーションが容易に可能と
なる。
"Effects of the Invention" According to the present invention, it becomes possible to easily emulate various target CPUs (commercially available CPUs, custom CPUs, etc.) using a 1g CPU emulation device.

即ち、新規の目的とするCPUに対してはジェネレーシ
ョンデータを作成してホストCPUよりローディングす
るだけで、また複数の人が異なるCPUのエミュレーシ
ョンをする場合は、各々のジェネレーションデータをホ
ストCPUより必要の都度ローディングするだけでいず
れの場合も即座に対応できる。
In other words, for a new target CPU, just create generation data and load it from the host CPU, and if multiple people are emulating different CPUs, each generation data can be downloaded from the host CPU. You can respond to any situation immediately by simply loading it each time.

従ってエミュレーションツールの費用が大巾に減少する
とともに、デバッグ効率が飛躍的に向上する。
Therefore, the cost of emulation tools is greatly reduced and debugging efficiency is dramatically improved.

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

第1図はマルチCPU制御装置の構成図、第2図はアド
レス空間の割付の一例を示す図でおる。 図において 1はホストCPU 2はホストインタフェイス 3はメモリ 4はモニタCPU 5.6はバス接続回路 7はバス接続制御回路 8はマツピングメモリ 9はシーケンサ □) 10はマイクロ・インストラクションメモリ22
はCPUエミュレーション装置 A、B、Cはバス A1、A2、A3、A4はアドレス空間でおる。 特許出願人  株式会社 高岳製作所 sZ図
FIG. 1 is a block diagram of a multi-CPU control device, and FIG. 2 is a diagram showing an example of address space allocation. In the figure, 1 is a host CPU, 2 is a host interface, 3 is a memory 4 is a monitor CPU, 5.6 is a bus connection circuit 7 is a bus connection control circuit 8 is a mapping memory 9 is a sequencer □) 10 is a micro instruction memory 22
In the CPU emulation devices A, B, and C, buses A1, A2, A3, and A4 are address spaces. Patent applicant: Takatake Manufacturing Co., Ltd. sZ diagram

Claims (1)

【特許請求の範囲】[Claims] 本制御装置の全体をコントロールするモニタCPUと、
そのバスに接続されるモニタCPUのプログラム及びデ
ータを格納するメモリ、モニタCPUのバスに接続され
、そのバスとマッピングメモリ及びマイクロ・インスト
ラクションメモリとの接続をコントロールするバス接続
回路、モニタCPUのバスに接続されCPUエミュレー
ション装置のスタート、ストップをコントロールし、そ
の結果マイクロ・インストラクションメモリより出力さ
れるアクノレッジ信号によりバス接続回路をコントロー
ルするバス接続制御回路、モニタCPUのバスに接続さ
れ、マッピングメモリ及びマイクロ・インストラクショ
ンメモリに格納するデータをホストCPUからロードす
るためのホストインタフェイスを備えるとともに、マッ
ピングメモリ及びマイクロ・インストラクションメモリ
のアドレス空間はモニタCPUのアドレス空間の一部を
使用していることを特徴とするマルチCPU制御装置。
A monitor CPU that controls the entire control device,
A memory that stores programs and data for the monitor CPU that is connected to the bus, a bus connection circuit that is connected to the bus of the monitor CPU, and that controls the connection between that bus and the mapping memory and micro-instruction memory; A bus connection control circuit that controls the start and stop of the connected CPU emulation device and, as a result, controls the bus connection circuit by an acknowledge signal output from the micro instruction memory. The present invention is characterized in that it includes a host interface for loading data to be stored in the instruction memory from the host CPU, and that the address space of the mapping memory and the micro-instruction memory uses a part of the address space of the monitor CPU. Multi-CPU control device.
JP62116888A 1987-05-15 1987-05-15 Multi-cpu controller Pending JPS63282855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62116888A JPS63282855A (en) 1987-05-15 1987-05-15 Multi-cpu controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62116888A JPS63282855A (en) 1987-05-15 1987-05-15 Multi-cpu controller

Publications (1)

Publication Number Publication Date
JPS63282855A true JPS63282855A (en) 1988-11-18

Family

ID=14698121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62116888A Pending JPS63282855A (en) 1987-05-15 1987-05-15 Multi-cpu controller

Country Status (1)

Country Link
JP (1) JPS63282855A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56132647A (en) * 1980-03-21 1981-10-17 Oyo Syst Kenkyusho:Kk Diagnostic system
JPS6043754A (en) * 1983-08-19 1985-03-08 Anritsu Corp Emulator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56132647A (en) * 1980-03-21 1981-10-17 Oyo Syst Kenkyusho:Kk Diagnostic system
JPS6043754A (en) * 1983-08-19 1985-03-08 Anritsu Corp Emulator

Similar Documents

Publication Publication Date Title
KR970076251A (en) Data processor and data processing system
JP2708608B2 (en) Virtual machine IPL processing method
JPS63282855A (en) Multi-cpu controller
JP2000298596A (en) Vlsi emulator using processor and resettable chip
JPS63282856A (en) Multi-access control device
JPS61161553A (en) Hardware simulator
JP2619416B2 (en) emulator
JP2767587B2 (en) Local terminal simulator
JPS6020771B2 (en) Micro diagnosis method
JPH0373011B2 (en)
JPS63158654A (en) Microcontroller
JPS62280940A (en) Data processor
JPH01305443A (en) Logic simulation system
JPH0754508B2 (en) Computer system
JPS61240333A (en) Input and output interruption processing system
JPH02211573A (en) Host and target machine system
JPH07113900B2 (en) Emulation chip
JPH0377134A (en) Optimum environment setting program for computer system
JPH1083316A (en) Multi cpu system
JPH0697435B2 (en) Variation chip
JPS61285565A (en) Load decentralized data processor
JPH044615B2 (en)
JPS63261432A (en) Input/output execution system in virtual computer
JPS63285643A (en) System evaluation board for single chip microcomputer
JPS60238945A (en) Microprogram controller