JP3199138B2 - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JP3199138B2
JP3199138B2 JP02052093A JP2052093A JP3199138B2 JP 3199138 B2 JP3199138 B2 JP 3199138B2 JP 02052093 A JP02052093 A JP 02052093A JP 2052093 A JP2052093 A JP 2052093A JP 3199138 B2 JP3199138 B2 JP 3199138B2
Authority
JP
Japan
Prior art keywords
bus
microprocessor
access
internal
address
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 - Fee Related
Application number
JP02052093A
Other languages
Japanese (ja)
Other versions
JPH06214824A (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.)
Hitachi Ltd
Hitachi Solutions Technology Ltd
Original Assignee
Hitachi Ltd
Hitachi ULSI Systems 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 Hitachi Ltd, Hitachi ULSI Systems Co Ltd filed Critical Hitachi Ltd
Priority to JP02052093A priority Critical patent/JP3199138B2/en
Publication of JPH06214824A publication Critical patent/JPH06214824A/en
Application granted granted Critical
Publication of JP3199138B2 publication Critical patent/JP3199138B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明はバスアクセス方式に関
し、例えば、通常の動作状態において外部からアクセス
不能な内部資源を備えるマイクロプロセッサならびにそ
のバスアクセス方式に利用して特に有効な技術に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus access system, and more particularly to a microprocessor having internal resources which cannot be accessed from the outside in a normal operation state, and a technique particularly effective when used in the bus access system. .

【0002】[0002]

【従来の技術】マイクロプロセッサならびにその応用シ
ステムのハードウエア及びソフトウエアを効率的にデバ
ッグし、その開発期間を短縮するために有効なエミュレ
ータがある。エミュレータは、図8に例示されるよう
に、対象となるマイクロプロセッサMPUあるいはこれ
と同等の機能を有する評価用マイクロプロセッサにより
ユーザプログラムを実行しながら、ブレークコントロー
ラBRCにより外部バスつまりはエミュレーションバス
EBUSに対するアクセス状態をモニタし、予め登録さ
れたブレーク条件が成立したときブレーク割り込み要求
信号BRRQを選択的にアサート(以下、例えばブレー
ク割り込み要求信号BRRQ等を有効レベルにすること
をアサートすると称し、無効レベルにすることをネゲー
トすると称する)してマイクロプロセッサMPUの動作
を選択的に停止するいわゆるブレーク機能を有する。マ
イクロプロセッサMPUは、エミュレータEMUのブレ
ーク割り込み要求信号BRRQを受けて割り込み処理を
開始し、エミュレータEMUに対するブレーク割り込み
確認信号BRAKをアサートする。
2. Description of the Related Art There is an emulator that is effective for efficiently debugging hardware and software of a microprocessor and its application system and shortening the development period. As shown in FIG. 8, the emulator executes a user program by a target microprocessor MPU or an evaluation microprocessor having a function equivalent thereto, while the break controller BRC controls an external bus, that is, an emulation bus EBUS. The access state is monitored, and the break interrupt request signal BRRQ is selectively asserted when a pre-registered break condition is satisfied (hereinafter, for example, to set the break interrupt request signal BRRQ or the like to a valid level is referred to as assertion, and is set to an invalid level). Is referred to as negation) to selectively stop the operation of the microprocessor MPU. The microprocessor MPU receives the break interrupt request signal BRRQ of the emulator EMU, starts interrupt processing, and asserts a break interrupt confirmation signal BRAK for the emulator EMU.

【0003】一方、マイクロプロセッサを含むシステム
のエミュレーションでは、バスに結合される記憶装置の
保持内容や入出力装置の制御レジスタの保持内容等をエ
ミュレータから直接読み出し又は書き換えることが有効
となる。このため、従来のエミュレータでは、上記ブレ
ーク機能を利用してマイクロプロセッサの通常動作を停
止させた後、記憶装置や入出力装置の制御レジスタ等を
アクセスする方法が採られる。しかし、この方法を採っ
た場合、マイクロプロセッサが停止状態とされることで
いわゆるリアルタイムエミュレーションを行うことがで
きず、よりきめ細かなデバッグへの障壁となっている。
これに対処するため、近年では、記憶装置や入出力装置
の制御レジスタ等に対するアクセスが行われる期間だけ
一時的にマイクロプロセッサの通常動作を停止し、アク
セス終了後はただちに停止前の通常動作に戻るいわゆる
パラレルモードが考案され、このようなパラレルモード
を有するエミュレータが実現されている。
On the other hand, in emulation of a system including a microprocessor, it is effective to directly read or rewrite the contents held in a storage device connected to a bus and the contents held in a control register of an input / output device from the emulator. For this reason, in the conventional emulator, a method is employed in which the normal operation of the microprocessor is stopped using the above-described break function, and then the control register of the storage device or the input / output device is accessed. However, when this method is adopted, so-called real-time emulation cannot be performed because the microprocessor is stopped, which is a barrier to more detailed debugging.
In order to cope with this, in recent years, the normal operation of the microprocessor is temporarily stopped only for a period during which access to the control register of the storage device or the input / output device is performed, and immediately after the access is completed, the normal operation before the stop is immediately returned to A so-called parallel mode has been devised, and an emulator having such a parallel mode has been realized.

【0004】パラレルモードを有するエミュレータなら
びにそのパラレルモードについて、例えば、1992年
2月、株式会社日立製作所発行の『日立マイクロコンピ
ュータサポートハードウェア H8/570ASEmo
del−1』の第33頁〜第36頁等に記載されてい
る。
An emulator having a parallel mode and its parallel mode are described in, for example, "Hitachi Microcomputer Support Hardware H8 / 570ASEmo" issued by Hitachi, Ltd. in February 1992.
del-1], pp. 33-36.

【0005】[0005]

【発明が解決しようとする課題】上記パラレルモードに
おいて、エミュレータEMUは、キーボードKBから所
定のコマンドが入力されたことを受けてブレーク割り込
み要求信号BRRQをアサートし、マイクロプロセッサ
MPUに割り込みをかける。マイクロプロセッサMPU
は、このブレーク割り込み要求信号BRRQを受けて割
り込み処理を開始し、入力されたコマンドに沿って記憶
装置又は入出力装置の制御レジスタ等に対するアクセス
を実行する。そして、必要なアクセスが終了すると、割
り込みからの復元処理を行い、割り込み前の通常処理を
再開する。
In the parallel mode described above, the emulator EMU asserts a break interrupt request signal BRRQ in response to the input of a predetermined command from the keyboard KB, and interrupts the microprocessor MPU. Microprocessor MPU
Receives the break interrupt request signal BRRQ, starts interrupt processing, and executes access to a storage device or a control register of an input / output device in accordance with the input command. Then, when the necessary access is completed, restoration processing from the interruption is performed, and normal processing before the interruption is restarted.

【0006】ところが、マイクロプロセッサの高集積化
・多機能化が進むにしたがって、上記パラレルモードを
有するエミュレータにも次のような問題点があることが
本願発明者等によって明らかとなった。すなわち、マイ
クロプロセッサは、その高集積化・多機能化にともなっ
て、リードオンリーメモリやランダムアクセスメモリ等
の内部資源が結合されかつ外部からアクセスすることの
できない内部バスを備えようになってきた。また、上記
パラレルモードにおいて、エミュレータEMUはマイク
ロプロセッサの外部装置であって、マイクロプロセッサ
の内部資源をアクセスするにはブレークによる割り込み
処理に頼らざるを得ない。このため、パラレルモードを
もってしてもマイクロプロセッサの内部資源つまりはユ
ーザ空間に関するモニタ及び書き換えをリアルタイムで
実現することができず、効果的なエミュレーションの妨
げとなっている。
However, the present inventors have found that the emulator having the above-mentioned parallel mode has the following problems as microprocessors become more highly integrated and multifunctional. That is, the microprocessor has been provided with an internal bus to which internal resources such as a read-only memory and a random access memory are connected and which cannot be accessed from the outside, with the increase in the degree of integration and the functions of the microprocessor. In the parallel mode, the emulator EMU is an external device of the microprocessor, and must access the internal resources of the microprocessor by interrupt processing by a break. For this reason, even in the parallel mode, monitoring and rewriting of the internal resources of the microprocessor, ie, the user space, cannot be realized in real time, which hinders effective emulation.

【0007】この発明の目的は、通常の動作状態ではア
クセスできない内部バスに対する有効なバスアクセス方
式を提供することにある。この発明の他の目的は、通常
の動作状態ではアクセスできない内部資源を備えるマイ
クロプロセッサ等の効果的なリアルタイムエミュレーシ
ョンを実現することにある。
An object of the present invention is to provide an effective bus access method for an internal bus which cannot be accessed in a normal operation state. Another object of the present invention is to realize effective real-time emulation of a microprocessor or the like having an internal resource that cannot be accessed in a normal operation state.

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

【0009】[0009]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば次の
通りである。すなわち、通常の動作状態ではアクセスで
きない内部資源を備えるマイクロプロセッサ等に、シリ
アルインタフェース部を介して外部のエミュレータに結
合される専用のバスマスタを設け、このバスマスタによ
るバスアクセス要求を最下位の優先度をもって受理す
る。
The following is a brief description of an outline of a typical invention among the inventions disclosed in the present application. That is, a dedicated bus master coupled to an external emulator via a serial interface unit is provided in a microprocessor or the like having internal resources that cannot be accessed in a normal operation state, and a bus access request by this bus master is given the lowest priority. Accept.

【0010】[0010]

【作用】上記手段によれば、多くのハードウエア増設を
要することなくしかもマイクロプロセッサ等の通常動作
を妨げることなく、リードオンリーメモリやランダムア
クセスメモリ等の内部資源が結合される内部バスをアク
セスすることができる。これにより、エミュレーション
実行状態でマイクロプロセッサ等の内部資源つまりはユ
ーザ空間をリアルタイムでモニタし又は書き換えること
ができるため、通常の動作状態ではアクセスできない内
部資源を備えるマイクロプロセッサ等の効果的なリアル
タイムエミュレーションを実現することができる。
According to the above-mentioned means, an internal bus to which internal resources such as a read-only memory and a random access memory are connected is accessed without requiring much hardware addition and without hindering a normal operation of a microprocessor or the like. be able to. Thereby, the internal resources such as the microprocessor, that is, the user space can be monitored or rewritten in real time in the emulation execution state, so that the effective real-time emulation of the microprocessor or the like having the internal resources that cannot be accessed in the normal operation state can be realized. Can be realized.

【0011】[0011]

【実施例】図1には、この発明が適用されたバスアクセ
ス方式を採るエミュレーションシステムの一実施例の接
続図が示されている。同図をもとに、まずこの実施例の
エミュレーションシステムの概要とその接続形態につい
て説明する。
FIG. 1 shows a connection diagram of one embodiment of an emulation system employing a bus access system to which the present invention is applied. First, an outline of the emulation system of this embodiment and a connection form thereof will be described with reference to FIG.

【0012】図1において、この実施例のエミュレーシ
ョンシステムは、マイクロプロセッサMPU及びエミュ
レータEMUを含む。エミュレータEMUは、その一方
においてエミュレーションバスEBUSを介してマイク
ロプロセッサMPUに結合され、その他方においてユー
ザシステムの外部バスに結合される。この外部バスに
は、メインメモリMMに代表される各種の記憶装置や図
示されない各種の入出力装置が結合される。エミュレー
タEMUは、さらにブレーク割り込み要求信号線BRR
Q及びブレーク割り込み確認信号線BRAKならびにシ
リアルクロック信号線SCK,シリアル入力信号線SI
及びシリアル出力信号線SOを介してマイクロプロセッ
サMPUに結合され、その入出力コントローラIOCを
介してキーボードKB及びディスプレイ装置DPに結合
される。
Referring to FIG. 1, the emulation system of this embodiment includes a microprocessor MPU and an emulator EMU. The emulator EMU is coupled on one side to the microprocessor MPU via an emulation bus EBUS and on the other side to an external bus of the user system. Various storage devices represented by the main memory MM and various input / output devices (not shown) are coupled to the external bus. The emulator EMU further includes a break interrupt request signal line BRR.
Q, break interrupt confirmation signal line BRAK, serial clock signal line SCK, serial input signal line SI
And a microprocessor MPU via a serial output signal line SO, and a keyboard KB and a display device DP via an input / output controller IOC.

【0013】マイクロプロセッサMPUは、ユーザシス
テムの基本構成要素となるマイクロプロセッサそのもの
あるいはこれと同等の機能を有する評価用マイクロプロ
セッサ(エバリューエイションチップ)により構成され
る。また、後述するように、内部バスMBUSを備え、
この内部バスMBUSに結合されるリードオンリーメモ
リROM及びランダムアクセスメモリRAM等のいわゆ
る内部資源を備える。マイクロプロセッサMPUは、予
めリードオンリーメモリROMに格納された制御プログ
ラムに従って所定の演算処理を実行し、さらにはユーザ
システム全体を制御・統轄する。マイクロプロセッサM
PUは、ブレーク割り込み要求信号線BRRQ及びブレ
ーク割り込み確認信号線BRAKを介してエミュレータ
EMUに結合されるバスアービタBABTと、シリアル
クロック信号線SCK,シリアル入力信号線SI及びシ
リアル出力信号線SOを介してエミュレータEMUに結
合されるSIFバスマスタSIBMとを備える。マイク
ロプロセッサMPUの具体的な構成については、後で詳
細に説明する。
The microprocessor MPU is constituted by a microprocessor itself which is a basic component of the user system or an evaluation microprocessor (evaluation chip) having a function equivalent thereto. In addition, as described later, an internal bus MBUS is provided,
It has so-called internal resources such as a read only memory ROM and a random access memory RAM coupled to the internal bus MBUS. The microprocessor MPU executes predetermined arithmetic processing in accordance with a control program stored in advance in a read-only memory ROM, and further controls and supervises the entire user system. Microprocessor M
The PU includes a bus arbiter BABT coupled to the emulator EMU via a break interrupt request signal line BRRQ and a break interrupt confirmation signal line BRAK, and an emulator via a serial clock signal line SCK, a serial input signal line SI, and a serial output signal line SO. A SIF bus master SIB coupled to the EMU. The specific configuration of the microprocessor MPU will be described later in detail.

【0014】次に、エミュレータEMUは、エミュレー
ションバスEBUSに結合されるエミュレーション制御
部EMC,エミュレーション制御メモリECM,ブレー
クコントローラBRC,トレースメモリTRM,エミュ
レーションメモリEMM及びユーザインタフェース部U
IFを備える。また、ストアドプログラム方式のホスト
プロセッサHCPUを備え、内部バスIBUSを介して
このホストプロセッサHCPUに結合されるシステムメ
モリSYM及びIOコントローラIOCを備える。内部
バスIBUSには、さらに上記エミュレーション制御部
EMC,エミュレーション制御メモリECM,ブレーク
コントローラBRC,トレースメモリTRM及びエミュ
レーションメモリEMMが結合される。また、IOコン
トローラIOCには、キーボードKB及びディスプレイ
装置DPが結合される。
Next, the emulator EMU includes an emulation control unit EMC, an emulation control memory ECM, a break controller BRC, a trace memory TRM, an emulation memory EMM, and a user interface unit U which are coupled to the emulation bus EBUS.
It has an IF. It also has a stored program type host processor HCPU, and has a system memory SYM and an IO controller IOC coupled to the host processor HCPU via an internal bus IBUS. The emulation control unit EMC, emulation control memory ECM, break controller BRC, trace memory TRM, and emulation memory EMM are further coupled to the internal bus IBUS. Further, a keyboard KB and a display device DP are connected to the IO controller IOC.

【0015】エミュレータEMUを構成するエミュレー
ション制御部EMCは、ホストプロセッサHCPUの指
示に従ってエミュレータEMUによるエミュレーション
動作を管理・統轄する。このとき、エミュレーション動
作に必要な制御情報は、エミュレーション制御メモリE
CMに格納され、バスサイクルのモニタ結果は、トレー
スメモリTRMに格納される。また、エミュレーション
メモリEMMには、所定のユーザ空間が割り当てられ、
対応するユーザプログラム等が格納される。さらに、ブ
レークコントローラBRCは、エミュレーションバスE
BUSを介して伝達されるアドレス又はデータ等をモニ
タし、これらの内容と予めブレーク条件として与えられ
たアドレス又はデータ等とが一致したときエミュレーシ
ョン制御部EMCに対する図示されない内部制御信号を
選択的にアサートする。エミュレーション制御部EMC
は、上記内部制御信号を受けてブレーク割り込み要求信
号BRRQをアサートし、マイクロプロセッサMPUに
ブレーク割り込み処理を要求する。この割り込み処理要
求は、後述するように、最低順位の優先動作をもって受
理され、その結果としてブレーク割り込み確認信号BR
AKがアサートされる。ユーザインタフェース部UIF
は、エミュレーションバスEBUSとユーザシステムU
SYとの間のインタフェース整合に供される。
An emulation control unit EMC constituting the emulator EMU manages and controls the emulation operation by the emulator EMU according to the instruction of the host processor HCPU. At this time, the control information necessary for the emulation operation is stored in the emulation control memory E
The result of the bus cycle monitoring is stored in the trace memory TRM. Further, a predetermined user space is allocated to the emulation memory EMM,
A corresponding user program or the like is stored. Further, the break controller BRC has an emulation bus E
An address or data transmitted through the BUS is monitored, and when the contents thereof match an address or data previously given as a break condition, an internal control signal (not shown) for the emulation control unit EMC is selectively asserted. I do. Emulation control unit EMC
Receives the internal control signal, asserts a break interrupt request signal BRRQ, and requests the microprocessor MPU to perform a break interrupt process. This interrupt processing request is accepted with the lowest priority operation as described later, and as a result, the break interrupt confirmation signal BR
AK is asserted. User interface UIF
Is the emulation bus EBUS and the user system U
Used for interface matching with SY.

【0016】この実施例において、エミュレータEMU
は、さらに内部バスIBUSを介してホストプロセッサ
HCPUに結合されるシリアルインタフェース部ESI
Fを備える。シリアルインタフェース部ESIFは、シ
リアル入力信号線SI及びシリアル出力信号線SOを介
してマイクロプロセッサMPUのシリアルインタフェー
ス部MSIFに結合され、内部バスアクセス条件やバス
アクセス結果等の情報をシリアルクロック信号SCKに
同期してシリアルに授受する。
In this embodiment, the emulator EMU
Is further connected to a serial interface unit ESI coupled to a host processor HCPU via an internal bus IBUS.
F is provided. The serial interface ESIF is coupled to the serial interface MSIF of the microprocessor MPU via the serial input signal line SI and the serial output signal line SO, and synchronizes information such as internal bus access conditions and bus access results with the serial clock signal SCK. To give and receive serially.

【0017】図2には、図1のエミュレーションシステ
ムに含まれるマイクロプロセッサMPUの一実施例のブ
ロック図が示されている。また、図3には、図2のマイ
クロプロセッサMPUに含まれるSIFバスマスタSI
BMの一実施例のブロック図が示されている。さらに、
図4には、図3のSIFバスマスタSIBMに含まれる
アドレスレジスタADRH及びADRLならびにデータ
レジスタDR及びコントロールレジスタCRの一実施例
のビット構成図が示され、図5には、図2のマイクロプ
ロセッサMPUの一実施例のアドレスマップ図が示され
ている。これらの図をもとに、この実施例のエミュレー
ションシステムに含まれるマイクロプロセッサMPUの
構成及び動作の概要とその特徴について説明する。
FIG. 2 is a block diagram showing one embodiment of the microprocessor MPU included in the emulation system of FIG. FIG. 3 shows an SIF bus master SI included in the microprocessor MPU of FIG.
A block diagram of one embodiment of the BM is shown. further,
FIG. 4 shows a bit configuration diagram of one embodiment of the address registers ADRH and ADRL, the data register DR and the control register CR included in the SIF bus master IBM of FIG. 3, and FIG. 5 shows the microprocessor MPU of FIG. An address map diagram of one embodiment is shown. With reference to these drawings, an outline of the configuration and operation of the microprocessor MPU included in the emulation system of this embodiment and its features will be described.

【0018】図2において、この実施例のマイクロプロ
セッサMPUは、中央処理装置CPUをその基本構成要
素とする。中央処理装置CPUには、内部バスMBUS
を介してマイクロプロセッサMPUの内部資源となるリ
ードオンリーメモリROM及びランダムアクセスメモリ
RAMが結合され、さらにDMAコントローラDMA
C,リフレッシュコントローラREFC,入出力ポート
部IOP,バスコントローラBUSC及び外部バスイン
タフェース部EBIFが結合される。なお、内部バスM
BUSは、特に制限されないが、16ビットからなるア
ドレスバスと8ビットからなるデータバスとを含み、こ
れに結合される内部資源は、通常の動作状態においては
いかなる外部装置からもアクセスできない。
In FIG. 2, the microprocessor MPU of this embodiment has a central processing unit CPU as a basic component. The central processing unit CPU has an internal bus MBUS.
A read only memory ROM and a random access memory RAM, which are internal resources of the microprocessor MPU, are connected via the
C, a refresh controller REFC, an input / output port unit IOP, a bus controller BUSC, and an external bus interface unit EBIF. The internal bus M
The BUS includes, but is not limited to, a 16-bit address bus and an 8-bit data bus, and internal resources coupled thereto cannot be accessed from any external device in a normal operation state.

【0019】ここで、中央処理装置CPUは、リードオ
ンリーメモリROMに格納された制御プログラムに従っ
て所定の論理演算処理を実行するとともに、マイクロプ
ロセッサMPUの各部の動作を制御・統轄する。また、
リードオンリーメモリROMは、マスクROMやEPR
OM(Erasable and Programma
ble ROM)等によって構成され、中央処理装置C
PUのステップ制御に必要なプログラムや固定データ等
を格納する。さらに、ランダムアクセスメモリRAM
は、ダイナミック型RAMによって構成され、中央処理
装置CPUの演算結果や制御データ等を一時的に格納す
る。
Here, the central processing unit CPU executes a predetermined logical operation according to a control program stored in the read-only memory ROM, and controls and supervises the operation of each unit of the microprocessor MPU. Also,
Read-only memory ROM is a mask ROM or EPR
OM (Erasable and Programma)
ble ROM) etc., and the central processing unit C
Stores programs and fixed data necessary for step control of the PU. Furthermore, random access memory RAM
Is composed of a dynamic RAM, and temporarily stores the operation result and control data of the central processing unit CPU.

【0020】一方、リフレッシュコントローラREFC
は、タイマー回路やアドレス発生回路等を内蔵し、所定
の周期でランダムアクセスメモリRAMを構成するダイ
ナミック型RAMのすべてのアドレスに関するリフレッ
シュ動作を行う。また、DMAコントローラDMAC
は、例えばランダムアクセスメモリRAMと外部バスに
結合されるメインメモリMMとの間の一連のデータ転送
を自律的かつ高速裏に行うべく制御する。バスコントロ
ーラBUSCは、各バスに対するアクセスの実行制御を
行う。入出力ポート部IOPは、通信制御装置等とのイ
ンタフェースとなり、外部バスインタフェース部EBI
Fは、内部バスMBUSと外部バスつまりはエミュレー
ションバスEBUSとのインタフェースとなる。
On the other hand, the refresh controller REFC
Includes a timer circuit, an address generation circuit, and the like, and performs a refresh operation for all addresses of a dynamic RAM constituting a random access memory RAM at a predetermined cycle. Also, the DMA controller DMAC
Controls autonomously and at high speed to perform a series of data transfer between the random access memory RAM and the main memory MM coupled to the external bus. The bus controller BUSC controls execution of access to each bus. The input / output port unit IOP serves as an interface with a communication control device and the like, and the external bus interface unit EBI
F is an interface between the internal bus MBUS and the external bus, that is, the emulation bus EBUS.

【0021】この実施例において、マイクロプロセッサ
MPUは、さらに外部のエミュレータEMUに対応して
設けられる専用バスマスタつまりSIFバスマスタSI
BMと、各バスマスタから発せられるバスアクセス要求
を選択的に受け付けるバスアービタBABTとを備え
る。このうち、バスアービタBABTは、バスアクセス
要求信号線CBRQ,DBRQ,RBRQ及びSBRQ
ならびにバスアクセス確認信号線CBAK,DBAK,
RBAK及びSBAKを介してマイクロプロセッサMP
U内の各バスマスタつまり中央処理装置CPU,DMA
コントローラDMAC,リフレッシュコントローラRE
FC及びSIFバスマスタSIBMにそれぞれ結合さ
れ、ブレーク割り込み要求信号線BRRQ及びブレーク
割り込み確認信号線BRAKを介してエミュレータEM
Uのエミュレーション制御部EMCに結合される。ま
た、SIFバスマスタSIBMは、内部バスMBUS及
びSIF専用バスSBUSに結合されるとともに、シリ
アルクロック信号線SCK,シリアル入力信号線SI及
びシリアル出力信号線SOを介してエミュレータEMU
のシリアルインタフェース部ESIFに結合される。
In this embodiment, the microprocessor MPU is further provided with a dedicated bus master, that is, an SIF bus master SI provided for the external emulator EMU.
A BM and a bus arbiter BABT for selectively receiving a bus access request issued from each bus master. The bus arbiter BABT includes bus access request signal lines CBRQ, DBRQ, RBRQ, and SBRQ.
And bus access confirmation signal lines CBAK, DBAK,
Microprocessor MP via RBAK and SBAK
Each bus master in U, that is, central processing unit CPU, DMA
Controller DMAC, refresh controller RE
The emulator EM is coupled to the FC and SIF bus masters IBM respectively via a break interrupt request signal line BRRQ and a break interrupt confirmation signal line BRAK.
U is coupled to the emulation control unit EMC. The SIF bus master SIBM is coupled to the internal bus MBUS and the SIF dedicated bus SBUS, and is connected to the emulator EMU via the serial clock signal line SCK, the serial input signal line SI, and the serial output signal line SO.
Is connected to the serial interface section ESIF.

【0022】バスアービタBABTは、バスアクセス要
求信号線CBRQ,DBRQ,RBRQ又はSBRQが
アサートされることにより、中央処理装置CPU,DM
AコントローラDMAC,リフレッシュコントローラR
EFC又はSIFバスマスタSIBMからのバスアクセ
ス要求を識別し、また外部バスアクセス要求信号EBR
Qがアサートされることにより、外部からのバスアクセ
ス要求を識別する。そして、予め定められた優先度に応
じてこれらのバスアクセス要求を択一的に受理し、対応
するバスアクセス確認信号CBAK,DBAK,RBA
K又はSBAKあるいはEBAKを選択的にアサートす
る。
When the bus access request signal line CBRQ, DBRQ, RBRQ, or SBRQ is asserted, the bus arbiter BABT causes the central processing units CPU, DM
A controller DMAC, refresh controller R
A bus access request from the EFC or SIF bus master IBM is identified, and an external bus access request signal EBR
When Q is asserted, an external bus access request is identified. Then, these bus access requests are alternatively received in accordance with a predetermined priority, and the corresponding bus access confirmation signals CBAK, DBAK, RBA are received.
Selectively assert K or SBAK or EBAK.

【0023】一方、SIFバスマスタSIBMは、図3
に示されるように、内部バスMBUS及びSIF専用バ
スSBUSに結合される各種レジスタすなわちアドレス
レジスタADRH及びADRLならびにデータレジスタ
DR及びコントロールレジスタCRを備え、さらにSI
Fバスマスタ制御部SBMC及びシリアルインタフェー
ス部MSIFを備える。SIFバスマスタ制御部SBM
Cは、バスアクセス要求信号線SBRQ及びバスアクセ
ス確認信号線SBAKを介してバスアービタBABTに
結合され、シリアルインタフェース部MSIFは、シリ
アルクロック信号線SCK,シリアル入力信号線SI及
びシリアル出力信号線SOを介してエミュレータEMU
のシリアルインタフェース部ESIFに結合される。
On the other hand, the SIF bus master IBM
As shown in FIG. 3, the internal bus MBUS and various registers coupled to the SIF dedicated bus SBUS, that is, address registers ADRH and ADRL, a data register DR and a control register CR,
An F bus master control unit SBMC and a serial interface unit MSIF are provided. SIF bus master control unit SBM
C is coupled to a bus arbiter BABT via a bus access request signal line SBRQ and a bus access confirmation signal line SBAK, and the serial interface MSIF is connected via a serial clock signal line SCK, a serial input signal line SI, and a serial output signal line SO. Emulator EMU
Is connected to the serial interface section ESIF.

【0024】SIFバスマスタSIBMを構成するアド
レスレジスタADRH及びADRLは、図4に示される
ように、内部バスMBUSをアクセスするための内部バ
スアクセス条件のうち16ビットのアドレス信号A0〜
A15を格納し、データレジスタDRは、8ビットのデ
ータD0〜D7を格納する。また、コントロールレジス
タCRは、バスアクセス要求信号SBRQに対応するリ
クエストビットREQと、バスアクセスの方向を指定す
るリードライトビットRWならびにバスアクセスが終了
したことを示すエンドビットENDを含む。
As shown in FIG. 4, address registers ADRH and ADRL constituting SIF bus master SIBM have 16-bit address signals A0 to A16 of the internal bus access conditions for accessing internal bus MBUS.
A15 is stored, and the data register DR stores 8-bit data D0 to D7. The control register CR includes a request bit REQ corresponding to the bus access request signal SBRQ, a read / write bit RW designating a bus access direction, and an end bit END indicating that the bus access has been completed.

【0025】なお、データレジスタDRに格納される8
ビットのデータD0〜D7は、SIFバスマスタSIB
Mによる内部バスアクセスがリードモードの場合には、
リードオンリーメモリROM又はランダムアクセスメモ
リRAMからの読み出しデータあるいはDMAコントロ
ーラDMAC又はリフレッシュコントローラREFC等
の制御レジスタの読み出し情報となるが、ライトモード
の場合、ランダムアクセスメモリRAMに対する書き込
みデータあるいはDMAコントローラDMAC又はリフ
レッシュコントローラREFC等の制御レジスタに対す
る書き込み情報となる。一方、16ビットのアドレス信
号A0〜A15によって指定される内部バスMBUSつ
まりマイクロプロセッサMPUのアドレス空間は、図5
に示されるように、16進表示でアドレス“0000”
から“FFFF”までとなるが、このうち、アドレス
“0000”ないし“3FFF”は、マイクロプロセッ
サ内蔵のリードオンリーメモリROMに割り当てられ、
アドレス“E000”ないし“EFFF”ならびに“F
000”ないし“FFFF”は、それぞれ内蔵のランダ
ムアクセスメモリRAM及び入出力装置IOに割り当て
られる。また、アドレス“4000”ないし“7FF
F”は、比較的低速ないわゆる3ステート型の外部装置
に割り当てられ、アドレス“8000”ないし“DFF
F”は、比較的高速な2ステート型の外部装置に割り当
てられる。
The data stored in the data register DR is 8
Bit data D0 to D7 are stored in SIF bus master SIB.
If the internal bus access by M is in read mode,
Read data from a read-only memory ROM or random access memory RAM or read information from a control register such as a DMA controller DMAC or a refresh controller REFC. In the write mode, write data to the random access memory RAM or DMA controller DMAC or refresh data. This is write information for a control register such as the controller REFC. On the other hand, the internal bus MBUS designated by the 16-bit address signals A0 to A15, that is, the address space of the microprocessor MPU is shown in FIG.
As shown in the figure, the address "0000" in hexadecimal notation
To “FFFF”, of which addresses “0000” to “3FFF” are allocated to a read-only memory ROM built in the microprocessor,
Addresses “E000” to “EFFF” and “F
000 ”to“ FFFF ”are assigned to the built-in random access memory RAM and the input / output device IO, respectively, and the addresses“ 4000 ”to“ 7FF ”.
F ”is allocated to a relatively low-speed so-called three-state type external device, and has addresses“ 8000 ”to“ DFF ”.
F ″ is assigned to a relatively high-speed two-state type external device.

【0026】SIFバスマスタSIBMは、エミュレー
タEMUのシリアルインタフェース部ESIFから内部
バスアクセス条件としてシリアルに入力されるアドレス
信号A0〜A15,データD0〜D7ならびにリクエス
トビットREQ及びリードライトビットRWを取り込
み、対応するアドレスレジスタADRH及びADRL,
データレジスタDRならびにコントロールレジスタCR
に格納する。また、リクエストビットREQがセットさ
れたことを受けてバスアクセス要求信号SBRQをアサ
ートし、バスアービタBABTにバス権を要求するとと
もに、バスアービタBABTからのバスアクセス確認信
号SBAKを受けて内部バスMBUSのアクセス権利を
得、リードライトビットRWに従った内部バスMBUS
へのリードアクセス又はライトアクセスを実行する。
The SIF bus master IBMB takes in address signals A0 to A15, data D0 to D7, request bits REQ and read / write bits RW which are serially input as internal bus access conditions from the serial interface unit ESIF of the emulator EMU. Address registers ADRH and ADRL,
Data register DR and control register CR
To be stored. Further, in response to the request bit REQ being set, the bus access request signal SBRQ is asserted to request the bus right to the bus arbiter BABT, and to receive the bus access confirmation signal SBAK from the bus arbiter BABT to access the internal bus MBUS. And the internal bus MBUS according to the read / write bit RW
Execute read access or write access to.

【0027】図6には、図3のSIFバスマスタSIB
Mによるマイクロプロセッサ内部バスアクセスの一実施
例の処理フロー図が示されている。同図により、この実
施例のエミュレーションシステムにおけるエミュレータ
EMUのマイクロプロセッサ内部資源へのアクセス方法
とその特徴について説明する。
FIG. 6 shows the SIF bus master SIB of FIG.
A processing flow diagram of one embodiment of microprocessor internal bus access by M is shown. With reference to the figure, a method of accessing the internal resources of the microprocessor of the emulator EMU in the emulation system of this embodiment and its characteristics will be described.

【0028】図6において、エミュレータEMUによる
マイクロプロセッサ内部バスへのアクセスは、エミュレ
ーション実行中にキーボードKBから内部バスアクセス
コマンドを入力することによって開始される。エミュレ
ータEMUでは、この内部バスアクセスコマンド入力を
受けてホストプロセッサHCPUによる内部バスアクセ
ス条件の生成が開始され、キーボードKBからコマンド
の一部として入力されるアドレス,書き込み情報及び動
作モード等をもとに一連の内部バスアクセス条件が生成
される。これらの内部バスアクセス条件は、エミュレー
タEMUのシリアルインタフェース部ESIFからシリ
アル入力信号SIを介してマイクロプロセッサのSIF
バスマスタSIBMに転送され、そのアドレスレジスタ
ADRH及びADRL,データレジスタDRならびにコ
ントロールレジスタCRに格納される。そして、コント
ロールレジスタCRのリクエストビットREQのセット
を受けてバスアクセス要求信号SBRQがアサートさ
れ、SIFバスマスタSIBMからバスアービタBAB
Tに対するバス権要求が行われる。
In FIG. 6, the access to the microprocessor internal bus by the emulator EMU is started by inputting an internal bus access command from the keyboard KB during execution of the emulation. In the emulator EMU, upon receiving the input of the internal bus access command, the generation of the internal bus access condition by the host processor HCPU is started, and based on the address, write information, operation mode and the like input as a part of the command from the keyboard KB. A series of internal bus access conditions are generated. These internal bus access conditions are controlled by the SIF of the microprocessor via the serial input signal SI from the serial interface ESIF of the emulator EMU.
The data is transferred to the bus master IBM and stored in the address registers ADRH and ADRL, the data register DR, and the control register CR. Then, the bus access request signal SBRQ is asserted in response to the setting of the request bit REQ of the control register CR, and the bus arbiter BAB is sent from the SIF bus master IBM.
A bus right request to T is made.

【0029】マイクロプロセッサMPUのバスアービタ
BABTは、バスアクセス要求信号SBRQのアサート
を受けてSIFバスマスタSIBMによるバス権要求を
識別して、他のバスマスタからのバス権要求が輻輳して
いないことを条件に、バスアクセス確認信号SBAKを
アサートし、SIFバスマスタSIBMに内部バスアク
セス権を与える。これにより、SIFバスマスタSIB
Mは、内部バスMBUSつまりはリードオンリーメモリ
ROMやランダムアクセスメモリRAMあるいはDMA
コントローラDMAC又はリフレッシュコントローラR
EFCの制御レジスタ等へのアクセスを実行する。この
とき、ライトアクセスの場合、SIFバスマスタSIB
MのデータレジスタDRに格納されるデータD0〜D7
が書き込みデータとして内部バスMBUSのデータバス
に送出され、リードアクセスの場合、このデータバスを
介して出力される読み出しデータがSIFバスマスタS
IBMのデータレジスタDRに格納される。コントロー
ルレジスタCRでは、内部バスアクセスが終了した時点
で、そのエンドビットENDがセットされる。各レジス
タによって保持される内部バスアクセス結果は、シリア
ルインタフェース部MSIFからシリアル出力信号SO
を介してエミュレータEMUのシリアルインタフェース
部ESIFに転送され、これによってエミュレータEM
Uによるマイクロプロセッサ内部バスアクセスが終了す
る。
The bus arbiter BABT of the microprocessor MPU receives the assertion of the bus access request signal SBRQ, identifies the bus right request by the SIF bus master IBMB, and on the condition that the bus right requests from other bus masters are not congested. , Asserts a bus access confirmation signal SBAK to give the SIF bus master IBM an internal bus access right. Thereby, the SIF bus master SIB
M is an internal bus MBUS, that is, a read only memory ROM, a random access memory RAM, or a DMA.
Controller DMAC or refresh controller R
Executes access to the EFC control register and the like. At this time, in the case of a write access, the SIF bus master SIB
Data D0 to D7 stored in M data register DR
Is transmitted to the data bus of the internal bus MBUS as write data, and in the case of read access, read data output via this data bus is transmitted to the SIF bus master S.
It is stored in the IBM data register DR. In the control register CR, when the internal bus access ends, the end bit END is set. The internal bus access result held by each register is transmitted from the serial interface unit MSIF to the serial output signal SO.
Is transferred to the serial interface section ESIF of the emulator EMU via the
The microprocessor internal bus access by U ends.

【0030】以上のように、この実施例のマイクロプロ
セッサMPUは、外部のエミュレータEMUとシリアル
インタフェース部MSIF及びESIFを介して結合さ
れる専用のSIFバスマスタSIBMを備え、エミュレ
ータEMUは、所定の試験動作つまりエミュレーション
実行中においてマイクロプロセッサMPUの内部バスM
BUSに対するアクセス権を一時的に獲得し、リードオ
ンリーメモリROM及びランダムアクセスメモリRAM
等のマイクロプロセッサ内部資源をアクセスすることが
できる。この結果、エミュレータEMUによるユーザ空
間のモニタ又は書き換え等を容易に行うことができるた
め、通常の動作状態ではアクセスできない内部資源を備
えるマイクロプロセッサMPUの効果的なリアルタイム
エミュレーションを実現できるものとなる。なお、SI
FバスマスタSIBMとエミュレータEMUとがシリア
ルインタフェース部を介して結合されることで、上記機
能が追加されることによるマイクロプロセッサ外部端子
の増設数は少なくて済む。また、SIFバスマスタSI
BMのバス権優先度が最低順位とされることで、SIF
バスマスタSIBMによる内部バスアクセスが他のバス
マスタに与える影響は抑制されるため、マイクロプロセ
ッサMPUの通常動作を阻害することなく高精度のエミ
ュレーションを実現することができる。
As described above, the microprocessor MPU of this embodiment has the dedicated SIF bus master SIBM coupled to the external emulator EMU via the serial interface sections MSIF and ESIF. That is, during execution of the emulation, the internal bus M of the microprocessor MPU is used.
BUS access right temporarily acquired, read only memory ROM and random access memory RAM
And other internal resources of the microprocessor. As a result, the user space can be easily monitored or rewritten by the emulator EMU, so that an effective real-time emulation of a microprocessor MPU having internal resources that cannot be accessed in a normal operation state can be realized. Note that SI
Since the F bus master IBM and the emulator EMU are connected via the serial interface unit, the number of additional external terminals of the microprocessor due to the addition of the above function can be reduced. Also, the SIF bus master SI
By setting the BM bus priority to the lowest priority, the SIF
Since the influence of the internal bus access by the bus master IBM on other bus masters is suppressed, high-precision emulation can be realized without hindering the normal operation of the microprocessor MPU.

【0031】以上の本実施例に示されるように、この発
明を通常の動作状態ではアクセス不能な内部資源を備え
るマイクロプロセッサならびにそのバスアクセス方式に
適用することで、次のような作用効果が得ることができ
る。すなわち、 (1)通常の動作状態ではアクセスできない内部資源を
備えるマイクロプロセッサ等に、シリアルインタフェー
ス部を介して外部のエミュレータに結合される専用のバ
スマスタを設け、このバスマスタによるバスアクセス要
求を最下位の優先度をもって受理することで、多くのハ
ードウエア増設を要することなくしかもマイクロプロセ
ッサ等の通常動作を妨げることなく、リードオンリーメ
モリ及びランダムアクセスメモリ等が結合されるマイク
ロプロセッサ等の内部バスをアクセスすることができる
という効果が得られる。 (2)上記(1)項により、エミュレーション実行状態
でマイクロプロセッサ等の内部資源つまりはユーザ空間
をリアルタイムでモニタし又は書き換えることができる
という効果が得られる。 (3)上記(1)及び(2)項により、通常の動作状態
ではアクセスできない内部資源を備えるマイクロプロセ
ッサ等の効果的なリアルタイムエミュレーションを実現
することができるという効果が得られる。
As shown in the above embodiment, the following effects can be obtained by applying the present invention to a microprocessor having an internal resource which cannot be accessed in a normal operation state and its bus access method. be able to. (1) A dedicated bus master coupled to an external emulator via a serial interface unit is provided in a microprocessor or the like having internal resources that cannot be accessed in a normal operation state, and a bus access request by this bus master is assigned to the lowest order. By receiving with priority, the internal bus of the microprocessor or the like to which the read-only memory and the random access memory are coupled is accessed without much hardware addition and without interrupting the normal operation of the microprocessor or the like. The effect that it can be obtained is obtained. (2) According to the above item (1), it is possible to monitor or rewrite the internal resources such as the microprocessor, that is, the user space in real time in the emulation execution state. (3) According to the above items (1) and (2), there is obtained an effect that effective real-time emulation of a microprocessor or the like having internal resources that cannot be accessed in a normal operation state can be realized.

【0032】以上、本発明等によってなされた発明を実
施例に基づき具体的に説明したが、この発明は、上記実
施例に限定されるものではなく、その要旨を逸脱しない
範囲で種々変更可能であることは言うまでもない。例え
ば、図1において、マイクロプロセッサMPUとエミュ
レータEMUとの間は、特にシリアルインタフェース部
を介して結合されることを必須条件とはしない。すなわ
ち、マイクロプロセッサMPUの外部端子数に余裕があ
る場合、例えば図7に示されるように、マイクロプロセ
ッサMPUとエミュレータEMUとの間をSIF専用バ
スSBUSによって直接結合することができる。この場
合、エミュレータEMUは、バスアクセス要求信号SB
RQをアサートすることによってバスアクセス権を要求
し、バスアクセス確認信号SBAKがアサートされるこ
とによってバスアクセス権を得ることができる。SIF
バスマスタSIBMは、マイクロプロセッサMPUがエ
ミュレーションのための評価用マイクロプロセッサとさ
れる場合に限って有効とすることができる。さらに、エ
ミュレータEMUのブロック構成やエミュレーションシ
ステムとしての接続構成は、この実施例による制約を受
けない。
Although the invention made by the present invention and the like has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and can be variously modified without departing from the gist thereof. Needless to say, there is. For example, in FIG. 1, it is not essential that the microprocessor MPU and the emulator EMU are coupled through a serial interface unit. That is, when there is a margin in the number of external terminals of the microprocessor MPU, for example, as shown in FIG. 7, the microprocessor MPU and the emulator EMU can be directly connected by the SIF dedicated bus SBUS. In this case, emulator EMU provides bus access request signal SB
The bus access right can be requested by asserting RQ, and the bus access right can be obtained by asserting the bus access confirmation signal SBAK. SIF
The bus master IBM can be effective only when the microprocessor MPU is used as an evaluation microprocessor for emulation. Further, the block configuration of the emulator EMU and the connection configuration as the emulation system are not restricted by this embodiment.

【0033】図2において、SIFバスマスタSIBM
に与えられるバス権優先度は、特に最低順位であること
を必須条件としない。また、マイクロプロセッサMPU
が備える内部資源及びバスマスタの数や種類ならびにマ
イクロプロセッサMPUのブロック構成は、種々の実施
形態を採りうる。さらに、図3に示されるSIFバスマ
スタSIBMのブロック構成,図4に示される各レジス
タのビット構成,図5に示されるアドレスマップならび
に図6に示される内部バスアクセス処理フロー等は、こ
れらの実施例による制約を受けない。
In FIG. 2, SIF bus master IBM
The priority of the bus right given to the server is not required to be the lowest priority. In addition, the microprocessor MPU
The internal resources and the number and types of bus masters and the block configuration of the microprocessor MPU can adopt various embodiments. The block configuration of the SIF bus master IBM shown in FIG. 3, the bit configuration of each register shown in FIG. 4, the address map shown in FIG. 5, and the internal bus access processing flow shown in FIG. Is not restricted by

【0034】以上の説明では、主として本発明者によっ
てなされた発明をその背景となった利用分野であるマイ
クロプロセッサならびにそのエミュレーションシステム
に適用した場合について説明したが、それに限定される
ものではなく、同様な内部資源を備える各種のディジタ
ル処理装置やそのエミュレーションシステムにも適用で
きる。この発明は、少なくとも通常の動作状態において
アクセス不能な内部資源を備える処理装置ならびにその
バスアクセス方式に広く適用できる。
In the above description, the case where the invention made by the present inventor is mainly applied to the microprocessor and the emulation system thereof, which are the field of application, has been described. However, the present invention is not limited to this. It can also be applied to various digital processing devices having various internal resources and emulation systems thereof. INDUSTRIAL APPLICABILITY The present invention can be widely applied to a processing device having an internal resource that is inaccessible at least in a normal operation state and a bus access method thereof.

【0035】[0035]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記の通りである。すなわち、通常の動作状態ではアクセ
スできない内部資源を備えるマイクロプロセッサ等に、
シリアルインタフェース部を介して外部のエミュレータ
に結合される専用のバスマスタを設け、この専用バスマ
スタによるバスアクセス要求を最下位の優先度をもって
受理することで、多くのハードウエア増設を要すること
なくしかもマイクロプロセッサ等の通常動作を妨げるこ
となく、リードオンリーメモリやランダムアクセスメモ
リ等の内部資源が結合される内部バスをアクセスするこ
とができる。これにより、エミュレーション実行状態で
マイクロプロセッサ等の内部資源つまりはユーザ空間を
リアルタイムでモニタし又は書き換えることができるた
め、通常の動作状態ではアクセスできない内部資源を備
えるマイクロプロセッサ等の効果的なリアルタイムエミ
ュレーションを実現することができる。
The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows. That is, a microprocessor or the like having internal resources that cannot be accessed in a normal operation state,
A dedicated bus master that is connected to an external emulator via the serial interface unit is provided, and the bus access request by this dedicated bus master is accepted with the lowest priority. And the like, and can access an internal bus to which internal resources such as a read-only memory and a random access memory are coupled. Thereby, the internal resources such as the microprocessor, that is, the user space can be monitored or rewritten in real time in the emulation execution state, so that the effective real-time emulation of the microprocessor or the like having the internal resources that cannot be accessed in the normal operation state can be realized. Can be realized.

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

【図1】この発明が適用されたバスアクセス方式を採る
エミュレーンシステムの一実施例を示す接続図である。
FIG. 1 is a connection diagram showing one embodiment of an emulelan system adopting a bus access method to which the present invention is applied.

【図2】図1のエミュレーションシステムに含まれるマ
イクロプロセッサの第1の実施例を示すブロック図であ
る。
FIG. 2 is a block diagram illustrating a first embodiment of a microprocessor included in the emulation system of FIG. 1;

【図3】図2のマイクロプロセッサに含まれるSIFバ
スマスタの一実施例を示すブロック図である。
FIG. 3 is a block diagram showing one embodiment of an SIF bus master included in the microprocessor of FIG. 2;

【図4】図3のSIFバスマスタに含まれるアドレスレ
ジスタ及びデータレジスタならびにコントロールレジス
タの一実施例を示すビット構成図である。
FIG. 4 is a bit configuration diagram showing an embodiment of an address register, a data register, and a control register included in the SIF bus master of FIG. 3;

【図5】図2のマイクロプロセッサの一実施例を示すア
ドレスマップ図である。
FIG. 5 is an address map diagram showing one embodiment of the microprocessor of FIG. 2;

【図6】図3のSIFバスマスタによるマイクロプロセ
ッサ内部バスアクセスの一実施例を示す処理フロー図で
ある。
FIG. 6 is a processing flowchart showing one embodiment of microprocessor internal bus access by the SIF bus master of FIG. 3;

【図7】図1のエミュレーションシステムに含まれるマ
イクロプロセッサの第2の実施例を示すブロック図であ
る。
FIG. 7 is a block diagram showing a second embodiment of the microprocessor included in the emulation system of FIG. 1;

【図8】従来のエミュレーションシステムの一例を示す
接続図である。
FIG. 8 is a connection diagram showing an example of a conventional emulation system.

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

MPU・・・マイクロプロセッサ、EMU・・・エミュ
レータ、EBUS・・・エミュレーションバス、IBU
S・・・エミュレータ内部バス、EMC・・・エミュレ
ーション制御部、ECM・・・エミュレーション制御メ
モリ、BRC・・・ブレークコントローラ、TRM・・
・トレースメモリ、EMM・・・エミュレーションメモ
リ、HCPU・・・ホストプロセッサ、SYM・・・シ
ステムメモリ、ESIF・・・エミュレータシリアルイ
ンタフェース部、IOC・・・IOコントローラ、UI
F・・・ユーザインタフェース部、MM・・・メインメ
モリ、KB・・・キーボード、DP・・・ディスプレイ
装置。CPU・・・中央処理装置、MBUS・・・マイ
クロプロセッサ内部バス、SBUS・・・SIF専用バ
ス、DMAC・・・DMAコントローラ、REFC・・
・リフレッシュコントローラ、SIBM・・・SIFバ
スマスタ、BABT・・・バスアービタ、ROM・・・
リードオンリーメモリ、RAM・・・ランダムアクセス
メモリ、IOP・・・入出力ポート部、BUSC・・・
バスコントローラ、EBIF・・・外部バスインタフェ
ース部。SBMC・・・SIFバスマスタ制御部、AD
RH,ADRL・・・アドレスレジスタ、DR・・・デ
ータレジスタ、CR・・・コントロールレジスタ、MS
IF・・・マイクロプロセッサシリアルインタフェース
部。
MPU: Microprocessor, EMU: Emulator, EBUS: Emulation bus, IBU
S: emulator internal bus, EMC: emulation control unit, ECM: emulation control memory, BRC: break controller, TRM ...
Trace memory, EMM: Emulation memory, HCPU: Host processor, SYM: System memory, ESIF: Emulator serial interface unit, IOC: IO controller, UI
F: User interface unit, MM: Main memory, KB: Keyboard, DP: Display device. CPU: central processing unit, MBUS: microprocessor internal bus, SBUS: SIF dedicated bus, DMAC: DMA controller, REFC ...
・ Refresh controller, SIBM ・ ・ ・ SIF bus master, BABT ・ ・ ・ Bus arbiter, ROM ・ ・ ・
Read-only memory, RAM: Random access memory, IOP: Input / output port, BUSC:
Bus controller, EBIF ... External bus interface unit. SBMC: SIF bus master control unit, AD
RH, ADRL: Address register, DR: Data register, CR: Control register, MS
IF: microprocessor serial interface unit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−304334(JP,A) 特開 平4−148343(JP,A) 特開 平4−77833(JP,A) 特開 昭64−7235(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 - 11/277 G06F 15/78 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-63-304334 (JP, A) JP-A-4-148343 (JP, A) JP-A-4-77833 (JP, A) JP-A 64-64 7235 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G06F 11/22-11/277 G06F 15/78

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 中央処理装置を含む複数の機能ブロック
と、 前記複数の機能ブロックに接続された内部バスと、 前記内部バスに接続され、シリアル入出力インターフェ
イス回路と第1のレジスタとを備えたバスマスタと、 前記内部バスへのアクセスを調停する調停手段とが同一
チップ上に形成されているマイクロプロセッサであっ
て、前記マイクロプロセッサのエミュレーション実行状態に
おいて、前記 バスマスタには、前記マイクロプロセッサ
のアドレス空間を指定するためのアドレスが前記シリア
ル入出力インターフェイス回路を介してマイクロプロセ
ッサの外部より入力されて前記第1のレジスタに保持さ
れ、 前記第1のバスマスタは、前記調停手段に対して前記内
部バスへのアクセス要求を行ない、前記調停手段より前
記内部バスへのアクセス権を得た後、前記内部バスを介
して前記アドレスにアクセス して必要な内部データの入
力又は出力を行うことを特徴とするマイクロプロセッ
サ。
A plurality of function blocks including a central processing unit ; an internal bus connected to the plurality of function blocks; and a serial input / output interface connected to the internal bus.
A bus master and a chair circuit a first register, and arbitration means for arbitrating access to said internal bus is a microprocessor which is formed on the same chip, the emulation execution state of the microprocessor
Oite, wherein the bus master address for designating the address space of the microprocessor the Syrian
Input from the outside of the microprocessor via the input / output interface circuit and held in the first register.
And the first bus master communicates with the arbitration means.
Request access to the local bus, before the arbitration means
After obtaining the right to access the internal bus,
And accessing the address to input or output necessary internal data.
【請求項2】 請求項1において、 前記第1のバスマスタには、更に、前記アドレスに書き
込むためのデータ或いは前記アドレスから読み出された
データを保持するための第2のレジスタを有しているこ
とを特徴とするマイクロプロセッサ。
2. The first bus master according to claim 1, further comprising a second register for holding data for writing to the address or data read from the address. A microprocessor characterized in that:
【請求項3】 請求項1又は2において、 前記バスマスタによるアクセス要求は、最低順位の優先
度が割り当てられるものであることを 特徴とするマイク
ロプロセッサ。
3. An access request by the bus master according to claim 1, wherein the access request by the bus master has the lowest priority.
A microprocessor to which a degree is assigned .
【請求項4】 請求項1ないしのいずれかにおいて、 前記マイクロプロセッサの外部より入力されるアドレス
は、エミュレータより供給されるアドレスであることを
特徴とするマイクロプロセッサ。
4. A one of claims 1 to 3, the address inputted from outside of the microprocessor, the microprocessor, characterized in that an address supplied from the emulator.
JP02052093A 1993-01-13 1993-01-13 Microprocessor Expired - Fee Related JP3199138B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02052093A JP3199138B2 (en) 1993-01-13 1993-01-13 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02052093A JP3199138B2 (en) 1993-01-13 1993-01-13 Microprocessor

Publications (2)

Publication Number Publication Date
JPH06214824A JPH06214824A (en) 1994-08-05
JP3199138B2 true JP3199138B2 (en) 2001-08-13

Family

ID=12029442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02052093A Expired - Fee Related JP3199138B2 (en) 1993-01-13 1993-01-13 Microprocessor

Country Status (1)

Country Link
JP (1) JP3199138B2 (en)

Also Published As

Publication number Publication date
JPH06214824A (en) 1994-08-05

Similar Documents

Publication Publication Date Title
CN100592271C (en) Apparatus and method for high performance volatile disk drive memory access using an integrated DMA engine
US5642489A (en) Bridge between two buses of a computer system with a direct memory access controller with accessible registers to support power management
US5682551A (en) System for checking the acceptance of I/O request to an interface using software visible instruction which provides a status signal and performs operations in response thereto
US6571204B1 (en) Bus modeling language generator
US7581054B2 (en) Data processing system
JPS62243058A (en) Control method of interruption for multi-processor system
KR19990029294A (en) Method and System for Bus Arbitration in Multiprocessor Systems Using Concurrent Access to Variable Width Buses
JPH11238030A (en) Pci-pci bridge and its fast-in fast-out memory
US5553268A (en) Memory operations priority scheme for microprocessors
US5900014A (en) External means of overriding and controlling cacheability attribute of selected CPU accesses to monitor instruction and data streams
KR900004291B1 (en) A method and apparatus for coordinating exceution of an instruction by a processor
US5933613A (en) Computer system and inter-bus control circuit
US5212775A (en) Method and apparatus for observing internal memory-mapped registers
US6973520B2 (en) System and method for providing improved bus utilization via target directed completion
CN110765060A (en) Method, device, equipment and medium for converting MDIO bus into parallel bus
JP3199138B2 (en) Microprocessor
JPS581451B2 (en) Data transfer method
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
JP3431025B2 (en) Data transfer system
JP3817327B2 (en) Method and apparatus for accessing a chip selectable device in a data processing system
US5809534A (en) Performing a write cycle to memory in a multi-processor system
JP3531368B2 (en) Computer system and inter-bus control circuit
US7237099B2 (en) Multiprocessor system having a plurality of control programs stored in a continuous range of addresses of a common memory and having identification registers each corresponding to a processor and containing data used in deriving a starting address of a CPU-linked interrupt handler program to be executed by the corresponding processor
JP3323341B2 (en) Emulation processor and emulator equipped with it
JPS61150054A (en) Data processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010522

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080615

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080615

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090615

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees