JP2001290858A - Performance estimating method - Google Patents

Performance estimating method

Info

Publication number
JP2001290858A
JP2001290858A JP2000107407A JP2000107407A JP2001290858A JP 2001290858 A JP2001290858 A JP 2001290858A JP 2000107407 A JP2000107407 A JP 2000107407A JP 2000107407 A JP2000107407 A JP 2000107407A JP 2001290858 A JP2001290858 A JP 2001290858A
Authority
JP
Japan
Prior art keywords
performance
dedicated hardware
logical system
instruction sequence
intermediate code
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
JP2000107407A
Other languages
Japanese (ja)
Inventor
Yoichiro Mae
洋一郎 前
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000107407A priority Critical patent/JP2001290858A/en
Publication of JP2001290858A publication Critical patent/JP2001290858A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for estimating the performance of a logical system composed of software running on a processor and dedicated hardware at a high speed. SOLUTION: An intermediate code 103 is generated from a logical system description program 101 in which the whole logical system is described in a program language; while a dedicated hardware performance table 104 and performance tables 105 by instructions of the processor are referred to, an instruction series 107 to be executed by the process is generated from the intermediate code 103 and a performance estimate value 108 is calculated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プロセッサ上で動
作するソフトウェアと専用ハードウェアから構成される
論理システムの設計を行なう際に、ソフトウェアとハー
ドウェアを同時に設計することを支援するソフトウェア
/ハードウェア協調設計方法を実現するための論理シス
テム全体の性能見積り方法を提供するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to software / hardware for supporting simultaneous design of software and hardware when designing a logical system composed of software operating on a processor and dedicated hardware. An object of the present invention is to provide a method for estimating the performance of the entire logical system for realizing the cooperative design method.

【0002】[0002]

【従来の技術】論理システムは、プロセッサ上で動作す
るソフトウェアで実現される部分と専用ハードウェアで
実現される部分から構成される。従来、このソフトウェ
アとハードウェアの分割は設計者の経験等により行われ
ている。その上で、論理システムの性能を見積るため
に、プロセッサで動作するソフトウェアのシミュレーシ
ョンモデル、専用ハードウェアのシミュレーションモデ
ルをそれぞれ作成し、両者を接続して論理システム全体
をシミュレートすることにより、対象論理システム全体
の性能見積りを行なっている。
2. Description of the Related Art A logical system includes a part implemented by software operating on a processor and a part implemented by dedicated hardware. Conventionally, this division of software and hardware is performed based on the experience of a designer. Then, in order to estimate the performance of the logical system, a simulation model of the software operating on the processor and a simulation model of the dedicated hardware are created, and both are connected to simulate the entire logical system. Estimates the performance of the entire system.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
性能見積り方法ではハードウェア部とソフトウェア部の
分割を行なった上で、それぞれのシミュレーションモデ
ルを作成せねばならず、シミュレーションモデル開発に
工数がかかる問題がある。そのため、また、シミュレー
ションを行なった上で分割を変更する場合、シミュレー
ションモデルのインターフェース部分を再作成する必要
が有る。
However, in the above-described method for estimating performance, it is necessary to divide the hardware part and the software part and to create respective simulation models, which takes a lot of man-hours to develop the simulation model. There is. Therefore, when the division is changed after performing the simulation, it is necessary to recreate the interface part of the simulation model.

【0004】また、性能を見積るためにシミュレーショ
ンモデルの作成とさらに、これらのシミュレーションモ
デルを用いたシミュレーションの時間が必要であるた
め、性能見積りに時間がかかるという問題もある。
[0004] In addition, there is a problem that it takes time to create a simulation model and further to perform a simulation using these simulation models in order to estimate the performance, so that it takes a long time to estimate the performance.

【0005】本発明は、かかる点に鑑みてなされたもの
であり、論理システム全体の性能見積りを短時間で行な
うことができる性能見積り方法を提供することを目的と
する。
[0005] The present invention has been made in view of the above, and an object of the present invention is to provide a performance estimating method capable of estimating the performance of an entire logical system in a short time.

【0006】具体的には、プロセッサ上で動作するソフ
トウェア部と専用ハードウェア部から構成される論理シ
ステム全体の性能見積りにおいて、論理システム全体の
プログラムに対して、専用ハードウェアで実現される部
分を設計者が指定し、専用ハードウェアで実現される部
分を除いたソフトウェアで実現される部分をコンパイル
し、生成される命令系列の各命令の性能を命令性能テー
ブルより参照することによりソフトウェア部分の性能値
を算出し、専用ハードウェア部分の性能値は設計者が与
える専用ハードウェアの性能値テーブルより参照して、
論理システム全体の性能値を高速に算出する方法を提供
するものである。
Specifically, in the performance estimation of the entire logical system composed of a software unit operating on a processor and a dedicated hardware unit, a part realized by the dedicated hardware is used for a program of the entire logical system. The performance of the software part is specified by the designer, compiling the part realized by software excluding the part realized by dedicated hardware, and referring to the performance of each instruction of the generated instruction sequence from the instruction performance table. Calculate the value and refer to the performance value table of the dedicated hardware given by the designer for the performance value of the dedicated hardware part.
An object of the present invention is to provide a method for calculating the performance value of the entire logical system at high speed.

【0007】また、論理システム全体に対して、要求す
る性能をあたえ、専用ハードウェアで実現するべき性能
値を逆算し、論理システム全体の実現可能性および、ソ
フトウェアとハードウェアの切り分けの正当性を判定す
るための性能見積りを高速に行なう方法を提供するもの
である。
Also, the required performance is given to the entire logical system, the performance value to be realized by the dedicated hardware is calculated backward, and the feasibility of the entire logical system and the validity of separating software and hardware are determined. It is an object of the present invention to provide a method for performing a high-speed performance estimation for determination.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、プロセッサ上で動作するソフトウェア部と専用ハー
ドウェア部から構成される論理システム全体の性能見積
り方法において、論理システム全体をプログラミング言
語で記述した論理システム記述に対して、専用ハードウ
ェアで実現する部分を論理システム記述中で指定し、論
理システム記述をコンパイルすることにより、プロセッ
サの命令毎の性能テーブルと専用ハードウェアの性能テ
ーブルから論理システム全体の性能を見積るものであ
る。
In order to achieve the above object, in a method for estimating the performance of an entire logical system including a software unit operating on a processor and a dedicated hardware unit, the entire logical system is described in a programming language. In the logical system description, the part to be realized by the dedicated hardware is specified in the logical system description, and the logical system description is compiled. It estimates the overall performance.

【0009】具体的に、本発明の請求項1記載の性能見
積り方法は、プロセッサ上で動作するソフトウェアと専
用ハードウェアから構成される論理システムの性能を見
積るに際し、プログラミング言語を用いて記述した論理
システム記述から前記論理システム記述の中で専用ハー
ドウェアにより処理する部分を定義し前記論理システム
記述から中間コードを生成する工程と、中間コード中で
前記専用ハードウェア処理定義部を除き中間コードから
プロセッサ上で動作する命令系列を生成する工程と、命
令系列については命令毎の性能テーブルから性能値を参
照し、専用ハードウェア部については専用ハードウェア
の性能テーブルから性能値を参照し、論理システム全体
の性能を算出する工程とを備えたことを特徴とし、プロ
グラミング言語を用いて記述された論理システム全体の
性能見積りを短時間で行なうことができる。
More specifically, the performance estimation method according to the first aspect of the present invention, when estimating the performance of a logical system composed of software operating on a processor and dedicated hardware, uses a logical language described using a programming language. A step of defining a part to be processed by dedicated hardware in the logical system description from a system description and generating an intermediate code from the logical system description; and a processor from the intermediate code except for the dedicated hardware processing definition part in the intermediate code. The process of generating an instruction sequence that operates on the above. For the instruction sequence, refer to the performance value from the performance table of each instruction. For the dedicated hardware unit, refer to the performance value from the performance table of the dedicated hardware. And a step of calculating the performance of the programming language. The performance estimates of the overall logic system described in had can be performed in a short time.

【0010】本発明の請求項2記載の性能見積り方法
は、請求項1において、専用ハードウェア処理定義部を
除き中間コードからプロセッサ上で動作する命令系列を
生成する工程は、専用ハードウェアを制御する命令系列
を挿入し、専用ハードウェアを制御する処理も含めて性
能見積りを行なうことを特徴とし、専用ハードウェア制
御のための命令系列も含めてより高精度に性能見積りを
行なうことができる。
According to a second aspect of the present invention, in the performance estimation method according to the first aspect, the step of generating an instruction sequence operating on the processor from the intermediate code except for the dedicated hardware processing definition unit includes controlling the dedicated hardware. The present invention is characterized in that a performance estimation including a process of controlling dedicated hardware is performed by inserting an instruction sequence to be performed, and a performance estimation can be performed with higher accuracy including an instruction sequence for controlling dedicated hardware.

【0011】本発明の請求項3記載の性能見積り方法
は、論理システムにおいて割込み処理のプログラムと割
込み処理が発生する頻度を別途定義し、論理システムに
おいて割込み処理も含めてより高精度に性能見積りを行
なうもので、具体的には、評価しようとする論理システ
ムに割込み信号が入力された際に実行される割込み処理
プログラムを定義する工程と、割込み発生頻度を定義す
る工程とを実行し、前記割込み処理プログラムを請求項
1記載の性能見積り方法にて性能を見積りし、前記割込
みプログラムと割込み頻度から割込み処理における性能
も含めて論理システム全体の性能を見積ることを特徴と
する。
According to a third aspect of the present invention, in the performance estimation method, a program for interrupt processing and a frequency of occurrence of the interrupt processing are separately defined in the logical system, and the performance estimation including the interrupt processing in the logical system is performed with higher accuracy. Specifically, a step of defining an interrupt processing program to be executed when an interrupt signal is input to a logical system to be evaluated, and a step of defining an interrupt occurrence frequency are executed. The performance of the processing program is estimated by the performance estimating method according to claim 1, and the performance of the entire logical system including the performance in the interrupt processing is estimated from the interrupt program and the interrupt frequency.

【0012】本発明の請求項4記載の性能見積り方法
は、論理システムに許される性能値を定義し、専用ハー
ドウェア以外のプロセッサで処理されるソフトウェア部
の性能を命令性能テーブルより算出し、専用ハードウェ
アに許される性能値を逆算することにより、専用ハード
ウェアの設計指標を算出するもので、具体的には、プロ
セッサ上で動作するソフトウェアと専用ハードウェアか
ら構成される論理システムの専用ハードウェアに許され
る性能を見積るに際し、プログラミング言語を用いて記
述した論理システム記述から前記論理システム記述の中
で専用ハードウェアにより処理する部分を定義し前記論
理システム記述から専用ハードウェアにより処理部を除
いて中間コードを生成する工程と、論理システム全体に
要求される性能値を入力する工程と、専用ハードウェア
により処理部を除く前記中間コードからプロセッサ上で
動作する命令系列を生成する工程と、命令系列について
は命令毎の性能テーブルから性能値を参照し命令系列の
性能値を算出する工程とを備え、論理システム全体に要
求される性能値と命令系列の性能値から専用ハードウェ
アに対して許される性能値を算出することを特徴とす
る。
According to a fourth aspect of the present invention, there is provided a performance estimating method that defines a permissible performance value of a logical system, calculates the performance of a software unit processed by a processor other than dedicated hardware from an instruction performance table, It calculates the design index of dedicated hardware by back-calculating the permissible performance value of hardware.Specifically, the dedicated hardware of a logical system consisting of software running on a processor and dedicated hardware In estimating the permissible performance, a part to be processed by dedicated hardware in the logical system description is defined from a logical system description described using a programming language, and a processing unit is excluded from the logical system description by dedicated hardware. The process of generating intermediate code and the performance values required for the entire logical system And a step of generating an instruction sequence that operates on the processor from the intermediate code excluding the processing unit by using dedicated hardware; and for the instruction sequence, refer to a performance value from a performance table for each instruction to obtain a performance value of the instruction sequence. And calculating a permissible performance value for the dedicated hardware from the performance value required for the entire logical system and the performance value of the instruction sequence.

【0013】本発明の請求項5記載の性能見積り方法
は、論理システムに許される性能値と専用ハードウェア
を制御する命令系列をあらかじめ定義し、命令系列を生
成する際に、専用ハードウェア制御命令系列を挿入し、
専用ハードウェア制御のための命令系列も含めて、専用
ハードウェア以外で処理されるソフトウェア部の性能を
命令性能テーブルより算出し、専用ハードウェアに許さ
れる性能値を逆算することにより、専用ハードウェアの
設計指標をより高精度に算出するもので、具体的には、
専用ハードウェア処理定義部を除き、中間コードからプ
ロセッサ上で動作する命令系列を生成するに際し、専用
ハードウェアを制御する命令系列を挿入し、専用ハード
ウェアを制御する処理も含めてプロセッサ上で動作する
命令系列の性能見積りし、専用ハードウェアに対して許
される性能値を請求項4記載の性能見積り方法で算出す
ることを特徴とする。
According to a fifth aspect of the present invention, there is provided a performance estimating method wherein a performance value allowed for a logical system and an instruction sequence for controlling dedicated hardware are defined in advance, and a dedicated hardware control instruction is generated when the instruction sequence is generated. Insert a series,
Calculate the performance of the software part processed by other than the dedicated hardware, including the instruction sequence for dedicated hardware control, from the instruction performance table and calculate the permissible performance value of the dedicated hardware in reverse order. Calculates design indices with higher accuracy. Specifically,
Except for the dedicated hardware processing definition part, when generating an instruction sequence that operates on the processor from the intermediate code, insert the instruction sequence that controls the dedicated hardware and operate on the processor including the process that controls the dedicated hardware The performance estimation of the instruction sequence to be performed is performed, and the performance value allowed for the dedicated hardware is calculated by the performance estimation method according to the fourth aspect.

【0014】[0014]

【発明の実施の形態】以下、本発明の性能見積り方法を
具体的な実施の形態に基づいて説明する。 (第1の実施の形態)図1〜図11は、特許請求の範囲
の請求項1と請求項2に係る(第1の実施の形態)を示
す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The performance estimation method of the present invention will be described below based on specific embodiments. (First Embodiment) FIGS. 1 to 11 show (first embodiment) according to claims 1 and 2 of the claims.

【0015】図1は(第1の実施の形態)の性能見積り
方法の手順を示し、後述の図3に示すハードウェアによ
って実行される。図1において、101は性能見積り対
象である論理システム全体をプログラム言語にて記述し
た論理システム記述プログラムである。102は論理シ
ステム記述プログラム101から中間コードを生成する
中間コード生成処理である。103は中間コード生成処
理102により生成された中間コードである。104は
専用ハードウェアの性能テーブルであり、105はプロ
セッサの命令毎の性能テーブルである。106は中間コ
ードからプロセッサで実行される命令系列と性能見積り
値を算出する性能見積り処理である。107は生成され
た命令系列であり、108は性能見積り値である。
FIG. 1 shows a procedure of a performance estimation method according to the first embodiment, which is executed by hardware shown in FIG. 3 described later. In FIG. 1, reference numeral 101 denotes a logical system description program in which the entire logical system whose performance is to be estimated is described in a programming language. An intermediate code generation process 102 generates an intermediate code from the logical system description program 101. Reference numeral 103 denotes an intermediate code generated by the intermediate code generation processing 102. 104 is a performance table of dedicated hardware, and 105 is a performance table for each instruction of the processor. Reference numeral 106 denotes a performance estimation process for calculating an instruction sequence executed by the processor and an estimated performance value from the intermediate code. 107 is a generated instruction sequence, and 108 is an estimated performance value.

【0016】この図1の手順を具体的に説明する。図2
は性能見積り対象である論理システムで使用されるプロ
セッサの命令セットの一例を示す。
The procedure of FIG. 1 will be specifically described. FIG.
Shows an example of an instruction set of a processor used in a logical system whose performance is to be estimated.

【0017】命令LDは、アドレスにより指定されるメ
モリ領域のデータからレジスタAまたはレジスタBまた
はレジスタCにデータを転送するデータ転送命令であ
る。命令STは、レジスタAまたはレジスタBまたはレ
ジスタCからアドレスにより指定されるメモリ領域にデ
ータを転送するデータ転送命令である。
The instruction LD is a data transfer instruction for transferring data from data in a memory area specified by an address to a register A, a register B, or a register C. Instruction ST is a data transfer instruction for transferring data from register A, register B, or register C to a memory area specified by an address.

【0018】命令MOVは、ソースで指定されるレジス
タAまたはレジスタBまたはレジスタCまたは定数値を
デスティネーションで指定されるレジスタAまたはレジ
スタBまたはレジスタCに代入する算術演算命令であ
る。
The instruction MOV is an arithmetic operation instruction for substituting a register A, a register B, a register C, or a constant value specified by a source into a register A, a register B, or a register C specified by a destination.

【0019】命令ADDは、ソースで指定されるレジス
タAまたはレジスタBまたはレジスタCまたは定数値と
デスティネーションで指定されるレジスタAまたはレジ
スタBまたはレジスタCとを加算し、結果をデスティネ
ーションで指定されているレジスタに代入する算術演算
命令である。
The instruction ADD adds a register A, a register B, a register C, or a constant value specified by a source to a register A, a register B, or a register C specified by a destination, and adds a result specified by the destination. Arithmetic operation instruction to be assigned to the register.

【0020】命令MULは、ソースで指定されるレジス
タAまたはレジスタBまたはレジスタCまたは定数値と
デスティネーションで指定されるレジスタAまたはレジ
スタBまたはレジスタCとを乗算し、結果をデスティネ
ーションで指定されるレジスタに代入する算術演算命令
である。
The instruction MUL multiplies register A, register B, register C, or a constant value specified by the source with register A, register B, or register C specified by the destination, and multiplies the result by the destination. This is an arithmetic operation instruction to be assigned to a register.

【0021】命令CMPは、ソースで指定されるレジス
タAまたはレジスタBまたはレジスタCまたは定数値と
デスティネーションで指定されるレジスタAまたはレジ
スタBまたはレジスタCまたは定数値とを比較し、等し
ければ比較結果フラグをセットし、等しくなければ比較
結果フラグをリセットする比較命令である。比較結果フ
ラグは次にCMP命令が実行されるまで保存される。
The instruction CMP compares a register A, a register B, a register C, or a constant value specified by a source with a register A, a register B, a register C, or a constant value specified by a destination. This is a comparison instruction that sets a flag and resets a comparison result flag if they are not equal. The comparison result flag is stored until the next CMP instruction is executed.

【0022】命令BEQは、比較結果フラグがセットさ
れていればラベルで指定されている命令位置に処理をジ
ャンプさせる条件分岐命令である。命令JMPは、ラベ
ルで指定されている命令位置に処理をジャンプさせる無
条件分岐命令である。
The instruction BEQ is a conditional branch instruction that causes the processing to jump to the instruction position specified by the label if the comparison result flag is set. The instruction JMP is an unconditional branch instruction that causes the processing to jump to the instruction position specified by the label.

【0023】命令RETIは、割込み信号が入力された
後に処理される割込み処理から、割込み信号が入力され
る前に処理されていた命令位置に処理を戻す割込み処理
復帰命令である。命令NOPは何も処理を行わない。
The instruction RETI is an interrupt processing return instruction for returning the processing from the interrupt processing performed after the input of the interrupt signal to the instruction position processed before the input of the interrupt signal. The instruction NOP does nothing.

【0024】図3は(第1の実施の形態)に係る性能見
積り方法を実現するためのハードウェアを示している。
1001は処理されたあらゆる情報をみるためのディス
プレイ装置、1002は設計者があらゆる情報や処理命
令を入力するためのキーボード、1003はあらゆる処
理を行う中央演算処理装置、1004は各情報を格納す
る記憶装置で、論理システム記述プログラムや生成され
た中間コード、命令系列、見積り性能を格納する。10
05は命令と性能値を対応させた命令性能テーブルであ
る。1006は専用ハードウェアと性能値を対応させ制
御用命令系列を記述した専用ハードウェアテーブルであ
る。
FIG. 3 shows hardware for realizing the performance estimation method according to the first embodiment.
1001 is a display device for viewing all processed information, 1002 is a keyboard for a designer to input all information and processing instructions, 1003 is a central processing unit for performing all processing, 1004 is a storage for storing each information The device stores the logical system description program, the generated intermediate code, the instruction sequence, and the estimated performance. 10
Reference numeral 05 denotes an instruction performance table in which an instruction is associated with a performance value. Reference numeral 1006 denotes a dedicated hardware table in which a dedicated hardware is associated with a performance value and describes a control instruction sequence.

【0025】図4は論理システムを記述した前記論理シ
ステム記述プログラム101の一例であり、C言語を用
いて記述されている。このプログラムでは専用ハードウ
ェアで処理する部分は定義されていない。
FIG. 4 shows an example of the logical system description program 101 describing a logical system, which is described in C language. In this program, the part to be processed by dedicated hardware is not defined.

【0026】図4の論理システム記述プログラム101
について説明する。論理システム記述プログラムは、1
行目から順次実行される。1行目は変数aに値3を代入
する。2行目から6行目はwhileループを形成して
おり6行目にwhileループ条件が記述されていて、
この場合5行目実行後に変数aが0で無い時3行目に戻
る。3行目は変数bに論理システムへの入力を代入す
る。4行目は配列変数x[a]にbとaの乗算結果を代
入する。5行目はaの値を1減ずる。7行目は配列変数
x[3]と配列変数x[2]の0.5掛けたものと配列
変数x[1]に0.25掛けたものとの和を論理システ
ムから出力する。
The logical system description program 101 shown in FIG.
Will be described. The logical system description program is 1
It is executed sequentially from the line. The first line substitutes the value 3 for the variable a. Lines 2 to 6 form a while loop, and a while loop condition is described in line 6,
In this case, when the variable a is not 0 after the execution of the fifth line, the process returns to the third line. The third line substitutes the input to the logical system for the variable b. The fourth line substitutes the multiplication result of b and a into the array variable x [a]. In the fifth line, the value of a is reduced by one. The seventh line outputs the sum of 0.5 times the array variable x [3] and the array variable x [2] and 0.25 times the array variable x [1] from the logical system.

【0027】この図4の論理システム記述プログラム
は、図1に示した中間処理コード生成処理102によっ
て中間コードに変換される。図5は図4の論理システム
記述プログラムから作成された中間コードである。
The logical system description program of FIG. 4 is converted into an intermediate code by the intermediate processing code generation processing 102 shown in FIG. FIG. 5 shows an intermediate code created from the logical system description program of FIG.

【0028】701は図4の論理システム記述プログラ
ム全体に対応し、702はwhileループの実行単位
で中間コード701中のラベルL2のBLK1に対応す
る中間コードである。
Reference numeral 701 corresponds to the entire logical system description program of FIG. 4, and reference numeral 702 denotes an intermediate code corresponding to BLK1 of the label L2 in the intermediate code 701 in the execution unit of the while loop.

【0029】図5の中間コードについて説明する。ラベ
ルL1は図4の論理システム記述プログラムの1行目に
対応する。ラベルL2はBLK1を実行する。BLK1
は図4の論理システム記述プログラムの3行目から5行
目に対応する。
The intermediate code shown in FIG. 5 will be described. Label L1 corresponds to the first line of the logical system description program of FIG. Label L2 performs BLK1. BLK1
Corresponds to the third to fifth lines of the logical system description program of FIG.

【0030】ラベルL3からラベルL5は図4の論理シ
ステム記述プログラムの6行目に対応し、変数aが0の
時ラベルL6から実行し、変数aが0で無い時ラベルL
2に戻る。
Labels L3 to L5 correspond to the sixth line of the logical system description program in FIG. 4, and are executed from the label L6 when the variable a is 0 and the label L when the variable a is not 0.
Return to 2.

【0031】ラベルL6からラベルL12は論理システ
ム記述プログラムの7行目に対応する。ラベルL7は変
数aと配列変数x[2]を掛けて結果を変数aに代入す
る。ラベルL10は変数aと変数bの和を変数aに代入
する。BLK1のラベルLB3はメモリ領域に確保され
た配列変数x[0]のアドレスを変数cに代入する。ラ
ベルLB4は変数cに変数aの値を加算し、ラベルLB
5は変数cで示されるアドレスのメモリ領域に変数bの
値を代入する。レベルL6は変数aを1減ずる。
Labels L6 to L12 correspond to the seventh line of the logical system description program. Label L7 multiplies variable a by array variable x [2] and substitutes the result for variable a. Label L10 substitutes the sum of variable a and variable b for variable a. Label LB3 of BLK1 substitutes the address of array variable x [0] secured in the memory area for variable c. The label LB4 adds the value of the variable a to the variable c, and the label LB4
5 assigns the value of the variable b to the memory area at the address indicated by the variable c. The level L6 decreases the variable a by one.

【0032】図5の中間コードに対して、図1の性能見
積処理106では命令系列を生成する。図6は図5の中
間コードを変換した命令系列である。図6の命令系列に
ついて説明する。
For the intermediate code shown in FIG. 5, an instruction sequence is generated in the performance estimation processing 106 shown in FIG. FIG. 6 shows an instruction sequence obtained by converting the intermediate code of FIG. The instruction sequence in FIG. 6 will be described.

【0033】ラベルSTARTは、図5の中間コードの
ラベルL1に対応する。ラベルLB1から7行目のAD
Dまでは、図5の中間コードのラベルL2に対応する。
つまりBLK1の702に対応する。
The label START corresponds to the label L1 of the intermediate code in FIG. AD on line 7 from label LB1
Up to D corresponds to the label L2 of the intermediate code in FIG.
That is, it corresponds to 702 of BLK1.

【0034】ラベルLB1は中間コードのラベルLB
1、3行目のMOVはラベルLB3と5行目のMULは
ラベルLB2、4行目のADDはラベルLB4、6行目
のSTはラベルLB5、7行目のADDはラベルLB6
に対応する。
The label LB1 is the label LB of the intermediate code.
The MOVs in the first and third rows are the label LB3, the MUL in the fifth row is the label LB2, the ADD in the fourth row is the label LB4, the ST in the sixth row is the label LB5, and the ADD in the seventh row is the label LB6.
Corresponding to

【0035】8行目のCMPから10行目のJMPまで
図5の中間コードのL3からL5に対応する。ラベルL
6からラベルENDまで図5の中間コードのL6からL
12に対応する。
From CMP on the eighth line to JMP on the tenth line, they correspond to L3 to L5 of the intermediate code in FIG. Label L
6 to the label END, L6 to L of the intermediate code in FIG.
Corresponding to 12.

【0036】図7は図2の各命令の性能値を格納した性
能テーブルの一例である。図7の性能値を参照して命令
系列と性能値を算出したものが図6の性能値欄に記述さ
れた値である。専用ハードウェアで処理する部分が定義
されていないため、全ての処理がプロセッサ上で実行さ
れる。このソフトウェアがプロセッサ上で実行されると
性能値の合計は31となる。
FIG. 7 is an example of a performance table storing the performance values of the respective instructions in FIG. The value obtained by calculating the instruction sequence and the performance value with reference to the performance value of FIG. 7 is the value described in the performance value column of FIG. Since the part to be processed by the dedicated hardware is not defined, all the processing is executed on the processor. When this software is executed on the processor, the total of the performance values is 31.

【0037】図8は図4の論理システム記述プログラム
に専用ハードウェア定義を加えた論理システムを記述し
た一例である。7行目と9行目に専用ハードウェアとし
て8行目の記述をHW1に割り当てることが定義されて
いる。図9は専用ハードウェアの性能値と専用ハードウ
ェアを制御する命令系列を格納した専用ハードウェアの
性能テーブルである。図8の論理システム記述プログラ
ムから生成された中間コードを図10に示す。
FIG. 8 shows an example in which a logical system in which dedicated hardware definitions are added to the logical system description program of FIG. 4 is described. It is defined that the description on the eighth line is assigned to the HW1 as dedicated hardware on the seventh and ninth lines. FIG. 9 is a performance table of the dedicated hardware storing the performance values of the dedicated hardware and an instruction sequence for controlling the dedicated hardware. FIG. 10 shows the intermediate code generated from the logical system description program of FIG.

【0038】2001は全体で、702は図5と共通で
ある。2001のL6が専用ハードウェア部である。こ
れは701の中間コードでラベルL6からL12の部分
である。この図10のラベルL6部分が命令系列生成時
に専用ハードウェア制御用命令系列と置き換えられ、図
9の制御用命令系列で一般的なレジスタとされた部分が
regAと具体的に置き換えられる。この結果、生成さ
れる命令系列は図11に示すようになり、専用ハードウ
ェアの制御用命令系列を含め論理システム全体の性能値
を見積ることができ、 論理システム全体の性能値 = ソフトウェアの性能値+専用ハードウェアの性能値 = 17 + 4 = 21 となる。
Reference numeral 2001 denotes the whole, and reference numeral 702 denotes the same as in FIG. L6 of 2001 is a dedicated hardware unit. This is the part of the intermediate code 701 from the labels L6 to L12. The label L6 in FIG. 10 is replaced with a dedicated hardware control instruction sequence when the instruction sequence is generated, and the general register portion of the control instruction sequence in FIG. 9 is specifically replaced with regA. As a result, the generated instruction sequence is as shown in FIG. 11, and the performance value of the entire logical system including the instruction sequence for controlling dedicated hardware can be estimated. Performance value of the entire logical system = performance value of software + Performance value of dedicated hardware = 17 + 4 = 21

【0039】以上のように本発明の(第1の実施の形
態)によれば、ソフトウェアとハードウェアからなる論
理システムの高速な性能見積りが可能となる。なお、専
用ハードウェアとして1つのみを定義し、その性能テー
ブル1つのみの例を示したが、複数の専用ハードウェア
とその複数の性能テーブルを用意し、それらの性能値を
それぞれ求め、選択することが可能であることは言うま
でもない。
As described above, according to the first embodiment of the present invention, high-speed performance estimation of a logical system including software and hardware can be performed. Although only one dedicated hardware is defined and only one performance table is shown as an example, a plurality of dedicated hardware and a plurality of performance tables are prepared, and their performance values are obtained and selected. It goes without saying that it is possible.

【0040】なお、命令単位の性能値、専用ハードウェ
アの性能値として1つ値を用いたが、複数の性能値を定
義し、例えば専用ハードウェアに面積と速度を定義し、
複数の専用ハードウェアから面積と速度のトレードオフ
を検討することが可能であることは言うまでもない。
Although one value is used as the performance value of the instruction unit and the performance value of the dedicated hardware, a plurality of performance values are defined. For example, the area and speed are defined in the dedicated hardware.
It goes without saying that the trade-off between area and speed can be considered from a plurality of dedicated hardware.

【0041】(第2の実施の形態)図12〜図18は、
特許請求の範囲の請求項3に係る(第2の実施の形態)
を示す。
(Second Embodiment) FIGS. 12 to 18 show
Claim 2 of the Claims (Second Embodiment)
Is shown.

【0042】図12は(第2の実施の形態)の性能見積
り方法の手順を示し、(第1の実施の形態)の場合と同
様に図3に示すハードウェアによって実行される。図1
2において1101は、割込み信号が入力された際に実
行される割込み処理をプログラミング言語にて記述した
割込み処理プログラムである。1102は論理システム
全体において割込みが発生する頻度と割込みが発生した
場合に割込み処理に移行するために必要な性能値を定義
した割込み発生データである。
FIG. 12 shows the procedure of the performance estimation method of the second embodiment, which is executed by the hardware shown in FIG. 3 as in the case of the first embodiment. FIG.
Reference numeral 1101 in FIG. 2 denotes an interrupt processing program that describes, in a programming language, an interrupt process executed when an interrupt signal is input. Reference numeral 1102 denotes interrupt generation data that defines the frequency of occurrence of an interrupt in the entire logical system and the performance value required to shift to interrupt processing when an interrupt occurs.

【0043】図13は割込み処理において実行される割
込み処理プログラムの一例であり、図14は図13の割
込み処理プログラムから生成された中間コードである。
図15は図14の割込み処理の中間コードから生成され
た命令系列と、図7の命令毎の性能値より算出した割込
み処理プログラムの性能値である。
FIG. 13 shows an example of an interrupt processing program executed in the interrupt processing. FIG. 14 shows an intermediate code generated from the interrupt processing program of FIG.
FIG. 15 shows an instruction sequence generated from the intermediate code of the interrupt processing in FIG. 14 and the performance value of the interrupt processing program calculated from the performance value for each instruction in FIG.

【0044】図16は割込み処理が論理システムにおい
て発生する割込み発生頻度と割込み処理に移行する際に
かかるオーバーヘッド分の性能値である。図3のハード
ウェアに(第1の実施の形態)と同じ図8の論理システ
ム記述プログラムを入力し、図13の割込み処理プログ
ラムを入力する。中間コード生成処理102により、図
5の中間コードと図14の中間コードが生成される。図
16の割込み頻度と割込み処理移行のオーバーヘッド、
図17の専用ハードウェアの性能値と図7の命令毎の性
能値テーブルより、106の性能見積り処理から図18
の命令系列が生成される。図18ではラベルL6に対応
する部分が専用ハードウェアにおいて処理される部分で
あり、割込みを除く論理システム全体としての性能値は
21となる。
FIG. 16 shows the frequency of occurrence of the interrupt processing in the logical system and the performance value of the overhead required for shifting to the interrupt processing. The same logical system description program of FIG. 8 as in the first embodiment is input to the hardware of FIG. 3, and the interrupt processing program of FIG. 13 is input. The intermediate code generation processing 102 generates the intermediate code in FIG. 5 and the intermediate code in FIG. FIG. 16 shows the interrupt frequency and the overhead of interrupt processing transition,
From the performance value of the dedicated hardware in FIG. 17 and the performance value table for each instruction in FIG.
Is generated. In FIG. 18, the portion corresponding to the label L6 is a portion processed by the dedicated hardware, and the performance value of the entire logical system excluding the interrupt is 21.

【0045】ここで、図16の割込み発生頻度より、性
能値30に対して1回の割込みが発生するという定義の
ため、論理システムとしては21/30回の割込みが発
生する計算になり、図15の割込み処理移行オーバーヘ
ッドの性能値と図15の割込み処理プログラムの性能値
の積算である性能値8に対して、 論理システム性能値 + 割込み処理性能値 × 割込み発生回数 = 21 + 8 × 21 / 30 = 26.6 が論理システム全体の性能値として算出される。
Here, from the frequency of occurrence of the interrupts in FIG. 16, the definition that one interrupt occurs for the performance value 30 is calculated, so that the logical system is calculated to have 21/30 interrupts. With respect to the performance value of the interrupt processing migration overhead of 15 and the performance value 8 which is the integration of the performance value of the interrupt processing program of FIG. 15, the logical system performance value + interrupt processing performance value × interrupt occurrence frequency = 21 + 8 × 21 / 30 = 26.6 is calculated as the performance value of the entire logical system.

【0046】このように(第2の実施の形態)によれ
ば、請求項3にかかる発明である性能見積り方法によっ
て、ソフトウェアとハードウェアからなる論理システム
の割込み処理まで含めた性能値を高速に性能見積ること
が可能となる。
As described above (according to the second embodiment), the performance estimation method according to the third aspect of the present invention enables the performance value including interrupt processing of a logical system composed of software and hardware to be processed at high speed. Performance can be estimated.

【0047】なお、割込み処理として1つのプログラム
のみを定義したが、複数の割込みプログラムとそれぞれ
の割込み処理発生頻度、それぞれの割込み処理移行性能
値を定義すれば、それらの割込み処理も含めた性能値を
見積ることができることは言うまでもない。
Although only one program is defined as the interrupt processing, if a plurality of interrupt programs, the frequency of occurrence of each interrupt processing, and the performance value of each interrupt processing are defined, the performance value including those interrupt processing can be obtained. Needless to say, it can be estimated.

【0048】なお、専用ハードウェアとして1つのみを
定義し、その性能テーブル1つのみの例を示したが、複
数の専用ハードウェアとその複数の性能テーブルを用意
し、それらの性能値をそれぞれ求め、選択することが可
能であることは言うまでもない。
Although only one dedicated hardware is defined and only one performance table is shown as an example, a plurality of dedicated hardware and a plurality of performance tables are prepared, and their performance values are respectively set. Needless to say, it is possible to obtain and select.

【0049】なお、命令単位の性能値、専用ハードウェ
アの性能値として1つ値を用いたが、複数の性能値を定
義し、例えば専用ハードウェアに面積と速度を定義し、
複数の専用ハードウェアから面積と速度のトレードオフ
を検討することが可能であることは言うまでもない。
Although one value is used as the performance value of the instruction unit and the performance value of the dedicated hardware, a plurality of performance values are defined. For example, the area and the speed are defined in the dedicated hardware.
It goes without saying that the trade-off between area and speed can be considered from a plurality of dedicated hardware.

【0050】(第3の実施の形態)図19,図20は、
特許請求の範囲の請求項4と請求項5に係る(第3の実
施の形態)を示す。
(Third Embodiment) FIG. 19 and FIG.
A third embodiment according to claims 4 and 5 of the claims will be described.

【0051】図19は(第3の実施の形態)の専用ハー
ドウェアの要求性能見積り方法の手順を示し、(第1の
実施の形態)の場合と同様に図3に示すハードウェアに
よって実行される。
FIG. 19 shows the procedure of the method for estimating the required performance of the dedicated hardware of the (third embodiment), which is executed by the hardware shown in FIG. 3 as in the case of the (first embodiment). You.

【0052】図19において、1601は論理システム
全体に要求される要求性能値であり、ユーザーにより入
力される。本実施の形態では、ユーザーにより論理シス
テム全体の性能値として、25が入力されるものとす
る。1602は専用ハードウェアを制御する制御命令系
列の定義データであり、中間コード103と要求性能値
1601と専用ハードウェア制御コード1602および
命令性能テーブル105に基づいて性能見積処理160
3して専用ハードウエアに要求される性能値1604を
求める。
In FIG. 19, reference numeral 1601 denotes a required performance value required for the entire logical system, which is input by the user. In this embodiment, it is assumed that the user inputs 25 as the performance value of the entire logical system. Reference numeral 1602 denotes definition data of a control instruction sequence for controlling the dedicated hardware, and a performance estimation process 160 based on the intermediate code 103, the required performance value 1601, the dedicated hardware control code 1602, and the instruction performance table 105.
3 to obtain a performance value 1604 required for the dedicated hardware.

【0053】図3のハードウェアに(第1の実施の形
態)と同じ図8の論理システム記述プログラムを入力
し、図10の中間コードが生成される。図7の命令毎の
性能テーブルを入力し、図20の専用ハードウェア制御
命令系列を入力し、1602の性能見積り処理により、
図11の命令系列が生成される。この命令系列の性能値
は図7の性能テーブルより性能値より17と算出され、
要求性能値25から、 専用ハードウェア許可性能値 = 要求性能値 − ソフトウェア処理性能値 = 25 − 17 = 8 と算出され、専用ハードウェアに割り当てるべき性能値
は8と算出することができる。
The same logical system description program of FIG. 8 as that of the first embodiment is input to the hardware of FIG. 3, and the intermediate code of FIG. 10 is generated. The performance table for each instruction in FIG. 7 is input, the dedicated hardware control instruction sequence in FIG.
The instruction sequence shown in FIG. 11 is generated. The performance value of this instruction sequence is calculated as 17 from the performance value from the performance table of FIG.
From the required performance value 25, the dedicated hardware permitted performance value = the required performance value−the software processing performance value = 25−17 = 8, and the performance value to be assigned to the dedicated hardware can be calculated as 8.

【0054】このように(第3の実施の形態)によれ
ば、論理システム全体に要求される性能から専用ハード
ウェアに割り当てるべき性能値を算出し、専用ハードウ
ェアを開発する場合の指標を高速に得ることができる。
As described above, according to the third embodiment, the performance value to be allocated to the dedicated hardware is calculated from the performance required for the entire logical system, and the index for developing the dedicated hardware is set at a high speed. Can be obtained.

【0055】なお、複数の専用ハードウェアがある場合
でも、専用ハードウェア全体に割り当てるべき性能値の
算出は可能であり、専用ハードウェアのための処理プロ
グラムの記述量割合から、専用ハードウェア単体の性能
値の指標を算出できることは言うまでもない。
Even when there are a plurality of dedicated hardware, it is possible to calculate a performance value to be assigned to the entire dedicated hardware. It goes without saying that an index of the performance value can be calculated.

【0056】[0056]

【発明の効果】以上のように本発明の請求項1、請求項
2、請求項3に記載の構成によれば、論理システム全体
をプログラミング言語で記述した論理システム記述プロ
グラムで専用ハードウェアで実現する記述を指定し、設
計者が入力するプロセッサの命令毎の性能テーブルと専
用ハードウェアの性能テーブルから論理システム全体の
性能を見積るものである。
As described above, according to the first, second and third aspects of the present invention, the entire logical system is realized by dedicated hardware using a logical system description program described in a programming language. A description to be specified is specified, and the performance of the entire logical system is estimated from a performance table for each processor instruction input by a designer and a performance table of dedicated hardware.

【0057】また、本発明の請求項4、請求項5に記載
の構成によれば、論理システム全体をプログラミング言
語で記述した論理システム記述プログラムで専用ハード
ウェアで実現する記述と、論理システム全体に要求され
る性能値を指定し、プロセッサの命令毎の性能テーブル
からソフトウェアで処理される部分の性能値を算出し、
専用ハードウェアに許される性能値を見積るものであ
る。
According to the fourth and fifth aspects of the present invention, a description in which the entire logical system is realized by dedicated hardware using a logical system description program written in a programming language, and Specify the required performance value, calculate the performance value of the part processed by software from the performance table for each instruction of the processor,
It estimates the performance values allowed for dedicated hardware.

【0058】特に、本発明の請求項1の構成では、プロ
グラミング言語を用いて記述した論理システム記述プロ
グラムと、論理システム記述プログラムの中で、専用ハ
ードウェアにより処理する部分を定義し入力し、論理シ
ステム記述プログラムから中間コードを生成し、中間コ
ード中で前記専用ハードウェア処理定義部を除き、中間
コードからプロセッサ上で動作する命令系列を生成し、
命令毎の性能テーブルから性能値を参照し、専用ハード
ウェア部については、専用ハードウェアの性能テーブル
から性能値を参照し、論理システム全体の性能見積りを
短時間で行なうことができる。
In particular, according to the configuration of the first aspect of the present invention, a logical system description program described using a programming language and a part to be processed by dedicated hardware in the logical system description program are defined and input. Generating an intermediate code from the system description program, excluding the dedicated hardware processing definition part in the intermediate code, and generating an instruction sequence operating on the processor from the intermediate code;
By referring to the performance value from the performance table for each instruction and referring to the performance value from the performance table of the dedicated hardware for the dedicated hardware unit, it is possible to estimate the performance of the entire logical system in a short time.

【0059】また、本発明の請求項2の構成では、専用
ハードウェアを制御する命令系列をあらかじめ専用ハー
ドウェア性能テーブルに登録し、命令系列を生成する際
に、専用ハードウェア制御命令系列を挿入し、専用ハー
ドウェア制御の命令の性能も含めて、より高精度に性能
見積りを行なうことができる。
According to the configuration of the second aspect of the present invention, an instruction sequence for controlling the dedicated hardware is registered in the dedicated hardware performance table in advance, and when the instruction sequence is generated, the dedicated hardware control instruction sequence is inserted. However, performance estimation can be performed with higher accuracy, including the performance of instructions for dedicated hardware control.

【0060】本発明の請求項3の構成では、論理システ
ムにおいて割込み処理のプログラムと割込み処理が発生
する頻度を別途定義し、論理システムにおいて割込み処
理も含めてより高精度に性能見積りを行なうことができ
る。
According to the configuration of the third aspect of the present invention, it is possible to separately define the interrupt processing program and the frequency of occurrence of the interrupt processing in the logical system, and to perform the performance estimation with higher accuracy including the interrupt processing in the logical system. it can.

【0061】本発明の請求項4の構成では、論理システ
ムに許される性能値を定義し、専用ハードウェア以外の
プロセッサで処理されるソフトウェア部の性能を命令性
能テーブルより算出し、専用ハードウェアに許される性
能値を逆算することにより、専用ハードウェアの設計指
標を算出することができる。
According to the configuration of claim 4 of the present invention, the performance value allowed for the logical system is defined, the performance of the software section processed by the processor other than the dedicated hardware is calculated from the instruction performance table, and By calculating the permissible performance value back, the design index of the dedicated hardware can be calculated.

【0062】また、請求項5の構成では、論理システム
に許される性能値を定義し、専用ハードウェアを制御す
る命令系列をあらかじめ定義し、命令系列を生成する際
に専用ハードウェア制御命令系列を挿入し、専用ハード
ウェア制御の命令の性能も含めて、プロセッサで処理さ
れるソフトウェア部の性能を命令性能テーブルより算出
し、専用ハードウェアに許される性能値を逆算すること
により、専用ハードウェアの設計指標を算出することが
できる。
According to the fifth aspect of the present invention, the performance value allowed for the logical system is defined, an instruction sequence for controlling the dedicated hardware is defined in advance, and the dedicated hardware control instruction sequence is generated when the instruction sequence is generated. Insert and calculate the performance of the software part processed by the processor, including the performance of dedicated hardware control instructions, from the instruction performance table, and back-calculate the permissible performance values of the dedicated hardware, A design index can be calculated.

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

【図1】本発明の(第1の実施の形態)における性能見
積り方法の手順図
FIG. 1 is a flowchart of a performance estimating method according to a first embodiment of the present invention.

【図2】本発明の(第1の実施の形態)〜(第3の実施
の形態)におけるプロセッサの命令セットの例
FIG. 2 shows an example of an instruction set of a processor according to the first embodiment to the third embodiment of the present invention.

【図3】本発明の性能見積り方法を実現するための計算
機ハードウェア構成の一例を示す図
FIG. 3 is a diagram showing an example of a computer hardware configuration for realizing the performance estimation method of the present invention.

【図4】本発明の(第1の実施の形態)〜(第3の実施
の形態)における論理システム記述プログラム説明図
FIG. 4 is an explanatory diagram of a logical system description program according to (first embodiment) to (third embodiment) of the present invention;

【図5】本発明の(第1の実施の形態)〜(第3の実施
の形態)における中間コード
FIG. 5 is an intermediate code according to the first to third embodiments of the present invention.

【図6】本発明の(第1の実施の形態)において生成さ
れた命令系列と性能見積り値
FIG. 6 shows an instruction sequence and a performance estimation value generated in the first embodiment of the present invention.

【図7】本発明の(第1の実施の形態)〜(第3の実施
の形態)におけるプロセッサの命令毎の性能テーブルの
説明図
FIG. 7 is an explanatory diagram of a performance table for each instruction of a processor according to (first embodiment) to (third embodiment) of the present invention;

【図8】本発明の(第1の実施の形態)〜(第3の実施
の形態)における専用ハードウェア処理定義を行なった
論理システム記述プログラム説明図
FIG. 8 is an explanatory diagram of a logical system description program in which dedicated hardware processing is defined in (first embodiment) to (third embodiment) of the present invention.

【図9】本発明の(第1の実施の形態)における専用ハ
ードウェアの性能テーブルの説明図
FIG. 9 is an explanatory diagram of a performance table of dedicated hardware according to the first embodiment of the present invention.

【図10】本発明の(第1の実施の形態)〜(第3の実
施の形態)における中間コードの説明図
FIG. 10 is an explanatory diagram of an intermediate code according to (first embodiment) to (third embodiment) of the present invention.

【図11】本発明の(第1、第3の実施の形態)におい
て生成された命令系列と性能見積り値の説明図
FIG. 11 is an explanatory diagram of an instruction sequence and a performance estimation value generated in the first and third embodiments of the present invention.

【図12】本発明の(第2の実施の形態)における性能
見積り機能ブロック図
FIG. 12 is a functional block diagram of a performance estimation function according to the second embodiment of the present invention;

【図13】本発明の(第2の実施の形態)における割込
み処理プログラム
FIG. 13 shows an interrupt processing program according to the second embodiment of the present invention.

【図14】本発明の(第2の実施の形態)における割込
み処理の中間コード
FIG. 14 shows an intermediate code of an interrupt process according to the second embodiment of the present invention.

【図15】本発明の(第2の実施の形態)における割込
み処理の命令系列と割込み処理の性能値
FIG. 15 shows an instruction sequence of interrupt processing and a performance value of interrupt processing according to the second embodiment of the present invention.

【図16】本発明の(第2の実施の形態)の割込み頻度
定義と割込み移行処理性能値
FIG. 16 shows an interrupt frequency definition and an interrupt transfer processing performance value according to the second embodiment of the present invention.

【図17】本発明の(第2の実施の形態)における専用
ハードウェアの性能値
FIG. 17 shows performance values of dedicated hardware according to the second embodiment of the present invention.

【図18】本発明の(第2の実施の形態)における命令
系列とその性能値
FIG. 18 shows an instruction sequence and its performance value according to the second embodiment of the present invention.

【図19】本発明の(第3の実施の形態)における性能
見積り機能ブロック図
FIG. 19 is a block diagram of a performance estimating function according to the third embodiment of the present invention;

【図20】本発明の(第3の実施の形態)における専用
ハードウェアの制御命令系列
FIG. 20 shows a control instruction sequence of dedicated hardware according to the third embodiment of the present invention.

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

101 論理システム記述プログラム 102 中間コード生成処理 103 中間コード 104 専用ハードウェア性能テーブル 105 プロセッサの命令毎性能テーブル 106 性能見積り処理 107 命令系列 108 性能見積り値 1101 割込み処理プログラム記述 1102 割込み処理頻度定義 1601 論理システム要求性能 1602 専用ハードウェア制御命令系列 1604 専用ハードウェア許可性能値 101 Logical system description program 102 Intermediate code generation processing 103 Intermediate code 104 Dedicated hardware performance table 105 Per-instruction performance table 106 Performance estimation processing 107 Instruction sequence 108 Performance estimation value 1101 Interrupt processing program description 1102 Interrupt processing frequency definition 1601 Logical system Required performance 1602 Dedicated hardware control instruction sequence 1604 Dedicated hardware permitted performance value

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】プロセッサ上で動作するソフトウェアと専
用ハードウェアから構成される論理システムの性能を見
積るに際し、 プログラミング言語を用いて記述した論理システム記述
から前記論理システム記述の中で専用ハードウェアによ
り処理する部分を定義し前記論理システム記述から中間
コードを生成する工程と、 中間コード中で前記専用ハードウェア処理定義部を除き
中間コードからプロセッサ上で動作する命令系列を生成
する工程と、 命令系列については命令毎の性能テーブルから性能値を
参照し、専用ハードウェア部については専用ハードウェ
アの性能テーブルから性能値を参照し、論理システム全
体の性能を算出する工程とを備えた性能見積り方法。
When estimating the performance of a logical system composed of software running on a processor and dedicated hardware, processing is performed by a dedicated hardware in the logical system description from a logical system description described using a programming language. Defining a part to be executed and generating intermediate code from the logical system description; generating an instruction sequence operating on a processor from the intermediate code in the intermediate code excluding the dedicated hardware processing definition unit; Refers to a performance value from a performance table for each instruction, and refers to a performance value from a performance table of the dedicated hardware for a dedicated hardware unit, and calculates the performance of the entire logical system.
【請求項2】専用ハードウェア処理定義部を除き中間コ
ードからプロセッサ上で動作する命令系列を生成する工
程は、 専用ハードウェアを制御する命令系列を挿入し、専用ハ
ードウェアを制御する処理も含めて性能見積りを行なう
請求項1記載の性能見積り方法。
2. The step of generating an instruction sequence operating on a processor from an intermediate code except for a dedicated hardware processing definition unit includes a process of inserting an instruction sequence for controlling the dedicated hardware and controlling the dedicated hardware. 2. The performance estimating method according to claim 1, wherein the performance is estimated by performing the estimation.
【請求項3】評価しようとする論理システムに割込み信
号が入力された際に実行される割込み処理プログラムを
定義する工程と、割込み発生頻度を定義する工程とを実
行し、 前記割込み処理プログラムを請求項1記載の性能見積り
方法にて性能を見積りし、 前記割込みプログラムと割込み頻度から割込み処理にお
ける性能も含めて論理システム全体の性能を見積る性能
見積り方法。
3. A step of defining an interrupt processing program to be executed when an interrupt signal is input to a logical system to be evaluated, and a step of defining an interrupt occurrence frequency. A performance estimating method for estimating the performance by the performance estimating method according to item 1, and estimating the performance of the entire logical system including the performance in the interrupt processing from the interrupt program and the interrupt frequency.
【請求項4】プロセッサ上で動作するソフトウェアと専
用ハードウェアから構成される論理システムの専用ハー
ドウェアに許される性能を見積るに際し、 プログラミング言語を用いて記述した論理システム記述
から前記論理システム記述の中で専用ハードウェアによ
り処理する部分を定義し前記論理システム記述から専用
ハードウェアにより処理部を除いて中間コードを生成す
る工程と、 論理システム全体に要求される性能値を入力する工程
と、 専用ハードウェアにより処理部を除く前記中間コードか
らプロセッサ上で動作する命令系列を生成する工程と、 命令系列については命令毎の性能テーブルから性能値を
参照し命令系列の性能値を算出する工程とを備え、論理
システム全体に要求される性能値と命令系列の性能値か
ら専用ハードウェアに対して許される性能値を算出する
性能見積り方法。
4. Estimating the permissible performance of a dedicated hardware of a logical system composed of software operating on a processor and dedicated hardware, the logical system description is described from a logical system description described using a programming language. Defining a part to be processed by dedicated hardware and generating an intermediate code from the logical system description by removing the processing unit by the dedicated hardware; inputting a performance value required for the entire logical system; A step of generating an instruction sequence operating on a processor from the intermediate code excluding a processing unit by hardware; and a step of calculating a performance value of the instruction sequence by referring to a performance value from a performance table for each instruction for the instruction sequence. From the performance values required for the entire logical system and the performance values of the instruction sequence, A performance estimation method that calculates the permissible performance value for the software.
【請求項5】専用ハードウェア処理定義部を除き、中間
コードからプロセッサ上で動作する命令系列を生成する
に際し、 専用ハードウェアを制御する命令系列を挿入し、 専用ハードウェアを制御する処理も含めてプロセッサ上
で動作する命令系列の性能見積りし、 専用ハードウェアに対して許される性能値を請求項4記
載の性能見積り方法で算出する性能見積り方法。
5. Except for a dedicated hardware processing definition part, when generating an instruction sequence operating on a processor from an intermediate code, an instruction sequence for controlling the dedicated hardware is inserted, and processing for controlling the dedicated hardware is also included. A method for estimating the performance of an instruction sequence operating on a processor, and calculating a permissible performance value for dedicated hardware by the performance estimating method according to claim 4.
JP2000107407A 2000-04-10 2000-04-10 Performance estimating method Pending JP2001290858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000107407A JP2001290858A (en) 2000-04-10 2000-04-10 Performance estimating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000107407A JP2001290858A (en) 2000-04-10 2000-04-10 Performance estimating method

Publications (1)

Publication Number Publication Date
JP2001290858A true JP2001290858A (en) 2001-10-19

Family

ID=18620405

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000107407A Pending JP2001290858A (en) 2000-04-10 2000-04-10 Performance estimating method

Country Status (1)

Country Link
JP (1) JP2001290858A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010181942A (en) * 2009-02-03 2010-08-19 Renesas Electronics Corp System and method for providing information on estimation of replacement from pld/cpld to microcomputer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010181942A (en) * 2009-02-03 2010-08-19 Renesas Electronics Corp System and method for providing information on estimation of replacement from pld/cpld to microcomputer

Similar Documents

Publication Publication Date Title
JP4042604B2 (en) Program parallelization apparatus, program parallelization method, and program parallelization program
JP5725583B2 (en) Architecture-level power-saving optimization and risk mitigation
US8904367B1 (en) Auto pipeline insertion
JPH10187789A (en) Device and method for hardware/software collaborative simulation, and machine-readable recording medium where hardware/software collaboration program is recorded
US8689202B1 (en) Scheduling of instructions
US7447617B2 (en) Data processing device designing method, data processing device designing apparatus, program and computer readable information recording medium
US9383977B1 (en) Generation of compiler description from architecture description
TW201224816A (en) Automatic optimal integrated circuit generator from algorithms and specification
KR19980063723A (en) Architecture system design method
Eusse et al. Pre-architectural performance estimation for ASIP design based on abstract processor models
JP2001290858A (en) Performance estimating method
JP3370304B2 (en) High-level synthesis system, high-level synthesis method, and recording medium used for implementing high-level synthesis method
Hadjiyiannis et al. Techniques for accurate performance evaluation in architecture exploration
Folmer et al. High-level synthesis of digital circuits from template haskell and sdf-ap
JP3386427B2 (en) High-level synthesis method and recording medium used for implementing high-level synthesis method
US5740070A (en) Apparatus for automatically generating logic circuit
US10853042B2 (en) Interactive code optimizer
JP5162531B2 (en) Simulation support method, storage medium storing simulation support program, and simulation support apparatus
JP2000011022A (en) Method for verifying cooperation between hardware and software
JP2005293219A (en) Software verification model generation method
JP2004022864A (en) Method for generating tree structure circuit and program for generating tree structure circuit
Richter-Gottfried et al. FPGA-aware Transformations of LLVM-IR
JPH0695862A (en) Instruction string optimization supporting device
JP2010026968A (en) Circuit generation support program and circuit generation support method
JP2001022808A (en) Logic circuit reducing device, method and device for logic simulation