JPH0224732A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH0224732A
JPH0224732A JP63175802A JP17580288A JPH0224732A JP H0224732 A JPH0224732 A JP H0224732A JP 63175802 A JP63175802 A JP 63175802A JP 17580288 A JP17580288 A JP 17580288A JP H0224732 A JPH0224732 A JP H0224732A
Authority
JP
Japan
Prior art keywords
memory
signal
access
bus
emulation
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
JP63175802A
Other languages
Japanese (ja)
Other versions
JPH0778753B2 (en
Inventor
Shinichi Okada
伸一 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63175802A priority Critical patent/JPH0778753B2/en
Publication of JPH0224732A publication Critical patent/JPH0224732A/en
Publication of JPH0778753B2 publication Critical patent/JPH0778753B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To make access to an emulation memory without setting up a port for the access and to improve access speed by adding a specific instruction for executing data access to the emulation memory and a user memory to an everchip during the operation of a specific interruption function (SV) for program developing supporting tool. CONSTITUTION:The I/O port of a microcomputer 9 in the everchip 310 has an external memory expanding function in addition to its I/O port function. TA specific transfer instruction for making data access to an emulation memory 120 and a user memory 130 is newly set up in the everchip 310. A CPU 110-1 outputs an SIF signal 110-8 to be outputted synchronously with the specific transfer instruction and a PSEL signal 110-14 for specifying whether a 1st OPRT 110-6 is to be used as an I/O port or not. Consequently, a bus control unit 110-5 is connected to address buses 160, 170 for making access to the memory 120 or 130.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロコンピュータ上で実行するプログラ
ムを開発するためのプログラム開発用マイクロコンピュ
ータに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program development microcomputer for developing a program to be executed on a microcomputer.

〔従来の技術〕[Conventional technology]

一般にマイクロコンピュータ上で動作するプログラムの
開発は、プログラムの実行動作を対象のマイクロコンピ
ュータと同一に行なう事ができ、ある特定アドレスでの
プログラム実行の中断機能(以下、ブレーク機能と記す
)と、その時のメモリ内容の読みだし及び変更機能等の
プログラムのデパックを容易に行なえるような機能とを
持つプログラム開発支援ツール(以下ICEと記す)が
用いられる。ICE上で前記の様な機能を実現するため
に、通常のマイクロフンピユータの機能に、マイクロコ
ンピュータ内部の動作(命令コードフェッチ、データア
クセス等)を表わす内部ステータス信号の出力、ICE
用の特殊割り込み機能(以下、87割り込みと記す)等
の機能を付加したプログラム開発用マイクロコンピュー
タ(以下、エバチップと記す)が用いられる。
Generally, when developing a program that runs on a microcomputer, the program execution operation can be performed in the same way as the target microcomputer, and there is a function to interrupt program execution at a certain address (hereinafter referred to as a break function), and a A program development support tool (hereinafter referred to as ICE) is used that has functions that allow easy depacking of programs, such as functions for reading and changing the memory contents of the program. In order to realize the above functions on the ICE, in addition to the functions of a normal microcomputer, output of an internal status signal representing the internal operation of the microcomputer (instruction code fetch, data access, etc.),
A microcomputer for program development (hereinafter referred to as an Evachip) is used, which is equipped with functions such as a special interrupt function (hereinafter referred to as 87 interrupt).

このエバチップが対象とするマイクロコンピュータの一
つにワンチップマイクロコンピュータと呼ばれるものが
あり、マイクロコンピュータ内部にメモリを持ち、多く
の入出力ポートを持っている。又、入出力ポートの一つ
は、マイクロコンピュータ外部にメモリを拡張する時に
、バス及び制御信号の入出力端子としても動作する機能
を持つ。
One of the microcomputers targeted by this Evachip is a one-chip microcomputer, which has internal memory and many input/output ports. One of the input/output ports also has the function of operating as an input/output terminal for bus and control signals when memory is expanded outside the microcomputer.

従来のエバチップを用いたICEの構成を第5図のブロ
ック図を用いて説明する。第5図に示すICEは、エバ
チップ310と、エミュレーションメモリ320と、ユ
ーザメモリ330と、オルタネ−トメモリ340と、ブ
レーク機能回路350と、デコード回路360と、チッ
プセレクト回路370と、I10エミュレート回路38
0で構成されている。
The configuration of an ICE using a conventional Eva chip will be explained using the block diagram shown in FIG. The ICE shown in FIG. 5 includes an evaluation chip 310, an emulation memory 320, a user memory 330, an alternate memory 340, a break function circuit 350, a decode circuit 360, a chip select circuit 370, and an I10 emulation circuit 38.
Consists of 0.

エミュレーションメモリ320は、エバチップ310が
対象とするマイクロコンピュータではマイクロフンピユ
ータの内部に含まれているメモリに相当する。又、ユー
ザメモリ330は、エバチップ310が対象とするマイ
クロコンピュータではマイクロコンピュータの外部に置
かれているメモリにあたる。上記の二つのメモリは、ユ
ーザが開発したプログラム(以下、ユーザプログラムと
記す)がプログラム及びデータ領域として用いている。
The emulation memory 320 corresponds to the memory included inside the microcomputer to which the Eva chip 310 is intended. Further, the user memory 330 corresponds to a memory located outside the microcomputer to which the Evachip 310 is intended. The above two memories are used by a program developed by a user (hereinafter referred to as a user program) as a program and data area.

87割り込み処理時のモニタプログラム及びデータ領域
の格納アドレスは、ユーザプログラムのプログラム及び
データ領域と重なるので、その格納領域として、オルタ
ネ−トメそす340を用いる。
Since the storage address of the monitor program and data area during the 87 interrupt processing overlaps with the program and data area of the user program, the alternate memory address 340 is used as the storage area.

ブレーク機能回路350は、後述するステータス信号3
01と第LADバス390とEALE311を監視して
所定のアドレスの命令実行時にエバチップ310に対し
出力している87割り込み要求信号302をアクティブ
にする機能を持つ。
The break function circuit 350 receives a status signal 3, which will be described later.
It has a function of monitoring 01, LAD bus 390, and EALE 311 and activating the 87 interrupt request signal 302 output to the EV chip 310 when an instruction at a predetermined address is executed.

デコード回路360は、後述するステータス信号301
を監視しエバチップ310がメモリアクセスのバスサイ
クルを実行中に、データアクセス信号303に1を出力
する機能を持つ。
The decoding circuit 360 receives a status signal 301 which will be described later.
It has a function of monitoring the data access signal 303 and outputting 1 to the data access signal 303 while the evaluation chip 310 is executing a memory access bus cycle.

チップセレクト回路370は、データアクセス信号30
3と後述する第LADバス390とEALE311と第
1出力ボート304とSVMOD信号306を監視し、
オルタネ−トメモリ340とエミュレーションメモリ3
20とI10エミュレート回路380に対して、第1チ
ツプセレクト信号307と第2チツプセレクト信号30
8と第3チツプセレクト信号309を出力する。チップ
セレクト信号が1の時、対象メモリはデータアクセスを
行なう事が出来る。第6図Aに、チップセレクト回路3
70の構成を示す。デコーダ379は、後述する第1A
Dバス390をEALE信号311のタイミングでラッ
チし、その値がユーザメモリ330の領域ならOを、エ
ミュレーションメモリ320の領域なら1を、デコーダ
出力381に出力する。第6図Bに、この回路の真理値
を示す。
The chip select circuit 370 receives the data access signal 30
3 and monitors the LAD bus 390, EALE 311, first output port 304, and SVMOD signal 306, which will be described later.
Alternate memory 340 and emulation memory 3
20 and I10 emulation circuit 380, the first chip select signal 307 and the second chip select signal 30
8 and a third chip select signal 309 are output. When the chip select signal is 1, the target memory can perform data access. FIG. 6A shows the chip select circuit 3.
70 configuration is shown. The decoder 379 is a first A decoder, which will be described later.
The D bus 390 is latched at the timing of the EALE signal 311, and if the value is in the user memory 330 area, O is output, and if the value is in the emulation memory 320 area, 1 is output to the decoder output 381. FIG. 6B shows the truth value of this circuit.

I10エミュレート回路380は、対象とするマイクロ
コンピュータが持っている入出力ポートをエミュレート
する機能を持つ。又その入出力ポートは外部メモリ拡張
端子も兼ねている。そのため後述するPSEL信号32
1の値によって、第2ADバス400を、バスとして使
用するか入出力ポートとして使用するかを指定する事が
出来る。外部メモリ拡張端子として使用される時は、第
LADバス390と第2ADバス400、EALE信号
311とALE信号314、ERD信号312とRD信
号315、EWR信号313とWR信号316を接続す
る。
The I10 emulation circuit 380 has a function of emulating the input/output ports of the target microcomputer. The input/output port also serves as an external memory expansion terminal. Therefore, the PSEL signal 32 described later
Depending on the value of 1, it is possible to specify whether the second AD bus 400 is used as a bus or as an input/output port. When used as an external memory expansion terminal, the LAD bus 390 and the second AD bus 400, the EALE signal 311 and the ALE signal 314, the ERD signal 312 and the RD signal 315, and the EWR signal 313 and the WR signal 316 are connected.

エバチップ310は、命令実行処理を行ない、87割り
込み中は1を出力するSVMOD信号306と、I10
エミュレート回路380の第2ADバス400をバスと
して使用するか入出力ポートとして使用するかを指定す
るPSEL信号321と、現在のエバチップ310の内
部状態を示すステータス信号301とプログラムで設定
可能な第1出力ポート304を出力する。第LADバス
390は、メモリアクセス時に、アドレス及びデータの
やり取りを行なうバスである。又第1ADバス390上
のアドレス出力タイミングヲ指定するEALE信号31
1とメモリ読み出し及び書き込みタイミングを指定する
ERD信号312とEWR信号313も出力する。
The evaluation chip 310 performs instruction execution processing, and outputs an SVMOD signal 306 that outputs 1 during an 87 interrupt, and an I10
A PSEL signal 321 that specifies whether the second AD bus 400 of the emulation circuit 380 is used as a bus or an input/output port, a status signal 301 that indicates the current internal state of the evaluation chip 310, and a first AD bus 400 that can be set by a program. Output port 304. The LAD bus 390 is a bus for exchanging addresses and data during memory access. Also, an EALE signal 31 that specifies the address output timing on the first AD bus 390.
1, an ERD signal 312 and an EWR signal 313 specifying memory read and write timings are also output.

第1ADバス390は、オルタネートメモリ340とエ
ミュレーションメモリ320と工/。
The first AD bus 390 is connected to the alternate memory 340 and the emulation memory 320.

エミュレート回路380とエバチップ310を接続して
いる。第2ADバス400は、ユーザメモリ330とI
10エミュレート回路380を接続している。
The emulator circuit 380 and the evaluation chip 310 are connected. The second AD bus 400 connects the user memory 330 and
10 emulation circuit 380 is connected.

次に第7図AないしEのタイミングチャートを用いて、
ICE動作時のメモリアクセスの動作について説明する
。これらの図で、tl−t2.t3−t4.t4−t5
は、命令フードフェッチのタイミングを、t2−t3は
、データアクセスのタイミングを示している。そのため
、t2−t3期間中データアクセス信号303が1とな
っている。
Next, using the timing charts in Figures 7A to E,
The memory access operation during ICE operation will be explained. In these figures, tl-t2. t3-t4. t4-t5
indicates the timing of instruction food fetch, and t2-t3 indicates the timing of data access. Therefore, the data access signal 303 is 1 during the period t2-t3.

又データアクセス時のタイミングで、実線はメモリから
の読み込み、破線はメモリへの書き込みを示す。
Also, regarding the timing of data access, a solid line indicates reading from memory, and a broken line indicates writing to memory.

第7図Aは、ユーザプログラムを実行している時のエミ
ュレーションメモリ320への、 第7図Bは、ユーザ
プログラムを実行している時のユーザメモリ330への
メモリアクセスのタイミングチャートである。87割り
込み処理を行なっていないので、SVMOD信号306
は0になっている。そのため、第1チツプセレクト信号
307は0になる。ここでメモリアクセスのアドレスが
、エミュレータ3ンメモリ320の領域ならハ、第2チ
ツプセレクト信号308が1になりエミュレーションメ
モリ320がメモリアクセス可能となる。メモリアクセ
スのアドレスが、ユーザメモリ330の領域ならば、第
3チツプセレクト信号309が1になりユーザメモリ3
30がメモリアクセス可能となる。エバチップ310は
、エミュレーションメモリ320及びユーザメモリ33
0に対して命令コードフェッチ、データアクセスの処理
を行ないユーザプログラムを実行する。
FIG. 7A is a timing chart of memory access to emulation memory 320 when a user program is being executed, and FIG. 7B is a timing chart of memory access to user memory 330 when a user program is being executed. 87 interrupt processing is not performed, the SVMOD signal 306
is 0. Therefore, the first chip select signal 307 becomes 0. If the memory access address is an area of the emulator 3 non-memory 320, the second chip select signal 308 becomes 1 and the emulation memory 320 becomes memory accessible. If the memory access address is an area of the user memory 330, the third chip select signal 309 becomes 1 and the user memory 330
30 becomes memory accessible. The evaluation chip 310 includes an emulation memory 320 and a user memory 33.
0, performs instruction code fetch and data access processing, and executes the user program.

第7図Cは、オルタネ−トメモリ340内に格納される
モニタプログラムがオルタネ−トメモリ340に対して
、命令フードフェッチ及びデータアクセスをしている時
のタイミングチャートである。87割り込み処理中なの
で、SVMOD信号306は1になっている。第1出力
ポート304はOとなっている。第6図Bより第1チツ
プセレクト信号307は1になり、第2チツプセレクト
信号308と第3チツプセレクト信号309は0となり
オルタネ−トメモリ340がメモリアクセス可能となる
。エバチップ310は、オルタネ−トメモリ340に対
して命令コードフェッチ、データアクセスの処理を行な
いモニタプログラムを実行する。
FIG. 7C is a timing chart when the monitor program stored in the alternate memory 340 is fetching instructions and accessing data to the alternate memory 340. Since the 87 interrupt is being processed, the SVMOD signal 306 is 1. The first output port 304 is set to O. From FIG. 6B, the first chip select signal 307 becomes 1, the second chip select signal 308 and the third chip select signal 309 become 0, and the alternate memory 340 becomes memory accessible. The evaluation chip 310 performs instruction code fetch and data access processing for the alternate memory 340, and executes the monitor program.

第7図りは、87割り込み処理時にモニタプロクラムが
エミュレーションメモリ320に対してデータアクセス
をする時の、第7図Eは、87割り込み処理時にモニタ
プログラムがエミュレーションメモリ330に対してデ
ータアクセスをする時のタイミングチャートである。8
7割り込み処理中なので、SVMOD信号306は1に
なっている。tl−t2の時点ではデータアクセス信号
303がOとなるので、第1チツプセレクト信号307
は1、第2チツプセレクト信号308は0、第3チツプ
セレクト信号309は0となり、オルタネ−トメモリ3
40がアクセス可能となり、オルタネ−トメモリ340
から命令コードフェッチが行なわれる。モニタプログラ
ムによって、tllの時点で第1出力ボート304が1
に設定された後、t2−t3でデータアクセスが行なわ
れると第1チツプセレクト信号307は0になる。
Figure 7 shows when the monitor program accesses data to the emulation memory 320 during 87 interrupt processing, and Figure 7 E shows when the monitor program accesses data to the emulation memory 330 during 87 interrupt processing. This is a timing chart. 8
7 interrupt processing is in progress, so the SVMOD signal 306 is 1. At the time tl-t2, the data access signal 303 becomes O, so the first chip select signal 307
is 1, the second chip select signal 308 is 0, the third chip select signal 309 is 0, and the alternate memory 3
40 becomes accessible, and the alternate memory 340
An instruction code fetch is performed from there. The monitor program causes the first output port 304 to be set to 1 at the time of tll.
After being set to 0, when data access is performed from t2 to t3, the first chip select signal 307 becomes 0.

データアクセスのアドレスが、エミュレーションメモリ
320の領域ならば第2チツプセレクト信号308は1
となり、エミュレーションメモリ320はアクセス可能
となりエミュレーションメモリ330からデータアクセ
スが行なわれる。
If the data access address is an area of the emulation memory 320, the second chip select signal 308 is set to 1.
As a result, emulation memory 320 becomes accessible and data access is performed from emulation memory 330.

データアクセスのアドレスが、ユーザメモリ330の領
域ならば第3チツプセレ1クト信号309は1となり、
ユーザメモリ330にRD信号315とWR信号316
が出力されユーザメモリ330からデータアクセスが行
なわれる。t3の時点でデータアクセス信号303が0
となるので、第1チツプセレクト信号307は1、第2
チツプセレクト信号308は0、第3チツプセレクト信
号309はOとなり、オルタネ−トメモリ340がアク
セス可能となり、t3−t4.t4−t5ではオルタネ
−トメモリ340から命令コードフェッチが行なわれる
If the data access address is an area of the user memory 330, the third chip select signal 309 becomes 1,
RD signal 315 and WR signal 316 in user memory 330
is output and data access is performed from the user memory 330. At time t3, the data access signal 303 is 0.
Therefore, the first chip select signal 307 is 1, the second chip select signal 307 is
The chip select signal 308 becomes 0, the third chip select signal 309 becomes O, and the alternate memory 340 becomes accessible, t3-t4. At t4-t5, an instruction code is fetched from the alternate memory 340.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のエバチップを用いたICEでは、87割
り込み処理中にエミュレーションメモリ及びユーザメモ
リへデータアクセスを行なうために、メモリアクセス命
令以外に、その命令の前後で、出力ポートへの設定命令
を実行する必要があり、モニタプログラムによるエミュ
レーションメモリ及びユーザメモリへの処理を高速に行
なう事ができない。
In the ICE using the conventional Eva chip described above, in order to access data to the emulation memory and user memory during 87 interrupt processing, in addition to the memory access instruction, an instruction to set the output port is executed before and after the instruction. This makes it impossible for the monitor program to process the emulation memory and user memory at high speed.

又、オルタネ−トメモリとエミュレーションメモリ及び
ユーザメモリの切り替えを行なうために、ボートを1端
子づつ使用する必要があり、ユーザに対し使用するボー
トに制限を加える必要があった。
Furthermore, in order to switch between the alternate memory, emulation memory, and user memory, it is necessary to use one terminal of each port, and it is necessary to impose restrictions on the ports that can be used by the user.

更にオルタネ−トメモリとエミュレーションメモリ及び
ユーザメモリを切り替えるチップセレクト信号を作成す
るために、エバチップ外部にステータス信号のデコード
回路、チップセレクト信号を作成するチップセレクト回
路、ユーザメモリに接続するバスを切り替えるバスセレ
クト回路等の付加回路が必要となりICEの部品数が増
加するという欠点があった。
Furthermore, in order to create a chip select signal that switches between alternate memory, emulation memory, and user memory, there is a status signal decoding circuit outside the evaluation chip, a chip select circuit that creates a chip select signal, and a bus select circuit that switches the bus connected to the user memory. There is a drawback that an additional circuit such as a circuit is required, which increases the number of parts of the ICE.

〔課題を解決するための手段〕[Means to solve the problem]

本発明によるマイクロコンピュータは、命令実行を行な
う命令実行手段と、外部装置とデータの入出力処理を行
なう複数の入出力手段と、出力端子と、外部装置とのデ
ータ転送処理を行なうための命令による入出力処理に同
期して出力端子の状態を制御し、出力端子の状態に同期
して複数の入出力手段の中から1つを選択する選択部と
を備えている。
A microcomputer according to the present invention includes an instruction execution means for executing instructions, a plurality of input/output means for inputting/outputting data to/from an external device, an output terminal, and a plurality of input/output means for inputting/outputting data to/from an external device. The apparatus includes a selection section that controls the state of the output terminal in synchronization with the input/output processing and selects one of the plurality of input/output means in synchronization with the state of the output terminal.

すなわち、本発明のエバチップは、従来のエバチップに
比べて、87割り込み処理中にエミュレーションメモリ
及びユーザメモリに対してデータアクセスを行なうため
の特殊命令が追加され、その特殊命令によりエミュレー
ションメモリ及びユーザメモリに対してデータアクセス
を行なうタイミングにはそのタイミングに同期して例え
ば0になる信号をエバチップ内で作成し、チップセレク
ト用の信号として外部に出力している。又その信号に同
期してバス制御ユニットがバスの切り替え動作を行なっ
ている。
That is, compared to the conventional Eva chip, the Eva chip of the present invention has a special instruction added for accessing data to the emulation memory and user memory during 87 interrupt processing, and the special instruction allows access to the emulation memory and user memory. On the other hand, at the timing of data access, a signal that becomes 0, for example, is generated within the EV chip in synchronization with that timing, and is output to the outside as a chip select signal. Furthermore, the bus control unit performs a bus switching operation in synchronization with the signal.

〔実施例〕〔Example〕

次に、本発明の第1の実施例であるエバチップを用いた
ICEの構成を第1図のブロック図を用いて説明する。
Next, the configuration of an ICE using an Eva chip, which is a first embodiment of the present invention, will be explained using the block diagram of FIG.

本実施例のエバチップでは、87割り込み処理中にエミ
ュレーションメモリ及びユーザメモリに対してデータア
クセスを行なうための特殊転送命令が新しく設定さh、
その特殊命令によりエミュレーション及びユーザメモリ
に対してデータアクセスを行なうタイミングに、そのタ
イミングに同期して0になる信号をエバチップ内で作成
し、判別用の信号として外部に出力する。
In the evaluation chip of this embodiment, a special transfer instruction for accessing data to the emulation memory and user memory during 87 interrupt processing is newly set.
A signal that becomes 0 in synchronization with the timing of data access to the emulation and user memory according to the special command is created within the EV chip, and is output to the outside as a signal for discrimination.

又その信号に同期してバス制御ユニットがバスの切り替
え処理を行なう。
In addition, the bus control unit performs bus switching processing in synchronization with the signal.

すなわち、第1図に示すICEは、本発明に基づくエバ
チップ110と、エミュレーションメモリ120と、ユ
ーザメモリ130と、オルタネ−トメモリ140と、ブ
レーク機能回路150で構成されている。これらのうち
、エミュレーションメモリ120、ユーザメモリ130
、オルタネ−トメモリ140、ブレーク機能回路150
の構成及び機能は、従来例で説明したものと同一のため
、詳細な説明を省略する。
That is, the ICE shown in FIG. 1 is composed of an evaluation chip 110, an emulation memory 120, a user memory 130, an alternate memory 140, and a break function circuit 150 based on the present invention. Of these, the emulation memory 120 and the user memory 130
, alternate memory 140, break function circuit 150
The configuration and functions of the device are the same as those described in the conventional example, so detailed explanation will be omitted.

エバチップ110は、CPU部110−1と、バス制御
ユニット110−5と、CPU部11〇−1とバス制御
ユニッ) 110−5を接続する第1内部バス110−
4と、第1PO’RT110−6と、バス制御ユニット
110−5と第1PORTIIO−6を接続する内部バ
ス2 110−7と、NANDゲー)110−2と、A
NDゲート110−3で構成される。エバチップ310
が対象とするマイクロコンピュータの入出力ボートは入
出力ボート機能の他に、外部メモリ拡張機能を有してい
る。CPU部110−1は、命令実行処理を行なう他に
、87割り込み中はlを出力SVMOD信号110−1
0と、データアクセスのバスサイクルに同期して1を出
力するデータアクセス信号110−9と、CPU部11
0−1が本発明に基づく特殊転送命令の実行に同期して
1を出力するSIF信号110−8と、後述する第1F
ORTIIO−6を入出力ポートとして使用するかを指
定するPSEL信号110−14をそれぞれ出力する。
The evaluation chip 110 includes a CPU section 110-1, a bus control unit 110-5, and a first internal bus 110-5 that connects the CPU section 110-1 and the bus control unit 110-5.
4, the first PO'RT 110-6, the internal bus 2 110-7 connecting the bus control unit 110-5 and the first PORTIIO-6, the NAND game) 110-2, and the A
It is composed of an ND gate 110-3. Evachip 310
In addition to the input/output boat function, the microcomputer's input/output board that is the subject of this paper has an external memory expansion function. In addition to executing instruction processing, the CPU section 110-1 outputs l during the 87 interrupt and outputs the SVMOD signal 110-1.
0, a data access signal 110-9 that outputs 1 in synchronization with the data access bus cycle, and the CPU section 11.
An SIF signal 110-8 in which 0-1 outputs 1 in synchronization with the execution of a special transfer instruction based on the present invention, and a first F signal to be described later.
Each outputs a PSEL signal 110-14 specifying whether ORTIIO-6 is used as an input/output port.

バス制御ユニッ) 110−5は後述するALT信号1
17が00時は、CPU部11〇−1からのメモリアク
セスの要請を受けてそのメモリアクセスのアドレスに対
する判別処理を行ない、アクセスアドレスがエミュレー
ションメモリ120の領域ならば第1ADバス160に
対してメモリアクセスを起こし、ユーザメモリ130の
領域ならば第2ADバス170に対してメモリアクセス
を起こす機能を持つ。後述するALT信号117が1の
時は、−律第LADバス160に対してメモリアクセス
を起こす。又、バス制御ユニット1.10−5は、第1
ADバス160上のアドレス出力タイミングを指定する
EALE信号111とメモリ読み出し及び書き込みタイ
ミングを指定するERD信号112とEWR信号113
と、第2内部バス110−7上のアドレス出力タイミン
グを指定するIALE信号110−11とメモリ読み出
し及び書き込みタイミングを指定するIRD信号110
−12とIWR信号110−13もそれぞれ出力する。
bus control unit) 110-5 is an ALT signal 1 which will be described later.
17 is 00:00, upon receiving a memory access request from the CPU unit 110-1, a determination process is performed on the address of the memory access, and if the access address is an area of the emulation memory 120, the memory is sent to the first AD bus 160. It has the function of causing memory access to the second AD bus 170 if it is an area of the user memory 130. When the ALT signal 117, which will be described later, is 1, a memory access is made to the LAD bus 160. Moreover, the bus control unit 1.10-5
EALE signal 111 that specifies address output timing on AD bus 160, ERD signal 112 and EWR signal 113 that specifies memory read and write timing.
, an IALE signal 110-11 that specifies address output timing on the second internal bus 110-7, and an IRD signal 110 that specifies memory read and write timing.
-12 and IWR signals 110-13 are also output, respectively.

第1FORTI 10−6は、入出力ポート機能と外部
メモリ拡張機能を有しており、PSEL信号110−1
4の値によって、第2ADバス170を入出力ポートと
して使用するかバスとして使用するかが制御される。N
ANDゲー) 110−2とANDゲート110−3は
、CPU部11O−1から出力されるSVMOD信号1
10−10と、データアクセス信号110−9と、SI
F信号110−8を使用して、バス制御ユニット11〇
−5とオルタネ−トメモリ140とエミュレーションメ
モリ120を制御するためのALT信号117を作り出
す。又エバチップ110は、現在のエバチップ110内
部の状態を示すステータス信号118も出力している。
The first FORTI 10-6 has an input/output port function and an external memory expansion function, and the PSEL signal 110-1
The value of 4 controls whether the second AD bus 170 is used as an input/output port or as a bus. N
AND gate) 110-2 and AND gate 110-3 receive SVMOD signal 1 output from CPU section 11O-1.
10-10, data access signal 110-9, and SI
The F signal 110-8 is used to generate an ALT signal 117 for controlling the bus control unit 110-5, alternate memory 140, and emulation memory 120. The Eva chip 110 also outputs a status signal 118 indicating the current internal state of the Eva chip 110.

オルタネ−トメモリ140及びエミュレータ3ンメモリ
120は、エバチップ110と第1ADバス160で接
続されている。ユーザメモリ130は、エバチップ11
0と第2ADバス170で接続されている。
The alternate memory 140 and the third emulator memory 120 are connected to the evaluation chip 110 by a first AD bus 160. The user memory 130 is the Eva chip 11
0 through a second AD bus 170.

次に第2図AないしEのタイミングチャートを用いて、
ICE動作時のメモリアクセスの動作について説明する
。これらの図で、tl−t2.t3−t4.t4−t5
は、命令コードフェッチのタイミングを、t2−t3は
、データアクセスのタイミングを示しており、t2−t
3期間中データアクセス信号110−9が1となってい
る。又データアクセス時のタイミングで、実線はメモリ
からの読み込み、破線はメモリへの書き込みを示す。
Next, using the timing charts in Figure 2 A to E,
The memory access operation during ICE operation will be explained. In these figures, tl-t2. t3-t4. t4-t5
indicates the instruction code fetch timing, t2-t3 indicates the data access timing, and t2-t
The data access signal 110-9 is 1 during the 3 periods. Also, regarding the timing of data access, a solid line indicates reading from memory, and a broken line indicates writing to memory.

第2図Aは、ユーザプログラムを実行している時のエミ
ュレーションメモリ120への、第2図Bは、ユーザメ
モリ130へのメモリアクセスのタイミングチャートで
ある。本例では87割り込み処理を行なっていないので
、SVMOD信号110−10は0でALT信号117
も0となる。
FIG. 2A is a timing chart of memory access to the emulation memory 120 while a user program is being executed, and FIG. 2B is a timing chart of memory access to the user memory 130. In this example, 87 interrupt processing is not performed, so the SVMOD signal 110-10 is 0 and the ALT signal 117
also becomes 0.

ALT信号117によって制御されるバス制御ユニット
110−5は、ALT信号117が0なのでエミュレー
ションメモリ120を参照対象トスる。エバチップ11
0は、エミュレーションメモリ120とユーザメモリ1
30に対して命令フードフェッチ、データアクセスの処
理を行ないユーザプログラムを実行する。
Since the ALT signal 117 is 0, the bus control unit 110-5 controlled by the ALT signal 117 tosses the emulation memory 120 as a reference object. Evachip 11
0 is emulation memory 120 and user memory 1
30 to perform instruction food fetch and data access processing and execute the user program.

第2図Cは、87割り込み処理中でモニタプログラムが
オルタネ−トメモリ140に対して、命令コードフェッ
チ及びデータアクセスをしている時のタイミングチャー
トである。87割り込み処理中なノテを、SVMOD信
号110−1.0ハ1になっている。又、特殊入出力命
令は使用していないのでSIF信号110−8は0にな
っている。
FIG. 2C is a timing chart when the monitor program fetches an instruction code and accesses data from the alternate memory 140 during 87 interrupt processing. Note that the SVMOD signal 110-1.0 is 1 while the 87 interrupt is being processed. Also, since no special input/output instructions are used, the SIF signal 110-8 is 0.

前記2つの信号の値よりALT信号117は1となり、
ALT信号117によって制御されるバス制御ユニッ)
 110−5は、−律第LADバス160を選択し、オ
ルタネ−トメモリ140がメモリアクセス可能となる。
From the values of the two signals, the ALT signal 117 becomes 1,
(bus control unit controlled by ALT signal 117)
110-5 selects the third LAD bus 160, and the alternate memory 140 becomes memory accessible.

エバチップ110は、オルタネ−トメモリ140に対し
て命令コードフェッチ、データアクセスの処理を行ない
モニタプログラムを実行する。
The evaluation chip 110 performs instruction code fetch and data access processing on the alternate memory 140, and executes the monitor program.

第2図りは87割り込み処理時にモニタプログラムがエ
ミュレーションメモリ120に、第2図Eは87割り込
み処理時にモニタプログラムがユーザメモリ130に対
して、データアクセスをする時のタイミングチャートで
ある。87割り込み処理中なので、SVMOD信号11
0−10)*1になっている。tl−t2のタイミング
は命令コードフェッチのタイミングなので、データアク
セス信号110−9がOとなっているので、ALT信号
117が1になり、ALT信号117によって制御され
るバス制御ユニット110−5は、−律第LADバス1
60を選択し、オルタネ−トメモリ140がメモリアク
セスの対象となる。t2−t3のタイミングは特殊転送
命令によるデータアクセスのタイミングを示しSIF信
号110−8は1に、データアクセス信号110−9が
1となり、ALT信号117が0になる。そのためAL
T信号117によって制御されるバス制御ユニット11
0−5は、第2図りではメモリアクセスの対象がエミュ
レーションメモリ120なので、第LADバス160を
選択しエミュレーションメモリ120がメモリアクセス
の対象になる。又第2図Eの場合、対象はユーザメモリ
130なので、エバチップ110は、ユーザメモリ13
0に対して、データアクセスを行なう。t3−t4.t
4−t5のタイミングはデータアクセス信号110−9
が0となっているので、ALT信号117が1になりA
LT信号117によって制御されるバス制御ユニ、、)
110−5は、−律第1ADバス160を選択しオルタ
ネ−トメモリ140がメモリアクセスの対象になる。エ
バチップ110、オルタネ−トメモリ140に対して、
命令コードフェッチを行なう。
The second figure is a timing chart when the monitor program accesses data to the emulation memory 120 during 87 interrupt processing, and the second figure E is a timing chart when the monitor program accesses data to the user memory 130 during 87 interrupt processing. Since the 87 interrupt is being processed, the SVMOD signal 11
0-10)*1. Since the timing of tl-t2 is the instruction code fetch timing, the data access signal 110-9 is O, so the ALT signal 117 becomes 1, and the bus control unit 110-5 controlled by the ALT signal 117, - Ritsudai LAD Bus 1
60 is selected, and the alternate memory 140 becomes the target of memory access. The timing of t2-t3 indicates the timing of data access by the special transfer command, and the SIF signal 110-8 becomes 1, the data access signal 110-9 becomes 1, and the ALT signal 117 becomes 0. Therefore, AL
Bus control unit 11 controlled by T signal 117
0-5, since the target of memory access is the emulation memory 120 in the second diagram, the LAD bus 160 is selected and the emulation memory 120 becomes the target of memory access. In addition, in the case of FIG. 2E, the target is the user memory 130, so the Eva chip 110 is
Perform data access to 0. t3-t4. t
4-t5 timing is data access signal 110-9
is 0, so the ALT signal 117 becomes 1 and A
Bus control unit controlled by LT signal 117, )
110-5 selects the first AD bus 160, and the alternate memory 140 becomes the object of memory access. For the Eva chip 110 and the alternate memory 140,
Perform instruction code fetch.

次に、本発明の第2の実施例であるエバチップを用いた
ICEはデータアクセスの対象をオルタネ−トメモリか
らエミュレーションメモリ及びユーザメモリに切り替え
る特殊命令1と、データアクセスの対象をエミュレーシ
ョンメモリ及びユーザメモリからオルタネ−トメモリに
切り替える特殊命令2を有する。
Next, the ICE using the Eva chip, which is the second embodiment of the present invention, has a special instruction 1 that switches the data access target from the alternate memory to the emulation memory and the user memory, and a special command 1 that switches the data access target from the emulation memory and the user memory. It has a special instruction 2 for switching from memory to alternate memory.

第3図に示すICEは、本発明に基づくエバチップ21
0と、エミュレーションメモリ220と、ユーザメモリ
230と、オルタネ−トメモリ240と、ブレーク機能
回路250で構成されている。これらのうち、エミュレ
ーションメモリ220、ユーザメモリ230、オルタネ
−トメモリ240、ブレーク機能回路250の構成及び
機能は、従来例で説明したものと同一のため、詳細な説
明を省略する。
The ICE shown in FIG.
0, an emulation memory 220, a user memory 230, an alternate memory 240, and a break function circuit 250. Of these, the configurations and functions of the emulation memory 220, user memory 230, alternate memory 240, and break function circuit 250 are the same as those described in the conventional example, and therefore detailed explanations will be omitted.

エバチップ210は、CPU部210−1と、バス制御
ユニット210−5と、CPU部21〇−1とバス制御
ユニツ) 210−5を接続する第1内部バス210−
4と、第1PO’RT210−6と、バス制御ユニット
210−5と第1PORT210−6を接続する第2内
部バス210−7と、R8FF210−15と、NAN
Dゲート210−2と、ANDゲート210−3とを有
する。これらのうち、バス制御ユニット210−5と、
信号線の第1内部バス210−4と、FORTl  2
10−6と、第2内部バス210−7は実施例1で説明
したものと同じため、詳細な説明を省略する。CPU部
210−1は、命令実行処理を行ない、87割り込み中
は1を出力するSvMOD信号210−10と、CPU
部210−1のメモリアクセスの要請がデータアクセス
の場合そのバスサイクルに同期して1を出力するデータ
アクセス信号210−9と、特殊命令1の実行に同期し
てシングルパルスが出力されるFSET信号210−1
6と、特殊命令2の実行に同期してシングルパルスが出
力されるFCLR信号21〇−17と、第1FORT2
10−6を入出力ボートとして使用するかを指定するP
SEL信号210−14を出力する。R3−FF210
−15とNANDゲート210−2とANDゲート21
〇−3は、CPU部210−1から出力されるSvMO
D信号210−10と、データアクセス信号210−9
と、FSET信号210−16と、FCLR信号210
−17を使用して、バス制御ユニット210−5とオル
タネ−トメモリ240とエミュレーションメモリ220
を制御スるためのALT信号217を作り出す。又エバ
チップ210は、現在のエバチップ210内部の状態を
示すステータス信号218も出力している。
The evaluation chip 210 includes a CPU section 210-1, a bus control unit 210-5, and a first internal bus 210-5 that connects the CPU section 210-1 and the bus control unit 210-5.
4, the first PO'RT210-6, the second internal bus 210-7 connecting the bus control unit 210-5 and the first PORT210-6, the R8FF210-15, and the NAN
It has a D gate 210-2 and an AND gate 210-3. Among these, the bus control unit 210-5,
The first internal bus 210-4 as a signal line and the FORTI 2
Since the bus 10-6 and the second internal bus 210-7 are the same as those described in the first embodiment, detailed description thereof will be omitted. The CPU section 210-1 performs instruction execution processing, and outputs an SvMOD signal 210-10 that outputs 1 during an 87 interrupt;
When the memory access request of unit 210-1 is data access, a data access signal 210-9 outputs 1 in synchronization with the bus cycle, and an FSET signal outputs a single pulse in synchronization with the execution of special instruction 1. 210-1
6, FCLR signal 210-17 which outputs a single pulse in synchronization with the execution of special instruction 2, and 1st FORT 2.
P to specify whether to use 10-6 as an input/output port
Outputs SEL signal 210-14. R3-FF210
-15 and NAND gate 210-2 and AND gate 21
〇-3 is the SvMO output from the CPU section 210-1
D signal 210-10 and data access signal 210-9
, FSET signal 210-16, and FCLR signal 210
-17 is used to connect the bus control unit 210-5, alternate memory 240 and emulation memory 220.
The ALT signal 217 is generated to control the ALT signal 217. The Eva chip 210 also outputs a status signal 218 indicating the current internal state of the Eva chip 210.

次に第4図AないしEのタイミングチャートを用いて、
ICE動作時のメモリアクセスの動作について説明する
。これらの図で、tl−t2.t2−t3.t4−t5
は、命令コードフェッチのタイミングを、t3−t4は
、データアクセスのタイミングを示している。そのため
、t3−t4期間中データアクセス信号210−9が1
となっている。又データアクセス時のタイミングで、実
線はメモリからの読み込み、破線はメモリへの書き込み
を示す。
Next, using the timing charts in Figure 4 A to E,
The memory access operation during ICE operation will be explained. In these figures, tl-t2. t2-t3. t4-t5
indicates the timing of instruction code fetch, and t3-t4 indicates the timing of data access. Therefore, the data access signal 210-9 is 1 during the period t3-t4.
It becomes. Also, regarding the timing of data access, a solid line indicates reading from memory, and a broken line indicates writing to memory.

第4図A、Bのタイミングチャートは、ユーザプログラ
ムを実行している時のエミュレーションメモリ220と
ユーザメモリ230へのメモリアクセスのタイミングチ
ャートである。この動作は、前述の実施例と同じため詳
細な説明は省略する。
The timing charts in FIGS. 4A and 4B are timing charts for memory access to the emulation memory 220 and the user memory 230 when a user program is being executed. This operation is the same as in the previous embodiment, so a detailed explanation will be omitted.

第4図Cのタイミングチャートは、87割り込み処理中
にモニタプログラムがオルタネ−トメモリ240に対し
て、命令コードフェッチ及びデータアクセスをしている
時のタイミングチャートである。87割り込み処理中な
のでを、SVMOD信号210−10は1になっている
が、特殊命令1は使用していないのでR8−FF 21
0−15はRESET状態となっている。前記2つの信
号の値より、ALT信号217は1となりALT信号2
17によって制御されるバス制御ユニット210−5は
、−律第LADバス260を選択しオルタネ−トメモリ
240がメモリアクセスの対象となる。エバチップ21
0は、オルタネ−トメモリ240に対して命令コードフ
ェッチ、データアクセスの処理を行ないモニタプログラ
ムを実行する。
The timing chart in FIG. 4C is a timing chart when the monitor program fetches an instruction code and accesses data from the alternate memory 240 during the 87 interrupt processing. Since the 87 interrupt is being processed, the SVMOD signal 210-10 is 1, but the special instruction 1 is not used, so the R8-FF 21
0-15 are in the RESET state. Based on the values of the two signals, the ALT signal 217 becomes 1, and the ALT signal 2
The bus control unit 210-5 controlled by the bus control unit 210-5 selects the third LAD bus 260, and the alternate memory 240 becomes the target of memory access. Evachip 21
0 performs instruction code fetch and data access processing for the alternate memory 240 and executes the monitor program.

第4図りのタイミングチャートは、87割り込み処理時
にモニタプログラムがエミュレーションメモリ220に
対して、第4図Eのタイミングチャートは、87割り込
み処理時にモニタプログラムがユーザメモリ230に対
してデータアクセスをする時のタイミングチャートであ
る。87割り込み処理中なので、SVMOD信号21〇
−10は1になっている。tl−t2.t2−t3のタ
イミングは命令コードフェッチのタイミングなので、デ
ータアクセス信号210−9が0となっているので、A
LT信号217が1になりALT信号217によって制
御されるバス制御ユニット210−5は、−律第LAD
バス260を選択しオルタネ−トメモリ240がメモリ
アクセスの対象となる。エバチップ210は、オルタネ
−トメモリ240に対して、命令コードフェッチを行な
う。t3−t4のタイミングはエミュレーションメモリ
220に対してのデータアクセスのタイミングを示して
いる。tllの時点で、特殊命令1の実行によりFSE
T信号210−16にシングルパルスが出力され、R3
−FF210−15がSETされる。データアクセスの
タイミングであるt3−t4では、R8−FF 210
−15はセット状態で、データアクセス信号21〇−9
が1となっているので、ALT信号217が0になりA
LT信号217によって制御されるバス制御ユニツ)2
10−5は、メモリアクセスのアドレスによってバスの
切り替え動作を行なう。
The timing chart in Figure 4 shows when the monitor program accesses data from the emulation memory 220 during 87 interrupt processing, and the timing chart in Figure 4 E shows when the monitor program accesses data from the user memory 230 during 87 interrupt processing. This is a timing chart. Since the 87 interrupt is being processed, the SVMOD signal 210-10 is 1. tl-t2. Since the timing of t2-t3 is the instruction code fetch timing, the data access signal 210-9 is 0, so A
When the LT signal 217 becomes 1, the bus control unit 210-5 controlled by the ALT signal 217 outputs -LAD
Bus 260 is selected and alternate memory 240 becomes the target of memory access. The evaluation chip 210 fetches an instruction code from the alternate memory 240. The timing of t3-t4 indicates the timing of data access to the emulation memory 220. At the time of tll, FSE is activated by executing special instruction 1.
A single pulse is output to the T signal 210-16, and R3
-FF210-15 is set. At t3-t4, which is the data access timing, R8-FF 210
-15 is set state, data access signal 210-9
is 1, so the ALT signal 217 becomes 0 and A
Bus control unit controlled by LT signal 217)2
10-5 performs a bus switching operation based on a memory access address.

第4図りの場合、対象はエミュレーションメモリ220
なので、第2ADバス270を選択しALT信号217
が0なので1、エミュレーションメモリ220がメモリ
アクセスの対象となる。第4図Eの場合、対象はユーザ
メモリ230なので、第2ADバス270を選択しエバ
チップ210は、ユーザメモリ230に対して、データ
アクセスを行なう。R3−FF210−15は、t41
の時点で特殊命令2によってRESETされ、ALT信
号217が1になる。
In the case of the fourth diagram, the target is the emulation memory 220
Therefore, the second AD bus 270 is selected and the ALT signal 217 is
Since 0 is 1, the emulation memory 220 becomes the target of memory access. In the case of FIG. 4E, the target is the user memory 230, so the second AD bus 270 is selected and the Eva chip 210 accesses data to the user memory 230. R3-FF210-15 is t41
At the point in time, it is RESETed by special command 2, and the ALT signal 217 becomes 1.

これ以降、データアクセスはオルタネ−トメモリ240
に対して行なわれる。t4−t5のタイミングはデータ
アクセス信号210−9が0となっているので、ALT
信号217が1になりALT信号217によって制御さ
れるバス制御ユニット210−5は、−律第LADバス
260を選択し、ALT信号217が1なので、オルタ
ネ−トメモリ240がメモリアクセスの対象となる。エ
バチップ210は、オルタネ−トメモリ240に対して
、命令フードフェッチを行なう。
From now on, data access will be performed using the alternate memory 240.
is carried out against Since the data access signal 210-9 is 0 at the timing of t4-t5, the ALT
Since the signal 217 becomes 1, the bus control unit 210-5 controlled by the ALT signal 217 selects the -regular LAD bus 260, and since the ALT signal 217 is 1, the alternate memory 240 becomes the target of memory access. The evaluation chip 210 performs an instruction food fetch to the alternate memory 240.

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

以上説明したように本発明は、エバチップに87割り込
み処理中にエミュレーションメモリ及びユーザメモリに
データアクセスするため特殊命令を追加すると共に、デ
ータアクセス参照バスサイクルに同期して出力値を変更
するチップセレクト用出力端子を付加した事により、以
下に述べる効果が得られる。
As explained above, the present invention adds a special instruction to the evaluation chip to access data in the emulation memory and user memory during 87 interrupt processing, and also provides a chip select function that changes the output value in synchronization with the data access reference bus cycle. By adding an output terminal, the following effects can be obtained.

■ エミュレーションメモリ及びユーザメモリとオルタ
ネ−トメモリを切り替えるチップセレクト信号をエバチ
ップ内部より供給するため、外部にチップセレクト信号
を作成するための回路を付加する必要がなく、又ユーザ
メモリをアクセスするバスを切り替えるためのバスセレ
クト回路も付加する必要がなく、ICEの部品数を削減
する事ができる。
■ Since the chip select signal that switches between emulation memory, user memory, and alternate memory is supplied from inside the evaluation chip, there is no need to add an external circuit to create a chip select signal, and also switches the bus that accesses the user memory. There is no need to add a bus select circuit for this purpose, and the number of ICE parts can be reduced.

■ 従来のエバチップを用いたICEのように、モニタ
プログラム実行中にエミュレーションメモリ及びユーザ
メモリをアクセスするために、ソフトウェアで操作する
ポートを1端子づつ設定する必要がなく、エミュレーシ
ョンメモリ及びユーザメモリのアクセス速度を高める事
が出来る。
■ Unlike ICE using conventional Eva chips, there is no need to set each port to be operated by software one by one in order to access emulation memory and user memory while the monitor program is running. You can increase the speed.

■ さらに87割り込み処理中のエミュレーションメモ
リ及びユーザメモリへのデータアクセスを、1命令で実
行する事ができるため、モニタプログラムからのエミュ
レーションメモリ及びユーザメモリに対する処理を高速
化す。
(2) Furthermore, data access to the emulation memory and user memory during 87 interrupt processing can be executed with one instruction, thus speeding up processing from the monitor program to the emulation memory and user memory.

■ 87割り込み中でのエミュレーションメモリ及びユ
ーザメモリへのアクセスが1命令で実行する事ができ、
モニタプログラム中のエミュレーションメモリ及びユー
ザメモリへのアクセス時の手順を簡素化する事が出来る
■ Access to emulation memory and user memory during 87 interrupts can be executed with one instruction.
The procedure for accessing the emulation memory and user memory during the monitor program can be simplified.

■ 出力ボートの値を設定しメモリアクセス対象を切り
替えるより、特殊命令でエバチップ内部の信号を切り替
える方が速度が早いので、エバチップは87割り込み処
理中に、本来持つ多様なメモリアクセス命令を、エミュ
レーションメモリ及びユーザメモリに対して、高速に実
行する事が出来る。
■ It is faster to use special instructions to switch internal signals of the Eva-chip than to set output port values and switch memory access targets. and user memory, it can be executed at high speed.

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

第1図は本発明の一実施例によるエバチップを使用した
ICEのブロック図、第2図AないしEは、第1図実施
例で使用されるエバチップの動作のタイミングチャート
図、第3図は他の実施例によるエバチップを使用したI
CEのブロック図、第4図AないしEは、第3図実施例
で使用されるエバチップの動作のタイミングチャート図
、第5図は従来のエバチップを使用したICEのブロッ
ク図、第6図AおよびBはそれぞれ第5図に示したチッ
プセレクト回路の回路図および真理値図、第7図Aない
しEは従来例で使用されるエバチップの動作のタイミン
グチャート図。 エバチップ・・・・・・110..210,310、C
PU部・・・・・・110−1,210−1、NAND
ゲート・・・・・・110−2,210−2,374、
ANDゲート・・・・・・110−3,210−3,3
75、内部バスト・・・・・110−4.210−4、
バス制御ユニット・・・・・・110−5.210−5
、PORTl・・・・・・110−6,210−6、内
mバス2・・・・・・110−7.210−7、SIF
信号・・・・・・110−8、データアクセス信号・・
・・・・l’l O−9,210−9,303、SVM
OD信号・−・・−・110−10゜210−10,3
06、IALE信号・・・・・・110−11,210
−11、IRD信号・・・・・・11〇−12,210
−12、IRD信号110−13゜210−13、PS
EL信号・・・・・・110−14゜210−14,3
21、EALE信号・・・・・・111゜211.31
1、ERD信号・・・・・・112,212゜312、
EWR信号・−・−113,213,303、ALE信
号・・・・・・114,214,314、RD倍信号・
・・・・115,215,315、WR倍信号−・・・
・116.216,316、ALT信号・・・・・・1
17゜217、ステータス信号・・・・・・118,2
18゜301.87割り込み要求信号・・・・・・11
9,219゜302、  エミュレーションメモリ・・
自・・120゜220.320、ユーザメモリ・・・・
・・130,230゜330、オルタネ−トメモリ・・
・・・・140,240゜340、ブレーク機能回路・
・・・・・150,250゜350、ADバスト・・・
・・160,260,390、ADババス・・・・・・
170,270,400、R8−FF・・・・・・21
0−15、FSET信号・・・・・・21〇−16、F
CL’R信号・・・・・・210−17、出力ポートド
・・・・・304、チップセレクト信号1・・・・・・
307、チップセレクト信号2・・・・・・308、チ
ップセレクト信号3・・・・・・309、デコード回路
・・・・・・360、チップセレクト回路・・・・・・
370.NORゲー)・・−・−376,377、IN
VERTER−・・・・・378、I10エミュレー)
回路・・・・・・380゜代理人 弁理士  内 原 
  音 声2図A 第2□F3 図C グ2田D IZ面E 第4 閃A 差4圀B $4 ′vMc 茅4 凹り 第 叉E 茅 A 茅 図5 羊 凹 り 箒 阿C 茅 刃E
FIG. 1 is a block diagram of an ICE using an EV chip according to an embodiment of the present invention, FIGS. 2 A to E are timing charts of the operation of the EV chip used in the embodiment of FIG. I using the Evachip according to the embodiment of
A block diagram of the CE, FIGS. 4A to 4E are timing charts of the operation of the EV chip used in the embodiment in FIG. 3, FIG. 5 is a block diagram of an ICE using a conventional EV chip, and FIGS. B is a circuit diagram and a truth value diagram of the chip select circuit shown in FIG. 5, respectively, and FIGS. 7A to 7E are timing charts of the operation of the EV chip used in the conventional example. Evachip...110. .. 210,310,C
PU section...110-1, 210-1, NAND
Gate...110-2, 210-2, 374,
AND gate...110-3, 210-3, 3
75, Internal bust...110-4.210-4,
Bus control unit...110-5.210-5
, PORTl...110-6, 210-6, Inner bus 2...110-7, 210-7, SIF
Signal...110-8, data access signal...
...l'l O-9,210-9,303,SVM
OD signal ----110-10゜210-10,3
06, IALE signal...110-11,210
-11, IRD signal...11〇-12,210
-12, IRD signal 110-13゜210-13, PS
EL signal...110-14°210-14,3
21, EALE signal...111°211.31
1. ERD signal...112,212°312,
EWR signal -113,213,303, ALE signal...114,214,314, RD double signal
...115,215,315, WR double signal--
・116.216,316, ALT signal...1
17°217, status signal...118,2
18゜301.87 Interrupt request signal...11
9,219°302, Emulation memory...
Self...120°220.320, User memory...
...130,230°330, alternate memory...
...140,240°340, break function circuit・
...150,250°350, AD bust...
・・・160,260,390, AD Babasu...
170,270,400, R8-FF...21
0-15, FSET signal...21〇-16, F
CL'R signal...210-17, output port...304, chip select signal 1...
307, Chip select signal 2...308, Chip select signal 3...309, Decode circuit...360, Chip select circuit...
370. NOR game) ---376,377, IN
VERTER-・・・378, I10 emulator)
Circuit...380°Representative Patent Attorney Hara Uchi
Sound 2 figure A 2nd □F3 figure C Gu2 field D IZ plane E 4th flash A Difference 4 circle B $4 ′vMc Mocha 4 Concave first fork E Mochi A Mocha picture 5 Sheep concave broom A C Kaya blade E

Claims (1)

【特許請求の範囲】[Claims] 命令実行を行なう命令実行手段と、外部装置に対してデ
ータの入出力処理を行なう複数の入出力手段と、端子と
、外部装置に対してデータ転送処理を行なうための命令
による入出力処理に同期して前記端子の状態を制御し、
前記端子の状態に同期して前記複数の入出力手段の中か
ら1つの入出力手段を選択する選択部とを備えることを
特徴とするマイクロコンピュータ。
A command execution means for executing commands, a plurality of input/output means for performing data input/output processing for external devices, a terminal, and synchronization with input/output processing by commands for performing data transfer processing for external devices. to control the state of the terminal;
A microcomputer comprising: a selection section that selects one input/output means from the plurality of input/output means in synchronization with the state of the terminal.
JP63175802A 1988-07-13 1988-07-13 Microcomputer Expired - Lifetime JPH0778753B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63175802A JPH0778753B2 (en) 1988-07-13 1988-07-13 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63175802A JPH0778753B2 (en) 1988-07-13 1988-07-13 Microcomputer

Publications (2)

Publication Number Publication Date
JPH0224732A true JPH0224732A (en) 1990-01-26
JPH0778753B2 JPH0778753B2 (en) 1995-08-23

Family

ID=16002501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63175802A Expired - Lifetime JPH0778753B2 (en) 1988-07-13 1988-07-13 Microcomputer

Country Status (1)

Country Link
JP (1) JPH0778753B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04139538A (en) * 1990-10-01 1992-05-13 Nec Corp Debugging microprocessor
JPH0466646U (en) * 1990-10-12 1992-06-12
JPH06139097A (en) * 1992-07-22 1994-05-20 Nec Corp Incircuit emulator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04139538A (en) * 1990-10-01 1992-05-13 Nec Corp Debugging microprocessor
JPH0466646U (en) * 1990-10-12 1992-06-12
JPH06139097A (en) * 1992-07-22 1994-05-20 Nec Corp Incircuit emulator

Also Published As

Publication number Publication date
JPH0778753B2 (en) 1995-08-23

Similar Documents

Publication Publication Date Title
KR101439873B1 (en) Peripheral communication
JP2004516548A5 (en)
US4095268A (en) System for stopping and restarting the operation of a data processor
US6516378B1 (en) Microprocessor for controlling busses
JPH0224732A (en) Microcomputer
JPH06214945A (en) Computer system and high-speed transfer method of information
JP2009526300A (en) Instruction set for microprocessors
JP2010003151A (en) Data processing apparatus
JP2002140284A (en) Micro-controller
JPH10105503A (en) Address resetting circuit for microcontroller
AU714669B2 (en) Peripheral device control
JP3077807B2 (en) Microcomputer system
JPH01261758A (en) Computer system
JPH1185673A (en) Method and device for controlling shared bus
JPH0277848A (en) Microcomputer
JP2004013289A (en) On-chip debugging method of microcontroller
JPH0814791B2 (en) Processing system
JP2008287557A (en) Bus system and microcomputer
JP2005276104A (en) Microcomputer
JP3006487B2 (en) Emulation device
Cates et al. An ASIC RISC-based I/O processor for computer applications
JPH07302255A (en) Semiconductor integrated circuit device, processor for emulating the same and emulator
JPH08328898A (en) User space access method and emulator
JPH09106359A (en) Semiconductor integrated circuit
JPH05242008A (en) Data processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070823

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20080823

Year of fee payment: 13

EXPY Cancellation because of completion of term