JPH08328902A - Software development supporting device - Google Patents

Software development supporting device

Info

Publication number
JPH08328902A
JPH08328902A JP7132277A JP13227795A JPH08328902A JP H08328902 A JPH08328902 A JP H08328902A JP 7132277 A JP7132277 A JP 7132277A JP 13227795 A JP13227795 A JP 13227795A JP H08328902 A JPH08328902 A JP H08328902A
Authority
JP
Japan
Prior art keywords
address
data
program
space
label
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.)
Pending
Application number
JP7132277A
Other languages
Japanese (ja)
Inventor
Nobuyuki Tanaka
信行 田中
Hidenori Ohashi
秀紀 大橋
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP7132277A priority Critical patent/JPH08328902A/en
Publication of JPH08328902A publication Critical patent/JPH08328902A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE: To designate a label as a break point only by designating the label set to a memory space where a program space and a data space are independent. CONSTITUTION: This device is provided with a keyboard 3 for inputting the address of an instruction to be executed by a target processor 5 having the memory space, in which the program space and the data space are allocated to independent logical spaces and the label for specifying the those spaces while dividing those spaces into the ranges of plural continuous logical addresses, or for inputting the address of data to be accessed while being connected to the target processor 5, break address registers 220 and 221 for holding the inputted address, comparators 230 and 231 for comparing the address held by these registers with the address of the instruction to be executed by the target processor 5 or with the address of the data to be accessed in the case of executing the instruction, and debugging controller 21 for stopping the operation of the target processor 5 when any compared result shows coincidence.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はソフトウェア開発支援装
置に関し、特にその対象となるシステムのプログラム空
間とデータ空間とが独立しており、且つ双方にラベルが
設定されている場合に好適なソフトウェア開発支援装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a software development support apparatus, and particularly software development suitable when the program space and the data space of the system to be targeted are independent and both labels are set. Regarding the support device.

【0002】[0002]

【従来の技術】コンピュータのプログラムはいわゆるホ
ストコンピュータ上で開発されるが、そのプログラムを
実際に走行させるプロセッサ(ターゲットプロセッサ)
は、本来的にはホストコンピュータとは独立した別個の
コンピュータである。しかし、コンピュータのプログラ
ムを効率よく開発するには、ターゲットプロセッサをホ
ストコンピュータの制御下に置き、ターゲットプロセッ
サ上のプログラムを所定のアドレスでブレークし、その
時点のレジスタ,メモリ等の内容を観測してプログラム
ミス(バグ)を見つける、即ちデバッグを行なう必要が
ある。換言すれば、ターゲットプロセッサの状態を観測
し、その結果を判定し、制御する専用のハードウェア
(デバッガ) が必要になる。そのようなハードウェアが
インサーキットエミュレータ(ICE:In Circuit Emulate
r) と称されるソフトウェア開発支援装置である。
2. Description of the Related Art A computer program is developed on a so-called host computer, but a processor (target processor) that actually runs the program.
Is a separate computer that is essentially independent of the host computer. However, in order to develop a computer program efficiently, put the target processor under the control of the host computer, break the program on the target processor at a predetermined address, and observe the contents of registers and memory at that time. It is necessary to find a program mistake (bug), that is, to debug. In other words, dedicated hardware that observes the state of the target processor, determines the result, and controls it.
(Debugger) is required. Such hardware is an in-circuit emulator (ICE).
It is a software development support device called r).

【0003】図4は従来のソフトウェア開発支援装置と
してのインサーキットエミュレータの構成例を示すブロ
ック図を、図5はそのようなインサーキットエミュレー
タを組み込んだホストコンピュータとターゲットプロセ
ッサとの一般的な接続状態を示す模式図である。
FIG. 4 is a block diagram showing a configuration example of an in-circuit emulator as a conventional software development supporting device, and FIG. 5 is a general connection state between a host computer incorporating such an in-circuit emulator and a target processor. It is a schematic diagram which shows.

【0004】図5において、参照符号1はホストコンピ
ュータを示しており、従来のインサーキットエミュレー
タ(以下、 ICEという)2を内装している。参照符号3
はホストコンピュータ1のキーボードであり、ホストコ
ンピュータ1自体に、またホストコンピュータ1を介し
て ICE2に種々の指示を与えるために使用される。
In FIG. 5, reference numeral 1 indicates a host computer, in which a conventional in-circuit emulator (hereinafter referred to as ICE) 2 is installed. Reference number 3
Is a keyboard of the host computer 1 and is used to give various instructions to the host computer 1 itself and to the ICE 2 via the host computer 1.

【0005】参照符号4はターゲットシステムを示して
おり、その CPU5がターゲットプロセッサである。な
お、以下の説明では、ターゲットシステム4のプロセッ
サ5をターゲットプロセッサと言う。
Reference numeral 4 indicates a target system, and its CPU 5 is a target processor. In the description below, the processor 5 of the target system 4 is referred to as a target processor.

【0006】従来の ICE2の内部構成を示す図4におい
て、参照符号PAB はプログラムアドレスバスを、DAB は
データアドレスバスをそれぞれ示しており、これらは図
示しないインタフェイスを介してターゲットプロセッサ
5のプログラムバス,データバスとそれぞれ接続されて
いる。
In FIG. 4 showing the internal structure of the conventional ICE 2, reference numeral PAB indicates a program address bus and DAB indicates a data address bus. These are the program bus of the target processor 5 via an interface (not shown). , Are connected to the data bus respectively.

【0007】参照符号21はデバッグコントローラを示し
ており、 ICE2全体の制御を司ると共にターゲットプロ
セッサ5の制御をも司る。参照符号22はブレークアドレ
スレジスタを示しており、デバッグコントローラ21から
ブレークポイントを特定するアドレス、即ちブレークア
ドレスが与えられてこれを保持する。
Reference numeral 21 indicates a debug controller, which controls the entire ICE 2 and the target processor 5. Reference numeral 22 indicates a break address register, which is provided with an address for specifying a break point, that is, a break address, from the debug controller 21 and holds the break address.

【0008】参照符号23は比較器を示しており、上述の
ブレークアドレスレジスタ22が保持するブレークアドレ
スと、前述のプログラムアドレスバスPAB 上のプログラ
ムアドレスと、データアドレスバスDAB 上のデータアド
レスとが与えられる。比較器23は、ブレークアドレスレ
ジスタ22から与えられるブレークアドレスとプログラム
アドレスバスPAB から与えられるプログラムアドレスと
が一致した場合、またはブレークアドレスレジスタ22か
ら与えられるブレークアドレスとデータアドレスバスDA
B から与えられるデータアドレスとが一致した場合のい
ずれかに所定の一致信号Sを出力する。
Reference numeral 23 indicates a comparator, which is provided with the break address held by the break address register 22, the program address on the program address bus PAB, and the data address on the data address bus DAB. To be The comparator 23 is provided when the break address given from the break address register 22 and the program address given from the program address bus PAB match, or the break address given from the break address register 22 and the data address bus DA.
A predetermined match signal S is output when the data address given from B matches.

【0009】参照符号24はブレークカウンタを示してお
り、上述の一致信号Sが比較器23から出力される回数を
計数する。このブレークカウンタ24の計数回数はデバッ
グコントローラ21により設定可能であり、ブレークカウ
ンタ24の計数値がデバッグコントローラ21により設定さ
れている値に達すると、所定の信号 (ブレーク信号B)
をデバッグコントローラ21へ出力する。
Reference numeral 24 indicates a break counter, which counts the number of times the above-mentioned coincidence signal S is output from the comparator 23. The count number of the break counter 24 can be set by the debug controller 21, and when the count value of the break counter 24 reaches the value set by the debug controller 21, a predetermined signal (break signal B)
Is output to the debug controller 21.

【0010】参照符号25はPCコントローラを示してお
り、デバッグコントローラ21から所定信号 (制御信号
C)が与えられた場合に、ターゲットプロセッサ5のP
C、即ちプログラムカウンタを制御してターゲットプロ
セッサ5の起動,停止を含む種々の制御を行なう。
Reference numeral 25 indicates a PC controller, which receives a P signal from the target processor 5 when a predetermined signal (control signal C) is given from the debug controller 21.
C, that is, the program counter is controlled to perform various controls including starting and stopping of the target processor 5.

【0011】従って、デバッグコントローラ21は、たと
えばオペレータがホストコンピュータ1のキーボード3
を操作してあるプログラムアドレスまたはデータアドレ
スを入力するとそれをブレークアドレスレジスタ22に保
持させ、その後にPCコントローラ25を制御してターゲッ
トプロセッサ5を起動させる。ターゲットプロセッサ5
は、起動した後は自身のPCに設定されるプログラムアド
レス値、即ちPC値をターゲットシステム4内部のプログ
ラムアドレスバスへ出力し、それに従って (通常は一命
令実行の都度”1”インクリメントされる)、プログラ
ムの各命令を実行し、その実行に必要なデータのデータ
アドレスあるいは実行結果を格納するデータアドレスを
ターゲットシステム4内部のデータアドレスバスへ出力
する。
Therefore, the debug controller 21 is operated by the operator, for example, on the keyboard 3 of the host computer 1.
When a program address or data address that is operated is input, it is held in the break address register 22, and then the PC controller 25 is controlled to start the target processor 5. Target processor 5
Outputs the program address value set in its own PC after startup, that is, the PC value, to the program address bus inside the target system 4, and according to it (usually "1" is incremented each time one instruction is executed) , Executes each instruction of the program, and outputs the data address of the data necessary for the execution or the data address storing the execution result to the data address bus inside the target system 4.

【0012】これらのターゲットシステム4内部のプロ
グラムアドレスバス及びデータアドレスバスへ出力され
るプログラムアドレス, データアドレスは図示されてい
ないインタフェイスを介して ICE2のプログラムアドレ
スバスPAB,データアドレスバスDAB にも与えられるの
で、それらは比較器23に入力される。
The program address and data address output to the program address bus and the data address bus inside the target system 4 are also given to the program address bus PAB and the data address bus DAB of the ICE 2 through an interface (not shown). Therefore, they are input to the comparator 23.

【0013】比較器23では、プログラムアドレスバスPA
B,データアドレスバスDAB 上のアドレスと先にデバッグ
コントローラ21からブレークアドレスレジスタ22に与え
られて保持されているブレークアドレスとを常時比較し
ており、一致した場合には一致信号Sをブレークカウン
タ24へ出力する。
In the comparator 23, the program address bus PA
B, The address on the data address bus DAB is constantly compared with the break address given to the break address register 22 from the debug controller 21 first, and if they match, the match signal S is sent to the break counter 24. Output to.

【0014】一方、ブレークカウンタ24には予めデバッ
グコントローラ21により設定値が設定されているので、
比較器23からの一致信号Sの出力回数が設定値に達する
と、ブレーク信号Bがデバッグコントローラ21へ出力さ
れる。これに応じてデバッグコントローラ21は制御信号
CをPCコントローラ25へ出力し、PCコントローラ25はタ
ーゲットシステム4のターゲットプロセッサ5のPCを停
止させる。PCが停止することにより、ターゲットプロセ
ッサ5はプログラムの実行を停止する。
On the other hand, since the break controller 24 is preset with a set value by the debug controller 21,
When the number of times the coincidence signal S is output from the comparator 23 reaches the set value, the break signal B is output to the debug controller 21. In response to this, the debug controller 21 outputs the control signal C to the PC controller 25, and the PC controller 25 stops the PC of the target processor 5 of the target system 4. When the PC stops, the target processor 5 stops executing the program.

【0015】このようにしてターゲットプロセッサ5が
プログラムの実行を停止した時点で、ターゲットシステ
ム4内のレジスタ, メモリの内容がホストコンピュータ
1に読み出され、その表示画面に表示されるので、オペ
レータはその状態を目視で、あるいは適宜の記憶手段に
記憶させた上でターゲットプロセッサ5のプログラムが
設計通り機能しているか否かを調べる。
In this way, when the target processor 5 stops the execution of the program, the contents of the register and memory in the target system 4 are read by the host computer 1 and displayed on its display screen, so that the operator The state is checked visually or after being stored in an appropriate storage means to check whether the program of the target processor 5 functions as designed.

【0016】ところで、コンピュータ(プロセッサ)の
メモリ空間には、プログラム用の空間(個々のアドレス
でプログラムを構成する個々の命令が指定される)と、
データ用の空間(個々のアドレスで個々のデータが指定
される)とが独立した別個の空間として割り付けられて
いる場合とがある。この場合には、メモリ固有の物理ア
ドレスは一意に割り付けられているため、プログラム空
間のアドレスとデータ空間のアドレスとを区別して物理
アドレスに変換する必要がある。
By the way, in a memory space of a computer (processor), a space for programs (individual addresses constituting individual programs are designated by individual addresses),
In some cases, the space for data (individual data is specified by each address) is allocated as a separate and independent space. In this case, since the physical address unique to the memory is uniquely assigned, it is necessary to distinguish the address of the program space and the address of the data space and convert them into physical addresses.

【0017】更に、プログラム空間,データ空間をそれ
ぞれある程度のアドレス範囲(プログラム空間であれば
たとえば一区切りの処理,サブルーチン等、データ空間
であればたとえばデータとして組み込むテーブル単位
等)で分割してそれぞれのデータ範囲にラベルを付与す
る手法がある。このようなメモリ空間を有するプロセッ
サのためのインサーキットエミュレータでは、ブレーク
ポイントをラベルで指定する際にはオペレータがその都
度、指定するラベルのアドレスとそれがプログラム空間
であるか、データ空間であるかを指定する必要が生じ、
操作が非常に煩雑になる。
Further, the program space and the data space are each divided into a certain range of addresses (in the case of the program space, for example, one-divided processing, a subroutine, etc., and in the case of the data space, for example, a table unit to be incorporated as data), and each data is divided. There is a method of giving a label to a range. In an in-circuit emulator for a processor having such a memory space, each time the operator specifies a breakpoint with a label, the address of the specified label and whether it is the program space or the data space is specified. Will need to be specified,
The operation becomes very complicated.

【0018】[0018]

【発明が解決しようとする課題】本発明はこのような事
情に鑑みてなされたものであり、プログラム空間とデー
タ空間とが独立しているメモリ空間にラベルが設定され
ている場合に、ラベルの指定のみでラベルをブレークポ
イントとして指定可能なソフトウェア開発支援装置の提
供を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such circumstances, and when a label is set in a memory space in which a program space and a data space are independent, the label The purpose is to provide a software development support device that can specify a label as a breakpoint only by specifying it.

【0019】また、データアドレスをブレークポイント
として指定する場合に、そのアドレスからのデータの読
み出し、あるいはそのアドレスへの書き込みの別を指定
可能なソフトウェア開発支援装置の提供を目的とする。
It is another object of the present invention to provide a software development support device capable of designating whether to read data from the address or write to the address when the data address is designated as the breakpoint.

【0020】[0020]

【課題を解決するための手段】本発明に係るソフトウェ
ア開発支援装置は、実行すべきプログラムの各命令が配
置される論理アドレスにて構成されるプログラム空間
と、プログラムの実行に際して使用されるデータ,実行
結果のデータが配置される論理アドレスにて構成される
データ空間とが独立した論理空間に割り当てられてお
り、プログラム空間及びデータ空間が連続する複数の論
理アドレスの範囲に分割してそれぞれを特定するラベル
が設定されたメモリ空間を有するプロセッサに接続さ
れ、プロセッサが実行すべき命令のアドレスまたはアク
セスすべきデータのアドレスを入力する入力手段と、入
力手段により入力されたアドレスを保持するアドレス保
持手段と、プロセッサが実行する命令のアドレスまたは
命令の実行に際してアクセスされるデータのアドレス
と、アドレス保持手段が保持するアドレスとを比較する
比較手段と、比較手段による比較結果が一致した場合に
プロセッサの動作を停止させる制御手段とを備え、更に
各ラベルを表す情報と、各ラベルがプログラム空間また
はデータ空間のいずれに設定されているかを示す情報
と、各ラベルが特定する論理アドレスの範囲が割り付け
られている物理アドレスの範囲とを対応付けたテーブル
を有している。
A software development support apparatus according to the present invention comprises a program space composed of logical addresses in which respective instructions of a program to be executed are arranged, data used in executing the program, The data space configured by the logical address where the execution result data is allocated is allocated to an independent logical space, and the program space and the data space are divided into multiple continuous logical address ranges to identify each Input means connected to a processor having a memory space in which a label is set, for inputting an address of an instruction to be executed by the processor or an address of data to be accessed, and address holding means for holding the address input by the input means. And the address of the instruction executed by the processor or The comparison means compares the address of the data to be stored with the address held by the address holding means, the control means for stopping the operation of the processor when the comparison result by the comparison means matches, and further represents each label. It has a table that associates information, information indicating whether each label is set in the program space or the data space, and the physical address range to which the logical address range specified by each label is assigned. ing.

【0021】また本発明に係るソフトウェア開発支援装
置は、入力手段により入力されたデータの書き込み,読
み出しの別を入力する書き込み/読み出し入力手段と、
書き込み/読み出し入力手段により入力されたデータの
書き込み,読み出しの別を表す信号を保持する書き込み
/読み出し信号保持手段と、書き込み/読み出し信号保
持手段に保持されている信号と、データのアクセスに伴
う書き込み信号及び読み出し信号を比較し、一致する場
合にのみ、比較手段にデータのアドレスを与える手段と
を備えたことを特徴とする。
Further, the software development support apparatus according to the present invention comprises write / read input means for inputting whether to write or read the data input by the input means,
Write / read signal holding means for holding a signal indicating whether writing or reading of data input by the write / read input means, a signal held in the write / read signal holding means, and writing accompanying data access The signal and the read signal are compared with each other, and a means for giving a data address to the comparing means is provided only when they match.

【0022】[0022]

【作用】本発明に係るソフトウェア開発支援装置では、
入力手段によりいずれかのラベルが入力された場合に、
制御信号がテーブルを参照して指定されたラベルに対応
する物理アドレスをアドレス保持手段に保持させる。
In the software development support device according to the present invention,
If any label is entered by the input means,
The control signal causes the address holding means to hold the physical address corresponding to the designated label by referring to the table.

【0023】また本発明に係るソフトウェア開発支援装
置では、入力手段により入力されたデータの書き込み,
読み出しの別が入力され、入力されたデータの書き込
み,読み出しの別を表す信号が書き込み/読み出し信号
保持手段により保持され、書き込み/読み出し信号保持
手段に保持されている信号と、データのアクセスに伴う
書き込み信号及び読み出し信号とが比較され、一致する
場合にのみ、比較手段にデータのアドレスが与えられて
比較が行なわれる。
Further, in the software development support apparatus according to the present invention, writing of data input by the input means,
Whether to read or not is input, a signal indicating whether to write or read the input data is held by the write / read signal holding unit, and the signal held in the write / read signal holding unit and the data are accessed. The write signal and the read signal are compared, and only when they match, the address of the data is given to the comparison means and the comparison is performed.

【0024】[0024]

【実施例】以下、本発明をその実施例を示す図面に基づ
いて詳述する。図1は本発明に係るソフトウェア開発支
援装置の一実施例としてのインサーキットエミュレータ
の内部構成を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments thereof. FIG. 1 is a block diagram showing the internal configuration of an in-circuit emulator as an embodiment of the software development support device according to the present invention.

【0025】なお、図1にその内部構成が示されている
本発明のソフトウェア開発支援装置としてのインサーキ
ットエミュレータは、前述の図5に示されているよう
に、従来のインサーキットエミュレータと全く同様にホ
ストコンピュータ1に内装され、ターゲットシステム4
と接続されている。また、ターゲットシステム4にはタ
ーゲットプロセッサ5が内蔵されており、ホストコンピ
ュータ1にはキーボード3が接続されている。
The in-circuit emulator as the software development support apparatus of the present invention, the internal structure of which is shown in FIG. 1, is exactly the same as the conventional in-circuit emulator as shown in FIG. Installed in the host computer 1 and the target system 4
Connected with. A target processor 5 is built in the target system 4, and a keyboard 3 is connected to the host computer 1.

【0026】なお、キーボード3は ターゲットプロセ
ッサ5が実行すべき命令のアドレスまたはアクセスすべ
きデータのアドレスをブレークアドレスとして入力する
ための入力手段として機能する。また、キーボード3
は、データアドレスがブレークアドレスとして指定され
る場合にそのメモリへの書き込みまたはメモリからの読
み出しの別の指定を入力する入力手段としても機能す
る。
The keyboard 3 functions as an input means for inputting an address of an instruction to be executed by the target processor 5 or an address of data to be accessed as a break address. Also, keyboard 3
Also functions as an input means for inputting another designation of writing to or reading from the memory when the data address is designated as the break address.

【0027】図1において、参照符号PAB はプログラム
アドレスバスを、DAB はデータアドレスバスをそれぞれ
示しており、これらは図示しないインタフェイスを介し
てターゲットプロセッサ5のプログラムバス,データバ
スとそれぞれ接続されている。
In FIG. 1, reference numeral PAB indicates a program address bus and DAB indicates a data address bus, which are connected to the program bus and the data bus of the target processor 5 through an interface (not shown). There is.

【0028】また、参照符号DWE はデータメモリライト
イネーブル信号線を、DRE はデータメモリリードイネー
ブル信号線をそれぞれ示している。これらは、図示しな
いインタフェイスを介してターゲットプロセッサ5のデ
ータメモリライトイネーブル信号線, データメモリリー
ドイネーブル信号線とそれぞれ接続されている。
Reference numeral DWE indicates a data memory write enable signal line, and DRE indicates a data memory read enable signal line. These are connected to a data memory write enable signal line and a data memory read enable signal line of the target processor 5 through an interface (not shown).

【0029】参照符号21は制御手段として機能するデバ
ッグコントローラを示しており、本発明の ICE全体の制
御を司る。参照符号220, 221はいずれもブレークアドレ
スレジスタを示しており、デバッグコントローラ21から
ブレークポイントを特定するアドレス、即ちブレークア
ドレスが与えられてこれを保持する。即ち、ブレークア
ドレスレジスタ220, 221はブレークアドレスを保持する
保持手段として機能する。
Reference numeral 21 indicates a debug controller which functions as a control means, and controls the entire ICE of the present invention. Reference numerals 220 and 221 each indicate a break address register, and an address for specifying a break point, that is, a break address is given from the debug controller 21 and is held. That is, the break address registers 220 and 221 function as a holding unit that holds the break address.

【0030】参照符号30, 31はいずれもW/R(書き込み/
読み出し) 検出回路を示している。W/R検出回路30, 31
には共に、デバッグコントローラ21からの書き込み/読
み出しの別を示す信号(以下、 W/R信号という),データ
メモリリードイネーブル信号線DRE,データメモリライト
イネーブル信号線DWE 及びデータアドレスバスDAB から
のアドレス信号が与えられている。
Reference numerals 30 and 31 are both W / R (write / write
(Read) This shows the detection circuit. W / R detection circuit 30, 31
In both, the address (hereinafter referred to as W / R signal) indicating the write / read from the debug controller 21, the data memory read enable signal line DRE, the data memory write enable signal line DWE, and the address from the data address bus DAB. The signal is given.

【0031】図2は W/R検出回路30(31)の構成例を示す
論理回路図である。なお、ここではデータメモリライト
イネーブル信号, データメモリリードイネーブル信号共
にハイアクティブであるとする。
FIG. 2 is a logic circuit diagram showing a configuration example of the W / R detection circuit 30 (31). It is assumed here that both the data memory write enable signal and the data memory read enable signal are high active.

【0032】図2において、参照符号300 は W/Rレジス
タであり、データの読み出し時のブレークが指定されて
いる場合に”1”が、書き込み時のブレークが指定され
ている場合に”0”がそれぞれデバッグコントローラ21
から書込まれる。即ち、 W/Rレジスタ300 は W/R信号の
保持手段として機能する。
In FIG. 2, reference numeral 300 is a W / R register, which is "1" when a break at the time of reading data is designated and "0" when a break at the time of writing is designated. Respectively debug controller 21
Written from. That is, the W / R register 300 functions as a holding unit for the W / R signal.

【0033】参照符号310 は一方の入力が負論理の AND
ゲートを、321 は両入力が正論理のANDゲートをそれぞ
れ示している。 ANDゲート310 の負論理の入力には W/R
レジスタ300 の出力信号が、正論理の入力にはデータメ
モリライトイネーブル信号線DWE がそれぞれ入力されて
いる。従って、 W/Rレジスタ300 にデータの書き込み時
のブレークを指定する信号”0”が保持されている場合
にデータメモリライトイネーブル信号線DWE が”1”
(アクティブ)になれば、 ANDゲート310 の出力信号
は”1”になる。一方、 ANDゲート311 の両入力には W
/Rレジスタ300 の出力信号及びデータメモリリードイネ
ーブル信号線DRE がそれぞれ入力されている。従って、
W/Rレジスタ300 にデータの読み出し時のブレークを指
定する信号”1”が保持されている場合にデータメモリ
リードイネーブル信号線DRE が”1”(アクティブ) に
なれば、 ANDゲート311 の出力信号は”1”になる。
Reference numeral 310 indicates AND of which one input is negative logic.
Gates 321 are AND gates of which both inputs are positive logic. W / R for negative logic input to AND gate 310
The output signal of the register 300 is input to the positive logic input of the data memory write enable signal line DWE. Therefore, when the signal "0" designating the break at the time of writing data is held in the W / R register 300, the data memory write enable signal line DWE becomes "1".
When it becomes (active), the output signal of AND gate 310 becomes "1". On the other hand, a W is applied to both inputs of the AND gate 311.
The output signal of the / R register 300 and the data memory read enable signal line DRE are input. Therefore,
If the data memory read enable signal line DRE becomes "1" (active) when the signal "1" that specifies the break when reading data is held in the W / R register 300, the output signal of the AND gate 311 Becomes "1".

【0034】両 ANDゲート310, 311の出力信号はORゲー
ト320 に入力されており、ORゲート320 の出力信号は2
入力の ANDゲート330 に入力されている。 ANDゲート33
0 の他方の入力はデータアドレスバスDAB からのアドレ
ス信号である。従って、W/Rレジスタ300 にデータの書
き込み時のブレークを指定する信号”0”が保持されて
いる場合は、データの書き込み時にのみデータアドレス
が ANDゲート330 から比較手段として機能する比較器23
0(231)へ出力され、 W/Rレジスタ300 にデータの読み出
し時のブレークを指定する信号”1”が保持されている
場合は、データの読み出し時にのみデータアドレスが A
NDゲート330 から比較器230(231)へ出力される。
The output signals of both AND gates 310 and 311 are input to the OR gate 320, and the output signal of the OR gate 320 is 2
Input to input AND gate 330. AND gate 33
The other input of 0 is an address signal from the data address bus DAB. Therefore, when the signal "0" designating the break at the time of writing the data is held in the W / R register 300, the data address from the AND gate 330 functions as the comparator 23 only when the data is written.
When it is output to 0 (231) and the signal "1" that specifies the break at the time of reading data is held in the W / R register 300, the data address is A only when reading the data.
Output from the ND gate 330 to the comparator 230 (231).

【0035】以上から明らかなように、 ANDゲート310,
311は W/Rレジスタ300 に保持されている W/R信号と、
データのアクセスに伴う書き込み信号及び読み出し信
号、即ちデータメモリライトイネーブル信号線DWE 及び
データメモリリードイネーブル信号線DRE を比較し、一
致する場合にのみ、比較器230(231)にデータアドレスを
与える手段として機能する。
As is clear from the above, the AND gate 310,
311 is the W / R signal stored in the W / R register 300,
As a means for comparing the write signal and read signal associated with data access, that is, the data memory write enable signal line DWE and the data memory read enable signal line DRE, and giving a data address to the comparator 230 (231) only when they match. Function.

【0036】図1に戻って説明を続けると、比較器230
には、前述のブレークアドレスレジスタ220 が保持する
ブレークアドレスと、上述の W/R検出回路30から出力さ
れるアドレス信号と、プログラムアドレスバスPB上のプ
ログラムアドレスとが与えられる。比較器231 には、前
述のブレークアドレスレジスタ221 が保持するブレーク
アドレスと、上述の W/R検出回路31から出力されるアド
レス信号と、プログラムアドレスバスPB上のプログラム
アドレスとが与えられる。
Returning to FIG. 1 and continuing the explanation, the comparator 230
A break address held by the break address register 220 described above, an address signal output from the W / R detection circuit 30 described above, and a program address on the program address bus PB are given to the. The break address held by the break address register 221, the address signal output from the W / R detection circuit 31, and the program address on the program address bus PB are given to the comparator 231.

【0037】比較器230 は、ブレークアドレスレジスタ
220 から与えられるブレークアドレスとプログラムアド
レスバスPAB から与えられるプログラムアドレスとが一
致した場合、またはブレークアドレスレジスタ220 から
与えられるブレークアドレスと W/R検出回路30を経由し
てデータアドレスバスDAB から与えられるデータアドレ
スとが一致した場合のいずれかに所定の一致信号S0を出
力する。比較器231 は、ブレークアドレスレジスタ221
から与えられるブレークアドレスとプログラムアドレス
バスPAB から与えられるプログラムアドレスとが一致し
た場合、またはブレークアドレスレジスタ221 から与え
られるブレークアドレスと W/R検出回路31を経由してデ
ータアドレスバスDAB から与えられるデータアドレスと
が一致した場合のいずれかに所定の一致信号S1を出力す
る。
The comparator 230 is a break address register.
If the break address given by 220 and the program address given by program address bus PAB match, or the break address given by break address register 220 and given by data address bus DAB via W / R detection circuit 30. A predetermined match signal S0 is output when either of the data addresses matches. The comparator 231 is the break address register 221.
If the break address given by the break address matches the program address given by the program address bus PAB, or the break address given by the break address register 221 and the data given by the data address bus DAB via the W / R detection circuit 31. A predetermined match signal S1 is output in any of the cases where the addresses match.

【0038】参照符号240, 241はいずれもブレークカウ
ンタを示している。ブレークカウンタ240 は、上述の一
致信号S0が比較器23から出力される回数を計数する。ブ
レークカウンタ241 は、上述の一致信号S1が比較器231
から出力される回数を計数する。これらのブレークカウ
ンタ240, 241の計数回数はデバッグコントローラ21によ
り設定可能であり、ブレークカウンタ240, 241の計数値
がデバッグコントローラ21により設定されている値に達
すると、それぞれ所定の信号 (ブレーク信号B0, B1)を
デバッグコントローラ21へ出力する。
Reference numerals 240 and 241 both denote break counters. The break counter 240 counts the number of times the above-mentioned coincidence signal S0 is output from the comparator 23. The break counter 241 outputs the above-mentioned match signal S1 to the comparator 231.
Count the number of times output from. The number of counts of these break counters 240, 241 can be set by the debug controller 21, and when the count value of the break counters 240, 241 reaches the value set by the debug controller 21, a predetermined signal (break signal B0 , B1) is output to the debug controller 21.

【0039】参照符号25はPCコントローラを示してお
り、デバッグコントローラ21から所定信号 (制御信号
C)が与えられた場合に、ターゲットプロセッサ5のP
C、即ちプログラムカウンタを制御してターゲットプロ
セッサ5の起動,停止を含む種々の制御を行なう。
Reference numeral 25 indicates a PC controller, which receives a P signal from the target processor 5 when a predetermined signal (control signal C) is given from the debug controller 21.
C, that is, the program counter is controlled to perform various controls including starting and stopping of the target processor 5.

【0040】参照符号26は本発明を特徴付けるラベルテ
ーブルを示している。以下、このラベルテーブル26につ
いて説明する。
Reference numeral 26 indicates a label table which characterizes the present invention. The label table 26 will be described below.

【0041】図3は本発明のソフトウェア開発支援装置
としてのインサーキットエミュレータがエミュレーショ
ンの対象とするターゲットプロセッサ5のプログラム空
間PS及びデータ空間DS及びそれらから作成されるラベル
テーブル26の内容を示す模式図である。
FIG. 3 is a schematic diagram showing the program space PS and data space DS of the target processor 5 to be emulated by the in-circuit emulator as the software development support apparatus of the present invention, and the contents of the label table 26 created from them. Is.

【0042】たとえば、ターゲットプロセッサ5のプロ
グラム空間PSが連続する複数のアドレスの範囲に分割さ
れていてそれぞれの範囲でプログラムルーチンA, B, C
…が構成されているとする。そして、それぞれのプログ
ラムルーチンA, B, C …にはそれぞれラベルPA, PB, PC
…が設定されているとする。
For example, the program space PS of the target processor 5 is divided into a range of a plurality of consecutive addresses, and the program routines A, B, C in each range are divided.
... is configured. And each of the program routines A, B, C ... has labels PA, PB, PC, respectively.
... is set.

【0043】またたとえば、ターゲットプロセッサ5の
データ空間DSが連続する複数のアドレスの範囲に分割さ
れていてそれぞれの範囲でデータテーブルA, B, C …が
構成されているとする。そして、それぞれのデータテー
ブルA, B, C …にはそれぞれラベルDA, DB, DC…が設定
されているとする。
Further, for example, it is assumed that the data space DS of the target processor 5 is divided into a plurality of consecutive address ranges, and the data tables A, B, C ... Are constructed in the respective ranges. It is assumed that labels DA, DB, DC ... Are set in the respective data tables A, B, C.

【0044】このようにそれぞれラベルPA, PB, PC…が
設定されたプログラムルーチンA, B, C …がプログラム
空間PS上に割り付けられ、それぞれラベルDA, DB, DC…
が設定されたデータテーブルA, B, C …がデータ空間DS
上に割り付けられた状態で作成されたプログラムをコン
パイルまたはアセンブルすることにより、参照符号26に
て示されているような各ラベルを表す情報 (コード)
と、各ラベルがプログラム空間またはデータ空間のいず
れに設定されているかを示す情報 (フラグ) と、各ラベ
ルが特定する論理アドレスの範囲 (この例では各ラベル
のアドレス範囲を一例として一定とする。従って、先頭
アドレスのみ) が割り付けられている物理アドレスの範
囲との対応関係が得られるので、ラベルテーブル26に予
めホストコンピュータ1により格納される。
In this way, the program routines A, B, C ... With the labels PA, PB, PC ... Set respectively are allocated in the program space PS, and the labels DA, DB, DC ...
The data table A, B, C, ... in which is set is the data space DS
Information (code) representing each label as indicated by reference numeral 26 by compiling or assembling the program created in the above allocated state
And information (flag) indicating whether each label is set in the program space or the data space, and the range of logical addresses specified by each label (in this example, the address range of each label is fixed as an example. Therefore, the correspondence relationship with the range of the physical address to which (the head address only) is allocated can be obtained, and the label table 26 is stored in the host computer 1 in advance.

【0045】上述のような本発明のソフトウェア開発支
援装置としてのインサーキットエミュレータの動作につ
いて以下に説明する。
The operation of the in-circuit emulator as the software development support device of the present invention as described above will be described below.

【0046】いまたとえば、オペレータがホストコンピ
ュータ1のキーボード3を操作してプログラムルーチン
BのラベルPBと、データテーブルBのラベルDB及びその
書き込み/読み出しの別、たとえば読み出しを入力した
とする。この場合、デバッグコントローラ21はラベルテ
ーブル26を参照してラベルPBに対応するアドレス”100
”を読み出してブレークアドレスとしてブレークアド
レスレジスタ220 に保持させると共に、ラベルテーブル
26を参照してラベルDBに対応するアドレス”1200”を読
み出してブレークアドレスとしてブレークアドレスレジ
スタ221 に保持させる。更に、デバッグコントローラ21
はデータアドレス及び W/R信号”1”を W/R検出回路3
0, 31の W/Rレジスタ300 に保持させ、その後にPCコン
トローラ25を制御してターゲットプロセッサ5を起動さ
せる。
For example, it is assumed that the operator operates the keyboard 3 of the host computer 1 to input the label PB of the program routine B, the label DB of the data table B, and writing / reading thereof, for example, reading. In this case, the debug controller 21 refers to the label table 26 and sets the address "100" corresponding to the label PB.
"" Is read and held as a break address in the break address register 220, and the label table
The address “1200” corresponding to the label DB is read out with reference to 26 and held in the break address register 221 as a break address. In addition, the debug controller 21
Is the data address and W / R signal “1” is W / R detection circuit 3
It is held in the W / R registers 300 of 0 and 31, and then the PC controller 25 is controlled to start the target processor 5.

【0047】ターゲットプロセッサ5は、起動した後は
自身のPCに設定されるプログラムアドレス値、即ちPC値
をターゲットシステム4内部のプログラムアドレスバス
へ出力し、それに従って (通常は一命令実行の都度”
1”インクリメントされる)、プログラムの各命令を実
行し、その実行に必要なデータのアドレスあるいは実行
結果を格納するアドレスをターゲットシステム4内部の
データアドレスバスへ出力する。
After starting, the target processor 5 outputs the program address value set in its own PC, that is, the PC value, to the program address bus inside the target system 4, and accordingly (usually every time one instruction is executed).
1 "is incremented), each instruction of the program is executed, and the address of the data necessary for the execution or the address for storing the execution result is output to the data address bus inside the target system 4.

【0048】これらのターゲットシステム4内部のプロ
グラムアドレスバス及びデータアドレスバスへ出力され
るプログラムアドレス, データアドレスは図示されてい
ないインタフェイスを介して本発明の ICE2のプログラ
ムアドレスバスPAB,データアドレスバスDAB にも与えら
れ、プログラムアドレスは直接、データアドレスは W/R
検出回路30, 31を経由して比較器230, 231にそれぞれ入
力される。また、ターゲットプロセッサ5がデータアク
セスを行なう際にはそのデータのアドレスと共に書き込
み/読み出しの別を指示するためにデータメモリライト
イネーブル信号線DWE またはデータメモリリードイネー
ブル信号線DRE のいずれかをアクティブ(”1”) にす
るので、それらは W/R検出回路30, 31に入力される。
The program address and the data address output to the program address bus and the data address bus inside the target system 4 are transmitted through the interface (not shown) of the ICE 2 of the present invention to the program address bus PAB and the data address bus DAB. , The program address is direct and the data address is W / R
It is input to the comparators 230 and 231 via the detection circuits 30 and 31, respectively. Also, when the target processor 5 accesses the data, either the data memory write enable signal line DWE or the data memory read enable signal line DRE is activated (" 1 "), they are input to the W / R detection circuits 30 and 31.

【0049】比較器230 では、先にデバッグコントロー
ラ21からブレークアドレスレジスタ220 に与えられて保
持されているブレークアドレス”0”とプログラムアド
レスバスPAB とを、また W/R検出回路30を経由して与え
られるデータアドレスバスDAB 上のデータアドレスとを
常時比較しており、一致した場合には一致信号S0をブレ
ークカウンタ240 へ出力する。但し、データアドレスバ
スDAB からは、この場合は W/R検出回路30の W/Rレジス
タ300 には”1”が保持されているので、データの書き
込みに際して出力されるデータアドレスのみが比較器23
0 に与えられる。
In the comparator 230, the break address “0” and the program address bus PAB which are previously given to the break address register 220 from the debug controller 21 and held are passed through the W / R detection circuit 30. The data address on the given data address bus DAB is constantly compared, and if they match, a match signal S0 is output to the break counter 240. However, from the data address bus DAB, in this case, since "1" is held in the W / R register 300 of the W / R detection circuit 30, only the data address output at the time of writing the data is the comparator 23.
Given to 0.

【0050】比較器231 では、先にデバッグコントロー
ラ21からブレークアドレスレジスタ221 に与えられて保
持されているブレークアドレス”1200”とプログラムア
ドレスバスPAB とを、また W/R検出回路31を経由して与
えられるデータアドレスバスDAB 上のアドレスとを常時
比較しており、一致した場合には一致信号S1をブレーク
カウンタ241 へ出力する。但し、データアドレスバスDA
B からは、この場合はW/R検出回路31の W/Rレジスタ300
には”1”が保持されているので、データの書き込み
に際して出力されるデータアドレスのみが比較器231 に
与えられる。
In the comparator 231, the break address “1200” and the program address bus PAB, which have been given to the break address register 221 from the debug controller 21 and held, are passed through the W / R detection circuit 31. It constantly compares the given address on the data address bus DAB, and outputs a match signal S1 to the break counter 241 when they match. However, the data address bus DA
From B, in this case, the W / R register 300 of the W / R detection circuit 31
Since "1" is held in, the comparator 231 is provided with only the data address output at the time of writing data.

【0051】一方、ブレークカウンタ240, 241には予め
デバッグコントローラ21により設定値がそれぞれ設定さ
れている。このため、比較器230 からの一致信号S0, S1
の出力回数が設定値に達すると、ブレーク信号B0, B1が
デバッグコントローラ21へそれぞれ出力される。これら
のブレーク信号B0, B1のいずれかが先に出力された時点
でデバッグコントローラ21は制御信号CをPCコントロー
ラ25へ出力し、PCコントローラ25はターゲットシステム
4のターゲットプロセッサ5のPCを停止させる。PCが停
止することにより、ターゲットプロセッサ5はプログラ
ムの実行を停止する。
On the other hand, the break counters 240 and 241 are set with preset values by the debug controller 21 in advance. Therefore, the match signals S0, S1 from the comparator 230
When the number of outputs of B reaches the set value, break signals B0 and B1 are output to the debug controller 21, respectively. The debug controller 21 outputs the control signal C to the PC controller 25 when either of the break signals B0 and B1 is output first, and the PC controller 25 stops the PC of the target processor 5 of the target system 4. When the PC stops, the target processor 5 stops executing the program.

【0052】いまたとえば、両ブレークカウンタ240, 2
41には共に”1”がデバッグコントローラ21により設定
されているとすると、ターゲットプロセッサ5によるプ
ログラムの処理がラベルPBが設定されているプログラム
ルーチンBにまで進むと、プログラムアドレスバスPAB
へはアドレス”100 ”が出力されるので、比較器230に
よる比較結果が一致してターゲットプロセッサ5の動作
が停止される。あるいは、ターゲットプロセッサ5によ
るプログラムの処理中にラベルDBが設定されているデー
タテーブルBに対する書き込み処理が行なわれようとす
ると、データアドレスバスDAB へはアドレス”1200”が
出力されるので、これが W/R検出回路31を経由して比較
器231 に与えられ、比較器231 による比較結果が一致し
てターゲットプロセッサ5の動作が停止される。
Now, for example, both break counters 240, 2
Assuming that both 41 are set to "1" by the debug controller 21, if the processing of the program by the target processor 5 proceeds to the program routine B in which the label PB is set, the program address bus PAB
Since the address "100" is output to, the comparison result of the comparator 230 matches and the operation of the target processor 5 is stopped. Alternatively, if an attempt is made to perform a write process on the data table B in which the label DB is set during the processing of the program by the target processor 5, the address "1200" is output to the data address bus DAB. It is given to the comparator 231 via the R detection circuit 31, the comparison result of the comparator 231 becomes coincident, and the operation of the target processor 5 is stopped.

【0053】このようにしてターゲットプロセッサ5が
プログラムの実行を停止した時点で、ターゲットシステ
ム4内のレジスタ, メモリの内容がホストコンピュータ
1に読み出され、その表示画面に表示されるので、オペ
レータはその状態を目視で、あるいは適宜の記憶手段に
記憶させた上でターゲットプロセッサ5のプログラムが
設計通り機能しているか否かを調べる。
In this way, when the target processor 5 stops the execution of the program, the contents of the register and memory in the target system 4 are read by the host computer 1 and displayed on the display screen thereof, so that the operator The state is checked visually or after being stored in an appropriate storage means to check whether the program of the target processor 5 functions as designed.

【0054】[0054]

【発明の効果】以上に詳述したように本発明に係るソフ
トウェア開発支援装置によれば、プログラム空間とデー
タ空間とが独立しているメモリ空間にラベルが設定され
ている場合に、ラベルの指定のみでラベルが示すプログ
ラム空間またはデータ空間上のアドレスをブレークポイ
ントとして指定可能になる。
As described above in detail, according to the software development support apparatus of the present invention, when a label is set in a memory space in which a program space and a data space are independent, the label can be designated. The address in the program space or data space indicated by the label can be specified as a breakpoint only.

【0055】また、データアドレスをブレークポイント
として指定する場合に、そのアドレスからのデータの読
み出し、あるいはそのアドレスへの書き込みの別を指定
可能になる。
When a data address is designated as a breakpoint, it is possible to specify whether to read data from that address or write to that address.

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

【図1】本発明に係るソフトウェア開発支援装置の一実
施例としてのインサーキットエミュレータの内部構成を
示すブロック図である。
FIG. 1 is a block diagram showing an internal configuration of an in-circuit emulator as an embodiment of a software development support device according to the present invention.

【図2】本発明に係るソフトウェア開発支援装置として
のインサーキットエミュレータのデータの書き込み/読
み出しの別を検出する W/R検出回路の構成例を示す論理
回路図である。
FIG. 2 is a logic circuit diagram showing a configuration example of a W / R detection circuit for detecting whether data is written or read in an in-circuit emulator as a software development support device according to the present invention.

【図3】本発明のソフトウェア開発支援装置としてのイ
ンサーキットエミュレータがエミュレーションの対象と
するターゲットプロセッサのプログラム空間及びデータ
空間及びそれらから作成されるラベルテーブルの内容を
示す模式図である。
FIG. 3 is a schematic diagram showing the program space and data space of a target processor to be emulated by an in-circuit emulator as a software development support device of the present invention, and the contents of a label table created from them.

【図4】従来のインサーキットエミュレータの構成例を
示すブロック図である。
FIG. 4 is a block diagram showing a configuration example of a conventional in-circuit emulator.

【図5】インサーキットエミュレータを組み込んだホス
トコンピュータとターゲットプロセッサとの一般的な接
続状態を示す模式図である。
FIG. 5 is a schematic diagram showing a general connection state between a host computer incorporating an in-circuit emulator and a target processor.

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

1 ホストコンピュータ 2 ICE 3 キーボード 4 ターゲットシステム 5 ターゲットプロセッサ 21 デバッグコントローラ 25 PCコントローラ 26 ラベルテーブル 30 W/R検出回路 31 W/R検出回路 220 ブレークアドレスレジスタ 221 ブレークアドレスレジスタ 230 比較器 231 比較器 PAB プログラムアドレスバス DAB データアドレスバス 1 Host computer 2 ICE 3 Keyboard 4 Target system 5 Target processor 21 Debug controller 25 PC controller 26 Label table 30 W / R detection circuit 31 W / R detection circuit 220 Break address register 221 Break address register 230 Comparator 231 Comparator PAB program Address bus DAB Data address bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 実行すべきプログラムの各命令が配置さ
れる論理アドレスにて構成されるプログラム空間と、前
記プログラムの実行に際して使用されるデータ,実行結
果のデータが配置される論理アドレスにて構成されるデ
ータ空間とが独立した論理空間に割り当てられており、
前記プログラム空間及びデータ空間が連続する複数の論
理アドレスの範囲に分割してそれぞれを特定するラベル
が設定されたメモリ空間を有するプロセッサに接続さ
れ、 前記プロセッサが実行すべき命令のアドレスまたはアク
セスすべきデータのアドレスを入力する入力手段と、 前記入力手段により入力されたアドレスを保持するアド
レス保持手段と、 前記プロセッサが実行する命令のアドレスまたは命令の
実行に際してアクセスされるデータのアドレスと、前記
アドレス保持手段が保持するアドレスとを比較する比較
手段と、 前記比較手段による比較結果が一致した場合に前記プロ
セッサの動作を停止させる制御手段とを備えたソフトウ
ェア開発支援装置において、 各ラベルを表す情報と、各ラベルがプログラム空間また
はデータ空間のいずれに設定されているかを示す情報
と、各ラベルが特定する論理アドレスの範囲が割り付け
られている物理アドレスの範囲とを対応付けたテーブル
を有し、 前記制御手段は、前記入力手段によりいずれかのラベル
が入力された場合に、前記テーブルを参照して指定され
たラベルに対応する物理アドレスを前記アドレス保持手
段に保持させるべくなしてあることを特徴とするソフト
ウェア開発支援装置。
1. A program space composed of a logical address in which each instruction of a program to be executed is arranged, a data used in execution of the program, and a logical address in which execution result data is arranged. Is allocated to a logical space independent of the data space
The program space and the data space are connected to a processor having a memory space in which a label is set by dividing the program space and the data space into a plurality of continuous logical address ranges, and the address of an instruction to be executed by the processor or to be accessed Input means for inputting an address of data, address holding means for holding an address input by the input means, address of an instruction executed by the processor or address of data accessed when the instruction is executed, and the address holding In a software development support device including a comparison unit that compares an address held by the unit, and a control unit that stops the operation of the processor when the comparison result by the comparison unit matches, information indicating each label, Each label is program space or data space It has a table in which the information indicating which is set and the range of the physical address to which the range of the logical address specified by each label is assigned are associated with each other. When the label is input, the software development support device is configured to cause the address holding means to hold the physical address corresponding to the designated label by referring to the table.
【請求項2】 前記入力手段により入力されたデータの
書き込み,読み出しの別を入力する書き込み/読み出し
入力手段と、 前記書き込み/読み出し入力手段により入力されたデー
タの書き込み,読み出しの別を表す信号を保持する書き
込み/読み出し信号保持手段と、 前記書き込み/読み出し信号保持手段に保持されている
信号と、データのアクセスに伴う書き込み信号及び読み
出し信号を比較し、一致する場合にのみ、前記比較手段
にデータのアドレスを与える手段とを備えたことを特徴
とする請求項1に記載のソフトウェア開発支援装置。
2. A write / read input means for inputting write / read of data input by the input means, and a signal indicating write / read of data input by the write / read input means. The write / read signal holding means to hold, the signal held in the write / read signal holding means, the write signal and the read signal accompanying the access of the data are compared, and the data is written to the comparing means only when they match. 2. The software development support apparatus according to claim 1, further comprising: means for giving the address of.
JP7132277A 1995-05-30 1995-05-30 Software development supporting device Pending JPH08328902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7132277A JPH08328902A (en) 1995-05-30 1995-05-30 Software development supporting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7132277A JPH08328902A (en) 1995-05-30 1995-05-30 Software development supporting device

Publications (1)

Publication Number Publication Date
JPH08328902A true JPH08328902A (en) 1996-12-13

Family

ID=15077527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7132277A Pending JPH08328902A (en) 1995-05-30 1995-05-30 Software development supporting device

Country Status (1)

Country Link
JP (1) JPH08328902A (en)

Similar Documents

Publication Publication Date Title
US5132971A (en) In-circuit emulator
EP0145960B1 (en) Selective guest system purge control
KR940003318B1 (en) Processor having cache memory
JPH11110255A (en) Software debugging device and method
US8612720B2 (en) System and method for implementing data breakpoints
JP2003508864A (en) Thread-oriented debugging
US6141635A (en) Method of diagnosing faults in an emulated computer system via a heterogeneous diagnostic program
JPH08328902A (en) Software development supporting device
JPS60159951A (en) Tracing system in information processing device
KR20210080398A (en) Read-only memory testing with built-in memory self-test controller
JPH0581087A (en) Processor monitoring system
US5901300A (en) Control store address stop
JPH05224989A (en) Microprocessor containing cache memory and its trace analyzer
JPS6248865B2 (en)
JPS59202546A (en) Debugging device
JP2684966B2 (en) I/O processor debug unit
JPS60193046A (en) Instruction exception detection method
JPS6227421B2 (en)
JPH02120940A (en) Debugging supporting circuit
JPH10320232A (en) Microprogram debugging device
JPH02235150A (en) Information processor
JPH01184551A (en) System for debugging program
JPH02242444A (en) Debugging mechanism for information processor
JPH0581068A (en) Debugging support device
JPS61141046A (en) System for controlling debug interruption