JP3270729B2 - Extended instruction set simulator - Google Patents

Extended instruction set simulator

Info

Publication number
JP3270729B2
JP3270729B2 JP34601697A JP34601697A JP3270729B2 JP 3270729 B2 JP3270729 B2 JP 3270729B2 JP 34601697 A JP34601697 A JP 34601697A JP 34601697 A JP34601697 A JP 34601697A JP 3270729 B2 JP3270729 B2 JP 3270729B2
Authority
JP
Japan
Prior art keywords
instruction
instruction set
user
program
simulator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP34601697A
Other languages
Japanese (ja)
Other versions
JPH11175352A (en
Inventor
光宏 安田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP34601697A priority Critical patent/JP3270729B2/en
Publication of JPH11175352A publication Critical patent/JPH11175352A/en
Application granted granted Critical
Publication of JP3270729B2 publication Critical patent/JP3270729B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理で使われ
るアセンブラ言語のシミュレーションならびに組み込み
システムにおける周辺ハードの機能モデルを合わせてシ
ミュレーションするものである。
The present invention relates to a simulation of an assembler language used in information processing and a simulation of a function model of peripheral hardware in an embedded system.

【0002】[0002]

【従来の技術】アセンブラ記述または、ターゲット・コ
ンピュータの機械語で書かれたプログラムが正しいかど
うかを調べるソフトウェアのデバッグにおいてターゲッ
ト・コンピュータ上での動作が正しいかどうかを調べる
ソフトウェアのデバッグにおいて、ターゲット・コンピ
ュータとは異なるコンピュータで、上記各アセンブラ命
令(機械語の1命令)を逐次解釈してシミュレーション
する命令セット・シミュレータが知られている。図6
は、第1の従来の命令セット・シミュレータの基本構成
を示す図である。図において、11は命令セット・シミ
ュレータの命令実行部、12はデータメモリ、13はレ
ジスタ、14は1命令実行部、15はプログラムカウン
タ、16はプログラム(機械語)格納部、17はコマン
ド制御部、1aは1命令のフェッチ、1bはプログラム
アドレスである。ユーザのプログラム(アセンブラまた
は機械語)は、16に示すプログラムメモリの中に格納
され、プログラムで現在実行すべきプログラムのメモリ
のアドレスを示すプログラムカウンタPCが指し示す命
令を取り出し、シミュレータ内でその命令の実行(模
擬)が行われる。この結果、メモリやレジスタの値を更
新し、次に実行すべきPCの値をセットする。これを繰
り返すことでプログラムのシミュレーションを実行する
が、その際に、ユーザがコマンド制御部からこのシミュ
レーションを適宜中断させ、その時のメモリの状態やレ
ジスタの状態を観測できるようになっていることが、命
令セット・シミュレータの基本機能である。
2. Description of the Related Art In debugging of software for checking whether a program written in an assembler description or a machine language of a target computer is correct, in debugging of software for checking whether operation on a target computer is correct or not. 2. Description of the Related Art There is known an instruction set simulator that sequentially interprets and simulates each of the assembler instructions (one instruction in a machine language) using a computer different from the computer. FIG.
FIG. 1 is a diagram showing a basic configuration of a first conventional instruction set simulator. In the figure, 11 is an instruction execution unit of an instruction set simulator, 12 is a data memory, 13 is a register, 14 is an instruction execution unit, 15 is a program counter, 16 is a program (machine language) storage unit, and 17 is a command control unit. 1a is a fetch of one instruction, and 1b is a program address. The user's program (assembler or machine language) is stored in the program memory 16 and an instruction indicated by the program counter PC indicating the address of the memory of the program to be currently executed by the program is fetched. Execution (simulation) is performed. As a result, the values of the memory and the register are updated, and the value of the PC to be executed next is set. By repeating this, the simulation of the program is executed. At this time, the user can appropriately suspend the simulation from the command control unit and observe the state of the memory and the state of the register at that time. This is the basic function of the instruction set simulator.

【0003】第2の従来例として特開昭63−2715
44号公報に示されるものがある。この方式は、ターゲ
ット・コンピュータのターゲット命令以外に、外部記憶
装置、回線等の接続要素がシミュレーション対象に含ま
れている場合に、ターゲット命令以外をユーザ定義命令
としてアセンブラ・レベルで用意して、このユーザ定義
命令を識別する手段とユーザ定義命令を模擬する手段を
設けてシミュレーションを行っている。図7は、このシ
ミュレーション方式に記載された動作の概念を示す図で
ある。本方式ではシミュレーションのためのプログラム
をアセンブラ・レベルで混在して記述しており、このプ
ログラムに対して図のステップ(以後ステップの記述を
省略)S101においてプログラムを読み出し、S10
2でもともとシミュレータが用意しているターゲット命
令であるかを調べ、S103でターゲット命令を実行す
るか、またはS105でユーザ定義命令を実行する。
A second prior art is disclosed in Japanese Patent Application Laid-Open No. 63-2715.
There is one disclosed in Japanese Patent Publication No. 44-44. In this method, when a connection target such as an external storage device and a line is included in a simulation target in addition to a target instruction of a target computer, a non-target instruction is prepared as a user-defined instruction at an assembler level. The simulation is performed by providing means for identifying the user-defined instruction and means for simulating the user-defined instruction. FIG. 7 is a diagram showing the concept of the operation described in the simulation method. In this method, a program for simulation is described in a mixed manner at an assembler level, and the program is read out in step S101 of the figure (hereinafter step description is omitted) for this program, and S10
It is checked whether the instruction is a target instruction originally provided by the simulator, and the target instruction is executed in S103 or a user-defined instruction is executed in S105.

【0004】[0004]

【発明が解決しようとする課題】従来のシミュレータは
上記のように構成されているので、第1の従来例では、
マイクロプロセッサとプログラムだけで構成されるシス
テムなら十分シミュレーションができるが、例えば高速
化のための組み込みハードウェアを持つターゲット・コ
ンピュータは模擬ができないという課題があった。また
第2の従来例では、ハードウェアの模擬はできても、シ
ミュレータの命令セット・シミュレーションの部分にタ
ーゲット・コンピュータが実行できない模擬命令が含ま
れてしまい、シミュレータでデバッグが終わってターゲ
ット・コンピュータに命令セットを組み込む段階でこの
模擬部分を除く作業が必要であって、厳密には動作が異
なる結果となり、不具合が生じる可能性があるという課
題があった。また、ハードウェア模擬のプログラムに変
換するために特別なツールを用意する必要があるという
課題もあった。
Since the conventional simulator is configured as described above, in the first conventional example,
A system consisting only of a microprocessor and a program can perform a simulation sufficiently, but for example, there is a problem that a target computer having embedded hardware for high speed cannot be simulated. Further, in the second conventional example, even though the hardware can be simulated, a simulated instruction that cannot be executed by the target computer is included in the instruction set simulation portion of the simulator. At the stage of incorporating the instruction set, it is necessary to remove the simulated part, and the operation is strictly different, and there is a problem that a malfunction may occur. There is also a problem that it is necessary to prepare a special tool to convert the program into a hardware simulation program.

【0005】また、いずれの従来例においてもその命令
セット・シミュレータは、1命令毎に命令を実行模擬す
る形式であるので、1命令でプログラムを中断して多数
のメモリアドレスや複数のレジスタの内容を調べたい場
合など、いちいち各内容を逐次読み出すプログラムを組
む必要があるという課題があった。
In each of the conventional examples, the instruction set simulator has a format in which the execution of an instruction is simulated for each instruction. Therefore, the program is interrupted by one instruction and the contents of a large number of memory addresses and a plurality of registers are interrupted. For example, there is a problem that it is necessary to construct a program for sequentially reading each content when it is desired to check the contents.

【0006】この発明は上記の課題を解消するためにな
されたもので、ターゲット・コンピュータ自身が持つ命
令セットとは別の部分に、この命令セットのプログラム
・レベルとは異なるレベルの、この命令セットが影響を
受けず、ユーザが自由に設定できる機能模擬プログラム
または複数命令プログラムを付加して、種々のユーザ要
求にこたえられる拡張命令セット・シミュレータを得る
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and is provided in a part different from the instruction set of the target computer itself, at a level different from the program level of the instruction set. It is an object of the present invention to obtain an extended instruction set simulator capable of responding to various user requests by adding a function simulation program or a multi-instruction program that can be freely set by a user without being affected by the user.

【0007】[0007]

【課題を解決するための手段】この発明における拡張命
令セット・シミュレータは、アセンブラ・レベルの命令
をターゲット・コンピュータとは別の命令セット・シミ
ュレータで実行する構成において、ターゲット・コンピ
ュータのアセンブラ・レベルで記述されたプログラムコ
ードを1命令ずつ実行する命令実行部と、 プログラムコ
ードがユーザ定義関数であると、このユーザ定義関数を
解読して実行する前処理部または後処理部と、 前処理部
または後処理部の指示で動作する組み込みハードウェア
と、 命令実行部、前処理部または後処理部の動作を制御
するプログラムカウンタとを備えた。
Means for Solving the Problems] extended instruction set simulator in this invention, in a configuration that executes instructions of the assembler level and target computers in a different instruction set simulator, the target competent
Program code written at the assembler level of the computer
An instruction execution unit for executing over de one instruction, program co
If the code is a user-defined function, this
Pre-processing unit or post-processing unit to decode and execute, and pre-processing unit
Or embedded hardware that operates according to the instructions of the post-processing unit
Controls the operation of the instruction execution unit, pre-processing unit or post-processing unit
Program counter .

【0008】また更に、ユーザ定義関数は、C言語で記
述して後、変換するようにした。
Further, the user-defined function is described in C language and then converted.

【0009】また更に、ユーザ定義関数は、Applicatio
n Program Interface(API)で記述するようにし、
ターゲット・コンピュータのハードウェア資源も示すよ
うにした。
[0009] Still further, the user-defined function includes an Applicatio
n Write in Program Interface (API)
The hardware resources of the target computer are also shown.

【0010】また更に、ユーザ定義関数は、アセンブラ
・レベルの複数ステップの機能を表現するようにした。
Still further, the user-defined function expresses a multi-step function at an assembler level.

【0011】[0011]

【発明の実施の形態】実施の形態1.シミュレータ対象
のシステムで、プロセッサが直接やりとりするメモリ、
レジスタ以外のそれとは並行動作する周辺装置を組み込
んだ場合の、周辺装置を含んだシミュレータを説明す
る。図1は本実施の形態におけるシミュレータの構成を
示す図であり、図2はその動作を示すフローチャートで
ある。図1において、従来の命令セット・シミュレータ
が持つ機能として、データメモリ22、レジスタ23、
プログラムコードを格納するメモリ28、プログラムカ
ウンタ27、1命令実行部25およびコマンド制御部2
9を持ち、新たに1命令実行部の前段にユーザが定義で
きる前処理部24、後段にユーザが定義できる後処理部
25を設けている。また図3は模擬対象のハードウェア
組み込みシステムの例を示す構成図であり、命令セット
・シミュレータ以外のシミュレーション対象としてハー
ドウェア乗算器30を例としたものである。この組み込
みハードウェアである乗算器は、プロセッサ27とは独
立に動作し、メモリ23のデータ格納アドレス100番
地3aと101番地3bに乗数と被乗算を入れると、乗
算結果を102番地3cに格納する動作を行うとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Simulator-targeted system, with memory directly exchanged by the processor,
A description will be given of a simulator including a peripheral device when a peripheral device other than the register that operates in parallel with the register is incorporated. FIG. 1 is a diagram showing a configuration of a simulator according to the present embodiment, and FIG. 2 is a flowchart showing an operation thereof. In FIG. 1, functions of a conventional instruction set simulator include a data memory 22, a register 23,
A memory 28 for storing a program code, a program counter 27, an instruction execution unit 25, and a command control unit 2
9 is provided, and a preprocessing unit 24 that can be defined by a user is provided at a stage preceding a new one instruction execution unit, and a postprocessing unit 25 that can be defined by a user is provided at a subsequent stage. FIG. 3 is a block diagram showing an example of a hardware embedded system to be simulated, in which a hardware multiplier 30 is used as an example of a simulation target other than the instruction set simulator. The multiplier, which is built-in hardware, operates independently of the processor 27. When a multiplier and a multiplicand are put in the data storage addresses 100a 3a and 101b 3b of the memory 23, the multiplication result is stored in the 102 address 3c. Perform the operation.

【0012】乗算命令がないプロセッサで外部回路とし
て乗算を付加した場合プロセッサが乗算命令を持たずハ
ードウェアで乗算器を実現した場合、当然乗算の命令は
アセンブラ(機械語)として持たない。従って、命令セ
ット・シミュレータだけでは本システムのシミュレーシ
ョンができない。上述構成の模擬対象であるハードウェ
ア乗算器30を、図1のシミュレータではユーザ定義関
数として模擬する。これを命令セット・シミュレータの
命令実行レベルとは別の部分、つまり前処理部または後
処理部として分離して定義し、命令セット・シミュレー
タのアセンブラ・レベルでの命令コード列は変更しなく
てよい構成とした。ユーザが前処理部または後処理部で
拡張する方式としてC言語によるユーザ定義関数を組み
込む。前処理用の関数名をpre_func(ソース上ではpre_
func()の意味)、後処理用の関数名をpost_func (ソー
ス上ではpost_func ()の意味)と定義しておく。ユーザ
が拡張機能を使用しない場合は、この関数はなにもしな
くただreturnするだけの機能である。ちなみに、C言語
を用いた拡張は一つの実現方式であり、別途拡張用の新
たな記述を定義してこれを実現することも可能である。
この場合、図4はC言語でユーザが定義した乗算機能の
表現例である。
When multiplication is added as an external circuit in a processor without a multiplication instruction When a processor implements a multiplier by hardware without having a multiplication instruction, it naturally has no multiplication instruction as an assembler (machine language). Therefore, the simulation of the present system cannot be performed only by the instruction set simulator. The simulator shown in FIG. 1 simulates the hardware multiplier 30, which is a simulation target having the above configuration, as a user-defined function. This is defined separately from the instruction execution level of the instruction set simulator, that is, as a preprocessor or postprocessor, and the instruction code sequence at the assembler level of the instruction set simulator does not need to be changed. The configuration was adopted. A user-defined function in C language is incorporated as a method for the user to extend in the pre-processing unit or the post-processing unit. The function name for preprocessing is pre_func (pre_func
Define the function name for post-processing as post_func (meaning post_func () on source). If the user does not use the extension, this function just returns without doing anything. Incidentally, the extension using the C language is one realization method, and it is also possible to define a new description for the extension separately and realize this.
In this case, FIG. 4 is an expression example of the multiplication function defined by the user in the C language.

【0013】上述構成のシミュレータの動作を図1、図
2をもとに説明する。図2において、プログラムコード
28をS1で読み出し、S2で前処理部24においてハ
ードウェア乗算器の動作を行う。まず、ハードウェアの
回路を使って乗算を行なう仮想命令をユーザが定義す
る。この場合、データメモリのアドレス100,101
に乗算の乗数と被乗数を格納するとハードウェアが乗算
結果を常に102番地に格納するシステムを設計してい
るので、シミュレータとしては、メモリ3a(100番
地)とメモリ3b(101番地)に値をストア命令でセ
ットした後、3cアドレスの中身をロードしてくればい
つでも乗算結果を使用することができる。前処理部24
に納める前処理プログラムとしてC言語を用いて、ユー
ザが図4に示す関数を定義すれば、S2での処理は、上
述の乗算そのものを行っている。この後、S3で1命令
実行部25において命令セットを実行し、S5で続きの
プログラムがあれば、シミュレーションを続行する。
The operation of the simulator having the above configuration will be described with reference to FIGS. In FIG. 2, the program code 28 is read in S1, and the operation of the hardware multiplier is performed in the preprocessing unit 24 in S2. First, a user defines a virtual instruction for performing multiplication using a hardware circuit. In this case, the data memory addresses 100 and 101
When the hardware is designed to store the multiplication result and the multiplicand in the memory, the hardware always stores the multiplication result at the address 102, the simulator stores the values in the memories 3a (100) and 3b (101). After setting by the instruction, the result of the multiplication can be used at any time by loading the contents of the 3c address. Preprocessing unit 24
If the user defines the function shown in FIG. 4 using the C language as the preprocessing program to be stored in S2, the processing in S2 performs the above-described multiplication itself. Thereafter, the instruction set is executed by the one-instruction execution unit 25 in S3, and if there is a subsequent program in S5, the simulation is continued.

【0014】上述の前処理部24、または後述の後処理
部25は、API(Application Prog
ram Interface)としてシステムの資源
(ソース)を表示するようにし、定義関数としてその資
源の位置で示すようC言語で表現する技法が使用でき
る。
The pre-processing unit 24 described above or a post-processing unit 25 described below includes an API (Application Program).
A technique of displaying a resource (source) of the system as a ram interface and expressing the resource in the C language as a defining function at the position of the resource can be used.

【0015】実施の形態2.「プログラムカウンタPC
が、1000を超えたとき、200番地のメモリが1で
あるときに限り、メモリの201から210までの内容
を観測したいと言うことを実現する場合、通常の命令セ
ット・シミュレータの会話型コマンド制御で行なうと非
常に煩雑なコマンド操作が必要になってくる。本発明の
シミュレータによれば、このような場合でも後処理関数
として要求仕様をユーザがまとめてC言語で記述して定
義しておけば、容易にバッチ的にその指定の条件でのメ
モリ観測などが可能になる。図5は、図1の構成におい
て後処理部26で実行すべき図2のS4で実行するプロ
グラムを、C言語で表現した例である。図5の意味は、
上述のPCが1000以上、メモリ200番地の値が1
の条件で、メモリ201ないし210を読み出す命令で
ある。この動作は、図2のS4で、C言語により表現さ
れた上述の10番地にわたるアドレスの連続読み出し動
作が行われることになる。
Embodiment 2 "Program Counter PC
Is larger than 1000, and only when the memory at address 200 is 1, when it is desired to observe the contents of 201 to 210 of the memory, the interactive command control of the normal instruction set simulator is used. Would require very complicated command operations. According to the simulator of the present invention, even in such a case, if the required specifications are collectively described by the user as a post-processing function in the C language and defined, the memory observation under the specified conditions can be easily performed in a batch. Becomes possible. FIG. 5 shows an example in which the program executed in S4 of FIG. 2 to be executed by the post-processing unit 26 in the configuration of FIG. 1 is expressed in C language. The meaning of FIG.
The above PC is 1000 or more, and the value of the memory address 200 is 1
Is a command to read the memories 201 to 210 under the condition of In this operation, in S4 of FIG. 2, the continuous reading operation of the address over the ten addresses described in the C language is performed.

【0016】[0016]

【発明の効果】以上のようにこの発明によれば命令セッ
トのみで構成されるコア・プログラムと区分して、ユー
ザが容易に利用できてそれ自体で周辺部と直接アクセス
する動作を行う付加処理プログラムとを設けたので、ユ
ーザが周辺組み込み回路も含めて所望の動作を容易に模
擬でき、しかも再アセンブルに伴う不具合を避けられる
効果がある。
As described above, according to the present invention, an additional processing program which can be easily used by a user and performs an operation of directly accessing a peripheral portion by itself, separately from a core program constituted only by an instruction set. Thus, the user can easily simulate the desired operation including the peripheral built-in circuit, and also has the effect of avoiding the trouble associated with reassembly.

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

【図1】 本発明の各実施の形態における拡張命令セッ
ト・シミュレータの構成図である。
FIG. 1 is a configuration diagram of an extended instruction set simulator according to each embodiment of the present invention.

【図2】 本発明の各実施の形態における拡張命令セッ
ト・シミュレータの動作フローチャート図である。
FIG. 2 is an operation flowchart of an extended instruction set simulator according to each embodiment of the present invention.

【図3】 実施の形態1における模擬対象システムの構
成図である。
FIG. 3 is a configuration diagram of a simulation target system according to the first embodiment.

【図4】 実施の形態1において前処理部が実行する動
作をC言語で記述した例を示す図である。
FIG. 4 is a diagram illustrating an example in which an operation performed by a preprocessing unit is described in C language in the first embodiment.

【図5】 実施の形態2において後処理部が実行する動
作をC言語で記述した例を示す図である。
FIG. 5 is a diagram illustrating an example in which an operation executed by a post-processing unit is described in C language in the second embodiment.

【図6】 第1の従来例におけるシミュレータの構成図
である。
FIG. 6 is a configuration diagram of a simulator in a first conventional example.

【図7】 第2の従来例の動作概念を示す図である。FIG. 7 is a diagram showing an operation concept of a second conventional example.

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

11 命令セット・シミュレータの命令実行部、12
データメモリ、13レジスタ、14 1命令実行部、1
5 プログラムカウンタ、16 プログラム(機械語)
格納部、17 コマンド制御部、1a 1命令のフェッ
チ、1b プログラムアドレス、20 拡張命令セット
・シミュレータ、22 メモリ、23レジスタ、24
前処理部、25 1命令実行部、26 後処理部、27
プログラムカウンタ、28 プログラム(機械語)格
納部、29 コマンド制御部、2a 1命令のフェッ
チ、2b プログラムアドレス、30 ハードウェア乗
算器(組み込みハードウェア)、31 プログラムメモ
リ、32 プログラムカウンタ、33 コマンド制御
部、3a 乗数、3b 被乗数、3c 乗算結果。
11 Instruction execution part of instruction set simulator, 12
Data memory, 13 registers, 141 instruction execution unit, 1
5 program counters, 16 programs (machine language)
Storage unit, 17 command control unit, 1a 1 instruction fetch, 1b program address, 20 extended instruction set simulator, 22 memory, 23 registers, 24
Pre-processing unit, 25 1 instruction execution unit, 26 Post-processing unit, 27
Program counter, 28 program (machine language) storage unit, 29 command control unit, 2a 1 instruction fetch, 2b program address, 30 hardware multiplier (embedded hardware), 31 program memory, 32 program counter, 33 command control unit , 3a multiplier, 3b multiplicand, 3c multiplication result.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アセンブラ・レベルの命令をターゲット
・コンピュータとは別の命令セット・シミュレータで実
行する構成において、上記ターゲット・コンピュータのアセンブラ・レベルで
記述されたプログラムコードを1命令ずつ実行する命令
実行部と、 上記プログラムコードがユーザ定義関数であると、該ユ
ーザ定義関数を解読して実行する前処理部または後処理
部と、 上記前処理部または後処理部の指示で動作する組み込み
ハードウェアと、 上記命令実行部、前処理部または後処理部の動作を制御
するプログラムカウンタとを 備えたことを特徴とする拡
張命令セット・シミュレータ。
In a configuration in which an assembler-level instruction is executed by an instruction set simulator different from a target computer, the assembler-level instruction of the target computer is provided.
Instruction to execute written program code one instruction at a time
An execution unit, wherein the program code is a user-defined function;
Pre-processing or post-processing that decodes and executes user-defined functions
Unit and built-in that operate according to the instruction of the above pre-processing unit or post-processing unit
Controls the operation of the hardware and the instruction execution unit, pre-processing unit or post-processing unit
An extended instruction set simulator, comprising:
【請求項2】 ユーザ定義関数は、C言語で記述して
後、変換するようにしたことを特徴とする請求項1記載
の拡張命令セット・コンピュータ。
2. The extended instruction set computer according to claim 1 , wherein the user-defined function is described in C language and then converted.
【請求項3】 ユーザ定義関数は、Application Progra
m Interface(API)で記述するようにし、ターゲッ
ト・コンピュータのハードウェア資源も示すようにした
ことを特徴とする請求項1記載の拡張命令セット・コン
ピュータ。
3. The user-defined function is an application program.
2. The extended instruction set computer according to claim 1, wherein the extended instruction set computer is described by m Interface (API), and also indicates hardware resources of the target computer.
【請求項4】 ユーザ定義関数は、アセンブラ・レベル
の複数ステップの機能を表現するようにしたことを特徴
とする請求項1記載の拡張命令セット・コンピュータ。
4. The extended instruction set computer according to claim 1 , wherein the user-defined function expresses a multi-step function at an assembler level.
JP34601697A 1997-12-16 1997-12-16 Extended instruction set simulator Expired - Fee Related JP3270729B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34601697A JP3270729B2 (en) 1997-12-16 1997-12-16 Extended instruction set simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34601697A JP3270729B2 (en) 1997-12-16 1997-12-16 Extended instruction set simulator

Publications (2)

Publication Number Publication Date
JPH11175352A JPH11175352A (en) 1999-07-02
JP3270729B2 true JP3270729B2 (en) 2002-04-02

Family

ID=18380570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34601697A Expired - Fee Related JP3270729B2 (en) 1997-12-16 1997-12-16 Extended instruction set simulator

Country Status (1)

Country Link
JP (1) JP3270729B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126314A (en) * 2016-06-15 2016-11-16 龙芯中科技术有限公司 Expand analogy method and the device of instruction

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5928128B2 (en) * 2012-04-25 2016-06-01 株式会社明電舎 Simulation method for digital circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126314A (en) * 2016-06-15 2016-11-16 龙芯中科技术有限公司 Expand analogy method and the device of instruction

Also Published As

Publication number Publication date
JPH11175352A (en) 1999-07-02

Similar Documents

Publication Publication Date Title
US5771370A (en) Method and apparatus for optimizing hardware and software co-simulation
US5768567A (en) Optimizing hardware and software co-simulator
US8180620B2 (en) Apparatus and method for performing hardware and software co-verification testing
CN100492387C (en) Method and system for software protected development based on Keil C51
CN113553124A (en) Application program running method, computing device and storage medium
JPS5975347A (en) Simulation device of logical circuit
JP6984565B2 (en) Information processing equipment and programs
Schlägl et al. GUI-VP Kit: A RISC-V VP meets Linux graphics-enabling interactive graphical application development
JP2005128692A (en) Simulator and simulation method
US8886512B2 (en) Simulation apparatus, computer-readable recording medium, and method
JP3270729B2 (en) Extended instruction set simulator
Yurcik et al. A web-based little man computer simulator
JPH08314760A (en) Program development supporting device
Ribas-Xirgo Yet another simple processor (YASP) for introductory courses on computer architecture
JP2005353020A (en) Simulation system for computer program
US20040098708A1 (en) Simulator for software development and recording medium having simulation program recorded therein
CN117130931A (en) Embedded software debugging method and device
Tijms Binary translation: Classification of emulators
JPH11282693A (en) Mcu simulation device, its simulation method and computer redable recording medium recording simulation program
JP3137094B2 (en) Simulation method, simulation device, and recording medium therefor
Sinkkonen Asymmetric multiprocessing of Linux and hard real-time systems
WO2013167394A1 (en) Instruction execution simulation method using trapped addresses and associated hardware
Ashton et al. SunOS Minix: a tool for use in Operating System Laboratories
Davidson et al. Testing of microprograms using the lockheed SUE microinstruction simulator
JPH0367340A (en) Simulator

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020108

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040520

LAPS Cancellation because of no payment of annual fees