JPH06301571A - Cpu mounted integrated circuit chip and emulator pod - Google Patents

Cpu mounted integrated circuit chip and emulator pod

Info

Publication number
JPH06301571A
JPH06301571A JP5091351A JP9135193A JPH06301571A JP H06301571 A JPH06301571 A JP H06301571A JP 5091351 A JP5091351 A JP 5091351A JP 9135193 A JP9135193 A JP 9135193A JP H06301571 A JPH06301571 A JP H06301571A
Authority
JP
Japan
Prior art keywords
internal
chip
cpu
signal
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.)
Granted
Application number
JP5091351A
Other languages
Japanese (ja)
Other versions
JP2779300B2 (en
Inventor
Yoichi Hariguchi
陽一 播口
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.)
JFE Steel Corp
Yokogawa Digital Computer Corp
Original Assignee
Yokogawa Digital Computer Corp
Kawasaki Steel Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Digital Computer Corp, Kawasaki Steel Corp filed Critical Yokogawa Digital Computer Corp
Priority to JP5091351A priority Critical patent/JP2779300B2/en
Publication of JPH06301571A publication Critical patent/JPH06301571A/en
Application granted granted Critical
Publication of JP2779300B2 publication Critical patent/JP2779300B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To improve the emulation efficiency by outputting a memory access manifesting signal and an I/O access manifesting signal to the outside of the CPU mounted integrated circuit chip. CONSTITUTION:At the time of emultaion mode, an access from an in-chip bus 30 of an internal memory 14 is inhibited uniformly. An internal resources access manifesting circuit 36 generates an internal address manisfesting signal for showing a fact that one of the internal memories 14 is subjected to address designation, in accordance with an access selecting signal outputted from an address decoder part 34. Also, in accordance with a prescribed bus use permitting signal for showing a fact that a DMA controller 16 obtains a bus use permission, an internal access I/O access manifesting signal for showing a fact that one of internal I/O circuit 18 is subjected to address designation or becomes an access object of the DMA controller is generated. In accordance with these two signals, an input and an output of data can be controlled correctly even at the time of DMA.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CPU(central proc
essing unit )及び該CPUにより所定のチップ内バス
を経由してアクセスされる内部メモリや内部I/O回路
が搭載されていると共に、前記CPUを介さず、前記チ
ップ内バスを経由して前記内部メモリや前記内部I/O
回路へと直接アクセスすることが可能なDMA(direct
memory access)コントローラが搭載されているCPU
搭載集積回路チップ(以降、このようなCPU及びDM
Aコントローラを共に搭載したものを、CPU搭載集積
回路チップと称する)に係り、又は、このようなCPU
搭載集積回路チップが搭載される、該チップに対応する
ものを用いたターゲットシステムをデバッグするため、
該ターゲットシステム内の外部バスに接続される該チッ
プに対応するものをエミュレートする際に用いるエミュ
レータポッドに係り、特に、前記DMAコントローラの
動作を、より効果的にエミュレートすることができるC
PU搭載集積回路チップ及びエミュレータポッドに関す
る。
The present invention relates to a CPU (central proc
essing unit) and an internal memory and an internal I / O circuit which are accessed by the CPU via a predetermined in-chip bus, and the internal memory is accessed via the in-chip bus without passing through the CPU. Memory and internal I / O
Direct access to the circuit DMA (direct
memory access) CPU with controller
On-board integrated circuit chip (hereinafter, such CPU and DM
A mounted with an A controller together is referred to as a CPU mounted integrated circuit chip), or such a CPU
On-board integrated circuit chip is mounted, in order to debug the target system using the one corresponding to the chip,
The present invention relates to an emulator pod used when emulating a device corresponding to the chip connected to an external bus in the target system, and in particular, it can emulate the operation of the DMA controller more effectively.
The present invention relates to a PU-equipped integrated circuit chip and an emulator pod.

【0002】[0002]

【従来の技術】電子機器の集積回路化は、電子機器全体
の大きさを小型化することができるだけでなく、電子機
器の信頼性の向上や消費電力の低減などの多くの利点を
有している。集積回路の設計に際しては、非常に多く
の設計工数を要する、従って、設計コストの占める割
合が極めて高い、TAT(turn around time)が長く
なってしまう、このため、カスタム化が困難であると
いう課題がある。このような集積回路のカスタム化の課
題〜を解決するために、設計工程や製造工程中の少
なくとも一部を共通化して予め準備しておき、これ以外
の工程をカスタム化するという技術がある。
2. Description of the Related Art Integrating an electronic device into an integrated circuit has many advantages such as improving the reliability of the electronic device and reducing power consumption, as well as reducing the size of the entire electronic device. There is. When designing an integrated circuit, an extremely large number of design steps are required. Therefore, the ratio of the design cost is extremely high, and the TAT (turn around time) becomes long. Therefore, it is difficult to customize. There is. In order to solve the problems (1) to (3) of customizing the integrated circuit, there is a technique in which at least a part of the design process or the manufacturing process is shared and prepared in advance, and the other processes are customized.

【0003】このような技術による集積回路は、セミカ
スタム方式の集積回路と呼ばれ、スタンダードセル方式
の集積回路やゲートアレイ方式の集積回路などがある。
前記スタンダードセル方式の集積回路は、登録済みのセ
ル(機能ブロック)を集積回路に組み込む回路に従って
配置し、相互配線するという設計方式による集積回路で
ある。前記ゲートアレイ方式の集積回路は、配線工程以
前で加工される行列状に配置されたセル群を共通化し、
集積回路に組み込まれる回路に従って、これ以降の配線
工程を行うという方式の集積回路である。このようなセ
ミカスタム方式の集積回路によれば、設計時や生産時の
TATやコストの低減を図ることができ、顧客に合せた
設計の集積回路を提供することができる。
An integrated circuit based on such a technique is called a semi-custom type integrated circuit, and includes a standard cell type integrated circuit and a gate array type integrated circuit.
The standard cell type integrated circuit is an integrated circuit based on a design method in which registered cells (functional blocks) are arranged according to a circuit to be incorporated in the integrated circuit and interconnected. In the gate array type integrated circuit, a group of cells arranged in a matrix which is processed before the wiring process is shared,
This is an integrated circuit of a type in which subsequent wiring steps are performed according to a circuit incorporated in the integrated circuit. According to such a semi-custom type integrated circuit, it is possible to reduce TAT and cost at the time of designing and manufacturing, and it is possible to provide an integrated circuit designed according to the customer.

【0004】又、近年、このようなセミカスタム方式の
集積回路においては、CPU(central processing uni
t :中央処理装置)や、該CPUにてアクセスされるR
AM(random access memory)やROM(read only me
mory)などのメモリやI/O(input /output)などの
周辺回路のマクロライブラリが提供されているものがあ
る。このようなマクロライブラリが用意されているセミ
カスタム方式の集積回路によれば、CPUを含むカスタ
ム化された構成のマイクロコンピュータシステムを組み
込んだ集積回路(以降、CPU搭載カスタム集積回路と
称する)をも提供することが可能である。
In recent years, in such a semi-custom type integrated circuit, a CPU (central processing unit) is used.
t: central processing unit) or R accessed by the CPU
AM (random access memory) and ROM (read only me)
For example, some macro libraries of peripheral circuits such as I / O (input / output) are provided. According to the semi-custom type integrated circuit in which such a macro library is prepared, an integrated circuit (hereinafter referred to as a CPU-incorporated custom integrated circuit) incorporating a microcomputer system having a customized configuration including a CPU is also available. It is possible to provide.

【0005】従来から、このようなCPU搭載カスタム
集積回路を含め、マイクロプロセッサを用いたシステム
をエミュレートするための様々な技術が開示され用いら
れている。
Various techniques have conventionally been disclosed and used for emulating a system using a microprocessor, including such a CPU-incorporated custom integrated circuit.

【0006】図11は、従来のエミュレータの第1例の
構成を示すブロック図である。
FIG. 11 is a block diagram showing the configuration of a first example of a conventional emulator.

【0007】この図11に示されるエミュレータは、前
記CPU搭載カスタム集積回路をエミュレートするもの
である。又、該エミュレータは、ユーザターゲットシス
テムに搭載されているエミュレート対象となる前記CP
U搭載カスタム集積回路(以降、ターゲット集積回路と
も称する)の搭載位置、あるいはその近傍の所定接続箇
所にエミュレータ接続プラグ90にて接続し利用され
る。例えば、前記ユーザターゲットシステム上の前記タ
ーゲット集積回路が搭載される集積回路ソケットに前記
エミュレータ接続プラグ90を装着して用いる。当該エ
ミュレータは、主として、ICE(in circuit emulato
r )本体80と、ポッド92と、ブレッドボード94
と、エミュレータ接続プラグ90とにより構成されてい
る。
The emulator shown in FIG. 11 emulates the CPU-installed custom integrated circuit. In addition, the emulator includes the CP that is mounted on the user target system and is an emulation target.
It is used by connecting it to a mounting position of a U-mounted custom integrated circuit (hereinafter also referred to as a target integrated circuit) or a predetermined connecting position in the vicinity thereof with an emulator connecting plug 90. For example, the emulator connection plug 90 is mounted and used in an integrated circuit socket in which the target integrated circuit on the user target system is mounted. The emulator is mainly used for ICE (in circuit emulato).
r) Main body 80, pod 92, breadboard 94
And an emulator connection plug 90.

【0008】前記ブレッドボード94では、エミュレー
ト対象となるターゲット集積回路に組み込む回路が、デ
ィスクリート回路にて構成されている。例えば、該ブレ
ッドボード94には、CPUチップ60と、I/Oチッ
プ62と、ROMチップ64と、RAMチップ66など
が搭載され、前記ターゲット集積回路に組み込む回路が
再現されている。又、このようなブレットボード94に
対して、前記ICE本体80と前記ポッド92とによっ
て、当該ブレッドボード94に搭載されている前記CP
Uチップ60のエミュレータが構成されているといえ
る。
In the breadboard 94, the circuit incorporated in the target integrated circuit to be emulated is composed of a discrete circuit. For example, a CPU chip 60, an I / O chip 62, a ROM chip 64, a RAM chip 66, etc. are mounted on the breadboard 94, and a circuit incorporated in the target integrated circuit is reproduced. In addition, with respect to such a bullet board 94, the CP mounted on the bread board 94 by the ICE main body 80 and the pod 92.
It can be said that the emulator of the U chip 60 is configured.

【0009】前記ポッド92には、エミュレート対象と
なる前記CPUチップ60と同一仕様のものが搭載され
ている。又、該ポッド92に搭載されている該CPU
は、前記ICE本体80にてその動作状態が観測できる
ようになっている。エミュレート中においては、前記ポ
ッド92に搭載されたCPUが動作し、該CPUの動作
を前記ICE本体80にて観測することによって、前記
ブレッドボード94の動作を確認することができる。
The pod 92 has the same specifications as the CPU chip 60 to be emulated. Further, the CPU mounted on the pod 92
The operating state of the ICE can be observed on the ICE main body 80. During the emulation, the CPU mounted on the pod 92 operates, and the operation of the breadboard 94 can be confirmed by observing the operation of the CPU on the ICE main body 80.

【0010】このような前記図11に示されるようなエ
ミュレータによれば、前記ターゲット集積回路を作る前
であっても、その回路を前記ブレットボード94にて実
現し、該ターゲット集積回路に組み込む回路のエミュレ
ートをすることができる。又、前記ターゲット集積回路
に組み込む回路はディスクリート回路となっているた
め、各配線の論理状態を容易に観測することができる。
例えば、前記CPUチップ60が他の前記RAMチップ
66などにアクセスする際に用いられるバスの論理状態
などは、比較的容易に観測することができる。
According to the emulator as shown in FIG. 11, the circuit is realized by the bullet board 94 even before the target integrated circuit is made, and the circuit is incorporated in the target integrated circuit. Can emulate. Further, since the circuit incorporated in the target integrated circuit is a discrete circuit, the logic state of each wiring can be easily observed.
For example, the logical state of the bus used when the CPU chip 60 accesses another RAM chip 66 or the like can be relatively easily observed.

【0011】図12は、従来のエミュレータの第2例の
構成を示すブロック図である。
FIG. 12 is a block diagram showing the configuration of a second example of the conventional emulator.

【0012】この図12に示されるエミュレータは、前
記図11を用いて説明した第1例のエミュレータと同様
に、前記エミュレータ接続プラグ90にて前記ユーザタ
ーゲットシステムの、例えば前記ターゲット集積回路が
搭載される集積回路ソケットに接続され、該ターゲット
集積回路のエミュレータとして用いられる。該エミュレ
ータは、主として、ICE本体80と、ポッド76と、
エミュレータ接続プラグ90とにより構成されている。
In the emulator shown in FIG. 12, the target integrated circuit of the user target system, for example, the target integrated circuit is mounted on the emulator connecting plug 90, as in the emulator of the first example described with reference to FIG. And is used as an emulator for the target integrated circuit. The emulator mainly includes an ICE body 80, a pod 76,
It is composed of an emulator connection plug 90.

【0013】前記ポッド76には、前記ユーザターゲッ
トシステムに搭載されるものと同一、あるいは同一の形
態の前記ターゲット集積回路のユーザエンドチップ70
が搭載されている。又、該ポッド76には、前記ユーザ
エンドチップ70を前記エミュレータ接続プラグ90に
て前記ユーザターゲットシステムに接続して用いるため
の回路と、該ユーザエンドチップ70の動作を前記IC
E本体80にて観測するためのICE用回路74とが組
み込まれている。なお、前記ユーザエンドチップ70に
は、例えば、CPU部82と、I/O部84と、ROM
部86とが組み込まれ、内部バス72にて接続されてい
る。
In the pod 76, the user end chip 70 of the target integrated circuit having the same or the same form as that mounted on the user target system is provided.
Is installed. In addition, the pod 76 has a circuit for connecting the user end chip 70 to the user target system through the emulator connection plug 90 and uses the circuit for operating the user end chip 70.
An ICE circuit 74 for observing the E body 80 is incorporated. The user end chip 70 includes, for example, a CPU section 82, an I / O section 84, and a ROM.
The unit 86 is incorporated and connected by the internal bus 72.

【0014】このような前記図12に示される従来のエ
ミュレータの第2例によれば、最終的な前記ユーザエン
ドチップ70(前記ターゲット集積回路)を実際に前記
ユーザターゲットシステムに搭載し動作させた状態を、
より正確に再現し、エミュレートすることができる。従
って、前記ユーザターゲットシステムのハードウェア構
成の最終的な状態での、エミュレート精度を向上するこ
とができる。
According to the second example of the conventional emulator shown in FIG. 12, the final user end chip 70 (the target integrated circuit) is actually mounted in the user target system and operated. State
It can be reproduced more accurately and emulated. Therefore, the emulation accuracy in the final state of the hardware configuration of the user target system can be improved.

【0015】図13は、従来のエミュレータの第3例に
用いるエミュレータポッドの構成を示すブロック図であ
る。
FIG. 13 is a block diagram showing the configuration of an emulator pod used in the third example of the conventional emulator.

【0016】この図13においては、所定のICE本体
と、所定のターゲットシステムとの間にあって用いられ
るエミュレータポッドの構成が示されている。該ターゲ
ットシステムには、CPU及びこの周辺回路が組み込ま
れた、又、カスタム化された回路部分を有する集積回路
が搭載されている。
FIG. 13 shows the configuration of an emulator pod used between a predetermined ICE main body and a predetermined target system. The target system is mounted with an integrated circuit having a CPU and its peripheral circuits incorporated therein and having a customized circuit portion.

【0017】該エミュレータポッドは、主として、CP
U搭載チップ10と、エヴァチップ44と、エミュレー
ションメモリ46と、内部双方向データバスバッファ4
8と、エミュレータ用回路74と、これらを接続する内
部バス50とにより構成されている。
The emulator pod is mainly composed of a CP.
U-mounted chip 10, EVA chip 44, emulation memory 46, internal bidirectional data bus buffer 4
8, an emulator circuit 74, and an internal bus 50 connecting them.

【0018】又、前記ICE本体には、前記エミュレー
タ用回路74を介して接続されている。一方、前記ター
ゲットシステムへは、前記内部双方向データバスバッフ
ァ48を介して接続されている。
Further, it is connected to the ICE main body through the emulator circuit 74. On the other hand, the target system is connected via the internal bidirectional data bus buffer 48.

【0019】前記CPU搭載チップ10は、前記ターゲ
ットシステムに搭載される、エミュレート対象となる集
積回路に対応するものである。該CPU搭載チップ10
は、CPU及び該CPUにより所定のチップ内バスを経
由してアクセスされるメモリが搭載されている。又、該
CPU搭載チップ10には、前記CPUを介さず、前記
チップ内バスを経由して前記メモリへと直接アクセスす
ることが可能なDMAコントローラが搭載されている。
該CPU搭載チップ10は、エミュレーション等による
テストが完了した後、最終的には、前記内部双方向デー
タバスバッファ48から所定のエミュレータ接続プラグ
にて接続される、前記ターゲットシステムの接続箇所へ
と、直接搭載されるものである。
The CPU mounting chip 10 corresponds to an integrated circuit to be emulated, which is mounted on the target system. The CPU mounted chip 10
Is equipped with a CPU and a memory accessed by the CPU via a predetermined in-chip bus. Further, the CPU mounting chip 10 is mounted with a DMA controller capable of directly accessing the memory via the in-chip bus without going through the CPU.
After the test by emulation or the like is completed, the CPU-equipped chip 10 is finally connected to the target system connection point, which is connected from the internal bidirectional data bus buffer 48 with a predetermined emulator connection plug, It is installed directly.

【0020】前記エヴァチップ44は、前記CPU搭載
チップ10をエミュレートするにあたって用いられる、
該CPU搭載チップ10に搭載されている前記CPUと
同等なもの等が搭載されたチップである。
The EVA chip 44 is used to emulate the CPU mounted chip 10.
This is a chip on which the same CPU as the CPU mounted on the CPU mounting chip 10 is mounted.

【0021】前記エミュレーションメモリ46は、前記
CPU搭載チップ10のエミュレーション中に、前記C
PU搭載チップ10に内蔵されるメモリをエミュレート
するものである。内蔵されているメモリを該エミュレー
ションメモリ46にてエミュレートすることにより、エ
ミュレーション中のメモリデータをより容易に、参照又
は設定変更することが可能である。これは、前記CPU
搭載チップ10に内蔵されるメモリに比べ、該エミュレ
ーションメモリ46が、外付けされている等、そのアク
セスが比較的容易であるためである。
The emulation memory 46 stores the C data during emulation of the CPU-equipped chip 10.
It emulates a memory built in the PU mounted chip 10. By emulating the built-in memory with the emulation memory 46, it is possible to more easily refer to or change the setting of the memory data being emulated. This is the CPU
This is because the emulation memory 46 is externally attached and is relatively easy to access as compared with the memory built in the mounting chip 10.

【0022】又、該エミュレーションメモリ46は、前
記CPU搭載チップ10のエミュレーション中に、該C
PU搭載チップ10に内蔵されるROMについてもエミ
ュレートするものとなっている。
Further, the emulation memory 46 stores the C data during emulation of the CPU-equipped chip 10.
The ROM built in the PU mounted chip 10 is also emulated.

【0023】前記CPU搭載チップ10を用いるターゲ
ットシステムは、アプリケーションプログラム等を記憶
する、ハードディスク装置等の外部記憶装置を備えない
場合が多い。外部記憶装置を備えない場合には、基本ソ
フトウェアだけでなく、アプリケーションプログラムに
ついても、前記ターゲットシステム上のROMに記憶さ
れる。又、集積度の面等の都合上、一般的には、基本ソ
フトウェアを含め、そのアプリケーションプログラム
は、前記CPU搭載チップ10中のROMに記憶され
る。
A target system using the CPU-mounted chip 10 often does not include an external storage device such as a hard disk device for storing application programs and the like. When the external storage device is not provided, not only the basic software but also the application program is stored in the ROM on the target system. In addition, for convenience of integration degree and the like, generally, the application program including the basic software is stored in the ROM in the CPU mounting chip 10.

【0024】前記ICE本体での利用者の操作により、
その内容を比較的容易に変更可能なRAMである前記エ
ミュレーションメモリ46によって、前記CPU搭載チ
ップ10中のROMをエミュレートすることにより、I
CE利用者の様々な便宜を図ることが可能である。例え
ば、前述のようなアプリケーションプログラムのデバッ
グの際、確認されたプログラム上の不具合は、前記エミ
ュレーションメモリ46のデータ変更で、即座に、又比
較的容易に対処することができる。又、このようなデー
タ変更にて改修されたプログラムによって、即座にデバ
ッグを続行することが可能である。
By the user's operation on the ICE body,
By emulating the ROM in the CPU mounted chip 10 by the emulation memory 46, which is a RAM whose contents can be changed relatively easily, I
It is possible to achieve various conveniences for CE users. For example, when the application program as described above is debugged, a program defect confirmed can be dealt with immediately and relatively easily by changing the data in the emulation memory 46. In addition, it is possible to immediately continue debugging with the program modified by such data change.

【0025】前記内部双方向データバスバッファ48
は、前記内部バス50と、前記ターゲットシステムの前
記CPU搭載チップ10の最終搭載位置とを接続する際
に用いられる。該内部双方向データバスバッファ48
と、所定のエミュレータ接続プラグ及びこれに関する所
定の接続ケーブルにて接続される。
The internal bidirectional data bus buffer 48
Is used when connecting the internal bus 50 and the final mounting position of the CPU mounting chip 10 of the target system. The internal bidirectional data bus buffer 48
And a predetermined emulator connection plug and a predetermined connection cable related thereto.

【0026】前記エミュレータ用回路74には、前述の
ICE本体80と、当該エミュレータポッドとを接続す
るための回路が組み込まれている。該エミュレータ用回
路74及び前記ICE本体に接続する所定のケーブルに
て、前記CPU搭載チップ10の動作状態を操作した
り、その動作状態を観測することができる。
The emulator circuit 74 incorporates a circuit for connecting the ICE body 80 and the emulator pod. With a predetermined cable connected to the emulator circuit 74 and the ICE main body, the operating state of the CPU-mounted chip 10 can be operated and the operating state can be observed.

【0027】このような従来のエミュレータの第3例に
よれば、前記第2例のものと同様に、前記CPU搭載チ
ップ10を実際に前記ターゲットシステムに搭載し動作
させた状態を、より正確に再現し、エミュレートするこ
とができる。従って、前記ターゲットシステムのハード
ウェア構成の最終的な状態により近い状態でエミュレー
トすることができ、そのエミュレート精度を向上するこ
とができる。又、本第3例によれば、そのエミュレート
中に前記CPU搭載チップ10の動作等を操作したり、
その動作を観測するためにアクセスされるメモリが、該
CPU搭載チップ10の外側の前記エミュレーションメ
モリ46によるものとなり、前記第2例に比べ、より緻
密なアクセスを行うことが可能である。従って、本第3
例によれば、前記第2例に比べて、エミュレーション作
業能率をより向上することができる。
According to the third example of such a conventional emulator, as in the case of the second example, the state in which the CPU-equipped chip 10 is actually mounted in the target system and operated is more accurate. It can be reproduced and emulated. Therefore, it is possible to emulate in a state closer to the final state of the hardware configuration of the target system, and improve the emulation accuracy. Further, according to the third example, the operation of the CPU-equipped chip 10 is operated during the emulation,
The memory accessed to observe the operation is the emulation memory 46 outside the CPU-equipped chip 10, so that more precise access can be performed as compared with the second example. Therefore, this third
According to the example, the emulation work efficiency can be further improved as compared with the second example.

【0028】なお、本第3例のエミュレート対象の集積
回路は、前述の如く、DMAコントローラが搭載されて
いる。このようなDMAコントローラ等、CPUは介さ
ずメモリへと直接アクセスするものが搭載された集積回
路の、エミュレーションやデバッグに関する様々な技術
が開示されている。
The integrated circuit to be emulated in the third example is equipped with the DMA controller as described above. Various techniques relating to emulation and debugging of an integrated circuit equipped with such a DMA controller that directly accesses a memory without going through a CPU have been disclosed.

【0029】例えば、特開昭62−239242では、
エミュレーションCPU、スーパバイザCPU及びエミ
ュレーションメモリを有するデバッグ装置に関する技術
が開示されている。これは、エミュレーション中に、エ
ミュレーションCPUのバスの空きサイクルを利用し、
エミュレーションメモリのアクセスを行う手段を設ける
というものである。該特開昭62−239242によれ
ば、エミュレーションCPUによるエミュレーション処
理を中断することなく、前記スーパバイザCPUによる
エミュレーションメモリアクセスを可能とすることがで
きる。
For example, in Japanese Patent Laid-Open No. 62-239242,
A technique related to a debug device having an emulation CPU, a supervisor CPU and an emulation memory is disclosed. This takes advantage of the free cycles of the emulation CPU's bus during emulation,
The means for accessing the emulation memory is provided. According to the Japanese Patent Laid-Open No. 62-239242, the emulation memory access by the supervisor CPU can be made possible without interrupting the emulation processing by the emulation CPU.

【0030】又、特開平3−136143では、DMA
機能と該DMAの状態を外部に知らせる機能を有するエ
ミュレータCPUと、システム管理用CPUとを備えた
ICEに関する技術が開示されている。この技術で開示
されているICEでは、前記エミュレータCPUと前記
システム管理用CPUとで共用のDMA転送用バッファ
メモリを備えている。又、前記エミュレータCPUのD
MA転送制御プログラム格納メモリ及びDMA転送制御
回路を備えている。該特開平3−136143に対する
従来技術では、前記エミュレータCPUが、DMAの処
理等を行うために、前記システム管理用CPUにてダウ
ンロードされた所定のオブジェクトプログラムを実行し
ていた。該特開平3−136143によれば、特に大容
量オブジェクトプログラムのときに時間を要してしまう
という、前述のようなダウンロードに関する問題を解決
することができる。
In Japanese Patent Laid-Open No. 3-136143, a DMA is used.
A technique relating to an ICE including an emulator CPU having a function and a function of notifying the state of the DMA to the outside and a CPU for system management is disclosed. The ICE disclosed in this technique includes a DMA transfer buffer memory shared by the emulator CPU and the system management CPU. In addition, D of the emulator CPU
An MA transfer control program storage memory and a DMA transfer control circuit are provided. In the prior art for JP-A-3-136143, the emulator CPU executes a predetermined object program downloaded by the system management CPU in order to perform DMA processing and the like. According to the Japanese Patent Laid-Open No. 3-136143, it is possible to solve the above-mentioned problem regarding downloading, which takes time especially for a large-capacity object program.

【0031】又、特開平3−242734では、ICE
及びPROM(programmable readonly memory )エミ
ュレータの機能を併有するデバッグ装置に関する技術が
開示されている。これは、エミュレーションメモリを内
蔵するICEと、ICEへバス要求を出すことにより、
ICEをDMA状態に設定して、PROMエミュレータ
の機能に切り換える制御手段とを備えている。又、ター
ゲットボードのPROMソケットへ接続可能な接続手段
と、制御手段による制御下で、制御手段を介してターゲ
ットシステムによる前記エミュレーションメモリのアク
セスを可能とする伝送手段とを備えている。このような
構成の該特開平3−242734によれば、単一の装置
をもって、ICEの機能と、PROMエミュレータの機
能とを発揮させることができ、設備コスト上、又操作上
有利なデバッグ装置を提供することができる。
Further, in Japanese Patent Laid-Open No. 3-242734, ICE
And a technique relating to a debug device having both the functions of a PROM (programmable readonly memory) emulator. This is done by issuing an ICE that contains an emulation memory and a bus request to the ICE.
And a control means for setting the ICE in the DMA state and switching to the function of the PROM emulator. Further, it is provided with a connecting means connectable to the PROM socket of the target board and a transmitting means for enabling the target system to access the emulation memory through the control means under the control of the control means. According to the Japanese Patent Laid-Open No. 3-242734 having such a configuration, it is possible to provide a debug device which can exhibit the function of the ICE and the function of the PROM emulator with a single device, which is advantageous in terms of equipment cost and operation. Can be provided.

【0032】又、特開平4−25945では、マイクロ
コンピュータを用いた、DMA機能を備えたシステムに
用いるICEに関する技術が開示されている。これは、
DMA機能を内蔵するマイクロコンピュータと、スーパ
バイザ割込み処理中であることを示す信号、及び、前記
スーパバイザ割込み処理中にDMA転送が発生したこと
を検出する回路を備える。又、前記検出信号により、ス
ーパバイザ割込み処理を中断する手段と、DMA転送の
終了を検出する回路と、スーパバイザ割込み処理を行う
手段とを備えている。該特開平4−25945で開示さ
れている技術によれば、前記スーパバイザ割込み処理中
にDMAが発生した場合の問題を解決することができ
る。例えば、このようなDMAが発生した場合、本来ユ
ーザプログラム領域のメモリと、I/Oとの間でDMA
転送を行わなければならない場合に、F/WメモリとI
/Oとの間でDMA転送を行ってしまい、前記F/Wメ
モリのデータを破壊してしまうという問題を解決するこ
とができる。
Further, Japanese Patent Laid-Open No. 25945/1992 discloses a technique relating to ICE used in a system using a microcomputer and having a DMA function. this is,
It is provided with a microcomputer having a built-in DMA function, a signal indicating that supervisor interrupt processing is being performed, and a circuit for detecting that DMA transfer has occurred during the supervisor interrupt processing. Further, there are provided means for interrupting the supervisor interrupt processing by the detection signal, a circuit for detecting the end of the DMA transfer, and means for performing the supervisor interrupt processing. According to the technique disclosed in Japanese Patent Laid-Open No. 25945/1992, it is possible to solve the problem when a DMA occurs during the supervisor interrupt process. For example, when such a DMA occurs, the DMA between the memory originally in the user program area and the I / O.
F / W memory and I
It is possible to solve the problem that the data in the F / W memory is destroyed by performing the DMA transfer with the / O.

【0033】又、特開平4−111136では、CPU
と、そのCPUの介在無しに各種デバイス間のデータ転
送を実行するDMA制御回路と、エミュレータが接続さ
れる信号端子とを備えた制御用LSIに関する技術が開
示されている。これは、まず、動作モードとして、上記
CPUの制御により各種動作を実行する通常モードと、
上記CPUに代わって上記信号端子に接続されたエミュ
レータの制御により、各種動作を実行するエミュレーシ
ョンモードとを有している。又、上記エミュレーション
モードで上記DMA制御回路がデータ転送を行う場合に
は、上記各種デバイス間で転送しているデータを、並行
して、上記エミュレータに送出するデータモニタ手段を
備えている。このような構成の該特開平4−11113
6によれば、従来あった、ICE側のプログラムにより
DMA転送を実行する場合、ICEは、前記制御用LS
IのCPUからデータ信号を受け取ることができず、デ
バイス間で転送されているデータを監視することができ
ないという問題を解決することができる。
In Japanese Patent Laid-Open No. 4-111136, a CPU
And a DMA control circuit that executes data transfer between various devices without the intervention of the CPU, and a technology relating to a control LSI including a signal terminal to which an emulator is connected. First, as an operation mode, a normal mode in which various operations are executed under the control of the CPU,
It has an emulation mode that executes various operations under the control of an emulator connected to the signal terminal instead of the CPU. Further, when the DMA control circuit transfers data in the emulation mode, it is provided with data monitor means for sending the data transferred between the various devices to the emulator in parallel. The above-mentioned configuration of JP-A-4-11113
According to 6, when executing the DMA transfer by the program on the ICE side, which is conventionally used, the ICE is the LS for control.
It is possible to solve the problem that the data signal cannot be received from the I CPU and the data transferred between the devices cannot be monitored.

【0034】[0034]

【発明が達成しようとする課題】しかしながら、前述し
た従来のエミュレーションやデバッグ等に関する技術に
おいては、前記CPU搭載集積回路チップのエミュレー
ションやデバッグを行う際には、前記特開平4−259
45や前記特開平4−111136等で言及されている
問題があった。即ち、DMA転送されたデータを監視し
たり設定することができないという問題である。又、こ
れら特開平4−25945や特開平4−111136に
ついても、それぞれ問題を有している。
However, in the above-mentioned conventional techniques relating to emulation, debugging, etc., when performing emulation or debugging of the integrated circuit chip with CPU, the above-mentioned Japanese Patent Laid-Open No. 4-259 is required.
45 and the above-mentioned Japanese Unexamined Patent Publication (Kokai) No. 4-111136. That is, there is a problem that the data transferred by DMA cannot be monitored or set. Further, these Japanese Patent Laid-Open Nos. 4-25945 and 4-111136 also have problems.

【0035】例えば、前記特開平4−25945では、
DMA転送が発生した際には、前記スーパバイザ割込み
処理を中断するようにしている。従って、このような制
限により、ターゲットシステムの正確なエミュレーショ
ンができなくなってしまう恐れが生じてしまう。
For example, in the above-mentioned JP-A-4-25945,
When the DMA transfer occurs, the supervisor interrupt process is suspended. Therefore, due to such a limitation, there is a possibility that the target system cannot be accurately emulated.

【0036】又、特開平4−111136についても、
前述の如く、DMAデータ転送を行う場合には、これと
並行してエミュレータへのデータを転送するという構成
上、エミュレーション対象となるターゲットシステムの
構成に種々の制限が生じてしまう。該特開平4−111
136を適用できるターゲットシステムは、DMA転送
されるデータに係る入出力デバイスが、そのDMA制御
回路を備えた前記制御用LSIの外部回路である必要が
ある。即ち、DMA制御回路と共に、DMAに関するメ
モリ及び入出力デバイスが、1つの制御用LSIに集積
されたものについては、該特開平4−111136を適
用することはできない。
Also, in Japanese Patent Laid-Open No. 4-111136,
As described above, when DMA data transfer is performed, various restrictions are imposed on the structure of the target system to be emulated due to the structure of transferring data to the emulator in parallel with this. JP-A-4-111
In the target system to which 136 can be applied, the input / output device relating to the data to be DMA-transferred needs to be an external circuit of the control LSI having the DMA control circuit. That is, Japanese Patent Application Laid-Open No. 4-111136 cannot be applied to a DMA control circuit in which a DMA memory and an input / output device are integrated in one control LSI.

【0037】本発明は、前記従来の問題点を解決するべ
く成されたもので、CPU及び該CPUにより所定のチ
ップ内バスを経由してアクセスされる内部メモリや内部
I/O回路と共に搭載されている、前記チップ内バスを
経由して前記内部メモリや前記内部I/O回路へと直接
アクセスするために用いられるDMAコントローラの動
作を、より効果的にエミュレートすることができるCP
U搭載集積回路チップ及びエミュレータポッドを提供す
ることを目的とする。
The present invention has been made to solve the above-mentioned conventional problems, and is mounted together with a CPU and an internal memory and an internal I / O circuit which are accessed by the CPU via a predetermined in-chip bus. It is possible to more effectively emulate the operation of the DMA controller used to directly access the internal memory or the internal I / O circuit via the in-chip bus.
An object is to provide a U-mounted integrated circuit chip and an emulator pod.

【0038】[0038]

【課題を達成するための手段】本願の第1発明のCPU
搭載集積回路チップは、CPU及び該CPUにより所定
のチップ内バスを経由してアクセスされる内部メモリや
内部I/O回路が搭載されていると共に、前記CPUを
介さず、前記チップ内バスを経由して前記内部メモリや
前記内部I/O回路へと直接アクセスするために用いら
れるDMAコントローラが搭載されているCPU搭載集
積回路チップにおいて、チップ外から入力されるエミュ
レーションモード信号にて通常モードが伝達されたとき
には、通常に動作させている前記内部メモリについて、
該信号にてエミュレーションモードが伝達されたときに
は、前記チップ内バスから前記内部メモリへのアクセス
を禁止させるエミュレーションモード制御回路と、前記
内部メモリや前記内部I/O回路がアドレス指定された
ことを検出し、前記内部メモリそれぞれや、前記内部I
/O回路それぞれのアクセス選択信号を出力するアドレ
スデコーダ部と、少なくとも前記アクセス選択信号に従
って、前記内部メモリのいずれか1つがアドレス指定さ
れたことを示す内部メモリアクセス表明信号を生成する
と共に、少なくとも前記アクセス選択信号と前記DMA
コントローラがバス使用許可を獲得したことを示す所定
のバス使用許可信号とに従って、前記内部I/O回路の
いずれか1つがアドレス指定されたか又は前記DMAコ
ントローラのアクセス対象となったことを示す内部I/
Oアクセス表明信号を生成するという、これら2つの信
号を独立生成する内部資源アクセス表明回路とを備え、
前記内部メモリアクセス表明信号と前記内部I/Oアク
セス表明信号とが、当該CPU搭載集積回路チップの外
部へと出力されていることにより、前記課題を達成した
ものである。
A CPU according to the first invention of the present application
The mounted integrated circuit chip is mounted with a CPU and an internal memory and an internal I / O circuit which are accessed by the CPU via a predetermined in-chip bus, and also via the in-chip bus without passing through the CPU. In a CPU-equipped integrated circuit chip equipped with a DMA controller used to directly access the internal memory or the internal I / O circuit, the normal mode is transmitted by an emulation mode signal input from outside the chip. The internal memory that is operating normally,
When the emulation mode is transmitted by the signal, an emulation mode control circuit for prohibiting access to the internal memory from the in-chip bus, and detection that the internal memory and the internal I / O circuit are addressed However, each of the internal memories and the internal I
An address decoder unit for outputting an access selection signal for each of the / O circuits, and an internal memory access assertion signal indicating that any one of the internal memories is addressed in accordance with at least the access selection signal, and at least the above Access selection signal and the DMA
An internal I indicating that any one of the internal I / O circuits has been addressed or has become an access target of the DMA controller according to a predetermined bus use permission signal indicating that the controller has acquired the bus permission. /
And an internal resource access assertion circuit for independently generating these two signals, namely, generating an O access assertion signal,
The internal memory access assertion signal and the internal I / O access assertion signal are output to the outside of the CPU integrated circuit chip, thereby achieving the above object.

【0039】又、前記第1発明のCPU搭載集積回路チ
ップにおいて、前記エミュレーションモード制御回路
が、チップ外から入力されるデバッグモード信号にて通
常モードが伝達されたときには、通常に動作している前
記CPU及び前記内部メモリについて、該信号にてデバ
ッグモードが伝達されたときには、前記CPUの動作を
停止させ、且つ、前記チップ内バスから前記内部メモリ
へのアクセスを禁止させることにより、前記課題を達成
すると共に、前記デバッグモード中には、外部のCPU
にてエミュレーションできるようにしたものである。
Further, in the integrated circuit chip equipped with CPU according to the first aspect of the present invention, the emulation mode control circuit operates normally when the normal mode is transmitted by a debug mode signal input from outside the chip. With respect to the CPU and the internal memory, when the debug mode is transmitted by the signal, the operation of the CPU is stopped and the access to the internal memory from the in-chip bus is prohibited, thereby achieving the above object. In addition, while in the debug mode, the external CPU
It is designed to be emulated by.

【0040】又、本願の第2発明のエミュレータポッド
は、CPU及び該CPUにより所定のチップ内バスを経
由してアクセスされる内部メモリや内部I/O回路が搭
載されていると共に、前記CPUを介さず、前記チップ
内バスを経由して前記内部メモリや前記内部I/O回路
へと直接アクセスするために用いられるDMAコントロ
ーラが搭載されているCPU搭載集積回路チップが搭載
される、該チップ、あるいは該チップに対応するものを
用いたターゲットシステムをデバッグするため、該ター
ゲットシステム内の外部バスに接続される該チップある
いは該チップに対応するものをエミュレートする際に用
いるエミュレータポッドにおいて、エミュレータポッド
上の前記チップ内部の前記チップ内バスへと、該チップ
内部に備える双方向データバスバッファを経由して接続
されている内部バスと、前記チップ内バスに接続され、
且つ、前記チップ内に搭載されている所定の回路に対し
て、少なくともエミュレーション時に置換されるエミュ
レーション周辺回路と、前記チップが出力する、前記内
部メモリのいずれか1つがアドレス指定されたことを示
す内部メモリアクセス表明信号と、前記内部I/O回路
のいずれか1つがアドレス指定されたか又は前記DMA
コントローラのアクセス対象となったことを示す内部I
/Oアクセス表明信号との、少なくともこれら2つの信
号を入力し、前記内部バスと前記外部バスとの間でのデ
ータ入出力の有無及びその入出力方向を伝達する信号を
生成する方向制御回路と、該方向制御回路が生成する信
号に従って動作し、前記内部バスと前記外部バスとの間
でのデータ入出力を行う内部双方向データバスバッファ
とを備えたことにより、前記課題を達成したものであ
る。
The emulator pod of the second invention of the present application is equipped with a CPU and an internal memory and an internal I / O circuit which are accessed by the CPU via a predetermined in-chip bus. A CPU-equipped integrated circuit chip equipped with a DMA controller used to directly access the internal memory or the internal I / O circuit via the in-chip bus without the intervention of the chip; or In order to debug a target system using the one corresponding to the chip, an emulator pod used for emulating the chip connected to the external bus in the target system or the one corresponding to the chip Both inside the chip to the in-chip bus and both inside the chip An internal bus connected via a data bus buffer connected to said chip bus,
In addition, with respect to a predetermined circuit mounted in the chip, at least an emulation peripheral circuit that is replaced during emulation and an internal memory output from the chip that indicates that one of the internal memories is addressed. A memory access assertion signal and whether any one of the internal I / O circuits has been addressed or the DMA
Internal I indicating that the controller has been targeted for access
/ O access assertion signal, and a direction control circuit which inputs at least these two signals and generates a signal for transmitting the presence / absence of data input / output between the internal bus and the external bus and the input / output direction thereof. And an internal bidirectional data bus buffer that operates according to a signal generated by the direction control circuit and inputs / outputs data between the internal bus and the external bus. is there.

【0041】又、前記第2発明のエミュレータポッドに
おいて、前記エミュレーション周辺回路が、前記チップ
内のCPUに対して、少なくともエミュレーション時に
置換される、CPU機能を有するエヴァチップを備えた
ことにより、前記課題を達成すると共に、前記デバッグ
モードでは、前記エヴァチップが備えるCPU機能を用
いるようにしたものである。
Further, in the emulator pod of the second invention, the emulation peripheral circuit is provided with an EVA chip having a CPU function, which is replaced at least during emulation with respect to the CPU in the chip. In addition, in the debug mode, the CPU function of the EVA chip is used.

【0042】[0042]

【作用】本発明は、CPU及び該CPUによりアクセス
されるメモリが搭載されている集積回路において、特
に、データ転送能率を向上させるために、DMAコント
ローラを更に備えたものについて、その利用が多くなっ
ている点を配慮し、そのエミュレーション効率を向上さ
せる点に着目して成されたものである。
According to the present invention, an integrated circuit equipped with a CPU and a memory accessed by the CPU, particularly, an integrated circuit further equipped with a DMA controller in order to improve data transfer efficiency, is used more and more. This is done by focusing on the point of improving the emulation efficiency.

【0043】前記CPU搭載集積回路チップでは、その
内蔵するCPUのプログラムのデバッグが行われる。
又、このようなCPU搭載集積回路チップが、例えばカ
スタム化された回路部分を有するものについては、該カ
スタム化された回路部分のハード的な設計内容の検証の
必要がある。これらの作業のためには、そのCPU搭載
集積回路チップのエミュレーションを行う必要がある。
又、このようなエミュレーションの際には、前記DMA
コントローラの動作を、より効果的にエミュレートする
ことが必要である。本発明は、このような点に基づいて
成されたものである。
In the CPU-equipped integrated circuit chip, the program of the built-in CPU is debugged.
For such a CPU-equipped integrated circuit chip having, for example, a customized circuit portion, it is necessary to verify the hardware design contents of the customized circuit portion. For these tasks, it is necessary to emulate the CPU-mounted integrated circuit chip.
In such emulation, the DMA
There is a need to more effectively emulate the operation of controllers. The present invention has been made based on these points.

【0044】図1は、本発明の要旨を示すブロック図で
ある。
FIG. 1 is a block diagram showing the gist of the present invention.

【0045】この図1に示されるCPU搭載集積回路チ
ップ10は、前記第1発明に係るものである。又、エミ
ュレータポッド1は、前記第2発明に係るものである。
The CPU-mounted integrated circuit chip 10 shown in FIG. 1 is according to the first invention. The emulator pod 1 is according to the second aspect of the invention.

【0046】まず、前記CPU搭載集積回路チップ10
は、少くとも、CPU12と、内部メモリ14と、DM
Aコントローラ16と、内部I/O回路18と、チップ
内バス30と、アドレスデコーダ部34と、内部資源ア
クセス表明回路36とを備える。又、必要に応じて、チ
ップ内双方向データバスバッファ28を備える。前記内
部メモリ14についても、又、前記内部I/O回路16
についても、それぞれ複数備えるようにしてもよい。
First, the CPU-mounted integrated circuit chip 10
Is at least the CPU 12, the internal memory 14, and the DM.
An A controller 16, an internal I / O circuit 18, an in-chip bus 30, an address decoder unit 34, and an internal resource access assertion circuit 36 are provided. An in-chip bidirectional data bus buffer 28 is provided as needed. Also for the internal memory 14, the internal I / O circuit 16
Also, as for each, a plurality may be provided.

【0047】又、前記エミュレータポッド1について
は、前述のようなCPU搭載集積回路チップ10を搭載
すると共に、エミュレーションメモリ46等のエミュレ
ーション周辺回路と、方向制御回路45と、内部双方向
データバスバッファ48と、内部バス50と、例えば更
にエミュレータ用回路74を備える。
The emulator pod 1 is equipped with the integrated circuit chip 10 having the CPU as described above, emulation peripheral circuits such as the emulation memory 46, the direction control circuit 45, and the internal bidirectional data bus buffer 48. 2, an internal bus 50, and an emulator circuit 74, for example.

【0048】なお、エミュレーションモード制御回路、
即ち、チップ外から入力されるエミュレーションモード
信号にて通常モードが伝達されたときには、通常に動作
させている前記内部メモリについて、該信号にてエミュ
レーションモードが伝達されたときには、前記チップ内
バスから前記内部メモリへのアクセスを禁止させるエミ
ュレーションモード制御回路は、前記CPU搭載集積回
路チップ10の各部に設けられ、特に前記内部メモリ1
4周辺等に設けられている。又、前記エミュレーション
モード信号は、前記エミュレータポッド1において、前
記エミュレータ用回路74等によって利用者が行う設定
操作に従って生成される。該設定操作は、「通常モー
ド」や「エミュレーションモード」等を設定するもので
ある。
The emulation mode control circuit,
That is, when the normal mode is transmitted by the emulation mode signal input from the outside of the chip, for the internal memory that is normally operating, when the emulation mode is transmitted by the signal, the internal memory is An emulation mode control circuit for prohibiting access to the internal memory is provided in each part of the CPU-equipped integrated circuit chip 10, and particularly, the internal memory 1
It is provided around 4 etc. The emulation mode signal is generated in the emulator pod 1 according to the setting operation performed by the user by the emulator circuit 74 or the like. The setting operation is to set a “normal mode”, an “emulation mode”, or the like.

【0049】まず、前記CPU搭載集積回路チップ10
において、前記CPU12は、所定の前記チップ内バス
30を経由して、通常モード時には、前記内部メモリ1
4等の周辺回路をアクセスする。該CPU12のこのよ
うなアクセス対象には、例えば内部I/O回路等も含ま
れる。
First, the CPU integrated circuit chip 10
In the normal mode, the CPU 12 causes the internal memory 1 to pass through the predetermined in-chip bus 30.
Access peripheral circuits such as 4. Such an access target of the CPU 12 also includes, for example, an internal I / O circuit.

【0050】一方、前記DMAコントローラ16につい
ても、前記図2の前記DMAコントローラ16の一点鎖
線に示される如く、通常モード時には、前記チップ内バ
ス30を経由して、前記内部メモリ14や、前記内部I
/O回路18へと直接アクセスするために用いられる。
即ち、該DMAコントローラ16は、前記CPU12を
介さず、直接前記内部メモリ14や前記内部I/O回路
18、又、前記チップ内バス30等を用いて、当該CP
U搭載集積回路チップ10の外部のメモリやI/O回路
に直接アクセスする際にも用いられる。該DMAコント
ローラ16は、前記チップ内バス30を介したデータ転
送を専用に行うものであり、前記CPU12を経由した
データ転送に比べ、これを能率良く行うことが可能であ
る。
On the other hand, also in the DMA controller 16, in the normal mode, as shown by the chain line of the DMA controller 16 in FIG. 2, the internal memory 14 and the internal memory 14 are routed via the in-chip bus 30. I
Used to directly access the / O circuit 18.
That is, the DMA controller 16 directly uses the internal memory 14, the internal I / O circuit 18, the in-chip bus 30 and the like without using the CPU 12, and
It is also used when directly accessing a memory or I / O circuit outside the U-mounted integrated circuit chip 10. The DMA controller 16 exclusively performs data transfer via the in-chip bus 30, and can perform this more efficiently than data transfer via the CPU 12.

【0051】前記アドレスデコーダ部34は、前記内部
メモリ14や前記内部I/O回路18がアドレス指定さ
れたことを検出し、前記内部メモリ14それぞれや、前
記内部I/O回路18それぞれのアクセス選択信号を出
力する。前記アクセス選択信号は、いわゆるチップセレ
クト信号に相当するものである。本発明では、前記内部
メモリ14や前記内部I/O回路18は1つに集積され
ており、独立したチップでないため、前述のような信号
を、チップセレクト信号と称さず、アクセス選択信号と
称する。
The address decoder section 34 detects that the internal memory 14 or the internal I / O circuit 18 has been addressed, and selects access to the internal memory 14 or the internal I / O circuit 18. Output a signal. The access selection signal corresponds to a so-called chip select signal. In the present invention, since the internal memory 14 and the internal I / O circuit 18 are integrated into one and are not independent chips, the signal as described above is not called a chip select signal but an access select signal. .

【0052】前記内部資源アクセス表明回路36は、前
記アクセス選択信号と、前記DMAコントローラ16が
バス使用許可を獲得したことを示す所定のバス使用許可
信号とに従って、内部メモリアクセス表明信号と内部I
/Oアクセス表明信号とを、独立生成する。
The internal resource access assertion circuit 36 is responsive to the access selection signal and a predetermined bus use permission signal indicating that the DMA controller 16 has obtained the bus use permission, and the internal memory access assertion signal and the internal I access signal.
/ O access assertion signal is independently generated.

【0053】前記内部メモリアクセス表明信号は、前記
内部メモリ14のいずれか1つがアドレス指定されたこ
とを示す。前記内部I/Oアクセス表明信号は、前記内
部I/O回路18のいずれか1つがアドレス指定された
か又は前記DMAコントローラのアクセス対象となった
ことを示す。前記内部メモリアクセス表明信号と前記内
部I/Oアクセス表明信号とは、いずれも、当該CPU
搭載集積回路チツプの外部へと出力される。
The internal memory access assertion signal indicates that any one of the internal memories 14 has been addressed. The internal I / O access assertion signal indicates that any one of the internal I / O circuits 18 has been addressed or has been accessed by the DMA controller. The internal memory access assertion signal and the internal I / O access assertion signal are both the CPU
It is output to the outside of the on-chip integrated circuit chip.

【0054】前記チップ内双方向データバスバッファ2
8は、当該CPU搭載集積回路チップ10が前記エミュ
レータポッド1に搭載される場合には、当該CPU搭載
集積回路チップ上の前記チップ内バス30と、前記エミ
ュレータポッド1内の前記内部バス50とを接続する。
又、該チップ内双方向データバスバッファ28は、当該
CPU搭載集積回路チップ10が直接前記ターゲットシ
ステムへと搭載される場合には、当該CPU搭載集積回
路チップ10中の前記チップ内バス30と、前記ターゲ
ットシステムの、例えば該ターゲットシステムのバス、
例えば該ターゲットシステムの外部バスとを接続する。
On-chip bidirectional data bus buffer 2
When the CPU-equipped integrated circuit chip 10 is mounted on the emulator pod 1, the reference numeral 8 indicates the in-chip bus 30 on the CPU-mounted integrated circuit chip and the internal bus 50 in the emulator pod 1. Connecting.
Further, the in-chip bidirectional data bus buffer 28, when the CPU-equipped integrated circuit chip 10 is directly mounted in the target system, the in-chip bus 30 in the CPU-mounted integrated circuit chip 10 and A bus of the target system, for example a bus of the target system,
For example, it is connected to the external bus of the target system.

【0055】次に、前記エミュレータポッド1の構成に
ついては、まず、前記エミュレーションメモリ46は、
前記エミュレーション周辺回路の1つとして、エミュレ
ーションモード時には、前記CPU搭載集積回路チップ
10中の前記内部メモリ14をエミュレートする。即
ち、このようなエミュレーションモード時には、前記C
PU12は、前記内部メモリ14へアクセスする際に
は、該内部メモリ14へアクセスする代わりに、当該エ
ミュレーションメモリ46へとアクセスする。
Next, regarding the configuration of the emulator pod 1, first, the emulation memory 46 is
As one of the emulation peripheral circuits, in the emulation mode, the internal memory 14 in the CPU mounted integrated circuit chip 10 is emulated. That is, in such an emulation mode, the C
When accessing the internal memory 14, the PU 12 accesses the emulation memory 46 instead of accessing the internal memory 14.

【0056】前記方向制御回路45は、前記CPU搭載
集積回路チップ10が出力する、前記内部メモリ14の
いずれか1つがアドレス指定されたことを示す内部メモ
リアクセス表明信号と、前記内部I/O回路18のいず
れか1つがアドレス指定されたか又は前記DMAコント
ローラ16のアクセス対象となったことを示す内部I/
Oアクセス表明信号との、2つの信号を入力する。又、
該方向制御回路45は、少なくともこれら2つの信号に
基づいて、又、前記CPU12や前記DMAコントロー
ラ16が出力する、例えば、書き込み中信号や読み出し
中信号を必要に応じて用いて、前記内部バスと前記外部
バスとの間でのデータ入出力の有無及びその入出力方向
を伝達する信号を生成する。
The direction control circuit 45 outputs an internal memory access assertion signal output by the CPU integrated circuit chip 10 indicating that one of the internal memories 14 is addressed, and the internal I / O circuit. Internal I / E indicating that any one of 18 has been addressed or has been accessed by the DMA controller 16.
Two signals, an O access assertion signal, are input. or,
The direction control circuit 45 communicates with the internal bus based on at least these two signals and by using, for example, a writing signal or a reading signal output from the CPU 12 or the DMA controller 16 as necessary. A signal for transmitting the presence / absence of data input / output to / from the external bus and the input / output direction is generated.

【0057】前記内部双方向データバスバッファ48
は、該方向制御回路45が生成する信号に従って動作
し、前記内部バス50と前記外部バスとの間でのデータ
入出力を行う。該内部双方向データバスバッファ48
は、前記CPU12や前記DMAコントローラ16が出
力する、例えば、書き込み中信号や読み出し中信号を必
要に応じて用いてもよい。
The internal bidirectional data bus buffer 48
Operates according to the signal generated by the direction control circuit 45, and inputs / outputs data between the internal bus 50 and the external bus. The internal bidirectional data bus buffer 48
May use, for example, a writing signal or a reading signal output from the CPU 12 or the DMA controller 16 as necessary.

【0058】なお、該内部双方向データバスバッファ4
8や前記方向制御回路45が用いることができるこのよ
うな書き込み中信号や読み出し中信号には、例えば一般
的なCPUが出力する読み出し中信号R/(Wバー)等
がある。又、DMAコントローラが出力する、メモリ読
み出し中信号MEMR、メモリ書き込み中信号MEM
W、I/O読み出し中信号IORやI/O書き込み信号
IOWを用いてもよい。
The internal bidirectional data bus buffer 4
8 and the direction control circuit 45 can use such an in-writing signal and an in-reading signal, for example, an in-reading signal R / (W bar) output by a general CPU. Also, the memory read signal MEMR and the memory write signal MEM output from the DMA controller.
The W, I / O reading signal IOR or the I / O write signal IOW may be used.

【0059】又、前記エミュレータ用回路74は、前記
CPU12にてアクセスされる前記エミュレーションメ
モリ46のデータを、エミュレータの利用者が設定した
り観測するために用いられる。又、前記内部双方向デー
タバスバッファ48は、前記CPU12が前記ターゲッ
トシステムへとアクセスする際に用いられる。
The emulator circuit 74 is used by the user of the emulator to set and observe the data in the emulation memory 46 accessed by the CPU 12. The internal bidirectional data bus buffer 48 is used when the CPU 12 accesses the target system.

【0060】このような構成の前記CPU搭載集積回路
チップ10や、該CPU搭載集積回路チップ10を搭載
した前記エミュレータポッド1は、通常モード時には、
この図1の破線で示されるような動作を行う。例えば、
前記CPU12は、前記CPU搭載集積回路チップ10
内に、共に搭載されている前記内部メモリ14へとアク
セスする。又、前記DMAコントローラ16について
は、前記図1で一点鎖線で示される該DMAコントロー
ラ16による制御によって、前記内部メモリ14や前記
内部I/O回路等の間でのデータ転送がなされる。
In the normal mode, the CPU-mounted integrated circuit chip 10 having such a configuration and the emulator pod 1 mounting the CPU-mounted integrated circuit chip 10 are
The operation shown by the broken line in FIG. 1 is performed. For example,
The CPU 12 is the CPU-equipped integrated circuit chip 10
The internal memory 14 mounted together is accessed. Regarding the DMA controller 16, data is transferred between the internal memory 14 and the internal I / O circuit under the control of the DMA controller 16 shown by the one-dot chain line in FIG.

【0061】一方、前記エミュレーションモード時に
は、この図1の実線で示されるような動作を行う。例え
ば、前記CPU12は、前記内部メモリ14へアクセス
する代わりに、前記エミュレータポッド1上の前記エミ
ュレーションメモリ46へとアクセスする。
On the other hand, in the emulation mode, the operation shown by the solid line in FIG. 1 is performed. For example, the CPU 12 accesses the emulation memory 46 on the emulator pod 1 instead of accessing the internal memory 14.

【0062】しかしながら、このようなエミュレーショ
ンモード時に、従来、前記DMAコントローラ16につ
いては、前記内部メモリ14にアクセスするものとなっ
ていた。
However, in such an emulation mode, conventionally, the DMA controller 16 has accessed the internal memory 14.

【0063】従って、このようなエミュレーションモー
ド時に、従来、前記CPU12については前記エミュレ
ーションメモリ46をアクセスする一方、前記DMAコ
ントローラ16については、前記内部メモリ14にアク
セスするものとなっていた。従って、従来、前記エミュ
レーションモード時に、前記DMAコントローラ16が
動作する場合には、正常な動作結果を得ることはできな
かった。
Therefore, in such an emulation mode, conventionally, the CPU 12 accesses the emulation memory 46, while the DMA controller 16 accesses the internal memory 14. Therefore, conventionally, when the DMA controller 16 operates in the emulation mode, a normal operation result cannot be obtained.

【0064】本発明においては、従来あったこのような
問題を解決するために、前記CPU搭載集積回路チップ
10上に、前記図1に示す如く、前記アドレスデコーダ
部34と、前記内部資源アクセス表明回路36とを備え
るようにしている。又、該内部資源アクセス表明回路3
6から出力される前記内部メモリアクセス表明信号と前
記内部I/Oアクセス表明信号とを、当該CPU集積回
路チップ10の外部へと出力するようにしている。
In the present invention, in order to solve such a conventional problem, as shown in FIG. 1, the address decoder section 34 and the internal resource access assertion are provided on the CPU mounted integrated circuit chip 10. And a circuit 36. Also, the internal resource access assertion circuit 3
The internal memory access assertion signal and the internal I / O access assertion signal output from the CPU 6 are output to the outside of the CPU integrated circuit chip 10.

【0065】なお、前記アドレスデコーダ部34につい
ては、従来から当該CPU搭載集積回路チップ10上に
備えられているものを流用するようにしてもよい。即
ち、前記図1において、前記CPU搭載集積回路チップ
10内部の、例えば前記内部メモリ14について(該内
部メモリ14が複数備えられている場合には、それぞれ
の該内部メモリ14について)、前記内部I/O回路1
8について(該内部I/O回路18が複数備えられてい
る場合には、それぞれの該内部I/O回路18につい
て)、それぞれが前記CPU12によってアドレス指定
されたことを検出したり、前記DMAコントローラ16
により制御されながらアクセスされることを検出するた
めに備えられた、従来からあるアドレスデコーダを流用
するようにしてもよい。
As the address decoder section 34, the one conventionally provided on the CPU mounted integrated circuit chip 10 may be diverted. That is, in FIG. 1, for example, the internal memory 14 inside the CPU integrated circuit chip 10 (for each internal memory 14 when a plurality of the internal memories 14 are provided), the internal I / O circuit 1
8 (in the case where a plurality of the internal I / O circuits 18 are provided, for each of the internal I / O circuits 18), it is detected that each is addressed by the CPU 12, and the DMA controller 16
A conventional address decoder provided for detecting that access is performed while being controlled by the above may be used.

【0066】更に、前記第2発明においては、前記エミ
ュレータポッド1上に前記方向制御回路45を備えるよ
うにしている。又、該エミュレータポッド1上に搭載さ
れた前記CPU搭載集積回路チップ10に対しては、所
定のエミュレーションモード信号を入力するようにして
いる。該エミュレーションモード信号は、「通常モー
ド」かあるいは「エミュレーションモード」であるかを
伝達する信号である。
Further, in the second invention, the direction control circuit 45 is provided on the emulator pod 1. Further, a predetermined emulation mode signal is input to the CPU mounted integrated circuit chip 10 mounted on the emulator pod 1. The emulation mode signal is a signal for transmitting the "normal mode" or the "emulation mode".

【0067】このようなエミュレーションモード信号に
従って、前記CPU搭載集積回路チップ10は、前記エ
ミュレーションモード時には、少なくとも前記CPU搭
載集積回路チップ10内部の前記内部メモリ14へのア
クセスを禁止するようにしている。又、このようなエミ
ュレーションモード時には、前記エミュレータポッド
は、前記内部メモリ14へのアクセスを、前記エミュレ
ーションメモリ46へのアクセスへと置換するようにし
ている。このような前記内部メモリ14の前記エミュレ
ーションメモリ46へのエミュレーションモード時にお
ける置換は、前記DMAコントローラ16の動作時にも
一律に行うようにしている。
In accordance with such an emulation mode signal, the CPU mounted integrated circuit chip 10 prohibits access to at least the internal memory 14 inside the CPU mounted integrated circuit chip 10 in the emulation mode. Further, in such an emulation mode, the emulator pod replaces the access to the internal memory 14 with the access to the emulation memory 46. The replacement of the internal memory 14 with the emulation memory 46 in the emulation mode is uniformly performed during the operation of the DMA controller 16.

【0068】従って、前記DMAコントローラ16によ
って制御される、前記内部メモリ14と前記内部I/O
回路18との間のデータ転送は、前記エミュレーション
モード時には、前記エミュレーションメモリ46と前記
内部I/O回路18との間のデータ転送へと置換され
る。又、前記DMAコントローラ16によって制御され
る、前記内部メモリ14と当該CPU搭載集積回路チッ
プ10の外部の所定のI/O回路との間のデータ転送に
ついては、前記エミュレーションモード時には、前記エ
ミュレーションメモリ46と前記CPU搭載集積回路チ
ップ10の外部のそのI/O回路との間のデータ転送に
置換される。
Therefore, the internal memory 14 and the internal I / O controlled by the DMA controller 16 are controlled.
The data transfer with the circuit 18 is replaced with the data transfer between the emulation memory 46 and the internal I / O circuit 18 in the emulation mode. Further, regarding data transfer between the internal memory 14 and a predetermined I / O circuit outside the CPU mounted integrated circuit chip 10 controlled by the DMA controller 16, the emulation memory 46 is used in the emulation mode. And data transfer between the I / O circuit and the external circuit of the CPU mounted integrated circuit chip 10.

【0069】本発明において、通常モードの場合にも、
又エミュレーションモードの場合にあって、このように
前記CPU12の動作時や、又、前記DMAコントロー
ラ16の動作時に、前記内部メモリ14を前記エミュレ
ーションメモリ46へと置換するようにしても、本発明
では前述のように前記アドレスデコーダ部34や前記内
部資源アクセス表明回路36や前記方向制御回路45を
用いることで、前記内部双方向データバスバッファでの
データ入出力の有無やその入出力方向を正しく制御する
ことができている。従って、本発明によれば、前記CP
U搭載集積回路チップ10に搭載されている前記DMA
コントローラ16の動作を、より効果的にエミュレート
することができる。
In the present invention, even in the normal mode,
Further, in the case of the emulation mode, even if the internal memory 14 is replaced with the emulation memory 46 during the operation of the CPU 12 or during the operation of the DMA controller 16 as described above, the present invention does not. As described above, by using the address decoder unit 34, the internal resource access assertion circuit 36, and the direction control circuit 45, the presence / absence of data input / output in the internal bidirectional data bus buffer and its input / output direction can be correctly controlled. You can do it. Therefore, according to the present invention, the CP
The DMA mounted on the U-mounted integrated circuit chip 10
The operation of the controller 16 can be more effectively emulated.

【0070】なお、本発明はこれに限定するものではな
いが、前記CPU搭載集積回路チップ10へと入力され
る所定の前記エミュレーションモード信号にて「エミュ
レーションモード」が伝達されているときに、当該CP
U搭載集積回路チップ10内部の前記CPU12を、前
記エミュレータポッド1上に備えられたCPU機能を有
するエヴァチップへと置換するようにしてもよい。この
ように前記エミュレーションモード時に前記CPU12
をCPU機能を有する前記エヴァチップへと置換するよ
うにしたとしても、本発明の如く前記アドレスデコーダ
部34や前記内部資源アクセス表明回路36や前記方向
制御回路45等を用いることで、例えば前記内部双方向
データバスバッファ48を正しく制御することができ
る。
Although the present invention is not limited to this, when the "emulation mode" is transmitted by the predetermined emulation mode signal input to the CPU mounted integrated circuit chip 10, CP
The CPU 12 in the U-mounted integrated circuit chip 10 may be replaced with an EVA chip having a CPU function provided on the emulator pod 1. Thus, in the emulation mode, the CPU 12
Even if the CPU is replaced with the EVA chip having the CPU function, by using the address decoder unit 34, the internal resource access asserting circuit 36, the direction control circuit 45, and the like as in the present invention, for example, the internal The bidirectional data bus buffer 48 can be controlled correctly.

【0071】なお、本発明は、前記CPU搭載集積回路
チップ10内に備える前記内部メモリ14の個数や前記
内部I/O回路18の個数を限定するものではない。前
記内部メモリ14は少なくとも1つ備えていればよい。
又、前記内部I/O回路18については、特に前記CP
U搭載集積回路チップ10内に備えなくてもよい。即
ち、この場合には、前記DMAコントローラ16は、前
記CPU搭載集積回路チップ10の外部の所定のI/O
回路と、前記CPU搭載集積回路チップ10内の前記内
部メモリ14との間でDMA転送を行う際の制御が可能
なものとなる。又、この場合には、前記内部資源アクセ
ス表明回路36は、少なくとも前記内部メモリアクセス
表明信号を生成するものであり、必ずしも前記内部I/
Oアクセス表明信号は生成しなくてもよい。
It should be noted that the present invention does not limit the number of the internal memories 14 and the number of the internal I / O circuits 18 provided in the CPU mounted integrated circuit chip 10. At least one internal memory 14 may be provided.
Further, regarding the internal I / O circuit 18, especially the CP
It may not be provided in the U-mounted integrated circuit chip 10. That is, in this case, the DMA controller 16 controls the predetermined I / O external to the CPU mounted integrated circuit chip 10.
It becomes possible to control the DMA transfer between the circuit and the internal memory 14 in the integrated circuit chip 10 having the CPU. Further, in this case, the internal resource access assertion circuit 36 generates at least the internal memory access assertion signal, and is not necessarily the internal I / O.
The O access assertion signal may not be generated.

【0072】なお、従来からある前記アドレスデコーダ
部34の出力を、前記CPU搭載集積回路チップ10の
外部へと出力することも考えられる。しかしながら、該
アドレスデコーダ部34の出力は、前記内部メモリ14
毎のアクセス選択信号であり、又、前記内部I/O回路
18毎のアクセス選択信号であり、前記内部メモリ14
の個数の増加や、前記内部I/O回路18の個数の増加
に従って増加してしまう。従って、該アドレスデコーダ
部34が出力するこのような多数のアクセス選択信号を
当該CPU搭載集積回路チップ10外部へと出力するよ
うにした場合には、該CPU搭載集積回路チップ10の
入出力ピンを多数必要としてしまうという問題がある。
しかしながら、前記第1発明においては、前記アドレス
デコーダ部34が出力する複数の前記アクセス選択信号
と、前記DMAコントローラ16がバス使用許可を獲得
したことを示す所定のバス使用許可信号とに従って、僅
か2つの信号、即ち前記内部メモリアクセス表明信号と
前記内部I/Oアクセス表明信号との2つの信号を独立
生成し、これら2つの信号のみを当該CPU搭載集積回
路チップ10の外部へと出力することができ、必要とな
る入出力ピンの数は合計2個のみとなる。
It is also conceivable that the conventional output of the address decoder 34 is output to the outside of the CPU mounted integrated circuit chip 10. However, the output of the address decoder unit 34 is
Access selection signal for each internal I / O circuit 18 and the internal memory 14
And the number of the internal I / O circuits 18 increases. Therefore, when such a large number of access selection signals output by the address decoder unit 34 are output to the outside of the CPU mounted integrated circuit chip 10, the input / output pins of the CPU mounted integrated circuit chip 10 are There is a problem that many are needed.
However, in the first aspect of the present invention, only two access selection signals output by the address decoder unit 34 and a predetermined bus use permission signal indicating that the DMA controller 16 has obtained the bus use permission are used. It is possible to independently generate two signals, that is, the internal memory access assertion signal and the internal I / O access assertion signal, and output only these two signals to the outside of the CPU mounted integrated circuit chip 10. This is possible, and the total number of input / output pins required is only two.

【0073】なお、前記方向制御回路45を前記CPU
搭載集積回路チップ10内部に設けることも考えられ
る。しかしながら、後述する実施例の如く、前記方向制
御回路45の回路規模は大きくなってしまう傾向があ
り、例えば用いる論理ゲート数は一般に多くなってしま
う。従って、このような規模が大きい前記方向制御回路
45を前記CPU搭載集積回路チップ10内部に設けた
場合には、エミュレーション時にしか用いられない該方
向制御回路45によって、該CPU搭載集積回路チップ
10の集積度を低下させてしまうという問題がある。な
お、前記アドレスデコーダ部34の回路構成について
は、後述する実施例の如く、前記方向制御回路45の回
路規模に比べ、一般的には小さなものとなっている。従
って、前記内部資源アクセス表明回路36については、
前記CPU搭載集積回路チップ10内に設けたとして
も、該CPU搭載集積回路チップ10の集積度の低下は
少ない。
The direction control circuit 45 is replaced by the CPU.
It is also conceivable to provide it inside the on-board integrated circuit chip 10. However, as in the embodiment described later, the circuit scale of the direction control circuit 45 tends to increase, and, for example, the number of logic gates used generally increases. Therefore, when the direction control circuit 45 having such a large scale is provided inside the CPU-equipped integrated circuit chip 10, the direction control circuit 45, which is used only at the time of emulation, allows the CPU-mounted integrated circuit chip 10 to operate. There is a problem that the degree of integration is reduced. The circuit configuration of the address decoder section 34 is generally smaller than the circuit scale of the direction control circuit 45, as in the embodiment described later. Therefore, regarding the internal resource access assertion circuit 36,
Even if it is provided in the CPU-mounted integrated circuit chip 10, the degree of integration of the CPU-mounted integrated circuit chip 10 is not significantly reduced.

【0074】[0074]

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

【0075】図2は、本願発明が適用された第1実施例
のエミュレータポッドの構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of the emulator pod of the first embodiment to which the present invention is applied.

【0076】この図2においては、前記第2発明が適用
された第1実施例のエミュレータポッドの構成が示され
ている。又、この図2のCPU搭載集積回路チップ10
においては、前記第1発明が適用されている。
FIG. 2 shows the configuration of the emulator pod of the first embodiment to which the second invention is applied. Further, the integrated circuit chip 10 with the CPU shown in FIG.
In, the first invention is applied.

【0077】前記第1実施例のエミュレータポッドは、
主として、前記CPU搭載集積回路チップ10と、方向
制御回路45と、エミュレーションメモリ46と、内部
双方向データバスバッファ48と、内部アドレスバスバ
ッファ49と、エミュレータ用回路74と、これらの間
のデータの受け渡し等に用いられる内部バス50とによ
り構成されている。
The emulator pod of the first embodiment is
Mainly, the CPU mounted integrated circuit chip 10, the direction control circuit 45, the emulation memory 46, the internal bidirectional data bus buffer 48, the internal address bus buffer 49, the emulator circuit 74, and the data between them are provided. It is configured by an internal bus 50 used for delivery and the like.

【0078】又、本実施例のエミュレータポッドにおい
ては、その内部において、信号IMFが生成されてい
る。該信号IMFについては、当該エミュレータポッド
内で用いられているだけでなく、前記CPU搭載集積回
路チップ10にも入力されている。又、前記CPU搭載
集積回路チップ10からは、信号IMEMと信号IIO
とが出力されている。
Further, in the emulator pod of this embodiment, the signal IMF is generated inside. The signal IMF is not only used in the emulator pod, but is also input to the CPU mounted integrated circuit chip 10. Further, the signal IMEM and the signal IIO are sent from the integrated circuit chip 10 with CPU.
And are output.

【0079】前記信号IMEMは、前記CPU搭載集積
回路チップ10内の前記内部メモリのいずれか1つがア
ドレス指定されたことを示す内部メモリアクセス表明信
号に相当する。又、前記信号IIOは、前記CPU搭載
集積回路チップ10内の前記内部I/O回路のいずれか
1つがアドレス指定されたか又は前記DMAコントロー
ラのアクセス対象となったことを示す内部I/Oアクセ
ス表明信号に相当する。これら信号IMEM及び信号I
IOは、前記内部双方向データバスバッファ48にて用
いられている。
The signal IMEM corresponds to an internal memory access assertion signal indicating that any one of the internal memories in the CPU mounted integrated circuit chip 10 has been addressed. Further, the signal IIO is an internal I / O access assertion indicating that any one of the internal I / O circuits in the CPU mounted integrated circuit chip 10 has been addressed or has been accessed by the DMA controller. Corresponds to a signal. These signal IMEM and signal I
IO is used in the internal bidirectional data bus buffer 48.

【0080】なお、前記信号IMFについては、前述の
如く、前記エミュレータポッド内で生成することに限ら
れるものではない。例えば、該エミュレータポッドが接
続されるICE本体にて、前記信号IMFを生成するよ
うにしてもよい。あるいは、前記信号IMFの論理状態
を、一律に、前記エミュレータポッドへの前記CPU搭
載集積回路チップ10の搭載の有無にて設定してしまっ
てもよい。即ち、前記エミュレータポッドへと前記CP
U搭載集積回路チップ10を搭載すると、前記信号IM
Fにて前記エミュレーションモードを伝達するようにし
てもよい。この場合、未搭載時には、前記信号IMFに
て、前記通常モードが伝達されるようにする。
Note that the signal IMF is not limited to being generated in the emulator pod as described above. For example, the signal IMF may be generated in the ICE body to which the emulator pod is connected. Alternatively, the logic state of the signal IMF may be uniformly set depending on whether or not the CPU mounted integrated circuit chip 10 is mounted on the emulator pod. That is, the CP is sent to the emulator pod.
When the U-mounted integrated circuit chip 10 is mounted, the signal IM
The emulation mode may be transmitted at F. In this case, when not mounted, the normal mode is transmitted by the signal IMF.

【0081】まず、この図2において、前記エミュレー
ションメモリ46は、前記エミュレーションモード時
に、前記CPU搭載集積回路チップ10内の後述する内
部メモリ14に置き換えられるものである。即ち、前記
エミュレーションモード時には、前記CPU搭載集積回
路チップ10内の、後述するCPU12や後述するDM
Aコントローラ16は、前記内部メモリ14に代えて、
当該エミュレーションメモリ46をアクセスする。
First, in FIG. 2, the emulation memory 46 is replaced with an internal memory 14 in the CPU mounted integrated circuit chip 10 which will be described later in the emulation mode. That is, in the emulation mode, the CPU 12 described later and the DM described later in the integrated circuit chip 10 with CPU are described.
The A controller 16 replaces the internal memory 14 with
The emulation memory 46 is accessed.

【0082】又、前記方向制御回路45は、前記信号I
MEMと前記信号IIOを入力する。又、該方向制御回
路45は、これら2つの信号に従って、前記内部バス5
0と前記外部バスとの間でのデータ入出力の有無及びそ
の入出力方向を伝達する信号OE及び信号DIRを生成
する。該信号OEは、前記内部双方向データバスバッフ
ァ48の前記外部バス側をハイインピーダンス状態とす
るとき“0”となり、該外部バス側へとデータを出力す
るとき“1”となる。該信号DIRは、前記内部双方向
データバスバッファ48でのデータ入出力方向を伝達す
るものである。即ち、該信号DIRが“0”のとき、デ
ータ入出力方向は前記外部バスから前記内部バス50へ
の方向となる。該信号DIRが“1”のとき、前記内部
バス50から前記外部バスへの方向となる。
Further, the direction control circuit 45 causes the signal I
The MEM and the signal IIO are input. Further, the direction control circuit 45, in accordance with these two signals, the internal bus 5
A signal OE and a signal DIR for transmitting the presence / absence of data input / output between 0 and the external bus and its input / output direction are generated. The signal OE is "0" when the external bus side of the internal bidirectional data bus buffer 48 is in a high impedance state, and is "1" when data is output to the external bus side. The signal DIR transmits the data input / output direction in the internal bidirectional data bus buffer 48. That is, when the signal DIR is "0", the data input / output direction is from the external bus to the internal bus 50. When the signal DIR is "1", the direction is from the internal bus 50 to the external bus.

【0083】前記内部双方向データバスバッファ48
は、当該エミュレータポッドをターゲットシステムへと
接続する際に用いられる。前記CPU搭載集積回路チッ
プ10内の後述するCPU12や後述するDMAコント
ローラ16は、前記ターゲットシステムへとアクセスす
る際には、前記エミュレーションモード時にも、又、前
記通常モード時にも、当該内部双方向データバスバッフ
ァ48を介してアクセスする。当該内部双方向データバ
スバッファ48のデータ入出力方向の制御は、前述の信
号OE及び信号DIRに従って行われる。
The internal bidirectional data bus buffer 48
Is used to connect the emulator pod to the target system. The CPU 12 (to be described later) and the DMA controller 16 (to be described later) in the CPU-mounted integrated circuit chip 10 access the target system at the time of the emulation mode and at the time of the normal mode. Access via the bus buffer 48. The control of the data input / output direction of the internal bidirectional data bus buffer 48 is performed according to the above-mentioned signal OE and signal DIR.

【0084】なお、前記信号IMFは、本願発明のエミ
ュレーションモード信号に相当するものである。又、前
記信号DENについては、本願発明のデータイネーブル
信号に相当するものである。
The signal IMF corresponds to the emulation mode signal of the present invention. Further, the signal DEN corresponds to the data enable signal of the present invention.

【0085】図3は、前記第1実施例に用いられている
前記CPU搭載集積回路チップの構成を示すブロック図
である。
FIG. 3 is a block diagram showing the configuration of the CPU-mounted integrated circuit chip used in the first embodiment.

【0086】この図3に示される前記CPU搭載集積回
路チップ10は、特に前記第1発明が適用され、主とし
て、CPU12と、内部メモリ14a 及び14b と、D
MAコントローラ16と、内部I/O回路18a 及び1
8b と、アドレスデコーダ部34と、内部資源アクセス
表明回路36と、チップ内双方向データバスバッファ2
8と、データバス方向制御回路26とにより構成されて
いる。即ち、本実施例においては、前記内部メモリ14
a 及び14b が合計2個であり、前記内部I/O回路1
8a 及び18b が合計2個となっている。これらメモリ
14a 及び14b 、前記CPU12、前記DMAコント
ローラ16、又前記内部I/O回路18a 及び18b
は、前記図1に示される対応するのものに相当する。
The CPU mounted integrated circuit chip 10 shown in FIG. 3 is applied with the first aspect of the invention, and mainly includes the CPU 12, internal memories 14a and 14b, and D.
MA controller 16 and internal I / O circuits 18a and 1
8b, an address decoder unit 34, an internal resource access assertion circuit 36, an on-chip bidirectional data bus buffer 2
8 and a data bus direction control circuit 26. That is, in the present embodiment, the internal memory 14
The total number of a and 14b is two, and the internal I / O circuit 1
There are a total of two 8a and 18b. These memories 14a and 14b, the CPU 12, the DMA controller 16, and the internal I / O circuits 18a and 18b.
Corresponds to the corresponding one shown in FIG.

【0087】前記アドレスデコーダ部34は、前記チッ
プ内バス30を構成するチップ内アドレスバスから、ア
ドレス信号を入力する。又、該アドレスデコーダ部34
は、該アドレス信号に従って、当該CPU搭載集積回路
チップ10内の各部分のアドレス指定の有無を検出す
る。即ち、前記内部メモリ14a がアドレス指定された
場合、信号CSM1を“1”とし、前記内部メモリ14
b がアドレス指定された場合、信号CSM2を“1”と
する。該アドレスデコーダ部34は、前記DMAコント
ローラ16がアドレス指定された場合、信号CSDMA
を“1”とし、前記内部I/O回路18a がアドレス指
定された場合、信号CSIO1を“1”とし、前記内部
I/O回路18b がアドレス指定された場合、信号CS
IO2を“1”とする。これら信号CSM1、CSM
2、CSDMA、CSIO1及びCSIO2は、それぞ
れ対応するこれら内部メモリ14a や内部I/O回路1
8a 等に入力されていると共に、前記内部資源アクセス
表明回路36にも入力されている。
The address decoder section 34 inputs an address signal from the in-chip address bus which constitutes the in-chip bus 30. Further, the address decoder unit 34
According to the address signal, detects whether or not each part in the CPU mounted integrated circuit chip 10 is addressed. That is, when the internal memory 14a is addressed, the signal CSM1 is set to "1" and the internal memory 14a
When b is addressed, signal CSM2 is set to "1". The address decoder unit 34 outputs a signal CSDMA when the DMA controller 16 is addressed.
Is set to "1", the signal CSIO1 is set to "1" when the internal I / O circuit 18a is addressed, and the signal CSIO1 is set to "1" when the internal I / O circuit 18b is addressed.
IO2 is set to "1". These signals CSM1, CSM
2, CSDMA, CSIO1 and CSIO2 respectively correspond to these internal memory 14a and internal I / O circuit 1
8a, etc., and also to the internal resource access assertion circuit 36.

【0088】又、前記内部I/O回路18a にて、デー
タの入出力要求が発生すると、これをDMA転送するた
めに、該内部I/O回路18a から前記DMAコントロ
ーラ16へと入力される信号DREQ1が“1”とな
る。一方、前記内部I/O回路18b にてデータの入出
力要求が発生すると、これに伴ったDMA転送を行うた
めに、該内部I/O回路18b から前記DMAコントロ
ーラ16へと入力される信号DREQ2が“1”とな
る。
When a data input / output request is generated in the internal I / O circuit 18a, a signal input from the internal I / O circuit 18a to the DMA controller 16 for DMA transfer of the data input / output request. DREQ1 becomes "1". On the other hand, when a data input / output request is generated in the internal I / O circuit 18b, a signal DREQ2 input from the internal I / O circuit 18b to the DMA controller 16 in order to perform the DMA transfer accompanying the request. Becomes "1".

【0089】このように前記信号DREQ1又は前記信
号DREQ2のいずれか一方が“1”となると、前記D
MAコントローラ16は、当該DMAコントローラ16
から前記CPU12へと入力される信号HREQを
“1”とする。該信号HREQは、前記DMAコントロ
ーラ16が前記CPU12に対して、前記チップ内バス
30のバス使用権の移譲を要求する信号である。即ち、
該信号HREQが“1”のときに、バス使用権要求とな
る。
As described above, when either the signal DREQ1 or the signal DREQ2 becomes "1", the D
The MA controller 16 is the DMA controller 16
The signal HREQ input from the CPU to the CPU 12 is set to "1". The signal HREQ is a signal for the DMA controller 16 to request the CPU 12 to transfer the bus use right of the in-chip bus 30. That is,
When the signal HREQ is "1", the bus right is requested.

【0090】又、このように前記信号HREQが“1”
となると、前記CPU12は、前記チップ内バス30の
利用を中止する。又、この後に、該CPU12から前記
DMAコントローラ16に入力される信号HLDAを
“1”とする。
Further, as described above, the signal HREQ is "1".
Then, the CPU 12 stops using the in-chip bus 30. After that, the signal HLDA input from the CPU 12 to the DMA controller 16 is set to "1".

【0091】前記DMAコントローラ16は、前記信号
HLDAが“1”となると、前記チップ内バス30を用
いたDMA転送を行うべく、信号DACK1又は信号D
ACK2を出力する。即ち、前記信号DREQ1が
“1”となっていた場合には、前記信号DACK1を
“1”とする。一方、前記信号DREQ2が“1”とな
っていた場合には、前記信号DACK2を“1”とす
る。
When the signal HLDA becomes "1", the DMA controller 16 performs the signal DACK1 or the signal D so as to perform the DMA transfer using the in-chip bus 30.
Outputs ACK2. That is, when the signal DREQ1 is "1", the signal DACK1 is set to "1". On the other hand, when the signal DREQ2 is "1", the signal DACK2 is set to "1".

【0092】前記内部I/O回路18a は、前記信号D
ACK1が“1”となったことにより、前記チップ内バ
ス30を用いた所定メモリに対するデータのDMA転送
を開始する。又、前記内部I/O回路18b について
も、前記信号DACK2が“1”となると、前記チップ
内バス30を用いた入出力データのDMA転送を開始す
る。なお、これら信号DACK1及びDACK2が
“1”となったときには、まず、前記内部I/O回路1
8a 及び前記内部I/O回路18b は、DMA転送にあ
たって必要とされる、入出力ポートの設定等を行う。
又、前記信号DACK1及び前記信号DACK2は、前
記内部資源アクセス表明回路36にも入力されている。
The internal I / O circuit 18a receives the signal D
When ACK1 becomes "1", DMA transfer of data to a predetermined memory using the in-chip bus 30 is started. Further, also in the internal I / O circuit 18b, when the signal DACK2 becomes "1", the DMA transfer of the input / output data using the in-chip bus 30 is started. When these signals DACK1 and DACK2 become "1", first, the internal I / O circuit 1
The 8a and the internal I / O circuit 18b perform input / output port settings and the like required for DMA transfer.
The signal DACK1 and the signal DACK2 are also input to the internal resource access assertion circuit 36.

【0093】なお、本実施例の前記CPU搭載チップ1
0において前記第1発明を適用するにあたり、該第1発
明の前記エミュレーションモード制御回路は、前記図3
の前記内部メモリ14内に備えられている。これは、前
記信号IMFによってエミュレーションモード中である
ことが伝達されたとき、前記内部メモリ14の、前記チ
ップ内バスからのアクセスを禁止するものである。具体
的には、前記内部メモリ14内に設けられた所定の回路
によるものである。
The CPU mounted chip 1 of this embodiment is
0, when applying the first invention, the emulation mode control circuit of the first invention is configured as shown in FIG.
Is provided in the internal memory 14. This prohibits access to the internal memory 14 from the in-chip bus when it is transmitted by the signal IMF that it is in the emulation mode. Specifically, it is based on a predetermined circuit provided in the internal memory 14.

【0094】図4は、本実施例で用いられる前記内部資
源アクセス表明回路の論理回路図である。
FIG. 4 is a logic circuit diagram of the internal resource access assertion circuit used in this embodiment.

【0095】この図4に示される如く、又前記図3を用
いて前述した如く、前記内部資源アクセス表明回路36
には、前記信号CSM1、前記信号CSM2、前記信号
DACK1、前記信号DACK2、前記信号CSDM
A、前記信号CSIO1及び前記信号CSIO2が入力
されている。又、該内部資源アクセス表明回路36は、
これら信号に従って、前記信号IIO及び前記信号IM
EMを出力する。この図4に示される如く、出力される
前記信号IIOは、前記信号DACK1、前記信号DA
CK2、前記信号CSDMA、前記信号CSIO1及び
前記信号CSIO2の論理和となっている。一方、該内
部資源アクセス表明回路36が出力する前記信号IME
Mは、前記信号CSM1及び前記信号CSM2の論理和
となっている。
As shown in FIG. 4 and as described above with reference to FIG. 3, the internal resource access assertion circuit 36 is used.
The signal CSM1, the signal CSM2, the signal DACK1, the signal DACK2, and the signal CSDM.
A, the signal CSIO1 and the signal CSIO2 are input. Also, the internal resource access assertion circuit 36 is
According to these signals, the signal IIO and the signal IM
Output EM. As shown in FIG. 4, the output signal IIO includes the signal DACK1 and the signal DA.
The logical sum of CK2, the signal CSDMA, the signal CSIO1, and the signal CSIO2. On the other hand, the signal IME output from the internal resource access assertion circuit 36.
M is the logical sum of the signals CSM1 and CSM2.

【0096】図5及び図6は、本実施例で用いられる前
記内部双方向データバスバッファのそのデータ入出力の
有無及びその入出力方向を示す線図である。
5 and 6 are diagrams showing the presence / absence of data input / output and the input / output direction of the internal bidirectional data bus buffer used in this embodiment.

【0097】特に、前記図5は前記CPU12がバス使
用権を持つ時のものである。一方、前記図6は、前記D
MAコントローラ16がバス使用権を持つ時である。
又、これら図5及び図6においては、前記外部バスに対
して出力となるか、入力となるか、あるいはハイインピ
ーダンス状態(Hi −Z)となるかが示されている。
In particular, FIG. 5 shows the case where the CPU 12 has the bus use right. On the other hand, FIG.
This is when the MA controller 16 has the right to use the bus.
Further, in FIGS. 5 and 6, it is shown whether the external bus is an output, an input, or a high impedance state (Hi-Z).

【0098】なお、この図6において、「Source 」
は、DMAコントローラにより転送されるデータの入力
元を示す。「Destination」は、DMAコントローラに
より転送されるデータの出力先を示す。「出力」は、前
記内部バス50から前記外部バスへのデータ方向を示
す。「入力」は、前記外部バスから前記内部バス50へ
のデータ方向を示す。「Hi −Z(出力)」は、前記内
部双方向データバスバッファ48の前記外部バス側の出
力が、ハイインピーダンス状態となることを示す。
In FIG. 6, "Source"
Indicates the input source of the data transferred by the DMA controller. “Destination” indicates an output destination of data transferred by the DMA controller. “Output” indicates the data direction from the internal bus 50 to the external bus. “Input” indicates the data direction from the external bus to the internal bus 50. "Hi-Z (output)" indicates that the output of the internal bidirectional data bus buffer 48 on the external bus side is in a high impedance state.

【0099】図7及び図8は、本実施例における前記内
部資源アクセス表明回路が出力する信号及び前記方向制
御回路が出力する信号を示す線図である。特に、前記図
7は、前記CPU12がバス使用権を持つ時のものであ
る。一方、前記図8は、前記DMAコントローラ16が
バス使用権を持つ時のものである。
FIG. 7 and FIG. 8 are diagrams showing signals output by the internal resource access assertion circuit and signals output by the direction control circuit in this embodiment. In particular, FIG. 7 shows the case where the CPU 12 has the right to use the bus. On the other hand, FIG. 8 shows the case where the DMA controller 16 has the bus use right.

【0100】これら図7及び図8においては、前記CP
U搭載集積回路チップ10内の前記内部資源アクセス表
明回路36が出力する前記信号IMEMと前記信号II
Oとが示されている。又、前記チップ内バス30や前記
内部バス50にて伝達される信号IOR、信号IOW、
信号MEMR及び信号MEMWが示されている。
In FIGS. 7 and 8, the CP
The signal IMEM and the signal II output from the internal resource access assertion circuit 36 in the U-mounted integrated circuit chip 10
O is indicated. Further, the signal IOR and the signal IOW transmitted through the in-chip bus 30 and the internal bus 50,
The signal MEMR and the signal MEMW are shown.

【0101】これら信号IOR、信号IOW、信号ME
MR及び信号MEMWは、前記図2においては、信号R
/Wとして図示されているものである。前記信号IOR
及び前記信号IOWは、それぞれ、少なくとも前記チッ
プ内バス30を用いた所望のI/O回路に対する読み出
し時に“1”となったり(IOR)、あるいは所望のI
/O回路に対する書き込み時に“1”となる(IO
W)。一方、前記信号MEMR及び前記信号MEMW
は、それぞれ、少なくとも前記チップ内バス30を用い
た所望のメモリに対する読み出し時に“1”となり(M
EMR)、あるいは、所望のメモリに対する書き込み時
に“1”となる(MEMW)。
These signal IOR, signal IOW, signal ME
The MR and the signal MEMW are the signal R in FIG.
/ W. The signal IOR
And the signal IOW becomes "1" (IOR) at the time of reading from a desired I / O circuit using at least the in-chip bus 30, respectively, or a desired I / O circuit.
It becomes "1" when writing to the / O circuit (IO
W). Meanwhile, the signal MEMR and the signal MEMW
Respectively becomes "1" at the time of reading from a desired memory using at least the in-chip bus 30 (M
EMR) or "1" when writing to a desired memory (MEMW).

【0102】又、これら図7及び図8においては、前記
内部資源アクセス表明回路36が出力する前記信号IM
EM及び前記信号IIOに従って、又、前記チップ内バ
ス30や前記内部バス50から入力される前記信号IO
R、前記信号IOW、前記信号MEMR及び前記信号M
EMWに従って前記方向制御回路45が出力する、前記
信号DIR及び前記信号OEも示されている。
7 and 8, the signal IM output from the internal resource access assertion circuit 36 is output.
The signal IO inputted from the in-chip bus 30 or the internal bus 50 in accordance with EM and the signal IIO.
R, the signal IOW, the signal MEMR and the signal M
The signal DIR and the signal OE output by the direction control circuit 45 according to EMW are also shown.

【0103】以上説明した通り、本第1実施例によれ
ば、前記エミュレータ用回路74を介して前記エミュレ
ーシュンモードとされると、前記CPU搭載集積回路チ
ップ10内の前記内部メモリ14に代えて、前記エミュ
レーションメモリ46が用いられる。又、このようなエ
ミュレーションモード中に、前記DMAコントローラ1
6が前記内部メモリ14に対する直接アクセスを制御す
る場合についても、このようなアクセスは前記エミュレ
ーションメモリ46に対するアクセスに置き換えられ
る。従って、本第1実施例によれば、前記DMAコント
ローラ16が動作する場合であっても、前記エミュレー
ションメモリ46は、前記内部メモリ14から正しく置
き換えられたものとなる。このため、前記DMAコント
ローラ16に係る、種々の動作、例えば前記DMAコン
トローラ16でアクセスされたデータの内容、又、この
ようなデータに対する前記CPU12で実行されるプロ
グラム等をより効果的にエミュレートすることができ
る。
As described above, according to the first embodiment, when the emulation mode is set through the emulator circuit 74, the internal memory 14 in the CPU mounted integrated circuit chip 10 is replaced. The emulation memory 46 is used. Also, during the emulation mode, the DMA controller 1
Even when 6 controls direct access to the internal memory 14, such access is replaced by access to the emulation memory 46. Therefore, according to the first embodiment, the emulation memory 46 is correctly replaced with the internal memory 14 even when the DMA controller 16 operates. Therefore, various operations related to the DMA controller 16, for example, contents of data accessed by the DMA controller 16 and a program executed by the CPU 12 for such data are more effectively emulated. be able to.

【0104】図9は、本発明が適用された第2実施例の
エミュレータポッドの構成を示すブロック図である。
FIG. 9 is a block diagram showing the configuration of the emulator pod of the second embodiment to which the present invention is applied.

【0105】この図9においては、前記第2発明が適用
されたエミュレータポッドが示されている。又、この図
9のCPU搭載チップ10においては、前記第1発明の
CPU搭載集積回路チップが適用されている。
FIG. 9 shows an emulator pod to which the second invention is applied. Further, in the CPU-mounted chip 10 of FIG. 9, the CPU-mounted integrated circuit chip of the first invention is applied.

【0106】この図9に示されるエミュレータポッドに
おいては、前記第1実施例と比較して、特に、エヴァチ
ップ44が備えられている。該エヴァチップ44は、前
記CPU搭載集積回路チップ10の後述するCPU12
に対して、エミュレーションモード時に置き換えられる
CPU機能を有している。
The emulator pod shown in FIG. 9 is particularly provided with an EVA chip 44 as compared with the first embodiment. The EVA chip 44 is a CPU 12 which will be described later in the CPU mounted integrated circuit chip 10.
On the other hand, it has a CPU function which is replaced in the emulation mode.

【0107】又、本第2実施例では、前記第1実施例の
信号IMFが、信号CMF(coreless mode flag)とな
っている。該信号CMFは、前記信号IMFと同様に、
「通常モード」であるか、「エミュレーションモード」
であるかを伝達する信号である。該CMF信号について
も、前記エミュレータ用回路74において、エミュレー
タ利用者の所定の操作によって設定される。該信号CM
Fが“0”のときには、前記通常モードとなる。一方、
“1”のときには、前記エミュレーションモードとな
る。
Further, in the second embodiment, the signal IMF of the first embodiment is the signal CMF (coreless mode flag). The signal CMF, like the signal IMF,
"Normal mode" or "Emulation mode"
Is a signal that conveys. The CMF signal is also set in the emulator circuit 74 by a predetermined operation by the emulator user. The signal CM
When F is "0", the normal mode is entered. on the other hand,
When it is "1", the emulation mode is set.

【0108】図10は、前記第2実施例で用いられるC
PU搭載集積回路チップの構成を示すブロック図であ
る。
FIG. 10 shows C used in the second embodiment.
It is a block diagram which shows the structure of a PU mounted integrated circuit chip.

【0109】本第2実施例に用いられる前記CPU搭載
集積回路チップ10は、この図10に示される如く、特
に前記第1実施例のものに比べ、前記信号CMFに関す
る部分が異なっている。即ち、前記第1実施例の前記信
号IMFが前記内部メモリ14に入力されていたのに比
べ、本第2実施例では、前記信号CMFが、前記内部メ
モリ14及び前記CPU12へと入力されている。前記
信号CMFが“0”のときには、前記内部メモリ14及
び前記CPU12は、通常の動作を行う。即ち、前記チ
ップ内バス30を介した通常のデータ受け渡し動作を行
う。一方、前記信号CMFが“1”となると、前記内部
メモリ14及び前記CPU12は、いずれも、前記チッ
プ内バス30へのアクセスが一律に禁止される。
As shown in FIG. 10, the CPU-mounted integrated circuit chip 10 used in the second embodiment is different from that of the first embodiment in the portion relating to the signal CMF. That is, in the second embodiment, the signal CMF is input to the internal memory 14 and the CPU 12 as compared with the signal IMF of the first embodiment input to the internal memory 14. . When the signal CMF is "0", the internal memory 14 and the CPU 12 operate normally. That is, a normal data transfer operation via the on-chip bus 30 is performed. On the other hand, when the signal CMF becomes "1", the internal memory 14 and the CPU 12 are uniformly prohibited from accessing the in-chip bus 30.

【0110】本実施例の前記CPU搭載チップ10にお
いて前記第1発明を適用するにあたり、該第1発明の前
記エミュレーションモード制御回路は、前記図10の前
記CPU12及び前記内部メモリ14内に、それぞれ備
えられている。これは、前記信号CMFによってエミュ
レーションモード中であることが伝達されたとき、これ
らCPU12や内部メモリ14の、前記チップ内バスか
らのアクセスを禁止するものである。具体的には、これ
らCPU12や内部メモリ14内にそれぞれ設けられた
所定の回路によるものである。
In applying the first invention to the CPU-mounted chip 10 of the present embodiment, the emulation mode control circuit of the first invention is provided in the CPU 12 and the internal memory 14 of FIG. 10, respectively. Has been. This prohibits access of the CPU 12 and the internal memory 14 from the in-chip bus when it is transmitted by the signal CMF. Specifically, it is based on a predetermined circuit provided in each of the CPU 12 and the internal memory 14.

【0111】なお、本第2実施例においても、前記内部
資源アクセス表明回路36は、前記第1実施例と同様
に、前記図4に示されるものである。又、本第2実施例
のその前記データバス方向制御回路26の動作や、前記
チップ内双方向データバスバッファ28の動作状態等に
ついては、前記図5から前記図8に示される前述の前記
第1実施例のものと同様である。
Also in the second embodiment, the internal resource access assertion circuit 36 is the one shown in FIG. 4 as in the first embodiment. Regarding the operation of the data bus direction control circuit 26 of the second embodiment, the operation state of the in-chip bidirectional data bus buffer 28, etc., the above-mentioned first operation shown in FIGS. It is similar to that of the first embodiment.

【0112】以上説明した通り、本第2実施例では、前
記エミュレータ用回路74にて、本第2実施例のエミュ
レータポッドを含むエミュレータの利用者の操作に従っ
て、前記信号CMFによりエミュレーションモードとさ
れると、前記CPU搭載チップ10内の前記内部メモリ
14は前記エミュレーションメモリ46へと置き換えら
れる。更に、このようなエミュレーションモード中に
は、前記CPU12は、前記エヴァチップ44が備える
CPU機能に置き換えられる。又、このようなエミュレ
ーションモード時にも、前記第1実施例と同様に、前記
DMAコントローラ16による前記内部メモリ14への
アクセスは、前記エミュレーションメモリ46へのアク
セスへと置き換えられる。従って、前記第1実施例と同
様に、前記DMAコントローラ16の動作等を、より効
果的にエミュレートすることができる。
As described above, in the second embodiment, the emulation mode is set by the signal CMF in the emulator circuit 74 according to the operation of the user of the emulator including the emulator pod of the second embodiment. Then, the internal memory 14 in the CPU mounted chip 10 is replaced with the emulation memory 46. Further, during such an emulation mode, the CPU 12 is replaced with the CPU function of the EVA chip 44. Also in the emulation mode, the access to the internal memory 14 by the DMA controller 16 is replaced with the access to the emulation memory 46, as in the first embodiment. Therefore, as in the first embodiment, the operation of the DMA controller 16 can be more effectively emulated.

【0113】[0113]

【発明の効果】以上説明した通り、本発明によれば、C
PU及び該CPUにより所定のチップ内バスを経由して
アクセスされるメモリと共に搭載されている、前記チッ
プ内バスを経由して前記メモリへと直接アクセスするD
MAコントローラの動作を、より効果的にエミュレート
することができるという優れた効果を得ることができ
る。
As described above, according to the present invention, C
Directly accessing the memory via the in-chip bus, which is mounted together with the memory accessed by the PU and the CPU via a predetermined in-chip bus
The excellent effect that the operation of the MA controller can be more effectively emulated can be obtained.

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

【図1】本願の第1発明及び第2発明の要旨を示すブロ
ック図
FIG. 1 is a block diagram showing the gist of a first invention and a second invention of the present application.

【図2】前記第1発明及び前記第2発明が適用された第
1実施例のエミュレータポッドの構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of an emulator pod of a first embodiment to which the first invention and the second invention are applied.

【図3】前記第1実施例に用いられるCPU搭載集積回
路チップの構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of a CPU-mounted integrated circuit chip used in the first embodiment.

【図4】前記第1実施例の前記CPU搭載集積回路チッ
プに用いられる内部資源アクセス表明回路の論理回路図
FIG. 4 is a logic circuit diagram of an internal resource access assertion circuit used in the CPU-mounted integrated circuit chip of the first embodiment.

【図5】前記データバス方向制御回路の動作状態を示す
第1の線図
FIG. 5 is a first diagram showing an operating state of the data bus direction control circuit.

【図6】前記データバス方向制御回路の動作状態を示す
第2の線図
FIG. 6 is a second diagram showing an operating state of the data bus direction control circuit.

【図7】前記第1実施例の前記CPU搭載集積回路チッ
プに用いられるデータバス方向制御回路等の動作を示す
第1の真理値表の線図
FIG. 7 is a diagram of a first truth table showing an operation of a data bus direction control circuit and the like used in the CPU-mounted integrated circuit chip of the first embodiment.

【図8】前記第1実施例の前記CPU搭載集積回路チッ
プに用いられるデータバス方向制御回路等の動作を示す
第2の真理値表の線図
FIG. 8 is a diagram of a second truth table showing the operation of the data bus direction control circuit and the like used in the CPU-mounted integrated circuit chip of the first embodiment.

【図9】前記第1発明及び前記第2発明が適用された第
2実施例のエミュレータポッドの構成を示すブロック図
FIG. 9 is a block diagram showing a configuration of an emulator pod of a second embodiment to which the first invention and the second invention are applied.

【図10】前記第2実施例に用いられるCPU搭載集積
回路チップの構成を示すブロック図
FIG. 10 is a block diagram showing a configuration of a CPU-mounted integrated circuit chip used in the second embodiment.

【図11】従来のエミュレータの第1例の構成を示すブ
ロック図
FIG. 11 is a block diagram showing a configuration of a first example of a conventional emulator.

【図12】従来のエミュレータの第2例の構成を示すブ
ロック図
FIG. 12 is a block diagram showing a configuration of a second example of a conventional emulator.

【図13】従来のエミュレータの第3例に用いられるエ
ミュレータポッドの構成を示すブロック図
FIG. 13 is a block diagram showing a configuration of an emulator pod used in a third example of conventional emulators.

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

1…エミュレータポッド 10…CPU搭載集積回路チップ 12…CPU 14…内部メモリ 16…DMAコントローラ 18…内部I/O回路 22…3入力OR論理ゲート 24…2入力OR論理ゲート 26…データバス方向制御回路 28…チップ内双方向データバスバッファ 30…チップ内バス 34…アドレスデコーダ部 36…内部資源アクセス表明回路 44…エヴァチップ 45…方向制御回路 46…エミュレーションメモリ 48…内部双方向データバスバッファ 50…内部バス 74…エミュレータ用回路 CSM1、CSM2、CSDMA、CSIO1、CSI
O2、IMEM、IIO、IMF、CMF、DREQ
1、DREQ2、DACK1、DACK2、HREQ、
HLDA、OE、DIR、R/E…信号
DESCRIPTION OF SYMBOLS 1 ... Emulator pod 10 ... CPU integrated circuit chip 12 ... CPU 14 ... Internal memory 16 ... DMA controller 18 ... Internal I / O circuit 22 ... 3-input OR logic gate 24 ... 2-input OR logic gate 26 ... Data bus direction control circuit 28 ... In-chip bidirectional data bus buffer 30 ... In-chip bus 34 ... Address decoder section 36 ... Internal resource access assertion circuit 44 ... EVA chip 45 ... Direction control circuit 46 ... Emulation memory 48 ... Internal bidirectional data bus buffer 50 ... Internal Bus 74 ... Emulator circuit CSM1, CSM2, CSDMA, CSIO1, CSI
O2, IMEM, IIO, IMF, CMF, DREQ
1, DREQ2, DACK1, DACK2, HREQ,
HLDA, OE, DIR, R / E ... signal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】CPU及び該CPUにより所定のチップ内
バスを経由してアクセスされる内部メモリや内部I/O
回路が搭載されていると共に、前記CPUを介さず、前
記チップ内バスを経由して前記内部メモリや前記内部I
/O回路へと直接アクセスするために用いられるDMA
コントローラが搭載されているCPU搭載集積回路チッ
プにおいて、 チップ外から入力されるエミュレーションモード信号に
て通常モードが伝達されたときには、通常に動作させて
いる前記内部メモリについて、該信号にてエミュレーシ
ョンモードが伝達されたときには、前記チップ内バスか
ら前記内部メモリへのアクセスを禁止させるエミュレー
ションモード制御回路と、 前記内部メモリや前記内部I/O回路がアドレス指定さ
れたことを検出し、前記内部メモリそれぞれや、前記内
部I/O回路それぞれのアクセス選択信号を出力するア
ドレスデコーダ部と、 少なくとも前記アクセス選択信号に従って、前記内部メ
モリのいずれか1つがアドレス指定されたことを示す内
部メモリアクセス表明信号を生成すると共に、少なくと
も前記アクセス選択信号と前記DMAコントローラがバ
ス使用許可を獲得したことを示す所定のバス使用許可信
号とに従って、前記内部I/O回路のいずれか1つがア
ドレス指定されたか又は前記DMAコントローラのアク
セス対象となったことを示す内部I/Oアクセス表明信
号を生成するという、これら2つの信号を独立生成する
内部資源アクセス表明回路とを備え、 前記内部メモリアクセス表明信号と前記内部I/Oアク
セス表明信号とが、当該CPU搭載集積回路チップの外
部へと出力されていることを特徴とするCPU搭載集積
回路チップ。
1. A CPU and an internal memory or an internal I / O accessed by the CPU via a predetermined in-chip bus.
A circuit is mounted, and the internal memory and the internal I are passed via the in-chip bus without passing through the CPU.
DMA used to directly access the I / O circuit
When the normal mode is transmitted by the emulation mode signal input from the outside of the integrated circuit chip with the CPU on which the controller is mounted, the emulation mode of the internal memory that is operating normally is indicated by the signal. When transmitted, it detects that the emulation mode control circuit that prohibits access to the internal memory from the bus in the chip and that the internal memory and the internal I / O circuit are addressed, An address decoder unit that outputs an access selection signal for each of the internal I / O circuits, and an internal memory access assertion signal indicating that any one of the internal memories is addressed according to at least the access selection signal. Together with at least the Either one of the internal I / O circuits has been addressed or is to be accessed by the DMA controller according to a process select signal and a predetermined bus use permission signal indicating that the DMA controller has acquired the bus use permission. An internal resource access assertion circuit that independently generates these two signals, that is, an internal I / O access assertion signal indicating that the internal memory access assertion signal and the internal I / O access assertion signal are generated. A CPU-equipped integrated circuit chip, which is output to the outside of the CPU-equipped integrated circuit chip.
【請求項2】請求項1において、前記エミュレーション
モード制御回路が、 チップ外から入力されるデバッグモード信号にて通常モ
ードが伝達されたときには、通常に動作している前記C
PU及び前記内部メモリについて、該信号にてデバッグ
モードが伝達されたときには、前記CPUの動作を停止
させ、且つ、前記チップ内バスから前記内部メモリへの
アクセスを禁止させるエミュレーションモード制御回路
であることを特徴とするCPU搭載集積回路チップ。
2. The C circuit which is operating normally when the normal mode is transmitted to the emulation mode control circuit by a debug mode signal input from outside the chip.
Regarding the PU and the internal memory, an emulation mode control circuit for stopping the operation of the CPU and prohibiting the access to the internal memory from the in-chip bus when the debug mode is transmitted by the signal. An integrated circuit chip equipped with a CPU.
【請求項3】CPU及び該CPUにより所定のチップ内
バスを経由してアクセスされる内部メモリや内部I/O
回路が搭載されていると共に、前記CPUを介さず、前
記チップ内バスを経由して前記内部メモリや前記内部I
/O回路へと直接アクセスするために用いられるDMA
コントローラが搭載されているCPU搭載集積回路チッ
プが搭載される、該チップ、あるいは該チップに対応す
るものを用いたターゲットシステムをデバッグするた
め、該ターゲットシステム内の外部バスに接続される該
チップあるいは該チップに対応するものをエミュレート
する際に用いるエミュレータポッドにおいて、 エミュレータポッド上の前記チップ内部の前記チップ内
バスへと、該チップ内部に備える双方向データバスバッ
ファを経由して接続されている内部バスと、 前記チップ内バスに接続され、且つ、前記チップ内に搭
載されている所定の回路に対して、少なくともエミュレ
ーション時に置換されるエミュレーション周辺回路と、 前記チップが出力する、前記内部メモリのいずれか1つ
がアドレス指定されたことを示す内部メモリアクセス表
明信号と、前記内部I/O回路のいずれか1つがアドレ
ス指定されたか又は前記DMAコントローラのアクセス
対象となったことを示す内部I/Oアクセス表明信号と
の、少なくともこれら2つの信号を入力し、前記内部バ
スと前記外部バスとの間でのデータ入出力の有無及びそ
の入出力方向を伝達する信号を生成する方向制御回路
と、 該方向制御回路が生成する信号に従って動作し、前記内
部バスと前記外部バスとの間でのデータ入出力を行う内
部双方向データバスバッファとを備えたことを特徴とす
るエミュレータポッド。
3. A CPU and an internal memory or an internal I / O accessed by the CPU via a predetermined in-chip bus.
A circuit is mounted, and the internal memory and the internal I are passed via the in-chip bus without passing through the CPU.
DMA used to directly access the I / O circuit
In order to debug the target system using the chip or the one corresponding to the chip in which the integrated circuit chip with CPU mounted with the controller is mounted, the chip or the chip connected to the external bus in the target system In an emulator pod used for emulating a device corresponding to the chip, the emulator pod is connected to the in-chip bus inside the chip on the emulator pod via a bidirectional data bus buffer provided inside the chip. An internal bus, an emulation peripheral circuit that is connected to the in-chip bus, and is replaced at least during emulation with respect to a predetermined circuit mounted in the chip; and of the internal memory output by the chip. Internal indicating that any one has been addressed A memory access assertion signal and an internal I / O access assertion signal indicating that one of the internal I / O circuits has been addressed or has been accessed by the DMA controller. A direction control circuit for inputting and generating a signal for transmitting the presence / absence of data input / output between the internal bus and the external bus and its input / output direction; and operating according to the signal generated by the direction control circuit, An emulator pod comprising an internal bidirectional data bus buffer for inputting / outputting data between an internal bus and the external bus.
【請求項4】請求項3において、前記エミュレーション
周辺回路が、 前記チップ内のCPUに対して、少なくともエミュレー
ション時に置換される、CPU機能を有するエヴァチッ
プを備えたことを特徴とするエミュレータポッド。
4. The emulator pod according to claim 3, wherein the emulation peripheral circuit includes an EVA chip having a CPU function, which is replaced with at least the CPU in the chip during emulation.
JP5091351A 1993-04-19 1993-04-19 CPU mounted integrated circuit chip and emulator pod Expired - Fee Related JP2779300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5091351A JP2779300B2 (en) 1993-04-19 1993-04-19 CPU mounted integrated circuit chip and emulator pod

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5091351A JP2779300B2 (en) 1993-04-19 1993-04-19 CPU mounted integrated circuit chip and emulator pod

Publications (2)

Publication Number Publication Date
JPH06301571A true JPH06301571A (en) 1994-10-28
JP2779300B2 JP2779300B2 (en) 1998-07-23

Family

ID=14023987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5091351A Expired - Fee Related JP2779300B2 (en) 1993-04-19 1993-04-19 CPU mounted integrated circuit chip and emulator pod

Country Status (1)

Country Link
JP (1) JP2779300B2 (en)

Also Published As

Publication number Publication date
JP2779300B2 (en) 1998-07-23

Similar Documents

Publication Publication Date Title
US10789153B2 (en) Debug controller circuit
US5566303A (en) Microcomputer with multiple CPU'S on a single chip with provision for testing and emulation of sub CPU's
US10037301B2 (en) Circuits and methods for inter-processor communication
US9529686B1 (en) Error protection for bus interconnect circuits
US10990293B2 (en) Extensible storage system and method
KR100513820B1 (en) Bus-to-bus bridge circuit with integrated loopback test capability and method of use
CN111033630A (en) Multiprocessor core device with MBIST
JP2591181B2 (en) Microcomputer
JPS61182160A (en) Data processing device
JP3380827B2 (en) Emulator device
JP2779300B2 (en) CPU mounted integrated circuit chip and emulator pod
US6240377B1 (en) Integrated circuit with embedded reprogrammable EEPROM and emulation method to facilitate debugging
CN101169767B (en) Access control device and access control method
KR20030055150A (en) Microprocessor and processing method of microprocessor
JP2778890B2 (en) CPU mounted integrated circuit chip and emulator pod
JP2004094451A (en) On-chip jtag interface circuit and system lsi
US20020083283A1 (en) Control of the access to a memory integrated with a microprocessor
JP3323341B2 (en) Emulation processor and emulator equipped with it
KR20010052868A (en) Method and system for updating user memory in emulator systems
JPH06150026A (en) Microcomputer and emulator
JP3008914B2 (en) Semiconductor integrated circuit
JPS603049A (en) Bus interface apparatus
JP2002049606A (en) Multi-cpu system
US20030220782A1 (en) Configuration for in-circuit emulation of a program-controlled unit
JPH07141268A (en) Direct memory access control circuit and data transfer testing method for the circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees