JPH08147184A - Emulator - Google Patents

Emulator

Info

Publication number
JPH08147184A
JPH08147184A JP6286378A JP28637894A JPH08147184A JP H08147184 A JPH08147184 A JP H08147184A JP 6286378 A JP6286378 A JP 6286378A JP 28637894 A JP28637894 A JP 28637894A JP H08147184 A JPH08147184 A JP H08147184A
Authority
JP
Japan
Prior art keywords
evaluation chip
memory
signal
access
parallel access
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.)
Withdrawn
Application number
JP6286378A
Other languages
Japanese (ja)
Inventor
Sukeji Miyazaki
亮児 宮崎
Kenichi Aoki
健一 青木
Yuji Ota
祐二 太田
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Microcomputer System Ltd
Hitachi 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 Hitachi Microcomputer System Ltd, Hitachi Ltd filed Critical Hitachi Microcomputer System Ltd
Priority to JP6286378A priority Critical patent/JPH08147184A/en
Publication of JPH08147184A publication Critical patent/JPH08147184A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE: To provide the emulator with which memory access is enabled in the real operation of a user program even with an evaluation chip corresponding to a high-speed microcomputer by providing a parallel access function corresponding to the high-speed control of a memory. CONSTITUTION: This emulator is composed of the evaluation chip equipped with a /PREQ signal 8 and a /PACK signal 9 as signals for synchronization at the time of parallel access and a parallel access control part 18, to which a host CPU can perform access, or the like and this parallel access control part 18 is provided with a parallel access operation control part 23 for performing the synchronization with the evaluation chip corresponding to the /PREQ signal 8 and /PACK signal 9 based on the information transferred from a system bus interface 19 and for performing control to report the timing of parallel access start to the memory and an emulation memory interface control part 20 by making a /START signal 22 active.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マイクロコンピュータ
応用機器およびソフトウェアの開発支援を行うエミュレ
ータに関し、特にエミュレータに搭載されたマイクロコ
ンピュータ内蔵メモリ、およびユーザメモリを代行する
エミュレーションメモリに対し、エミュレータに搭載さ
れたユーザシステムのマイクロコンピュータの機能を代
行するマイクロコンピュータ評価チップ以外からのアク
セスを行える機能(以降パラレルアクセス機能と呼ぶ)
を有するエミュレータに適用して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an emulator for supporting the development of microcomputer-applied equipment and software, and more particularly to a microcomputer built-in memory mounted in the emulator and an emulation memory acting on behalf of a user memory mounted in the emulator. That can be accessed from other than the microcomputer evaluation chip that substitutes the functions of the microcomputer of the specified user system (hereinafter referred to as parallel access function)
The present invention relates to a technique effective when applied to an emulator having.

【0002】[0002]

【従来の技術】たとえば、マイクロコンピュータ応用機
器およびソフトウェアの開発支援を行うエミュレータに
おいて、パラレルアクセス機能とは、ユーザプログラム
の実行中、ユーザプログラムを中断することなくエミュ
レーションメモリなどに格納されたデータを参照、変更
する場合に用いられる機能である。一般に、エミュレー
タでは、ユーザプログラムの実行状態において、メモリ
の内容の表示、変更が可能である。
2. Description of the Related Art For example, in an emulator for supporting development of microcomputer-applied equipment and software, the parallel access function refers to data stored in an emulation memory or the like during execution of a user program without interrupting the user program. , A function used when changing. Generally, the emulator can display and change the contents of the memory while the user program is running.

【0003】ここで、図4に示す機能ブロック図によ
り、パラレルアクセス機能の概要を説明する。
Here, the outline of the parallel access function will be described with reference to the functional block diagram shown in FIG.

【0004】すなわち、このパラレルアクセス機能にお
いては、評価チップによるユーザプログラムの実行中、
他のCPUなどからのエミュレーションメモリへのアク
セス要求に対して、パラレル制御ブロックは評価チップ
のエミュレーションメモリなどへのアクセスサイクルを
止めずに応答することが可能である。
That is, in the parallel access function, during execution of the user program by the evaluation chip,
The parallel control block can respond to an access request to the emulation memory from another CPU or the like without stopping the access cycle to the emulation memory of the evaluation chip.

【0005】また、評価チップとエミュレーションメモ
リとの代表的な2ステートのアクセスサイクルにおいて
は、図5に示すように従来のほとんどの評価チップはシ
ステムクロックが2クロックで1回のバスサイクルが終
了する。
Further, in a typical 2-state access cycle between the evaluation chip and the emulation memory, as shown in FIG. 5, most conventional evaluation chips have a system clock of 2 clocks and complete one bus cycle. .

【0006】従って、図6のパラレルアクセスサイクル
に示すように、評価チップのバスサイクル内に、他のC
PUとエミュレーションメモリとの間のデータ転送を行
うバス分割によりパラレルアクセス機能を実現してい
る。
Therefore, as shown in the parallel access cycle of FIG. 6, another C is inserted in the bus cycle of the evaluation chip.
The parallel access function is realized by dividing the bus that transfers data between the PU and the emulation memory.

【0007】[0007]

【発明が解決しようとする課題】ところで、前記のよう
なパラレルアクセス方式においては、評価チップのバス
サイクル内に2回のアクセスが行えるメモリのアクセス
スピード、データバスバッファの高速制御が必要となる
が、このバス分割によるパラレルアクセス機能では対応
できなくなってきている。
By the way, in the parallel access system as described above, the access speed of the memory and the high speed control of the data bus buffer, which can be accessed twice within the bus cycle of the evaluation chip, are required. , The parallel access function based on this bus division is no longer compatible.

【0008】すなわち、年々、評価チップの動作クロッ
クが高速化し、またバスサイクルが1クロックで動作す
る評価チップなども多くなってきたことから、バス分割
方式によるパラレルアクセス機能ではメモリのアクセス
スピードなどが追従できなくなっている。
In other words, the operating clock of the evaluation chip has become faster year by year, and the number of evaluation chips operating with a bus cycle of one clock has increased. I can no longer follow.

【0009】従って、現状のパラレルアクセス方式にお
いては、一旦ユーザプログラムを停止してメモリのアク
セスを行っており、ユーザプログラムの実動作でのメモ
リのアクセスができないという問題が生じてきている。
Therefore, in the current parallel access method, the user program is temporarily stopped to access the memory, and there is a problem that the memory cannot be accessed in the actual operation of the user program.

【0010】そこで、本発明の目的は、メモリの高速制
御によるアクセススピードに対応したパラレルアクセス
機能を実現し、高速なマイクロコンピュータに対応する
評価チップにおいても、ユーザプログラムの実動作での
メモリアクセスを行うことができるエミュレータを提供
することにある。
Therefore, an object of the present invention is to realize a parallel access function corresponding to an access speed by high-speed control of a memory, and to perform a memory access in an actual operation of a user program even in an evaluation chip corresponding to a high-speed microcomputer. It is to provide an emulator that can do.

【0011】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0012】[0012]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
以下のとおりである。
Of the inventions disclosed in the present application, a representative one will be briefly described below.
It is as follows.

【0013】すなわち、本発明のエミュレータは、プロ
グラム命令の流れによっては外部アクセスのない空サイ
クルが存在する評価チップを搭載したマイクロコンピュ
ータの機能を代行し、マイクロコンピュータ応用システ
ムのデバッグを可能とするものであり、特にパラレルア
クセス制御のために、評価チップに入力信号と出力信号
を設け、さらにこの入力信号がアクティブ期間中に発生
した空サイクル期間は評価チップに有するアドレス、デ
ータバス信号をハイインピーダンス状態にすると同時
に、出力信号をアクティブにするパラレルアクセス動作
制御手段を備えるものである。
That is, the emulator of the present invention substitutes the function of a microcomputer equipped with an evaluation chip in which there is an empty cycle without external access depending on the flow of program instructions, and enables debugging of a microcomputer application system. In particular, for parallel access control, the evaluation chip is provided with an input signal and an output signal, and the address and data bus signals possessed by the evaluation chip are in a high impedance state during the empty cycle period during which this input signal occurs during the active period. At the same time, the parallel access operation control means for activating the output signal is provided.

【0014】また、評価チップに入力信号を設けること
なく、評価チップは、常に空サイクル期間は評価チップ
に有するアドレス、データバス信号をハイインピーダン
ス状態にすると同時に、出力信号をアクティブにするよ
うにしたものである。
Further, without providing an input signal to the evaluation chip, the evaluation chip always puts the address and data bus signals in the evaluation chip into the high impedance state during the empty cycle period, and at the same time, activates the output signal. It is a thing.

【0015】さらに、エミュレータに搭載されたマイク
ロコンピュータ内蔵メモリ、およびユーザ側のシステム
メモリを代行するエミュレーションメモリへの評価チッ
プ以外からのアクセス要求に対して、アドレス、データ
バス信号がハイインピーダンス状態になる空サイクル期
間にアクセス先アドレス、データ、コントロール信号を
出力するようにしたものである。
Further, in response to an access request from a memory other than the evaluation chip to the microcomputer built-in memory mounted on the emulator and the user side system memory, the address and data bus signals are in a high impedance state. The access destination address, data, and control signal are output during the empty cycle period.

【0016】[0016]

【作用】前記したエミュレータによれば、パラレルアク
セス機能として、入力信号と出力信号が評価チップに設
けられ、さらにパラレルアクセス動作制御手段が備えら
れることにより、まずエミュレータは評価チップ以外か
らのアクセス要求に対し、評価チップに対して入力信号
をアクティブにする。
According to the emulator described above, as the parallel access function, the evaluation chip is provided with the input signal and the output signal, and further the parallel access operation control means is provided. On the other hand, the input signal is activated for the evaluation chip.

【0017】さらに、評価チップは、入力信号がアクテ
ィブ期間中の空サイクル時にアドレス、データバス信号
をハイインピーダンス状態にすると同時に、その間出力
信号をアクティブにする。
Furthermore, the evaluation chip puts the address and data bus signals into a high impedance state when the input signal is in an empty cycle during the active period, and at the same time, activates the output signal.

【0018】そして、エミュレータは、出力信号がアク
ティブ状態であることを確認した後、アクセス先アドレ
スをアドレスバスに出力し、評価チップ以外からのアク
セス要求データがリード要求であればデータを取り込
み、ライト要求であればデータバスにデータを出力す
る。
Then, after confirming that the output signal is in the active state, the emulator outputs the access destination address to the address bus, and if the access request data from other than the evaluation chip is a read request, fetches the data and writes it. If requested, the data is output to the data bus.

【0019】これにより、評価チップを一時停止するこ
となくアクセスを可能とすることができ、メモリの高速
制御によるアクセススピードに対応したパラレルアクセ
ス機能を実現し、高速なマイクロコンピュータに対応す
る評価チップにおいても、ユーザプログラムの実動作で
のメモリのアクセスを行うことができる。
As a result, the evaluation chip can be accessed without pausing, a parallel access function corresponding to the access speed can be realized by high-speed control of the memory, and the evaluation chip compatible with a high-speed microcomputer can be realized. Also, the memory can be accessed in the actual operation of the user program.

【0020】なお、評価チップに入力信号を設けること
なく、常に空サイクル期間は評価チップに有するアドレ
ス、データバス信号をハイインピーダンスにすることに
よっても、前記同様に評価チップを一時停止することな
くパラレルアクセスを可能とすることができる。
Even if the evaluation chip is not provided with an input signal and the address and data bus signals in the evaluation chip are always set to a high impedance during the empty cycle period, the parallel evaluation is performed without suspending the evaluation chip. Can be accessible.

【0021】[0021]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0022】図1は本発明の一実施例であるエミュレー
タを示す機能ブロック図、図2は本実施例におけるパラ
レルアクセス制御部を示す構成図、図3はパラレルアク
セス時の動作シーケンスを示す説明図である。
FIG. 1 is a functional block diagram showing an emulator which is an embodiment of the present invention, FIG. 2 is a block diagram showing a parallel access control unit in this embodiment, and FIG. 3 is an explanatory diagram showing an operation sequence at the time of parallel access. Is.

【0023】まず、図1により本実施例のエミュレータ
の構成を説明する。
First, the configuration of the emulator of this embodiment will be described with reference to FIG.

【0024】本実施例のエミュレータは、たとえばプロ
グラム命令の流れによって外部アクセスのない空サイク
ルが存在する評価チップを搭載したマイクロコンピュー
タの機能を代行し、マイクロコンピュータ応用システム
のデバッグを可能とするエミュレータとされ、エミュレ
ーション対象マイクロコンピュータと同等の機能を有す
るエミュレーション用マイクロコンピュータの評価チッ
プ1などから構成されている。
The emulator of the present embodiment substitutes the function of a microcomputer equipped with an evaluation chip in which there is an empty cycle with no external access depending on the flow of program instructions, and enables the debugging of a microcomputer application system. The evaluation chip 1 of the emulation microcomputer having the same function as that of the emulation target microcomputer.

【0025】この評価チップ1は、エミュレーションバ
ス2を介して、エミュレーション動作を制御するエミュ
レーション制御部3、エミュレーション動作制御時に使
用するメモリ4、ユーザプログラム実行停止条件を検出
するブレーク検出回路5、エミュレーション実行結果を
取得するトレースメモリ6、ユーザシステムの任意のア
ドレスに割り付けて使用することができるエミュレーシ
ョンメモリ7に接続されている。
The evaluation chip 1 includes an emulation control unit 3 for controlling emulation operation, a memory 4 used for controlling emulation operation, a break detection circuit 5 for detecting a user program execution stop condition, and an emulation execution via an emulation bus 2. It is connected to a trace memory 6 for acquiring the result and an emulation memory 7 that can be used by allocating it to an arbitrary address of the user system.

【0026】また、このエミュレーション用マイクロコ
ンピュータの評価チップ1は、パラレルアクセス時の同
期用信号として、/PREQ信号(入力信号)8と/P
ACK信号(出力信号)9を有する。
The evaluation chip 1 of the emulation microcomputer uses the / PREQ signal (input signal) 8 and / PREQ as synchronization signals for parallel access.
It has an ACK signal (output signal) 9.

【0027】エミュレーションバス2は、さらにユーザ
インタフェース部10、ユーザインタフェースプローブ
11を介して、図示しないユーザシステム上のマイクロ
コンピュータに接続されている。
The emulation bus 2 is further connected to a microcomputer (not shown) on a user system via a user interface section 10 and a user interface probe 11.

【0028】ホストCPU12は、エミュレータ全体を
制御するものであり、システムバス13を介して、シス
テムメモリ14、I/Oインタフェース部15に接続さ
れている。このI/Oインタフェース部15には、マン
マシンインタフェース用のCRT16およびディスク1
7が接続されている。
The host CPU 12 controls the entire emulator, and is connected to the system memory 14 and the I / O interface section 15 via the system bus 13. The I / O interface section 15 includes a man-machine interface CRT 16 and a disk 1.
7 is connected.

【0029】また、ホストCPU12は、エミュレーシ
ョン制御部3、メモリ4、ブレーク検出回路5、トレー
スメモリ6、エミュレーションメモリ7、パラレルアク
セス制御部18をアクセス可能であり、エミュレーショ
ン実行時、評価チップ1はユーザシステム上あるいはエ
ミュレーションメモリ7上のユーザプログラムを実行で
きるようになっている。
The host CPU 12 can access the emulation control unit 3, the memory 4, the break detection circuit 5, the trace memory 6, the emulation memory 7, and the parallel access control unit 18, and the evaluation chip 1 is used by the user when executing the emulation. A user program on the system or the emulation memory 7 can be executed.

【0030】パラレルアクセス制御部18は、図2に示
すように、システムバス13を介して、ホストCPU1
2から入出力を行う場合のインタフェース制御を行うシ
ステムバスインタフェース19、エミュレーションバス
2とインタフェース制御を行い、特にエミュレーション
バス2上のメモリ4、エミュレーションメモリ7との入
出力制御を行うメモリ、エミュレーションメモリインタ
フェース制御部20によるインタフェース機能から構成
されている。
The parallel access control unit 18, as shown in FIG. 2, is connected to the host CPU 1 via the system bus 13.
2, a system bus interface 19 for performing interface control when performing input / output from the I / O 2, a memory for performing interface control with the emulation bus 2, and a memory for performing I / O control with the memory 4 and the emulation memory 7 on the emulation bus 2; The control unit 20 has an interface function.

【0031】さらに、パラレルアクセス制御部18に
は、システムバスインタフェース19からパラレル制御
部内部バス21を介して転送される情報をもとに、/P
REQ信号8と/PACK信号9により評価チップ1と
の同期を行い、パラレルアクセス開始タイミングを、メ
モリ、エミュレーションメモリインタフェース制御部2
0に/START信号22をアクティブにして通知する
制御を行うパラレルアクセス動作制御部(パラレルアク
セス動作制御手段)23が備えられている。
Further, the parallel access control unit 18 receives the / P based on the information transferred from the system bus interface 19 through the parallel control unit internal bus 21.
Synchronization with the evaluation chip 1 is performed by the REQ signal 8 and the / PACK signal 9, and the parallel access start timing is determined by the memory and emulation memory interface control unit 2.
A parallel access operation control unit (parallel access operation control means) 23 is provided for controlling the 0 by making the / START signal 22 active.

【0032】次に、本実施例の作用について、図3に基
づいてパラレルアクセスシーケンスを説明する。
Next, with respect to the operation of this embodiment, a parallel access sequence will be described with reference to FIG.

【0033】始めに、評価チップ1はシステムクロック
と同期して動作しており、評価チップステータスは評価
チップ1の動作状態を示している。また、エミュレーシ
ョンバス上のマスタとは、エミュレーションバス2のバ
スの権利を持っていることを示し、さらにエミュレーシ
ョンバス上のマスタ中の評価チップとは、エミュレーシ
ョンバス2のバス権を評価チップ1が持っていることを
示している。
First, the evaluation chip 1 is operating in synchronization with the system clock, and the evaluation chip status indicates the operating state of the evaluation chip 1. Further, the master on the emulation bus indicates that it has the bus right of the emulation bus 2, and the evaluation chip in the master on the emulation bus means that the evaluation chip 1 has the bus right of the emulation bus 2. It indicates that

【0034】まず、ホストCPU12が、エミュレーシ
ョンメモリ7へのアクセス要求をパラレルアクセス制御
部18に通知する。それを受けて、パラレルアクセス制
御部18内のパラレルアクセス動作制御部23は、評価
チップ1に対して/PREQ信号8をアクティブにす
る。
First, the host CPU 12 notifies the parallel access control section 18 of an access request to the emulation memory 7. In response to this, the parallel access operation control unit 23 in the parallel access control unit 18 activates the / PREQ signal 8 for the evaluation chip 1.

【0035】ここで、評価チップ1は、/PREQ信号
8がアクティブ期間中の空サイクル時に、アドレス、デ
ータバス信号をハイインピーダンス状態にすると同時
に、その間、/PACK信号9をアクティブにする。
Here, the evaluation chip 1 puts the address and data bus signals into a high impedance state when the / PREQ signal 8 is in an empty cycle during the active period, and at the same time, makes the / PACK signal 9 active.

【0036】そして、パラレルアクセス動作制御部23
は、/PACK信号9がアクティブ状態であることを確
認した後、メモリ、エミュレーションメモリインタフェ
ース制御部20に対してアクセス先アドレスをアドレス
バスに出力し、ホストCPU12のアクセス要求がリー
ド要求であればデータを取り込む。一方、ライト要求で
あれば、エミュレーションバス2上にパラレルアクセス
期間中、データを出力する。
The parallel access operation controller 23
After confirming that the / PACK signal 9 is in the active state, outputs the access destination address to the memory and emulation memory interface control unit 20 on the address bus. If the access request of the host CPU 12 is a read request, Take in. On the other hand, if it is a write request, data is output onto the emulation bus 2 during the parallel access period.

【0037】以上の動作により、従来のバス分割方式に
よるパラレルアクセス機能に要求されるメモリアクセス
の約1/2のアクセススピードでパラレルアクセス機能
を実現し、高速なマイクロコンピュータと同等の機能を
有する評価チップ1においても、ユーザプログラムを中
断することなくパラレルアクセスが実現できる。
By the above operation, the parallel access function is realized at an access speed of about 1/2 of the memory access required for the parallel access function by the conventional bus division method, and the evaluation is equivalent to that of a high speed microcomputer. Even in the chip 1, parallel access can be realized without interrupting the user program.

【0038】従って、本実施例のエミュレータによれ
ば、評価チップ1に/PREQ信号8と/PACK信号
9を有することにより、/PREQ信号8がアクティブ
期間中に存在する空サイクルに対して、評価チップ1に
有するアドレス、データバス信号を空サイクル期間はハ
イインピーダンス状態にし、その空サイクル期間に/P
ACK信号9をアクティブにするとともに、メモリ、エ
ミュレーションメモリインタフェース制御部20を通じ
てパラレルアクセス用アドレス、データをエミュレーシ
ョンバス2に反映することによって、評価チップ1を一
時停止することなくアクセスを可能とし、ユーザプログ
ラムの実動作でのメモリアクセスが行えるようになる。
Therefore, according to the emulator of this embodiment, since the evaluation chip 1 has the / PREQ signal 8 and the / PACK signal 9, the evaluation chip 1 is evaluated for the empty cycle existing during the active period. The address and data bus signals in the chip 1 are set to a high impedance state during the empty cycle period, and / P is set during the empty cycle period.
By activating the ACK signal 9 and reflecting the parallel access address and data to the emulation bus 2 through the memory and the emulation memory interface control unit 20, the evaluation chip 1 can be accessed without pausing and the user program The memory access can be performed in the actual operation of.

【0039】以上、本発明者によってなされた発明を実
施例に基づき具体的に説明したが、本発明は前記実施例
に限定されるものではなく、その要旨を逸脱しない範囲
で種々変更可能であることはいうまでもない。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the embodiments and various modifications can be made without departing from the scope of the invention. Needless to say.

【0040】たとえば、本実施例のエミュレータについ
ては、エミュレーション用マイクロコンピュータの評価
チップ1に/PREQ信号8と/PACK信号9を有す
る場合について説明したが、本発明は前記実施例に限定
されるものではなく、/PREQ信号を削除する場合に
ついても適用可能である。
For example, in the emulator of this embodiment, the case where the evaluation chip 1 of the emulation microcomputer has the / PREQ signal 8 and the / PACK signal 9 has been described, but the present invention is limited to the above embodiment. Instead, it is applicable to the case of deleting the / PREQ signal.

【0041】この場合にも、評価チップは、常に空サイ
クル期間は/PACK信号をアクティブにし、アドレ
ス、データ信号をハイインピーダンスにし、このような
評価チップの仕様でも同等のパラレルアクセス機能の実
現が可能である。
Also in this case, the evaluation chip always activates the / PACK signal and sets the address and data signals to high impedance during the empty cycle period, and the equivalent parallel access function can be realized even with the specifications of such an evaluation chip. Is.

【0042】[0042]

【発明の効果】本願において開示される発明のうち、代
表的なものによって得られる効果を簡単に説明すれば、
以下のとおりである。
Advantageous effects obtained by typical ones of the inventions disclosed in the present application will be briefly described.
It is as follows.

【0043】(1).評価チップに入力信号と出力信号を設
け、さらにこの入力信号がアクティブ期間中に発生した
空サイクル期間は評価チップに有するアドレス、データ
バス信号をハイインピーダンス状態にすると同時に、出
力信号をアクティブにするパラレルアクセス動作制御手
段を備えることにより、エミュレータは出力信号がアク
ティブ状態であることを確認した後、アクセス先アドレ
スをアドレスバスに出力し、評価チップ以外からのアク
セス要求データがリード要求であればデータを取り込
み、ライト要求であればデータバスにデータを出力する
ことができるので、評価チップを一時停止させることな
く、パラレルアクセスを可能とすることができる。
(1) The evaluation chip is provided with an input signal and an output signal, and during the empty cycle period during which the input signal is generated during the active period, the address and data bus signals in the evaluation chip are set to a high impedance state, and at the same time, By providing the parallel access operation control means that activates the output signal, the emulator outputs the access destination address to the address bus after confirming that the output signal is in the active state, and the access request data from other than the evaluation chip is transmitted. Data can be taken in if a read request and data can be output to the data bus if a write request, so parallel access can be made possible without suspending the evaluation chip.

【0044】(2).前記(1) において、評価チップに入力
信号を設けることなく、評価チップは、常に空サイクル
期間は評価チップに有するアドレス、データバス信号を
ハイインピーダンス状態にすると同時に、出力信号をア
クティブにすることによっても、前記(1) と同様に評価
チップを一時停止させることなく、パラレルアクセスの
実現が可能となる。
(2) In the above (1), without providing an input signal to the evaluation chip, the evaluation chip always puts the address and data bus signals in the evaluation chip into a high impedance state during the empty cycle period, and outputs the same. By activating the signal, parallel access can be realized without suspending the evaluation chip as in (1) above.

【0045】(3).前記(1) または(2) により、メモリの
高速制御によるアクセススピードに対応したパラレルア
クセス機能を実現し、高速なマイクロコンピュータに対
応する評価チップにおいても、ユーザプログラムを中断
することなく、ユーザプログラムの実動作でのメモリア
クセスを可能とすることができる。
(3) By the above (1) or (2), the parallel access function corresponding to the access speed by the high speed control of the memory is realized, and the user program is interrupted even in the evaluation chip corresponding to the high speed microcomputer. Without doing so, it is possible to access the memory in the actual operation of the user program.

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

【図1】本発明の一実施例であるエミュレータを示す機
能ブロック図である。
FIG. 1 is a functional block diagram showing an emulator that is an embodiment of the present invention.

【図2】本実施例におけるパラレルアクセス制御部を示
す構成図である。
FIG. 2 is a configuration diagram showing a parallel access control unit in the present embodiment.

【図3】本実施例におけるパラレルアクセス時の動作シ
ーケンスを示す説明図である。
FIG. 3 is an explanatory diagram showing an operation sequence during parallel access in this embodiment.

【図4】従来技術の一例であるエミュレータにおいて、
パラレルアクセス機能の概略を示す構成図である。
FIG. 4 shows an emulator as an example of conventional technology,
It is a block diagram which shows the outline of a parallel access function.

【図5】従来技術の一例であるエミュレータにおいて、
評価チップの一般的なバスサイクルシーケンスを示す説
明図である。
FIG. 5 shows an emulator, which is an example of conventional technology,
It is explanatory drawing which shows the general bus cycle sequence of an evaluation chip.

【図6】従来技術の一例であるエミュレータにおいて、
パラレルアクセス時のバスサイクルシーケンスを示す説
明図である。
FIG. 6 shows an emulator which is an example of conventional technology,
It is explanatory drawing which shows the bus cycle sequence at the time of parallel access.

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

1 評価チップ 2 エミュレーションバス 3 エミュレーション制御部 4 メモリ 5 ブレーク検出回路 6 トレースメモリ 7 エミュレーションメモリ 8 /PREQ信号(入力信号) 9 /PACK信号(出力信号) 10 ユーザインタフェース部 11 ユーザインタフェースプローブ 12 ホストCPU 13 システムバス 14 システムメモリ 15 I/Oインタフェース部 16 CRT 17 ディスク 18 パラレルアクセス制御部 19 システムバスインタフェース 20 メモリ、エミュレーションメモリインタフェース
制御部 21 パラレル制御部内部バス 22 /START信号 23 パラレルアクセス動作制御部(パラレルアクセス
動作制御手段)
1 Evaluation Chip 2 Emulation Bus 3 Emulation Control Unit 4 Memory 5 Break Detection Circuit 6 Trace Memory 7 Emulation Memory 8 / PREQ Signal (Input Signal) 9 / PACK Signal (Output Signal) 10 User Interface Unit 11 User Interface Probe 12 Host CPU 13 System bus 14 System memory 15 I / O interface section 16 CRT 17 Disk 18 Parallel access control section 19 System bus interface 20 Memory, emulation memory interface control section 21 Parallel control section Internal bus 22 / START signal 23 Parallel access operation control section (parallel Access operation control means)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 太田 祐二 東京都小平市上水本町5丁目20番1号 株 式会社日立製作所半導体事業部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yuji Ota 5-20-1 Kamimizuhonmachi, Kodaira-shi, Tokyo Hitachi, Ltd. Semiconductor Division

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 システムに搭載するマイクロコンピュー
タと同等の機能を有し、プログラム命令の流れによって
外部アクセスのない空サイクルが存在する評価チップを
搭載したマイクロコンピュータの機能を代行し、マイク
ロコンピュータ応用システムのデバッグを可能とするエ
ミュレータであって、前記評価チップにパラレルアクセ
ス制御用の入力信号と出力信号とが設けられ、前記入力
信号がアクティブ期間中に発生した空サイクル期間は前
記評価チップに有するアドレス、データバス信号をハイ
インピーダンス状態にすると同時に、前記出力信号をア
クティブにするパラレルアクセス動作制御手段が備えら
れていることを特徴とするエミュレータ。
1. A microcomputer application system, which has a function equivalent to that of a microcomputer mounted in a system and substitutes the function of a microcomputer mounted with an evaluation chip in which an empty cycle without external access exists depending on the flow of program instructions. Of the evaluation chip, wherein the evaluation chip is provided with an input signal and an output signal for parallel access control, and an empty cycle period generated during the active period of the input signal is an address included in the evaluation chip. An emulator comprising parallel access operation control means for activating the output signal at the same time when the data bus signal is in a high impedance state.
【請求項2】 前記評価チップに入力信号を設けること
なく、前記評価チップは、常に空サイクル期間は前記評
価チップに有するアドレス、データバス信号をハイイン
ピーダンス状態にすると同時に、前記出力信号をアクテ
ィブにすることを特徴とする請求項1記載のエミュレー
タ。
2. The evaluation chip, without providing an input signal to the evaluation chip, always puts the address and data bus signals included in the evaluation chip into a high impedance state during an empty cycle period and simultaneously activates the output signal. The emulator according to claim 1, wherein
【請求項3】 前記エミュレータに搭載されたマイクロ
コンピュータ内蔵メモリ、およびユーザ側のシステムメ
モリを代行するエミュレーションメモリへの前記評価チ
ップ以外からのアクセス要求に対して、前記アドレス、
データバス信号がハイインピーダンス状態になる空サイ
クル期間にアクセス先アドレス、データ、コントロール
信号を出力することを特徴とする請求項1または2記載
のエミュレータ。
3. The address for an access request from a memory other than the evaluation chip to a microcomputer built-in memory mounted on the emulator and an emulation memory acting on behalf of a user side system memory,
3. The emulator according to claim 1, wherein the access destination address, data, and control signal are output during an empty cycle period when the data bus signal is in a high impedance state.
JP6286378A 1994-11-21 1994-11-21 Emulator Withdrawn JPH08147184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6286378A JPH08147184A (en) 1994-11-21 1994-11-21 Emulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6286378A JPH08147184A (en) 1994-11-21 1994-11-21 Emulator

Publications (1)

Publication Number Publication Date
JPH08147184A true JPH08147184A (en) 1996-06-07

Family

ID=17703624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6286378A Withdrawn JPH08147184A (en) 1994-11-21 1994-11-21 Emulator

Country Status (1)

Country Link
JP (1) JPH08147184A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742142B2 (en) 1999-12-27 2004-05-25 Kabushiki Kaisha Toshiba Emulator, a data processing system including an emulator, and method of emulation for testing a system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742142B2 (en) 1999-12-27 2004-05-25 Kabushiki Kaisha Toshiba Emulator, a data processing system including an emulator, and method of emulation for testing a system

Similar Documents

Publication Publication Date Title
US5680592A (en) System using a plurality of state machines for translating commands intended for legacy bus devices to commands for local bus devices
US6877113B2 (en) Break determining circuit for a debugging support unit in a semiconductor integrated circuit
US5003468A (en) Guest machine execution control system for virutal machine system
JPH0728670A (en) Information processor
JP2001184212A (en) Trace control circuit
JPH08147184A (en) Emulator
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
JP2954006B2 (en) Emulation device and emulation method
JP2632891B2 (en) System development equipment
JP3134811B2 (en) Data processing device
JP2711159B2 (en) Processor operation state adjustment method
JPH02178848A (en) Microprocessor development backup device
JPH07160524A (en) Emulator
JPS62221751A (en) Paging system
JPH0619735A (en) Microprocesor
JPH0259829A (en) Microcomputer
JPH05324864A (en) Microcontrol unit
JPH0793180A (en) Microprocessor
JP2003030003A (en) Debug system
JPH09198277A (en) Emulator device
JPH01276338A (en) Input/output emulating mechanism
JPH0219932A (en) Back-up device for development of microprocessor
JPH1021113A (en) Debugging method for debugging system
JPH0782447B2 (en) DMA data transfer control device
JPH0479022B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020205