JP2896092B2 - Electronic circuit analyzer - Google Patents
Electronic circuit analyzerInfo
- Publication number
- JP2896092B2 JP2896092B2 JP6258644A JP25864494A JP2896092B2 JP 2896092 B2 JP2896092 B2 JP 2896092B2 JP 6258644 A JP6258644 A JP 6258644A JP 25864494 A JP25864494 A JP 25864494A JP 2896092 B2 JP2896092 B2 JP 2896092B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- host computer
- electronic circuit
- data
- terminal
- 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 - Lifetime
Links
Landscapes
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、電子回路解析装置に関
し、特に、CPU(Central Processing Unit)を搭載
した電子回路一般に適用する解析装置に関する。近年、
様々な分野でCPUを搭載した高機能な電子機器が作ら
れるようになってきた。ソフトを書き込んだROM(Re
ad Only Memory)を交換するだけで、容易にシステムの
改修や機能変更等を行なうことができ、きわめて柔軟性
にすぐれたシステムを開発できるからである。ところ
で、こうした電子回路にあっては、その高機能さゆえに
ハードウエア及びソフトウエアのデバッグが相当に困難
であり、何らかのデバック支援装置が不可欠である。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic circuit analyzer, and more particularly, to an analyzer generally applied to an electronic circuit having a CPU (Central Processing Unit). recent years,
In various fields, high-performance electronic devices equipped with a CPU have been produced. ROM (Re
This is because the system can be easily modified or its functions can be changed simply by exchanging the ad only memory, and a highly flexible system can be developed. By the way, in such an electronic circuit, debugging of hardware and software is considerably difficult due to its high functionality, and some kind of debugging support device is indispensable.
【0002】[0002]
【従来の技術】この種の支援装置として、従来から、デ
バッグ対象の電子回路(以下「ターゲット」と言う)を
擬似的に実行するインサーキットエミュレータ(以下
「ICE」)が用いられている。ICEは、ターゲット
側のCPUの代わりにICE側のCPUを動作させ、こ
のCPUの動作内容を逐一エミュレータソフトウエアで
追跡・監視することによって、ターゲットの動作状態を
総合的に判定するというものである。2. Description of the Related Art An in-circuit emulator (hereinafter, "ICE") for simulating an electronic circuit to be debugged (hereinafter, referred to as "target") has been used as a support device of this kind. In the ICE, the CPU on the ICE side is operated instead of the CPU on the target side, and the operation contents of the CPU are tracked and monitored one by one by emulator software, so that the operation state of the target is comprehensively determined. .
【0003】図9はICEの全体構成図である。1はパ
ソコンやワークステーション等のホストコンピュータ、
2はホストコンピュータ1の拡張スロットに装着された
インターフェイスボード、3はICE本体、4はプロー
ブである。5はターゲット側のCPU(以下「TGT_
CPU」)である。このTGT_CPU5は、たとえ
ば、ピギーパックタイプのパッケージ(背中にソケット
を有するパッケージ)に納められており、プローブ4の
ソケット6をTGT_CPU5の背面ソケットに差し込
み、インターフェイス7を介してTGT_CPU5とI
CE本体3との間を接続する。なお、8はインターフェ
イスボート2とICE本体3との間を接続するケーブ
ル、9はICE本体3とプローブ4との間を接続するケ
ーブルである。FIG. 9 is an overall configuration diagram of the ICE. 1 is a host computer such as a personal computer or a workstation,
Reference numeral 2 denotes an interface board mounted in an expansion slot of the host computer 1, reference numeral 3 denotes an ICE main body, and reference numeral 4 denotes a probe. 5 is a target-side CPU (hereinafter referred to as “TGT_
CPU ”). The TGT_CPU 5 is housed in, for example, a piggy-pack type package (a package having a socket on the back), the socket 6 of the probe 4 is inserted into the back socket of the TGT_CPU 5, and the I
The connection with the CE main body 3 is made. Reference numeral 8 denotes a cable connecting between the interface boat 2 and the ICE main body 3, and 9 denotes a cable connecting between the ICE main body 3 and the probe 4.
【0004】ICE本体3には、TGT_CPU5と同
一品種のCPU10(以下「ICE_CPU」が内蔵さ
れており、また、ホストコンピュータ1には、あらかじ
め専用のエミュレーションソフトがインストールされて
いる。このような構成において、ホストコンピュータ1
でエミュレーションソフトを走らせると、まず、ターゲ
ットのバスからTGT_CPU5が切り離され、代わり
にICE_CPU10が接続される。以降、エミュレー
ションソフトの様々なデバッグ機能を適宜に使用し、I
CE_CPU10によるターゲットのエミュレート(T
GT_CPU5の擬似的な実行)が行なわれる。[0004] The ICE body 3 has a built-in CPU 10 (hereinafter referred to as "ICE_CPU") of the same type as the TGT_CPU 5, and dedicated emulation software is installed in the host computer 1 in advance. , Host computer 1
When the emulation software is run, the TGT_CPU 5 is first disconnected from the target bus, and the ICE_CPU 10 is connected instead. Thereafter, various debugging functions of the emulation software are used appropriately,
Emulation of target by CE_CPU 10 (T
GT_CPU5).
【0005】[0005]
【発明が解決しようとする課題】ところで、インサーキ
ットエミュレータは、ターゲットCPUのほぼ全ての動
作をエミュレートでき、複雑なシステムのデバッグにき
わめて有効であるが、価格が高く、比較的簡単なシステ
ムでは一般にその機能の一部しか使用されないから、設
備コストが高くつくという問題点がある。しかも、ター
ゲットCPUの品種に合わせた専用のICEを必要とす
るため、たとえば、ターゲットCPUのグレードアップ
を行なおうとするとICEも交換しなければならず、汎
用性がないという問題点がある。By the way, an in-circuit emulator can emulate almost all operations of a target CPU and is very effective for debugging a complicated system. Generally, only a part of the function is used, so that there is a problem that the equipment cost is high. In addition, since a dedicated ICE corresponding to the type of the target CPU is required, for example, if the target CPU is to be upgraded, the ICE must be exchanged, and there is a problem that there is no versatility.
【0006】[0006]
【目的】そこで、本発明は、安価で汎用性のある電子回
路解析装置の提供を目的とする。Accordingly, an object of the present invention is to provide an inexpensive and versatile electronic circuit analyzer.
【0007】[0007]
【課題を解決するための手段】請求項1に係る発明は、
その原理図を図1に示すように、解析対象の電子回路1
0のアドレスバス11(又はアドレス端子)と、ホスト
コンピュータ12のアドレスバス13(又はアドレス端
子)との間に介在し、一方から送られてきたアドレス信
号を他方のアドレス空間に割り付けて他方側へ再送する
アドレス再送手段14を備え、前記アドレス再送手段
は、ホストコンピュータのアドレス空間の所定領域と、
解析対象の電子回路のアドレス空間との間のアドレス変
換テーブルを有し、且つ、前記アドレス変換テーブル
は、ホストコンピュータからのアクセスによってデータ
の書き換えが可能であることを特徴とする。請求項2に
係る発明は、その原理図を図2に示すように、解析対象
の電子回路10のアドレスバス11(又はアドレス端
子)と、ホストコンピュータ12のアドレスバス13
(又はアドレス端子)との間に介在し、一方から送られ
てきたアドレス信号を他方のアドレス空間に割り付けて
他方側へ再送するアドレス再送手段14、及び、解析対
象の電子回路10のコントロール端子16とホストコン
ピュータ12のコントロール端子17との間に介在し、
一方から送られてきたコントロール信号を他方のアーキ
テクチャに合わせて変換して他方側へ再送するコントロ
ール再送手段18を備え、前記アドレス再送手段は、ホ
ストコンピュータから送られてきたアドレス信号が該ホ
ストコンピュータのアドレス空間の所定領域に含まれて
いるときに、前記再送動作を実行することを特徴とす
る。 請求項3に係る発明は、解析対象の電子回路のアド
レスバス又はアドレス端子と、ホストコンピュータのア
ドレスバス又はアドレス端子との間に介在し、一方から
送られてきたアドレス信号を他方のアドレス空間に割り
付けて他方側へ再送するアドレス再送手段を備え、前記
アドレス再送手段は、ホストコンピュータから送られて
きたアドレス信号が該ホストコンピュータのアドレス空
間の所定領域に含まれているときに、前記再送動作を実
行するとともに、ホストコンピュータのアドレス空間の
所定領域と、解析対象の電子回路のアドレス空間との間
のアドレス変換テーブルを有し、且つ、前記アドレス変
換テーブルは、ホストコンピュータからのアクセスによ
ってデータの書き換えが可能であることを特徴とする。
請求項4に係る発明は、解析対象の電子回路のアドレス
バス又はアドレス端子と、ホストコンピュータのアドレ
スバス又はアドレス端子との間に介在し、一方から送ら
れてきたアドレス信号を他方のアドレス空間に割り付け
て他方側へ再送するアドレス再送手段、及び、前記電子
回路のコントロール端子と前記ホストコンピュータのコ
ントロール端子との間に介在し、一方から送られてきた
コントロール信号を他方のアーキテクチャに合わせて変
換して他方側へ再送するコントロール再送手段を備え、
前記アドレス再送手段は、ホストコンピュータから送ら
れてきたアドレス信号が該ホストコンピュータのアドレ
ス空間の所定領域に含まれているときに、前記再送動作
を実行するとともに、ホストコンピュータのアドレス空
間の所定領域と、解析対象の電子回路のアドレス空間と
の間のアドレス変換テーブルを有することを特徴とす
る。 請求項5に係る発明は、その原理図を図3に示すよ
うに、解析対象の電子回路10のアドレスバス11(又
はアドレス端子)と、ホストコンピュータ12のアドレ
スバス13(又はアドレス端子)との間に介在し、一方
から送られてきたアドレス信号を他方のアドレス空間に
割り付けて他方側へ再送するアドレス再送手段14、解
析対象の電子回路10のコントロール端子16とホスト
コンピュータ12のコントロール端子17との間に介在
し、一方から送られてきたコントロール信号を他方のア
ーキテクチャに合わせて変換して他方側へ再送するコン
トロール再送手段18、及び、解析対象の電子回路10
のデータバス19(又はデータ端子)とホストコンピュ
ータ12のデータバス20(又はデータ端子)との間に
介在し、一方から送られてきたデータ信号を他方のデー
タバス(又はデータ端子)の形式に合わせて変換して他
方側へ再送するデータ再送手段21を備え、前記アドレ
ス再送手段は、ホストコンピュータから送られてきたア
ドレス信号が該ホストコンピュータのアドレス空間の所
定領域に含まれているときに、前記再送動作を実行する
とともに、ホストコンピュータのアドレス空間の所定領
域と、解析対象の電子回路のアドレス空間との間のアド
レス変換テーブルを有し、前記アドレス変換テーブル
は、ホストコンピュータからのアクセスによってデータ
の書き換えが可能であることを特徴とする。 The invention according to claim 1 is
An electronic circuit 1 to be analyzed is shown in FIG.
0 between the address bus 11 (or the address terminal) of the host computer 12 and the address bus 13 (or the address terminal) of the host computer 12. The address signal sent from one is assigned to the other address space and is sent to the other side. Address resending means 14 for resending, the address resending means
Is a predetermined area of the host computer address space,
Address changes between the address space of the electronic circuit to be analyzed
Conversion table, and the address conversion table
Means that data is accessed by the host computer.
Can be rewritten . Claim 2
According to the invention, the principle diagram is shown in FIG.
Address bus 11 (or address terminal) of the electronic circuit 10 of FIG.
And the address bus 13 of the host computer 12.
(Or address terminal) and sent from one side
Assigns the incoming address signal to the other address space
Address retransmission means 14 for retransmission to the other side;
The control terminal 16 of the elephant electronic circuit 10 and the host
Interposed between the control terminal 17 of the computer 12 and
The control signal sent from one is
Control to convert according to the architecture and retransmit to the other side
And the address retransmitting means is provided with
The address signal sent from the host computer is
Included in a predetermined area of the address space of the
Performing the retransmission operation when the
You. The invention according to claim 3 is an add-on of an electronic circuit to be analyzed.
Address or address terminal and the host computer
Interposed between the address bus and the address bus, from one side
Divide the transmitted address signal into the other address space
Address resending means for resending to the other side
The address resending means is sent from the host computer.
The incoming address signal is the address of the host computer.
The retransmission operation is performed when the
Along with the host computer's address space.
Between a predetermined area and the address space of the electronic circuit to be analyzed
Address conversion table, and the address conversion table
The conversion table is accessed by the host computer.
Thus, data can be rewritten.
According to a fourth aspect of the present invention, an address of an electronic circuit to be analyzed is provided.
Bus or address terminal and host computer address
Interposed between the bus and the address terminal and sent from one
Assigned address signal to the other address space
Address retransmitting means for retransmitting to the other side
Circuit control terminal and the host computer
Control terminal and sent from one side
Change control signals to match the other architecture
Control resending means to resend and resend to the other side,
The address retransmitting unit transmits the address from a host computer.
The received address signal is the address of the host computer.
When the retransmission operation is included in a predetermined area of the
And the address of the host computer is empty.
Between the specified area and the address space of the electronic circuit to be analyzed.
Characterized by having an address translation table between
You. The invention according to claim 5 is based on the principle diagram shown in FIG.
Thus, the address bus 11 of the electronic circuit 10 to be analyzed (or
Is an address terminal) and the address of the host computer 12.
Interposed between the bus 13 and an address terminal,
Address signal sent from the other address space
Address retransmission means 14, which allocates and retransmits to the other side,
The control terminal 16 of the electronic circuit 10 to be analyzed and the host
Interposed between control terminal 17 of computer 12
Control signal sent from one device to the other device.
-Convert to match the architecture and retransmit to the other side
Troll retransmission means 18 and electronic circuit 10 to be analyzed
Data bus 19 (or data terminal) of the host computer
Between the data bus 20 (or data terminal) of the data 12
Intervening, the data signal sent from one is transmitted to the other
Convert according to tabus (or data terminal) format
Data resending means 21 for resending data to the
The means for resending data is the address sent from the host computer.
Address signal in the address space of the host computer.
Perform the resending operation when it is included in the fixed area
Together with a predetermined area of the host computer's address space.
Address and the address space of the electronic circuit to be analyzed.
Address translation table, the address translation table
Means that data is accessed by the host computer.
Can be rewritten.
【0008】[0008]
【0009】[0009]
【0010】[0010]
【0011】[0011]
【作用】本発明では、アドレス信号の送出元と送出先の
アドレス空間の一致/不一致にかかわらず、ホストコン
ピュータと電子回路との間のデータアクセスが可能にな
る。したがって、一つの装置で様々な電子回路に適用で
きるから、汎用性の改善とともに、設備コストの削減が
図られる。According to the present invention, data access between the host computer and the electronic circuit becomes possible irrespective of whether the address spaces of the source and destination of the address signal match or mismatch. Therefore, since one device can be applied to various electronic circuits, versatility can be improved and equipment cost can be reduced.
【0012】[0012]
【実施例】以下、本発明の実施例を図面に基づいて説明
する。図4、図5は本発明に係る電子回路解析装置の第
1実施例を示す図である。まず、構成を説明する。図4
において、20はパーソナルコンピュータやワークステ
ーションを用いたホストコンピュータである。ホストコ
ンピュータ20のCPU21は、特に限定しないが、た
とえば、8086等の86系CPUであり、CPU21
のシステムバス(たとえば100バス;図示略)は、拡
張スロット22につながっている。Embodiments of the present invention will be described below with reference to the drawings. 4 and 5 are views showing a first embodiment of the electronic circuit analysis device according to the present invention. First, the configuration will be described. FIG.
In the figure, reference numeral 20 denotes a host computer using a personal computer or a workstation. Although the CPU 21 of the host computer 20 is not particularly limited, for example, it is an 86 system CPU such as 8086,
(For example, 100 buses; not shown) are connected to the expansion slot 22.
【0013】拡張スロット22には、本実施例の電子回
路解析装置を搭載したボード23が実装可能であり、拡
張スロット22とボード23との間で、アドレス信号2
4やデータ25及び各種のコントロール信号26がやり
取りされるようになっている。なお、ボード23への電
源供給は、拡張スロット22から行なってもよいし、専
用のアダブターから行なってもよい。A board 23 on which the electronic circuit analyzer of this embodiment is mounted can be mounted in the extension slot 22, and an address signal 2 is transmitted between the extension slot 22 and the board 23.
4 and data 25 and various control signals 26 are exchanged. The power supply to the board 23 may be performed from the expansion slot 22 or from a dedicated adapter.
【0014】27は、本実施例の電子回路解析装置の主
要部をなすアドレス変換部(アドレス再送手段)であ
り、アドレス変換部27は、アドレスデコード部28、
被測定領域セレクト部29及びアンド回路部30を有し
ている。アドレスデコード部28は、ホストコンピュー
タ20からのアドレス信号24が特定の領域(ホストコ
ンピュータ20のアドレス空間の所定領域)に含まれて
いるか否かを判定し、含まれている場合には、その領域
内の位置に応じた領域判定信号31を出力する。被測定
領域セレクト部29は、解析対象の電子回路32の各I
/O(図では便宜的にROM33、SRAM34及びD
RAM35)毎の領域セレクト信号36を発生し、アン
ド回路部30は、領域判定信号31と領域セレクト信号
36とのアンド論理をとって電子回路32の各I/Oに
対するアドレス信号37を生成する。なお、38は電子
回路32のCPU、39はアドレス及びデータバス、4
0はボード23と電子回路32との間でやり取りされる
データ、41は同じくやり取りされる各種のコントロー
ル信号である。Reference numeral 27 denotes an address conversion unit (address retransmission means) which is a main part of the electronic circuit analysis apparatus according to the present embodiment.
It has a measured area selection section 29 and an AND circuit section 30. The address decoding unit 28 determines whether or not the address signal 24 from the host computer 20 is included in a specific area (a predetermined area in the address space of the host computer 20). And outputs an area determination signal 31 corresponding to the position in the area. The area to be measured selecting section 29 is provided for each of the I
/ O (ROM 33, SRAM 34 and D
The AND circuit unit 30 generates an address signal 37 for each I / O of the electronic circuit 32 by performing an AND logic between the area determination signal 31 and the area select signal 36. 38 is a CPU of the electronic circuit 32, 39 is an address and data bus,
0 is data exchanged between the board 23 and the electronic circuit 32, and 41 is various control signals exchanged similarly.
【0015】ここで、100バスのアドレスビットは1
6/20ビットであるから、ボード23から電子回路3
2に送り出されるアドレス信号37も16/20ビット
である。図ではビット0〜ビット16を符号TA0−1
5で表し、残りのビット17〜ビット20を符号TA1
9−16で表している。たとえば、電子回路32のアド
レス空間を、[00000(H) ](Hは16進数を表す
記号)から[FFFFF(H) ]までとし、SRAM34
のアドレスを[7****(H) ](*は0〜Fの間の任
意値)とすると、このSRAM34をアクセスするに
は、TA19を“0”、TA18〜TA16を“1”に
すればよい。すなわち、TA0−15を任意の値のまま
で、TA19−16だけを[0111(2) ]([7
(H) ])にすればよい。Here, the address bit of the 100 bus is 1
Since it is 6/20 bits, the electronic circuit 3
2 is also 16/20 bits. In the figure, bits 0 to 16 are represented by codes TA0-1.
5 and the remaining bits 17 to 20 are represented by code TA1.
It is represented by 9-16. For example, the address space of the electronic circuit 32 ranges from [00000 (H) ] (H is a symbol representing a hexadecimal number) to [FFFFFF (H) ], and the SRAM 34
Is [7 **** (H) ] (* is an arbitrary value between 0 and F), to access the SRAM 34, set TA19 to "0" and TA18 to TA16 to "1". do it. That is, while TA0-15 remains an arbitrary value, only TA19-16 is set to [0111 (2) ] ([7
(H) ]).
【0016】したがって、この例の場合には、被測定領
域セレクト部29からの領域セレクト信号36のうち、
上記[7(H) ]に相当する信号をアンド回路部30で選
べばよく、アドレスデコード部28からの領域判定信号
31によって、上記選択動作を実行すればよい。ここ
で、領域選択信号31について実例を上げて説明する。
図5は、ホストコンピュータ20のアドレス空間(特に
限定しないがMS−DOSの例)を示す図である。この
図において、[0000(H) ]から[9FFFF(H) ]
までの640KBはユーザに開放されたメモリ領域(ユ
ーザメモリ)であり、そのうちの[80000(H) ]か
ら[9FFFF(H) ]までの128KBは任意に切り離
し可能な領域である。いま、この128KBの領域を利
用して電子回路32のI/Oをアクセスすることを考え
ると、128KBの領域をnブロックに分け、アドレス
デコード部28でmブロック目(アクセス対象のI/O
がたとえばSRAM34のときにはm=7)のアドレス
信号を検出したときに、そのブロック番号(m)に対応
する領域判定信号31をアクティブにすればよい。Therefore, in the case of this example, of the area select signals 36 from the area to be measured selecting section 29,
The signal corresponding to [7 (H) ] may be selected by the AND circuit unit 30, and the selection operation may be performed by the area determination signal 31 from the address decoding unit 28. Here, the region selection signal 31 will be described with an actual example.
FIG. 5 is a diagram illustrating an address space of the host computer 20 (an example of the MS-DOS is not particularly limited). In this figure, [0000 (H) ] to [9FFFF (H) ]
640 KB up to 640 KB is a memory area (user memory) opened to the user, of which 128 KB from [80000 (H) ] to [9FFFF (H) ] is an area that can be arbitrarily separated. Now, considering that the 128 KB area is used to access the I / O of the electronic circuit 32, the 128 KB area is divided into n blocks, and the address decoding unit 28 blocks the m th block (the I / O to be accessed).
For example, when an address signal of m = 7) is detected in the case of the SRAM 34, the area determination signal 31 corresponding to the block number (m) may be activated.
【0017】したがって、本実施例によれば、ホストコ
ンピュータ20からのアドレス信号24が[80000
(H) ]から[9FFFF(H) ]の間のたとえば7ブロッ
ク目にあるとき、アドレスデコード部28からそのブロ
ック番号(7)を示す領域識別信号31が出力され、ア
ンド回路部30によって領域セレクト信号36の中の
[7(H) ]が選択されるから、電子回路解析部27から
電子回路32に再送されるアドレス信号37が[7**
**(H) ]となり、電子回路32内のI/Oのうち、
[7****(H) ]のアドレスを持つもの、すなわちS
RAM34がセレクトされることになる。Therefore, according to this embodiment, the address signal 24 from the host computer 20 is [80000]
For example, in the seventh block between (H) ] and [9FFFF (H) ], an area identification signal 31 indicating the block number (7) is output from the address decoding unit 28, and the AND circuit unit 30 selects the area. Since [7 (H) ] in the signal 36 is selected, the address signal 37 retransmitted from the electronic circuit analysis unit 27 to the electronic circuit 32 is [7 **].
** (H) ], and among the I / Os in the electronic circuit 32,
One having an address of [7 **** (H) ], that is, S
The RAM 34 is selected.
【0018】その結果、ホストコンピュータ20から見
て、あたかもアドレス信号24でSRAM34をアクセ
スしたのと同じこととなり、セレクトされたSRAM3
4をホストコンピュータ20自身のI/Oと同様に取り
扱うことができるようになるから、従来のようなインサ
ーキットエミュレータを用いることなく、電子回路32
の擬似的な動作解析を行なうことができる。As a result, as viewed from the host computer 20, it is the same as accessing the SRAM 34 with the address signal 24, and the selected SRAM 3
4 can be handled in the same manner as the I / O of the host computer 20 itself, so that the electronic circuit 32 can be used without using a conventional in-circuit emulator.
Can be simulated.
【0019】なお、本発明は、上記実施例に限定される
ものではない。要は、ホストコンピュータ20のアドレ
ス空間の所定領域(言うまでもなく上記例示の128K
Bに限らない)に、電子回路32のアドレス空間を割り
付ければよく、二つのアドレス空間の構造を比較しつ
つ、適宜に、アドレスデコード部28と被測定領域セレ
クト部29とを設計すればよい。The present invention is not limited to the above embodiment. The point is that a predetermined area of the address space of the host computer 20 (of course, the 128 K
B), the address space of the electronic circuit 32 may be assigned, and the address decode unit 28 and the measured area selection unit 29 may be designed as appropriate while comparing the structures of the two address spaces. .
【0020】図6〜図9は本発明に係る電子回路解析装
置の第2実施例を示す図である。なお、第1実施例と共
通の回路要素には同一の符号を付すとともにその説明を
省略する。本実施例では、アドレス変換部の構成が第1
実施例と異なっている。すなわち、本実施例のアドレス
変換部(アドレス再送手段)50は、メモリ51、アド
レスデコード部52及びマスク回路53を含み、メモリ
51は、アドレスデコード部52からのチップセレクト
信号54がアクティブのときにリード/ライトが可能
で、かつ、マスク回路53からのマスク信号55がアク
ティブのときにライト動作の禁止及びホストコンピュー
タ20へのリードデータの返送が禁止されるようになっ
ている。FIGS. 6 to 9 are views showing a second embodiment of the electronic circuit analyzing apparatus according to the present invention. Note that the same reference numerals are given to circuit elements common to the first embodiment, and description thereof is omitted. In the present embodiment, the configuration of the address translator is the first
This is different from the embodiment. That is, the address conversion unit (address retransmission unit) 50 of this embodiment includes a memory 51, an address decoding unit 52, and a mask circuit 53. The memory 51 is activated when the chip select signal 54 from the address decoding unit 52 is active. When read / write is possible and the mask signal 55 from the mask circuit 53 is active, the write operation is prohibited and the return of read data to the host computer 20 is prohibited.
【0021】ここで、チップセレクト信号54は、ホス
トコンピュータ20からのアドレス信号24が特定の領
域(ホストコンピュータ20のアドレス空間の所定の領
域)に含まれている場合にアクティブになり、また、マ
スク信号55は、メモリ51へのデータ(アドレス変換
テーブル)の書込み後にアクティブになる。図7はアド
レス変換テーブルの一例であり、このテーブルはA、B
の2列構造を有し、A列のデータ(変換元アドレス)を
参照すると、そのデータと同一行のB列のデータ(変換
先アドレス)が読み出されるようになっている。Here, the chip select signal 54 becomes active when the address signal 24 from the host computer 20 is included in a specific area (a predetermined area of the address space of the host computer 20). The signal 55 becomes active after writing data (address conversion table) to the memory 51. FIG. 7 shows an example of the address conversion table.
With reference to data in column A (conversion source address), data in column B (conversion destination address) in the same row as the data is read.
【0022】変換元アドレスは、ホストコンピュータ2
0のアドレス空間に対応する値であり、また、変換先ア
ドレスは、電子回路32のアドレス空間に対応する値で
ある。たとえば、図7においては、ホストコンピュータ
20のアドレス空間の[100000(H) ]から[1F
0000(H) ]まで(すなわち拡張メモリ領域の一部)
が変換元アドレス、電子回路32のアドレス空間の[0
0000(H) ]から[F0000(H) ]までが変換先ア
ドレスとなっており、たとえば、A列の[100000
(H) ]を参照すると、B列の[00000(H) ]を読み
出すことができる。The translation source address is the host computer 2
A value corresponding to the address space of 0, and the conversion destination address is a value corresponding to the address space of the electronic circuit 32. For example, in FIG. 7, the address space of the host computer 20 ranges from [100000 (H) ] to [1F
0000 (H) ] (that is, a part of the extended memory area).
Is the source address, [0] in the address space of the electronic circuit 32.
0000 (H) ] to [F0000 (H) ] are the conversion destination addresses. For example, [1000000] in column A
(H) ], [00000 (H) ] in column B can be read.
【0023】いま、電子回路32のD−RAM35が
[00000(H) ]〜[6FFFF(H ) ]([6FFF
F(H) ]は[70000(H) ]から−1した値)の領域
に割り付けられているとすると、A列の[100000
(H) ]〜[16FFFF(H) ]を参照することによっ
て、このDRAM35をアクセスすることができる。す
なわち、アドレス変換テーブルのA列は、ホストコンピ
ュータ20のアドレス信号24(のA19−16)と一
対一で対応し、かつ、同テーブルのB列は、電子回路3
2へのアドレス信号37(のTA19−16)と一対一
で対応しているから、両アドレス信号24、37の違い
をこの同テーブルで吸収することができ、あたかもホス
トコンピュータ20の一部のようにして電子回路32の
各I/Oを取り扱うことができる。[0023] Now, D-RAM35 of the electronic circuit 32 [00000 (H)] ~ [ 6FFFF (H)] ([6FFF
F (H) ] is assigned to the area of [70000 (H) ] minus [10000].
The DRAM 35 can be accessed by referring to (H) ] to [16FFFF (H) ]. That is, column A of the address conversion table has a one-to-one correspondence with (A19-16 of) the address signal 24 of the host computer 20, and column B of the table has the electronic circuit 3
2 has a one-to-one correspondence with the address signal 37 (TA19-16), the difference between the two address signals 24 and 37 can be absorbed in this same table, as if it were part of the host computer 20. Thus, each I / O of the electronic circuit 32 can be handled.
【0024】なお、本第2実施例では、アドレス変換テ
ーブルを、ホストコンピュータ20からメモリ51に書
き込むようにしているが、これに限るものではない。メ
モリ21を不揮発性のものにしてもよい。ホストコンピ
ュータ20と電子回路32の組み合わせに応じてそのメ
モリ(すなわちアドレス変換テーブル)を取り替えても
よい。Although the address translation table is written from the host computer 20 to the memory 51 in the second embodiment, the present invention is not limited to this. The memory 21 may be non-volatile. The memory (that is, the address conversion table) may be replaced according to the combination of the host computer 20 and the electronic circuit 32.
【0025】また、図7のテーブルの共通部分(000
0)を省略し、図8のようにしてもよい。1行あたりA
列に5ビット、B列に4ビットを確保すればよく、メモ
リ51の容量を削減できる。また、上記各実施例では、
ホストコンピュータと電子回路との間のアドレス変換を
行なっているが、これに加えて、コントロール信号の変
換やデータバス形式の変換を行なうのが好ましい。電子
回路に搭載されるCPUのタイプによっては、ホストコ
ンピュータのコントロール信号やデータバスをそのまま
使用できないものがあるからである。The common part (000) of the table shown in FIG.
0) may be omitted, as shown in FIG. A per line
It is sufficient to secure 5 bits in the column and 4 bits in the B column, and the capacity of the memory 51 can be reduced. In each of the above embodiments,
Although address conversion is performed between the host computer and the electronic circuit, it is preferable to perform control signal conversion and data bus format conversion in addition to this. This is because, depending on the type of CPU mounted on the electronic circuit, the control signal or data bus of the host computer cannot be used as it is.
【0026】[0026]
【発明の効果】本発明によれば、アドレス信号の送出元
と送出先のアドレス空間の一致/不一致にかかわらず、
ホストコンピュータと電子回路との間のデータアクセス
が可能になる。したがって、一つの装置で様々な電子回
路に適用でき、汎用性の改善と設備コストの削減を図る
ことができる。According to the present invention, regardless of the coincidence / mismatch between the address spaces of the source and destination of the address signal,
Data access between the host computer and the electronic circuit becomes possible. Accordingly, one device can be applied to various electronic circuits, and versatility can be improved and equipment cost can be reduced.
【図1】請求項1記載の発明の原理図である。FIG. 1 is a principle diagram of the invention according to claim 1;
【図2】請求項2記載の発明の原理図である。FIG. 2 is a principle diagram of the invention according to claim 2 ;
【図3】請求項5記載の発明の原理図である。FIG. 3 is a principle diagram of the invention according to claim 5 ;
【図4】第1実施例の構成図である。FIG. 4 is a configuration diagram of a first embodiment.
【図5】第1実施例のホストコンピュータのメモリマッ
プ図である。FIG. 5 is a memory map of the host computer of the first embodiment.
【図6】第2実施例の構成図である。FIG. 6 is a configuration diagram of a second embodiment.
【図7】第2実施例のアドレス変換テーブル概念図であ
る。FIG. 7 is a conceptual diagram of an address conversion table according to a second embodiment.
【図8】第2実施例の好ましいアドレス変換テーブル概
念図である。FIG. 8 is a conceptual diagram of a preferred address conversion table of the second embodiment.
【図9】インサーキットエミュレータの構成図である。FIG. 9 is a configuration diagram of an in-circuit emulator.
10:電子回路 11、13:アドレスバス 12:ホストコンピュータ 14:アドレス再送手段 15:アドレス変換テーブル 18:コントロール再送手段 21:データ再送手段 10: Electronic circuit 11, 13: Address bus 12: Host computer 14: Address resending means 15: Address conversion table 18: Control resending means 21: Data resending means
Claims (5)
ドレス端子と、ホストコンピュータのアドレスバス又は
アドレス端子との間に介在し、一方から送られてきたア
ドレス信号を他方のアドレス空間に割り付けて他方側へ
再送するアドレス再送手段を備え、前記アドレス再送手
段は、ホストコンピュータのアドレス空間の所定領域
と、解析対象の電子回路のアドレス空間との間のアドレ
ス変換テーブルを有し、且つ、前記アドレス変換テーブ
ルは、ホストコンピュータからのアクセスによってデー
タの書き換えが可能であることを特徴とする電子回路解
析装置。1. An address signal interposed between an address bus or an address terminal of an electronic circuit to be analyzed and an address bus or an address terminal of a host computer. an address retransmitting means for retransmitting to the side, the address retransmission hand
The column is a predetermined area of the address space of the host computer.
And the address space of the electronic circuit to be analyzed.
Address translation table, the address translation table
Files are accessed by the host computer.
An electronic circuit analyzer characterized in that data can be rewritten .
ドレス端子と、ホストコンピュータのアドレスバス又は
アドレス端子との間に介在し、一方から送られてきたア
ドレス信号を他方のアドレス空間に割り付けて他方側へ
再送するアドレス再送手段、及び、前記電子回路のコン
トロール端子と前記ホストコンピュータのコントロール
端子との間に介在し、一方から送られてきたコントロー
ル信号を他方のアーキテクチャに合わせて変換して他方
側へ再送するコントロール再送手段を備え、前記アドレ
ス再送手段は、ホストコンピュータから送られてきたア
ドレス信号が該ホストコンピュータのアドレス空間の所
定領域に含まれているときに、前記再送動作を実行する
ことを特徴とする電子回路解析装置。2. An address bus or address of an electronic circuit to be analyzed.
Address terminal and the address bus of the host computer or
An address that is interposed between the
Allocate the address signal to the other address space and send to the other side
Address resending means for resending, and a component of the electronic circuit.
Troll terminal and control of the host computer
Control that is interposed between terminals and sent from one side
Signal to the other architecture
Control resending means for resending to the
Be retransmitted means, when the address signal sent from the host computer is included in a predetermined area of the address space of the host computer, the electronic circuit analyzing apparatus characterized by performing the retransmission operation.
ドレス端子と、ホストコンピュータのアドレスバス又は
アドレス端子との間に介在し、一方から送られてきたア
ドレス信号を他方のアドレス空間に割り付けて他方側へ
再送するアドレス再送手段を備え、前記アドレス再送手
段は、ホストコンピュータから送られてきたアドレス信
号が該ホストコンピュータのアドレス空間の所定領域に
含まれているときに、前記再送動作を実行するととも
に、ホストコンピュータのアドレス空間の所定領域と、
解析対象の電子回路のアドレス空間との間のアドレス変
換テーブルを有し、且つ、前記アドレス変換テーブル
は、ホストコンピュータからのアクセスによってデータ
の書き換えが可能であることを特徴とする電子回路解析
装置。3. An address bus or address of an electronic circuit to be analyzed.
Address terminal and the address bus of the host computer or
An address that is interposed between the
Allocate the address signal to the other address space and send to the other side
Together with the address retransmitting means for retransmitting said address retransmission means, when the address signal sent from the host computer is included in a predetermined area of the address space of the host computer, when executing the retransmission operation
A predetermined area of the address space of the host computer;
Address changes between the address space of the electronic circuit to be analyzed
Conversion table, and the address conversion table
Means that data is accessed by the host computer.
An electronic circuit analysis device characterized by being able to rewrite data.
ドレス端子と、ホストコンピュータのアドレスバス又は
アドレス端子との間に介在し、一方から送られてきたア
ドレス信号を他方のアドレス空間に割り付けて他方側へ
再送するアドレス再送手段、及び、前記電子回路のコン
トロール端子と前記ホストコンピュータのコントロール
端子との間に介在し、一方から送られてきたコントロー
ル信号を他方のアーキテクチャに合わせて変換して他方
側へ再送するコントロール再送手段を備え、前記アドレ
ス再送手段は、ホストコンピュータから送られてきたア
ドレス信号が該ホストコンピュータのアドレス空間の所
定領域に含まれているときに、前記再送動作を実行する
とともに、ホストコンピュータのアドレス空間の所定領
域と、解析対象の電子回路のアドレス空間との間のアド
レス変換テーブルを有することを特徴とする電子回路解
析装置。4. An address bus or address of an electronic circuit to be analyzed.
Address terminal and the address bus of the host computer or
An address that is interposed between the
Allocate the address signal to the other address space and send to the other side
Address resending means for resending, and a component of the electronic circuit.
Troll terminal and control of the host computer
Control that is interposed between terminals and sent from one side
Signal to the other architecture
Control resending means for resending to the
The means for resending data is the address sent from the host computer.
Address signal in the address space of the host computer.
Perform the resending operation when it is included in the fixed area
Together with a predetermined area of the host computer's address space.
Address and the address space of the electronic circuit to be analyzed.
An electronic circuit analysis device having a conversion table .
ドレス端子と、ホストコンピュータのアドレスバス又は
アドレス端子との間に介在し、一方から送られてきたア
ドレス信号を他方のアドレス空間に割り付けて他方側へ
再送するアドレス再送手段、前記電子回路のコントロー
ル端子と前記ホストコンピュータのコントロール端子と
の間に介在し、一方から送られてきたコントロール信号
を他方のアーキテクチャに合わせて変換して他方側へ再
送するコントロール再送手段、及び、前記電子回路のデ
ータバス又はデータ端子と前記ホストコンピュータのデ
ータバス又はデータ端子との間に介在し、一方から送ら
れてきたデータ信号を他方のデータバス又はデータ端子
の形式に合わせて変換して他方側へ再送するデータ再送
手段を備え、前記アドレス再送手段は、ホストコンピュ
ータから送られてきたアドレス信号が該ホストコンピュ
ータのアドレス空間の所定領域に含まれているときに、
前記再送動作を実行するとともに、ホストコンピュータ
のアドレス空間の所定領域と、解析対象の電子回路のア
ドレス空間との間のアドレス変換テーブルを有し、前記
アドレス変換テーブルは、ホストコンピュータからのア
クセスによってデータの書き換えが可能であることを特
徴とする電子回路解析装置。5. An address bus or address of an electronic circuit to be analyzed.
Address terminal and the address bus of the host computer or
An address that is interposed between the
Allocate the address signal to the other address space and send to the other side
Address retransmitting means for retransmitting, controls said a control terminal of the electronic circuit interposed between the control terminal of the host computer retransmits the control signal sent from one to convert in accordance with the other architecture to the other side Resending means and data of the electronic circuit.
Data bus or data terminal and the data of the host computer.
Data bus and data terminals, and sent from one
Data signal sent to the other data bus or data terminal
Resend to convert to the format of the data and resend to the other side
Means, and the address retransmitting means comprises a host computer.
Address signal sent from the host computer
Data is contained in a predetermined area of the data address space,
Executing the retransmission operation, and
Address area of the electronic circuit to be analyzed.
Having an address translation table between the address space and
The address translation table stores the address from the host computer.
An electronic circuit analysis device characterized in that data can be rewritten by access .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6258644A JP2896092B2 (en) | 1994-10-25 | 1994-10-25 | Electronic circuit analyzer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6258644A JP2896092B2 (en) | 1994-10-25 | 1994-10-25 | Electronic circuit analyzer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08123707A JPH08123707A (en) | 1996-05-17 |
JP2896092B2 true JP2896092B2 (en) | 1999-05-31 |
Family
ID=17323138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6258644A Expired - Lifetime JP2896092B2 (en) | 1994-10-25 | 1994-10-25 | Electronic circuit analyzer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2896092B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0799505B2 (en) * | 1987-10-20 | 1995-10-25 | 横河電機株式会社 | Microprocessor analyzer |
JPH02307126A (en) * | 1989-05-23 | 1990-12-20 | Yokogawa Electric Corp | In-circuit emulator |
JPH0615142U (en) * | 1992-04-24 | 1994-02-25 | 太平洋工業株式会社 | Serial signal converter |
-
1994
- 1994-10-25 JP JP6258644A patent/JP2896092B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH08123707A (en) | 1996-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100290944B1 (en) | An apparatus and method for providing an interface to a compound universal serial bus controller | |
US20090235122A1 (en) | Method and System for Remote Software Testing | |
US6427198B1 (en) | Method, system, and program for determining system configuration | |
US5566303A (en) | Microcomputer with multiple CPU'S on a single chip with provision for testing and emulation of sub CPU's | |
US6148384A (en) | Decoupled serial memory access with passkey protected memory areas | |
CN101095119B (en) | Device and method for analyzing embedded systems with test interfaces | |
US8015448B2 (en) | System and method for conducting BIST operations | |
JP2896092B2 (en) | Electronic circuit analyzer | |
US8291270B2 (en) | Request processing device, request processing system, and access testing method | |
US4807119A (en) | Memory address mapping mechanism | |
US20030200401A1 (en) | Microcomputer system automatically backing-up data written in storage medium in transceiver, and transceiver connected thereto | |
KR100801759B1 (en) | Slave Debugging Method and System | |
KR960004257B1 (en) | Memory board for control program and data storage | |
JP3741182B2 (en) | Microcomputer, electronic equipment and debugging system | |
EP0556138A1 (en) | A bus for connecting extension cards to a data processing system and test method | |
JP3147110B2 (en) | ATM communication controller | |
JPH0612270A (en) | Test circuit | |
JPS6320545A (en) | Register read-out device for emulator | |
US6854047B2 (en) | Data storage device and data transmission system using the same | |
KR100225531B1 (en) | Apparatus for interfacing between peripheral processor and device in the switching system | |
JP3735860B2 (en) | General-purpose memory system for emulator | |
JP2003167845A (en) | Data storing device and data transferring system using the same | |
KR920001800B1 (en) | Facsimile Expansion Unit | |
CN119961184A (en) | Storage sharing method, sharing device and processing system | |
KR970063652A (en) | Apparatus and method for transmitting / receiving data between modules of a programmable logic controller |