JP3357693B2 - Emulation memory mapping circuit and emulation system - Google Patents

Emulation memory mapping circuit and emulation system

Info

Publication number
JP3357693B2
JP3357693B2 JP30861792A JP30861792A JP3357693B2 JP 3357693 B2 JP3357693 B2 JP 3357693B2 JP 30861792 A JP30861792 A JP 30861792A JP 30861792 A JP30861792 A JP 30861792A JP 3357693 B2 JP3357693 B2 JP 3357693B2
Authority
JP
Japan
Prior art keywords
circuit
output
address
mapping
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.)
Expired - Fee Related
Application number
JP30861792A
Other languages
Japanese (ja)
Other versions
JPH06161807A (en
Inventor
英幸 川北
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP30861792A priority Critical patent/JP3357693B2/en
Publication of JPH06161807A publication Critical patent/JPH06161807A/en
Application granted granted Critical
Publication of JP3357693B2 publication Critical patent/JP3357693B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、インサーキットエミ
ュレータにおけるエミュレーションメモリのマッピング
回路に関し、特にメモリを高速にアクセスするターゲッ
トプロセッサに対応したエミュレーションメモリに最適
なマッピング回路に使用されるものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mapping circuit of an emulation memory in an in-circuit emulator, and more particularly to a mapping circuit most suitable for an emulation memory corresponding to a target processor which accesses the memory at high speed.

【0002】[0002]

【従来の技術】インサーキットエミュレータでは、ター
ゲットプロセッサがアクセスするメモリの代用として、
エミュレーションメモリを提供している。このようなエ
ミュレーションメモリにおいては、プロセッサが本来ア
クセスするメモリの構成にできるだけ近づけるために、
任意のアドレスをエミュレーションメモリに割り当てる
マッピング処理が行なわれている。
2. Description of the Related Art In an in-circuit emulator, as a substitute for a memory accessed by a target processor,
Provides emulation memory. In such an emulation memory, in order to be as close as possible to the configuration of the memory originally accessed by the processor,
A mapping process for allocating an arbitrary address to the emulation memory is performed.

【0003】図3は上述したマッピング処理を行うマッ
ピング回路及びその周辺の構成を示す図である。
FIG. 3 is a diagram showing a configuration of a mapping circuit for performing the above-described mapping process and its surroundings.

【0004】図3において、マッピング回路51は、エ
ミュレーションメモリ52の全アドレス空間のうちの1
つのアドレス領域、例えば1ページだけをマッピングす
るものである。ターゲットプロセッサ53がメモリ(図
示せず)をアクセスすると、そのアドレス信号の上位側
と、マッピング回路51に設けられたレジスタ54に外
部から設定されたマッピングアドレスとが比較され、両
者が一致した場合には、ターゲットプロセッサ53のメ
モリアクセスがエミュレーションメモリ52に割り当て
られたものとして、ヒット信号(HIT#)がエミュレ
ーションメモリ52のイネーブル信号として、マッピン
グ回路51からエミュレーションメモリ52に与えられ
る。これにより、エミュレーションメモリ52はアクセ
ス可能状態となり、ターゲットプロセッサ53から出力
されたアドレス信号の下位側でエミュレーションメモリ
52がアクセスされる。
[0004] In FIG. 3, a mapping circuit 51 has one of all address spaces of an emulation memory 52.
One address area, for example, only one page is mapped. When the target processor 53 accesses a memory (not shown), the upper side of the address signal is compared with a mapping address externally set in a register 54 provided in the mapping circuit 51, and when both match, The hit signal (HIT #) is given from the mapping circuit 51 to the emulation memory 52 as an enable signal of the emulation memory 52, assuming that the memory access of the target processor 53 is assigned to the emulation memory 52. As a result, the emulation memory 52 becomes accessible, and the emulation memory 52 is accessed on the lower side of the address signal output from the target processor 53.

【0005】図4は図3に示すマッピング回路におい
て、上述した比較動作を行う比較回路の具体的な回路構
成を示す図である。
FIG. 4 is a diagram showing a specific circuit configuration of a comparison circuit that performs the above-described comparison operation in the mapping circuit shown in FIG.

【0006】図4において、比較回路55では、ターゲ
ットプロセッサ53から出力されたアドレス信号の上位
側nビット(A0 〜An-1 )と、レジスタ54に設定さ
れたマッピングアドレスのそれぞれが排他的否定論理和
(EX−NOR)ゲート56により比較され、それぞれ
のEX−NORゲート56による比較結果がすべて一致
したことが否定論理積(NAND)ゲート57によって
検出されると、ヒット信号がイネーブル信号(CS#)
として出力される。
In FIG. 4, in a comparison circuit 55, the upper n bits (A 0 -A n -1 ) of the address signal output from the target processor 53 and the mapping address set in the register 54 are exclusive. The comparison is made by a NOR (EX-NOR) gate 56, and when it is detected by a NAND (NAND) gate 57 that all the comparison results by the respective EX-NOR gates 56 match, a hit signal is output to the enable signal ( CS #)
Is output as

【0007】このような比較回路55を備えたマッピン
グ回路51にあっては、マッピングアドレスがエミュレ
ーションメモリ52の1ページ分だけしかレジスタ54
に設定されていないので、複数のページをマッピング処
理することはできない。このため、複数のページをマッ
ピング処理するためには、図4に示す構成を複数用意し
なければならない。したがって、このような場合には、
エミュレーションメモリ及びマッピング回路における回
路面積の利用効率が極めて悪くなるとともに、回路規模
が増大することになる。
In the mapping circuit 51 provided with such a comparison circuit 55, the mapping address is stored in the register 54 only for one page of the emulation memory 52.
, It is not possible to perform mapping processing on multiple pages. Therefore, in order to perform mapping processing on a plurality of pages, a plurality of configurations shown in FIG. 4 must be prepared. Therefore, in such a case,
The use efficiency of the circuit area in the emulation memory and the mapping circuit becomes extremely poor, and the circuit scale increases.

【0008】そこで、エミュレーションメモリの回路規
模を増大させることなく、複数のページをマッピング処
理するマッピング回路58としては、例えば図5及び図
5に示すマッピング回路58の具体的な構成を示す図6
に示すようなものがある。
Therefore, as a mapping circuit 58 for mapping a plurality of pages without increasing the circuit scale of the emulation memory, for example, FIG. 6 showing a specific configuration of the mapping circuit 58 shown in FIG. 5 and FIG.
There is something like that shown in

【0009】図5及び図6において、マッピングようと
する複数のそれぞれのページに対応した比較回路59の
レジスタ60に、マッピングアドレス設定回路61によ
ってそれぞれのページに対応して設定されたマッピング
アドレスと、アドレス信号の上位側がそれぞれの比較回
路59により比較される。比較回路59のいずれかが一
致したことがプライオリティエンコーダ62により検出
されると、ヒット信号(HIT#)エミュレーションメ
モリ52に与えられる。また、一致した比較回路59に
対応して選択されるエミュレーションメモリ52のペー
ジを示すアドレス信号の上位側(a0 ,a1 )がページ
選択アドレスとしてエミュレーションメモリ52に与え
られる。
In FIG. 5 and FIG. 6, a mapping address set for each page by a mapping address setting circuit 61 is stored in a register 60 of a comparison circuit 59 corresponding to each of a plurality of pages to be mapped. The upper side of the address signal is compared by each comparison circuit 59. When the priority encoder 62 detects that any one of the comparison circuits 59 matches, it is given to the hit signal (HIT #) emulation memory 52. The upper side (a 0 , a 1 ) of the address signal indicating the page of the emulation memory 52 selected corresponding to the matching comparison circuit 59 is given to the emulation memory 52 as a page selection address.

【0010】このような構成にあっては、複数のページ
の選択をプライオリティエンコーダ62により行なって
いるので、エミュレーションメモリ52を複数用意する
ことなく、回路面積を有効に利用することができる。
In such a configuration, since a plurality of pages are selected by the priority encoder 62, the circuit area can be effectively used without preparing a plurality of emulation memories 52.

【0011】しかしながら、図6に示す構成にあって
は、ヒット信号ならびにページ選択アドレス(a0 ,a
1 )を得るためには、すなわち、エミュレーションメモ
リ52がアクセスされるためには、比較回路59に加え
てプライオリティエンコーダ62の処理時間が必要とな
る。
However, in the configuration shown in FIG. 6, the hit signal and the page selection address (a 0 , a
In order to obtain 1 ), that is, in order for the emulation memory 52 to be accessed, the processing time of the priority encoder 62 in addition to the comparison circuit 59 is required.

【0012】例えば、比較回路59を図4に示すよう
に、EX−NORゲート56とNANDゲート57とで
構成した場合に、EX−NORゲート56の遅延時間が
論理ゲート2段分に相当するものとすると、ヒット信号
を得るためには、比較回路59において論理ゲート3段
分の遅延時間と、プライオリティエンコーダ62におい
て最低論理ゲート1段分の遅延時間の合計論理ゲート4
段分の遅延時間が必要となる。
For example, when the comparison circuit 59 is composed of an EX-NOR gate 56 and a NAND gate 57 as shown in FIG. 4, the delay time of the EX-NOR gate 56 corresponds to two stages of logic gates. Then, in order to obtain a hit signal, the sum of the delay time of three logic gates in the comparison circuit 59 and the delay time of at least one logic gate in the priority encoder 62 is calculated.
A delay time corresponding to a stage is required.

【0013】このため、エミュレーションメモリ52の
アクセス時間が長くなり、ターゲットプロセッサにおけ
るメモリアクセスの高速化に対応することが極めて困難
になっていた。
For this reason, the access time of the emulation memory 52 becomes long, and it has been extremely difficult to cope with a high-speed memory access in the target processor.

【0014】[0014]

【発明が解決しようとする課題】以上説明したように、
図3ならびに図4に示す従来のマッピング回路の構成に
あっては、エミュレーションメモリの複数のペーシをマ
ッピングしようとすると、回路面積の利用効率が悪化
し、構成の大型化を招いていた。
As described above,
In the configuration of the conventional mapping circuit shown in FIGS. 3 and 4, when trying to map a plurality of pages of the emulation memory, the utilization efficiency of the circuit area deteriorates and the configuration becomes large.

【0015】一方、図5ならびに図6に示す従来のマッ
ピング回路の構成にあっては、構成の大型化は回避され
るが、エミュレーションメモリのアクセススピードが遅
くなるという不具合を招いていた。
On the other hand, in the configuration of the conventional mapping circuit shown in FIG. 5 and FIG. 6, the enlargement of the configuration can be avoided, but the access speed of the emulation memory is reduced.

【0016】すなわち、いずれの構成にあっても、構成
の大型化ならびにアクセススピードの遅れをともに回避
することはできなかった。
That is, in either configuration, it has not been possible to avoid both the enlargement of the configuration and the delay of the access speed.

【0017】そこで、この発明は、上記に鑑みてなされ
たものであり、その目的とするところは、構成の小型化
ならびにエミュレーションメモリのアクセススピードの
高速化をともに満足させることができるエミュレーショ
ンメモリのマッピング回路を提供することにある。
Accordingly, the present invention has been made in view of the above, and an object of the present invention is to provide a mapping of an emulation memory capable of satisfying both the downsizing of the configuration and the increase in the access speed of the emulation memory. It is to provide a circuit.

【0018】[0018]

【課題を解決するための手段】上記目的を達成するため
に、課題を解決する第1の手段は、ターゲットプロセッ
サから与えられるアドレスを受けて、該アドレスをバッ
ファ出力又は反転出力する複数のバッファインバータ回
路と、前記バッファインバータ回路のバッファ出力又は
反転出力を受けて、該バッファ出力又は反転出力を論理
演算する複数の第1の論理ゲートと、前記第1の論理ゲ
ートの出力を受けて、エミュレーションメモリを選択し
てアクセス可能状態とする第1の選択信号を生成出力す
る第2の論理ゲートと、前記第1の論理ゲートの出力を
受けて、前記ターゲットプロセッサから与えられるアド
レスの内、前記エミュレーションメモリにマッピングさ
れるマッピングアドレスに対応して予め設定された前記
エミュレーションメモリのアドレス領域を選択指定する
第2の選択信号を生成出力する第3の論理ゲートとを備
え、前記第1の論理ゲートに与えられる前記バッファイ
ンバータ回路のバッファ出力又は反転出力の組み合わせ
がプログラマブルに変更されるPLD(プログラマブル
・ロジック・デバイス)と、前記ターゲットプロセッサ
のメモリアクセスに対して、前記エミュレーションメモ
リにマッピングされるマッピングアドレスを変更する場
合に、前記エミュレーションメモリに新たにマッピング
されるマッピングアドレスを入力する入力回路と、前記
入力回路から与えられるマッピングアドレスを、前記第
1の論理ゲートに与えられる前記バッファインバータ回
路の出力又は反転出力の組み合わせを決める接続情報に
変換する変換回路と、前記変換回路によって得られた接
続情報にしたがって、前記第1の論理ゲートに与えられ
る前記バッファインバータ回路の出力又は反転出力の組
み合わせを変更するPLD書き込み回路とを有すること
を特徴とする。
In order to achieve the above object, a first means for solving the problem is to provide a plurality of buffer inverters for receiving an address given from a target processor and outputting the address as a buffer or inverting the buffer. Circuit, a plurality of first logic gates for receiving a buffer output or an inverted output of the buffer inverter circuit and performing a logical operation on the buffer output or the inverted output, and an emulation memory for receiving an output of the first logic gate A second logic gate for generating and outputting a first selection signal for selecting an emulation memory from among the addresses provided from the target processor in response to the output of the first logic gate. The emulation set in advance corresponding to a mapping address to be mapped to And a third logic gate for generating and outputting a second selection signal for selecting and specifying an address area of the memory, wherein a combination of a buffer output or an inverted output of the buffer inverter circuit applied to the first logic gate is programmable. When a PLD (programmable logic device) to be changed and a mapping address to be mapped to the emulation memory for a memory access of the target processor are changed, a mapping address to be newly mapped to the emulation memory is changed. An input circuit for inputting, a conversion circuit for converting a mapping address provided from the input circuit into connection information for determining a combination of an output or an inverted output of the buffer inverter circuit provided to the first logic gate, and the conversion circuit Thus according to the obtained connection information, and having a PLD write circuit for changing the combination of the output or the inverted output of the buffer inverter circuit applied to said first logic gate.

【0019】第2の手段は、プログラムの実行によりア
ドレスを出力してメモリをアクセスするターゲットプロ
セッサと、前記ターゲットプロセッサがアクセスするメ
モリを代行するエミュレーションメモリと、前記第1の
手段のマッピング回路とを有することを特徴とする。
The second means includes a target processor which accesses a memory by outputting an address by executing a program, an emulation memory acting as a substitute for the memory accessed by the target processor, and a mapping circuit of the first means. It is characterized by having.

【0020】[0020]

【作用】前記第1の手段は、バッファインバータ回路
と、第1の論理ゲート及び第2の論理ゲートの3段の論
理ゲートを介して生成される信号によりエミュレーショ
ンメモリを活性化し、バッファインバータ回路、第1の
論理ゲート及び第3の論理ゲートを介して生成される信
号によりマッピングされたエミュレーションメモリのア
ドレス領域を選択指定し、マッピングアドレスにしたが
って、第1の論理ゲートの出力に与えられるバッファイ
ンバータ回路の出力の組み合わせをプログラマブルに設
定することにより、マッピングされるエミュレーション
メモリのアドレス領域を任意に設定するようにしてい
る。
The first means activates an emulation memory by a buffer inverter circuit and a signal generated through three stages of logic gates, a first logic gate and a second logic gate. A buffer inverter circuit that selects and specifies an address area of an emulation memory mapped by a signal generated through a first logic gate and a third logic gate, and is provided to an output of the first logic gate according to a mapping address. By setting the combination of the outputs in a programmable manner, the address area of the emulation memory to be mapped can be set arbitrarily.

【0021】前記第2の手段は、ターゲットプロセッサ
がアクセスするメモリのアドレスを、前記第1の手段の
マッピング回路によりエミュレーションメモリにマッピ
ングするようにしている。
The second means maps the address of the memory accessed by the target processor to the emulation memory by the mapping circuit of the first means.

【0022】[0022]

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

【0023】図1はこの発明の一実施例に係わるエミュ
レーションメモリのマッピング回路を含むシステムの構
成を示す図である。
FIG. 1 is a diagram showing a configuration of a system including a mapping circuit of an emulation memory according to an embodiment of the present invention.

【0024】図1において、エミュレーションシステム
は、PLD(プログラマブル・ロジック・デバイス)
1、マッピングアドレス入力回路2、接続情報変換回路
3及びPLD書き込み回路4を備えたマッピング回路
と、このマッピング回路によってマッピングされるエミ
ュレーションメモリ5と、このエミュレーションメモリ
5をアクセスするターゲットプロセッサ6とから構成さ
れている。
In FIG. 1, the emulation system is a PLD (programmable logic device)
1. A mapping circuit including a mapping address input circuit 2, a connection information conversion circuit 3, and a PLD writing circuit 4, an emulation memory 5 mapped by the mapping circuit, and a target processor 6 accessing the emulation memory 5. Have been.

【0025】PLD1は、ターゲットプロセッサ6から
出力されるアドレス信号のうち、上位側の8ビットのア
ドレス信号を入力端子I0〜I7で受け、また、ターゲ
ットプロセッサ6からアドレス信号の内容が有効である
ということで出力されるアドレスストローブ信号(AS
#)を入力端子I8で受け、エミュレーションメモリ5
を選択してアクセス可能状態とするイネーブル信号(C
S#)を出力端子O0からエミュレーションメモリ5に
出力し、エミュレーションメモリ5のすべてのアドレス
空間のうちマッピングされた4つのアドレス領域をそれ
ぞれ選択指定するページ番号(a0 ,a1 )を出力端子
O1,O2からエミュレーションメモリ5に出力する。
The PLD 1 receives, at the input terminals I0 to I7, the higher-order 8-bit address signal of the address signals output from the target processor 6, and says that the content of the address signal from the target processor 6 is valid. Address strobe signal (AS)
#) At the input terminal I8 and the emulation memory 5
Enable signal (C
S #) is output from the output terminal O0 to the emulation memory 5, and the page numbers (a 0 , a 1 ) for selecting and specifying the four mapped address areas in all the address spaces of the emulation memory 5 are output to the output terminal O1. , O2 to the emulation memory 5.

【0026】PLD1は、例えば図2に示すように、論
理ゲートの組み合せによって構成される。
The PLD 1 is constituted by a combination of logic gates, for example, as shown in FIG.

【0027】図2において、PLD1は、アドレス信号
の上位側8ビット及びアドレスストローブ信号を受け
て、バッファ出力又は反転出力するバッファインバータ
11と、バッファインバータ11の出力を組み合せて受
けるANDゲート12a〜12dと、ANDゲート12
a〜12dのそれぞれの出力H0〜H3を受けて、イネ
ーブル信号を生成する否定論理和(NOR)ゲート13
と、ANDゲート12b,12dの出力H1,H3を受
けて、ページ番号a0 を生成するORゲート14と、A
NDゲート12c,12dの出力H2,H3を受けて、
ページ番号a1 を生成するORゲート15とから構成さ
れている。
In FIG. 2, a PLD 1 receives upper eight bits of an address signal and an address strobe signal, and outputs a buffered or inverted output of a buffered inverter 11 and AND gates 12a to 12d which receive a combination of outputs of the buffered inverter 11. And the AND gate 12
a NOR gate 13 for receiving the respective outputs H0 to H3 of a to 12d and generating an enable signal
When, upon receiving an AND gate 12b, and outputs H1, H3 of 12d, an OR gate 14 which generates a page number a 0, A
Upon receiving the outputs H2 and H3 of the ND gates 12c and 12d,
And a OR gate 15 for generating a page number a 1.

【0028】また、それぞれのバッファインバータ11
とANDゲート12a〜12dとの接続配線は、プログ
ラマブルに変更可能に構成され、様々の組み合せが実現
できるように構成されている。
Further, each buffer inverter 11
The connection wiring between the AND gates 12a to 12d is configured to be programmable and changeable, so that various combinations can be realized.

【0029】図1に戻って、マッピングアドレス入力回
路2は、ターゲットプロセッサ6がメモリアクセスした
際に、エミュレーションメモリ5に割り当てられるマッ
ピングアドレスを入力する回路である。この回路2に入
力されたマッピングアドレスは、接続情報変換回路3に
与えられる。
Returning to FIG. 1, the mapping address input circuit 2 is a circuit for inputting a mapping address assigned to the emulation memory 5 when the target processor 6 accesses the memory. The mapping address input to the circuit 2 is provided to the connection information conversion circuit 3.

【0030】接続情報変換回路3は、マッピングアドレ
ス入力回路2から与えられたマッピングアドレスを、図
2に示すANDゲート12a〜12dの入力の組み合せ
を決める情報、すなわちそれぞれのバッファインバータ
11とANDゲート12a〜12dの接続配線を決める
接続情報に変換する。したがって、接続情報変換回路3
は、与えられたマッピングアドレスに対応したページ番
号(a0 ,a1 )が生成されるようにPLD1の接続配
線が設定されるべく接続情報を生成する。生成された接
続情報は、PLD書き込み回路4に与えられる。
The connection information conversion circuit 3 converts the mapping address given from the mapping address input circuit 2 into information for determining a combination of inputs of the AND gates 12a to 12d shown in FIG. 2, that is, the respective buffer inverters 11 and AND gates 12a. Is converted into connection information for determining connection wirings of .about.12d. Therefore, the connection information conversion circuit 3
Generates connection information so that connection wiring of the PLD 1 is set such that a page number (a 0 , a 1 ) corresponding to a given mapping address is generated. The generated connection information is provided to the PLD writing circuit 4.

【0031】PLD書き込み回路4は、接続情報変換回
路3から与えられる接続情報にしたがって、PLD1の
それぞれのバッファインバータ11とANDゲート12
a〜12dの接続配線(書き込み)を行う回路である。
PLD書き込み回路4は、書き込みを行う時には、予め
ターゲットプロセッサ6にバス権を要求し、バス権が許
可された後に書き込みを行なう。PLD書き込み回路4
としては、例えば文献「別冊 トランジスタ技術 SP
ECIAL No.23 P114 CQ出版社 19
90」に記載されたPALライタがある。
According to the connection information supplied from the connection information conversion circuit 3, the PLD writing circuit 4 performs the respective buffer inverters 11 and AND gates 12 of the PLD 1.
This is a circuit for performing connection wiring (writing) of a to 12d.
When performing a write, the PLD write circuit 4 requests a bus right from the target processor 6 in advance, and performs the write after the bus right is granted. PLD writing circuit 4
For example, refer to the document “Separate volume transistor technology SP
ECIAL No. 23 P114 CQ publisher 19
90 "is a PAL writer.

【0032】このような構成において、PLD1が例え
ば図2に示すようにプログラミングされている場合に
は、ANDゲート12a〜12dの出力H0〜H3は、
PLD1の入力端子I0,I1,I2,I3,I4,I
5,I6,I7,I8が以下の組み合せになった時に、
“1”レベルとなる。
In such a configuration, when the PLD 1 is programmed, for example, as shown in FIG. 2, the outputs H0 to H3 of the AND gates 12a to 12d become
Input terminals I0, I1, I2, I3, I4, I of PLD1
When 5, I6, I7, and I8 have the following combinations,
It becomes “1” level.

【0033】 H0(I0,I2,I3,I4,I5,I6,I7,I8) =(1,1,0,1,1,1,1,0,0) H1(I0,I1,I2,I3,I4,I5,I6,I7,I8) =(1,1,0,1,0,1,1,0,0) H2(I0,I1,I2,I3,I4,I5,I6,I7,I8) =(1,0,0,0,1,0,0,1,0) H3(I0,I1,I2,I3,I4,I5,I6,I7,I8) =(0,0,1,1,0,1,0,1,0) したがって、出力H0〜H3の中で“1”を出力するも
のはいずれか1つとなる。また、NORゲート13は、
出力H0〜H3のいずれかが“1”となった時にイネー
ブル信号として“0”を出力し、ORゲート14は出力
H1又はH3が“1”となった時に“1”レベルを出力
し、ORゲート15は出力H2又はH3が“1”レベル
になった時に“1”レベルを出力する。
H0 (I0, I2, I3, I4, I5, I6, I7, I8) = (1, 1, 0, 1, 1, 1, 1, 0, 0) H1 (I0, I1, I2, I3) , I4, I5, I6, I7, I8) = (1,1,0,1,0,1,1,0,0) H2 (I0, I1, I2, I3, I4, I5, I6, I7, I8 ) = (1,0,0,0,1,0,0,1,0) H3 (I0, I1, I2, I3, I4, I5, I6, I7, I8) = (0,0,1,1) , 0, 1, 0, 1, 0) Therefore, one of the outputs H0 to H3 that outputs "1" is one. Also, the NOR gate 13
When any one of the outputs H0 to H3 becomes "1", it outputs "0" as an enable signal. The OR gate 14 outputs "1" level when the output H1 or H3 becomes "1". The gate 15 outputs "1" level when the output H2 or H3 becomes "1" level.

【0034】ここで、アドレス信号の上位側8ビットが
(1,1,0,1,1,1,1,0)になった場合に
は、(H0,H1,H2,H3)=(1,0,0,
0,)となり、(O0,O1,O2)=(0,0,0)
が出力され、イネーブル信号が有効になることによりエ
ミュレーションメモリ5にアクセスが行なわれ、エミュ
レーションメモリ5では、(a0,a1)=(0,0)
a2〜akをターゲットプロセッサ6のアドレス信号の
下位側とするメモリに対してアクセスが行なわれる。
Here, when the upper 8 bits of the address signal become (1,1,0,1,1,1,1,0), (H0, H1, H2, H3) = (1 , 0,0,
0,), and (O0, O1, O2) = (0, 0, 0)
Is output, and the emulation memory 5 is accessed when the enable signal becomes valid. In the emulation memory 5, (a0, a1) = (0, 0)
Access is made to a memory in which a2 to ak are lower than the address signal of the target processor 6.

【0035】また、このいずれの組み合わせにも該当し
ない場合は、O0が有効とならないために、エミュレー
ションメモリ5に対するアクセスが行なわれないことに
なる。
If none of the combinations is applicable, the emulation memory 5 is not accessed because O0 is not valid.

【0036】また、マッピングアドレスが変更になった
場合には、例えばH0が有効となるアドレスの上位の組
合せ、(1,1,0,1,1,1,1,0)が(0,
1,0,1,1,1,1,0)に変更になった場合は、
プログラミングによりPLD1の内部の構成を変更する
ことになる。具体的には、図2に示すところの、I0の
出力そのままのものがH0の入力として用いられている
が、これをI0を反転した出力のものに切り替えるた
め、この箇所の配線を変更する。
When the mapping address is changed, for example, the upper combination of the addresses where H0 is valid, (1,1,0,1,1,1,1,0) is (0,
1,0,1,1,1,1,0)
The internal configuration of the PLD 1 is changed by programming. Specifically, as shown in FIG. 2, the output of I0 as it is is used as the input of H0, but in order to switch this to the output of I0 inverted, the wiring at this location is changed.

【0037】このため、インサーキットエミュレータの
中でエミュレーションメモリ5のマッピングを開始する
アドレスを変更する際には、マッピングのアドレスに関
する情報を各ANDゲート12a〜12dとバッファイ
ンバータ11の間の接続情報を変更し、例えば、マッピ
ングアドレスの一部を変更する場合には、先に述べた配
線の変更に応じた接続情報をPLD1へ出力する。
Therefore, when the address at which the mapping of the emulation memory 5 is started is changed in the in-circuit emulator, the information on the address of the mapping is transferred to the connection information between each of the AND gates 12a to 12d and the buffer inverter 11. When the change is made, for example, when a part of the mapping address is changed, the connection information corresponding to the change of the wiring described above is output to the PLD 1.

【0038】図2に示したように、このマッピング回路
は、全体をPLD1個で構成することが可能であり、し
かも、PLD内部では、バッファインバータ11、AN
Dゲート12a〜12d、OR/NORゲート13〜1
5の3段にて出力を確定することが出来るので、従来よ
りも1段は、短縮して出力を確定することが可能であ
る。
As shown in FIG. 2, this mapping circuit can be constituted entirely by one PLD, and further, inside the PLD, the buffer inverter 11, AN
D gates 12a to 12d, OR / NOR gates 13 to 1
Since the output can be determined in three stages of 5, it is possible to determine the output in one stage shorter than in the prior art.

【0039】したがって、このようにエミュレーション
メモリのマッピング回路を構成することにより、比較的
短い時間にて、マッピングアドレス、イネーブル信号を
出力することが可能となる。
Therefore, by configuring the mapping circuit of the emulation memory in this way, it is possible to output a mapping address and an enable signal in a relatively short time.

【0040】しかも、また、従来ならば複数の組合せ論
理回路素子を用いていたものが、PLDによっては、複
数のマッピング回路を1論理回路素子にて構成可能とな
るので、全体を小型化することができ、全体を小型化す
ることによって、さらにアクセス時間を短縮することも
期待できる。
In addition, although a plurality of combinational logic circuit elements are conventionally used, depending on the PLD, a plurality of mapping circuits can be configured with one logic circuit element. It is expected that the access time can be further reduced by reducing the size of the entire system.

【0041】[0041]

【発明の効果】以上説明したように、この発明によれ
ば、3段の論理ゲートを介して生成される信号により、
ターゲットプロセッサがマッピング回路によりマッピン
グされたエミュレーションメモリをアクセスするように
したので、ターゲットプロセッサがエミュレーションメ
モリを従来に比べて高速にアクセスすることが可能とな
る。
As described above, according to the present invention, the signals generated through the three-stage logic gates
Since the target processor accesses the emulation memory mapped by the mapping circuit, the target processor can access the emulation memory at a higher speed than in the past.

【0042】また、バッファインバータ回路と第1〜第
3の論理ゲートによりマッピング回路を構成したので、
マッピング回路を小型化することができる。
Also, since the mapping circuit is constituted by the buffer inverter circuit and the first to third logic gates,
The size of the mapping circuit can be reduced.

【0043】さらに、マッピングアドレスに従ってエミ
ュレーションメモリのマッピングされるアドレス領域を
プログラマブルに設定するようにしたので、マッピング
されるアドレス領域を容易に変更可能とすることができ
る。
Further, since the mapped address area of the emulation memory is set in a programmable manner according to the mapping address, the mapped address area can be easily changed.

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

【図1】この発明の一実施例に係わるマッピング回路を
含むエミュレーションシステムの構成を示す図である。
FIG. 1 is a diagram showing a configuration of an emulation system including a mapping circuit according to an embodiment of the present invention.

【図2】図1に示すマッピング回路におけるPLDの一
実施例を示す図である。
FIG. 2 is a diagram showing one embodiment of a PLD in the mapping circuit shown in FIG. 1;

【図3】従来のマッピング回路を備えたエミュレーショ
ンシステムの構成を示す図である。
FIG. 3 is a diagram illustrating a configuration of an emulation system including a conventional mapping circuit.

【図4】図3に示すマッピング回路の一従来構成を示す
図である。
FIG. 4 is a diagram showing one conventional configuration of the mapping circuit shown in FIG. 3;

【図5】従来のマッピング回路を備えたエミュレーショ
ンシステムの他の構成を示す図である。
FIG. 5 is a diagram illustrating another configuration of an emulation system including a conventional mapping circuit.

【図6】図5に示すマッピング回路の一従来構成を示す
図である。
FIG. 6 is a diagram showing a conventional configuration of the mapping circuit shown in FIG. 5;

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

1 PLD 2 マッピングアドレス入力回路 3 接続情報変換回路 4 PLD書き込み回路 5 エミュレーションメモリ 6 ターゲットプロセッサ 11 バッファインバータ 12a〜12d ANDゲート 13 NORゲート 14,15 ORゲート REFERENCE SIGNS LIST 1 PLD 2 mapping address input circuit 3 connection information conversion circuit 4 PLD write circuit 5 emulation memory 6 target processor 11 buffer inverters 12 a to 12 d AND gate 13 NOR gate 14, 15 OR gate

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 11/22

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ターゲットプロセッサから与えられるア
ドレスを受けて、該アドレスをバッファ出力又は反転出
力する複数のバッファインバータ回路と、 前記バッファインバータ回路のバッファ出力又は反転出
力を受けて、該バッファ出力又は反転出力を論理演算す
る複数の第1の論理ゲートと、 前記第1の論理ゲートの出力を受けて、エミュレーショ
ンメモリを選択してアクセス可能状態とする第1の選択
信号を生成出力する第2の論理ゲートと、 前記第1の論理ゲートの出力を受けて、前記ターゲット
プロセッサから与えられるアドレスの内、前記エミュレ
ーションメモリにマッピングされるマッピングアドレス
に対応して予め設定された前記エミュレーションメモリ
のアドレス領域を選択指定する第2の選択信号を生成出
力する第3の論理ゲートとを備え、前記第1の論理ゲー
トに与えられる前記バッファインバータ回路のバッファ
出力又は反転出力の組み合わせがプログラマブルに変更
されるPLD(プログラマブル・ロジック・デバイス)
と、 前記ターゲットプロセッサのメモリアクセスに対して、
前記エミュレーションメモリにマッピングされるマッピ
ングアドレスを変更する場合に、前記エミュレーション
メモリに新たにマッピングされるマッピングアドレスを
入力する入力回路と、 前記入力回路から与えられるマッピングアドレスを、前
記第1の論理ゲートに与えられる前記バッファインバー
タ回路の出力又は反転出力の組み合わせを決める接続情
報に変換する変換回路と、 前記変換回路によって得られた接続情報にしたがって、
前記第1の論理ゲートに与えられる前記バッファインバ
ータ回路の出力又は反転出力の組み合わせを変更するP
LD書き込み回路とを有することを特徴とするエミュレ
ーションメモリのマッピング回路。
1. A plurality of buffer inverter circuits for receiving an address given from a target processor and for buffering or inverting the address, and for receiving the buffer output or inverting output of the buffer inverter circuit and receiving the buffer output or inversion. A plurality of first logic gates for performing a logical operation on an output, and a second logic for receiving and outputting the first logic gate to generate and output a first selection signal for selecting an emulation memory and making it accessible. A gate, receiving an output of the first logic gate, and selecting an address area of the emulation memory set in advance corresponding to a mapping address mapped to the emulation memory from addresses given by the target processor A third selection signal for generating and outputting a second selection signal to be designated A logic gate, wherein a combination of a buffer output or an inverted output of the buffer inverter circuit provided to the first logic gate is programmably changed.
And for a memory access of the target processor,
When changing the mapping address mapped to the emulation memory, an input circuit for inputting a mapping address newly mapped to the emulation memory; and a mapping address given from the input circuit to the first logic gate. A conversion circuit for converting connection information to determine a combination of an output of the buffer inverter circuit or an inverted output to be provided, and according to the connection information obtained by the conversion circuit,
P for changing the combination of the output or inverted output of the buffer inverter circuit applied to the first logic gate
An emulation memory mapping circuit, comprising: an LD writing circuit.
【請求項2】 プログラムの実行によりアドレスを出力
してメモリをアクセスするターゲットプロセッサと、 前記ターゲットプロセッサがアクセスするメモリを代行
するエミュレーションメモリと、 前記請求項1記載のマッピング回路とを有することを特
徴とするエミュレーションシステム。
2. A target processor for accessing a memory by outputting an address by executing a program, an emulation memory acting on behalf of a memory accessed by the target processor, and a mapping circuit according to claim 1. Emulation system.
JP30861792A 1992-11-18 1992-11-18 Emulation memory mapping circuit and emulation system Expired - Fee Related JP3357693B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30861792A JP3357693B2 (en) 1992-11-18 1992-11-18 Emulation memory mapping circuit and emulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30861792A JP3357693B2 (en) 1992-11-18 1992-11-18 Emulation memory mapping circuit and emulation system

Publications (2)

Publication Number Publication Date
JPH06161807A JPH06161807A (en) 1994-06-10
JP3357693B2 true JP3357693B2 (en) 2002-12-16

Family

ID=17983207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30861792A Expired - Fee Related JP3357693B2 (en) 1992-11-18 1992-11-18 Emulation memory mapping circuit and emulation system

Country Status (1)

Country Link
JP (1) JP3357693B2 (en)

Also Published As

Publication number Publication date
JPH06161807A (en) 1994-06-10

Similar Documents

Publication Publication Date Title
US6662285B1 (en) User configurable memory system having local and global memory blocks
WO1998049623A1 (en) Memory access protection
JP2549601B2 (en) Register control circuit
JP3357693B2 (en) Emulation memory mapping circuit and emulation system
US5107462A (en) Self timed register file having bit storage cells with emitter-coupled output selectors for common bits sharing a common pull-up resistor and a common current sink
US5566309A (en) Variable memory boundaries between external and internal memories for single-chip microcomputer
JP2860655B2 (en) Parallel instruction execution type processor
JP2000132451A (en) Memory control circuit
JP3222647B2 (en) Automatic memory bank switching system
JP3343556B2 (en) Storage system
KR920003845B1 (en) Rom region expansion system for users of pc
KR100236530B1 (en) Address generating circuit of a digital signal processor
JPS63241647A (en) Microprocessor
KR950003883B1 (en) Memory logic controller
JP2616714B2 (en) Semiconductor storage device
JPS6198467A (en) Register arrangement
JPH03116256A (en) Memory device
JPH1124985A (en) Synchronous semiconductor storage device
JPH11176165A (en) Sequential-access semiconductor memory device
JPH0550078B2 (en)
JPS6385842A (en) Information processor
JPH09305486A (en) Memory interface device for microcomputer system
JPH0477948A (en) Memory access control system and information processor using the system
JPS60218146A (en) Storage device address control system
JPH05225045A (en) Sequence controller

Legal Events

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