JPS6318444A - System for developing software development supporting system - Google Patents

System for developing software development supporting system

Info

Publication number
JPS6318444A
JPS6318444A JP61162266A JP16226686A JPS6318444A JP S6318444 A JPS6318444 A JP S6318444A JP 61162266 A JP61162266 A JP 61162266A JP 16226686 A JP16226686 A JP 16226686A JP S6318444 A JPS6318444 A JP S6318444A
Authority
JP
Japan
Prior art keywords
microprocessor
bus
terminal
register
personal computer
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
JP61162266A
Other languages
Japanese (ja)
Inventor
Hisashi Takahashi
久 高橋
Kazuya Hashimoto
一也 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61162266A priority Critical patent/JPS6318444A/en
Publication of JPS6318444A publication Critical patent/JPS6318444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To efficiently support software development, by providing a terminal emulate board having the same terminal function as a target microprocessor has to a personal computer. CONSTITUTION:The I/O access to the memory of a target microprocessor is made by storing data in the terminal register 222 of a terminal emulate board 220 corresponding to the terminal group of the target microprocessor in the case of output. In such case, exchange from the internal bus 210 of a personal computer 230 to a system bus 200 is performed through a bus exchanger 221 and the content of the register 222 is outputted through the bus 200. In the case of input, on the other hand, data of the bus 200 are stored in the register 222 through the exchanger 221 by actuating a bus cycle and necessary part of the register 222 is read out. In such way, an instruction code is fetched, decoded, and the instruction is executed so as to emulate the target micro device in the same way as that to the target microprocessor.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、プロセッサ開発時、特にマイクロプロセッサ
開発時における該プロセッサのソフトウェア開発支援シ
ステムの開発方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a development method for a software development support system for a processor, particularly when developing a microprocessor.

(従来の技術) 従来インサーキットエミュレータ(In Circui
tEmulator、以下rlcEJと略記する)、コ
ンパイラ、アセンブラ等のマイクロプロセッサのソフト
ウェア開発支援システム(以下開発支援システムと称す
)の開発は、該マイクロプロセッサが既に開発されてか
ら行なわれるか、また該マイクロプロセッサが開発中の
場合は、TTLや既存のプロセッサを用いて該マイクロ
プロセッサと同等の機能をもたせたブレッドボードマシ
ンを用いるか、又は、メインフレーム上の該マイクロプ
ロセッサのシミュレータを用いて行なわれていた。
(Conventional technology) Conventional in-circuit emulator (In-circuit emulator)
The development of software development support systems (hereinafter referred to as development support systems) for microprocessors such as tEmulator (hereinafter abbreviated as rlcEJ), compilers, assemblers, etc. is carried out after the microprocessor has already been developed, or If a microprocessor is under development, it was done using a breadboard machine with functions equivalent to the microprocessor using TTL or an existing processor, or a simulator of the microprocessor on a mainframe. .

(発明が解決しようとする問題点) 上述した従来の開発支援システムの開発では、下記の様
な欠点があった。
(Problems to be Solved by the Invention) The development of the conventional development support system described above had the following drawbacks.

まず、該マイクロプロセッサが開発されてから、開発支
援システムを開発する場合であるが、これでは、該マイ
クロプロセッサが出荷されてからかなり遅れて開発支援
システムが出荷されることになる。したがって実質のユ
ーザシステム開発は開発支援システム待ちとなってしま
い、ユーザの製品化が遅れてしまう。
First, a development support system is developed after the microprocessor is developed, but in this case, the development support system is shipped quite late after the microprocessor is shipped. Therefore, the actual development of the user system ends up waiting for the development support system, which delays the commercialization of the user's product.

また、ブレッドボードマシンによる開発支援システムの
開発であるが、最近のマイクロプロセッサは、1個当り
数/o万1−ランジスタもの素子数が詰め込まれており
ブレッドボード自身作ることがかなり困難であり、かつ
作成するにあたりかなりの費用と期間がかかってしまう
In addition, regarding the development of a development support system using a breadboard machine, it is quite difficult to make a breadboard itself, as modern microprocessors are packed with as many as several million transistors per microprocessor. Moreover, it takes a considerable amount of time and money to create it.

次にメインフレーム上のシミュレータによる開発支援シ
ステムの開発であるが、全ての検査を行なうにはかなり
のマシン時間が必要つまりかなりの費用がかかり、ター
ンアランドタイムもかなり悪く、そのためかなりの期間
を要する。さらにICE等のハードウェア開発では、マ
イクロプロセッサ以外のハードウェア環境もシミュレー
トする必要があり、シミュレータ自身かなり大規模のも
のになってしまい実現もかなりむずかしい。
Next is the development of a development support system using a simulator on the mainframe, but it takes a considerable amount of machine time to perform all the tests, which means it costs a lot of money, and the turnaround time is also quite poor, so it takes a long time. . Furthermore, in the development of hardware such as ICE, it is necessary to simulate a hardware environment other than a microprocessor, and the simulator itself becomes quite large-scale, making it quite difficult to implement.

本発明の目的は、従来のマイクロプロセッサのソフトウ
ェア開発支援システムの開発方式による不具合を除去し
、安価で効率的なソフトウェア開発支援システムの開発
方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the problems caused by the conventional development method of a software development support system for a microprocessor, and to provide an inexpensive and efficient method for developing a software development support system.

(問題点を解決するための手段) 本発明によれば、マイクロプロセッサ開発時において、
中央処理装置、メモリ、二次記憶、i/。
(Means for solving the problem) According to the present invention, when developing a microprocessor,
central processing unit, memory, secondary storage, i/.

手段を有するシステムに、該マイクロプロセッサと同等
の端子機能を有する手段と、該マイクロプロセッサと同
等の命令機能を有する手段とを億え、該マイクロプロセ
ッサ開発前に、該マイクロプロセッサのソフトウェア開
発支援システムを開発可能とするソフトウェア開発支援
システム開発方式が得られる。
A software development support system for the microprocessor is provided before the development of the microprocessor, wherein the system includes means having terminal functions equivalent to that of the microprocessor and means having instruction functions equivalent to the microprocessor. A software development support system development method that enables the development of software development is obtained.

(実施例) 次に本発明の一実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の実施例の構成図である。/o0は、メ
モリ、二次記憶、iloをもつパーソナルコンピュータ
、/o1はターゲラ1−とするマイクロプロセッサと同
等の端子機能を実現するボード、/o2はシステムバス
、/o3はターゲットマシン、/o4はICE 、/o
5はICEのホストマシンを示す。
FIG. 1 is a block diagram of an embodiment of the present invention. /o0 is a personal computer with memory, secondary storage, and ILO, /o1 is a board that realizes terminal functions equivalent to the microprocessor used in Targetera 1-, /o2 is a system bus, /o3 is a target machine, /o4 is ICE, /o
5 indicates the ICE host machine.

第2図は、第1図のマイクロプロセッサ代替部である 
/o0./o1を詳細にした図である。200はシステ
ムバス、2/oはパーソナルコンピュータ内部バス、2
20はターゲットとするマイクロプロセッサと同等の端
子機能を実現するボード、221はパーソナルコンピュ
ータ内部バスとシステムバスとのバス交換器、222は
ターゲットとするマイクロプロセッサと同等の端子のデ
ータをラッチしておくレジスタ群、230はパーソナル
コンピュータ、231はCPU部、232はメモリ部、
233は二次記憶部、234はi/0部を示す。
Figure 2 is a microprocessor alternative to Figure 1.
/o0. It is a detailed diagram of /o1. 200 is a system bus, 2/o is a personal computer internal bus, 2
20 is a board that realizes the same terminal function as the target microprocessor, 221 is a bus exchanger between the personal computer internal bus and the system bus, and 222 is used to latch data on the terminals that are equivalent to the target microprocessor. A group of registers, 230 a personal computer, 231 a CPU section, 232 a memory section,
233 is a secondary storage section, and 234 is an i/0 section.

本実施例は、安価なパーソナルコンピュータ/o0にタ
ーゲットとするマイクロプロセッサ/o1と同等の端子
機能を実現するボード(以下端子エミュレートボードと
称す)を付加することにより、ターゲットマイクロプロ
セッサをエミュレートさせるものである。
This embodiment emulates the target microprocessor by adding a board (hereinafter referred to as a terminal emulation board) that realizes the same terminal functions as the target microprocessor /o1 to an inexpensive personal computer /o0. It is something.

ターゲットマイクロプロセッサのエミュレート部分につ
いて第2図を参照して説明する。パーソナルコンピュー
タ230は、CPυ部231とメモリ部232と、二次
記憶部233と、i/o部234から構成されている。
The emulated portion of the target microprocessor will be explained with reference to FIG. The personal computer 230 includes a CPυ section 231, a memory section 232, a secondary storage section 233, and an I/O section 234.

このパーソナルコンピュータ上にターゲットマイクロプ
ロセッサの命令をシミュレートするプログラム(以下命
令シミュレータと称す)および220の端子エミュレー
トボードを通してターゲットマシンのメモリ、iloを
アクセスするプログラム(以下バスシミュレータと称す
)を実現する。実際は233の二次記憶部がら232の
メモリ部に命令シミュレータとバスシミュレータをロー
ドする。ターゲットマシンのメモリ、i/oアクセスは
、出力の場合はターゲットマイクロプロセッサ222の
端子群に対応するレジスタ群(以下端子レジスタと称す
)にデータを格納し、パーソナルコンピュータ内部バス
2/oとシステムバス200の変換を行なうバス交換器
221を通してバスサイクルを起動し、端子レジスタ2
22の内容をシステムバスに出力することで行なわれ、
入力の場合は、バスサイクルを起動し、システムバスの
データをバス交換器221を通し、端子レジスタ 22
2に格納し、必要な端子レジスタ222を読み出すこと
により行なわれる。以上の命令シミュレータ、パスシミ
ュレータ、222の端子エミュレートボード222によ
り、タープ・ソトマイクロプロセッサと同様に命令コー
ドをフエ・ソチし、命令コードをデコードし、命令を実
行してターゲラ1−マイクロプロセッサをエミュレート
する。この時i/o部234を通してパーソナルコンピ
ュータの画面に何らかの情報を出力してもよい。
On this personal computer, a program that simulates the instructions of the target microprocessor (hereinafter referred to as an instruction simulator) and a program that accesses the target machine's memory, ilo, through the 220 terminal emulation board (hereinafter referred to as a bus simulator) are realized. . Actually, the instruction simulator and bus simulator are loaded into the memory section 232 from the secondary storage section 233. For memory and I/O access of the target machine, in the case of output, data is stored in a register group (hereinafter referred to as a terminal register) corresponding to a terminal group of the target microprocessor 222, and data is stored in a register group (hereinafter referred to as a terminal register) corresponding to a terminal group of the target microprocessor 222, and is accessed via the personal computer internal bus 2/o and the system bus. 200 conversions through bus exchanger 221, terminal register 2
This is done by outputting the contents of 22 to the system bus,
In the case of input, a bus cycle is started, data on the system bus is passed through the bus exchanger 221, and the data is transferred to the terminal register 22.
2 and reading the necessary terminal register 222. The above instruction simulator, path simulator, and terminal emulation board 222 of 222 are used to process instruction codes, decode instruction codes, and execute instructions in the same manner as the Tarp-Soto microprocessor. emulate. At this time, some information may be output to the screen of the personal computer through the I/O section 234.

以上のようにパーソナルコンピュータ/o口、端子エミ
ュレートボード/o1によるターゲットマイクロプロセ
ッサのエミュレート部を実現することにより、ハードウ
ェアとソフトウェアのデバッキングツールであるICE
/o4の開発、ターゲットマシン/o3上のオペレーテ
ィングシステムの開発、コンパイラ、アセンブラ等の言
語から出力された機械語の検査等が行なえる。オペレー
ティングシステムの開発の形態は、パーソナルコンピュ
ータ/o0、端子エミュレートボード/o1によるター
ゲットマイクロプロセッサのエミュレート部とターゲッ
トマシン/o3のみでもよいし、さらにICE/o4の
ICEホスト/o5を加えてもよい。
As described above, by realizing the target microprocessor emulation section using the personal computer/o port and the terminal emulation board/o1, ICE, which is a hardware and software debugging tool, can be used.
/o4 development, operating system development on the target machine /o3, and inspection of machine language output from languages such as compilers and assemblers. The operating system can be developed using only a personal computer/o0, a target microprocessor emulation section using a terminal emulation board/o1, and a target machine/o3, or an ICE host/o5 for an ICE/o4 may be added. good.

(発明の効果) 本発明は以上説明したように、安価なパーソナルコンピ
ュータ上にマイクロプロセッサのエミュレータを実現す
ることにより該マイクロプロセッサ開発時において、低
価格で多数のエミュレータマシンを用意でき、また命令
エミュレート部がソフトウェアで実現されていることか
ら該マイクロプロセッサ命令仕様変更に簡単に追従がで
きるため、該マイクロプロセッサのソフトウェア開発支
援システムのソフトウェア、ハードウェアを早期にかつ
低価格で開発できる効果がある。
(Effects of the Invention) As explained above, the present invention realizes a microprocessor emulator on an inexpensive personal computer, thereby making it possible to prepare a large number of emulator machines at a low cost when developing the microprocessor, and to emulate instruction emulators. Since the rate section is realized by software, changes in the microprocessor instruction specifications can be easily followed, which has the effect of allowing software and hardware for the microprocessor software development support system to be developed quickly and at low cost. .

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

第1図は本発明の実施例の構成図、第2図は、マイクロ
プロセッサ代替部の詳細図である。 図において、 /o0・・・パーソナルコンピュータ /o1・・・マイクロプロセッサと同等の端子機能を実
現するボード(端子エミュレー1− ボード〉 /o2・・・システムバス /o3・・・ターゲラ1−
マシン/o4・・・ICE /o5・・・ICEのホストマシン 20G・・・システムバス 2/o・・・パーソナルコンピュータ内部バス220・
・・マイクロプロセッサと同等の端子機能を実現するボ
ード(端子エミュレート ボード) 221・・・パーソナルコンピュータ内部バスとシステ
ムバスとのバス交換器 222・・・マイクロプロセッサと同等の端子のデータ
をラッチするレジスタ群(端子レジ スタ) 230・・・パーソナルコンピュータ 231・・・CPU部    232・・・メモリ部2
33・・・二次記憶部  234・・・i/o部をそれ
ぞれ示す。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a detailed diagram of a microprocessor replacement section. In the figure, /o0... Personal computer /o1... A board that realizes the same terminal function as a microprocessor (terminal emulator 1 board) /o2... System bus /o3... Targetera 1-
Machine /o4...ICE /o5...ICE host machine 20G...System bus 2/o...Personal computer internal bus 220.
... A board that realizes the same terminal function as a microprocessor (terminal emulation board) 221 ... Bus exchanger between the personal computer internal bus and the system bus 222 ... Latch data on terminals equivalent to a microprocessor Register group (terminal register) 230...Personal computer 231...CPU section 232...Memory section 2
33...Secondary storage unit 234...I/O unit, respectively.

Claims (1)

【特許請求の範囲】[Claims] 1、マイクロプロセッサ開発時において、中央処理装置
、メモリ、二次記憶、i/o手段を有するシステムに、
該マイクロプロセッサと同等の端子機能を有する手段と
、該マイクロプロセッサと同等の命令機能を有する手段
とを備えたことを特徴とするソフトウェア開発支援シス
テム開発方式。
1. When developing a microprocessor, a system that includes a central processing unit, memory, secondary storage, and I/O means,
A software development support system development method comprising: means having a terminal function equivalent to that of the microprocessor; and means having an instruction function equivalent to that of the microprocessor.
JP61162266A 1986-07-09 1986-07-09 System for developing software development supporting system Pending JPS6318444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61162266A JPS6318444A (en) 1986-07-09 1986-07-09 System for developing software development supporting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61162266A JPS6318444A (en) 1986-07-09 1986-07-09 System for developing software development supporting system

Publications (1)

Publication Number Publication Date
JPS6318444A true JPS6318444A (en) 1988-01-26

Family

ID=15751183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61162266A Pending JPS6318444A (en) 1986-07-09 1986-07-09 System for developing software development supporting system

Country Status (1)

Country Link
JP (1) JPS6318444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0351925A (en) * 1989-07-19 1991-03-06 Yokogawa Electric Corp Microprocessor simulator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0351925A (en) * 1989-07-19 1991-03-06 Yokogawa Electric Corp Microprocessor simulator

Similar Documents

Publication Publication Date Title
US5600790A (en) Method and system for loading and confirming correct operation of an application program in a target system
US5678032A (en) Method of optimizing the execution of program instuctions by an emulator using a plurality of execution units
EP0464494A2 (en) A high performance pipelined emulator
US5363501A (en) Method for computer system development verification and testing using portable diagnostic/testing programs
US5857091A (en) Machine and method for simulating a processor-based digital system
Li et al. FEMU: A firmware-based emulation framework for SoC verification
US20030093258A1 (en) Method and apparatus for efficient simulation of memory mapped device access
Heath Microprocessor architectures and systems: RISC, CISC and DSP
JPS6318444A (en) System for developing software development supporting system
EP0378242B1 (en) Integrated circuit with a debug environment
Namimoto et al. TX series Based on TRONCHIP Architecture
Davies et al. Mable: A technique for efficient machine simulation
JP2591418B2 (en) CPU simulator
JPH0552535B2 (en)
JP3270729B2 (en) Extended instruction set simulator
Yanagisawa et al. Automatic generation of a simulation compiler by a HW/SW codesign system
Demco et al. An insight into PDP-11 emulation
Tijms Binary translation: Classification of emulators
JPH0668193A (en) Logic evaluation system
Goldberg et al. PRIM system-A framework for emulation-based debugging tools
Bernstein et al. Microprocessor-based single board computer for high energy physics event pattern recognition
Salomon et al. Emulation-a useful tool in the development of computer systems
JP2001222447A (en) Debug method and device to be debugged under operating environment
Kagawa et al. * C system: a development tool for real-time embedded computer
Heath et al. Development of a test environment for pre-and post-synthesis verification of correct VHDL description of core processor systems