JPH05143321A - Performance adjusting circuit - Google Patents

Performance adjusting circuit

Info

Publication number
JPH05143321A
JPH05143321A JP30142191A JP30142191A JPH05143321A JP H05143321 A JPH05143321 A JP H05143321A JP 30142191 A JP30142191 A JP 30142191A JP 30142191 A JP30142191 A JP 30142191A JP H05143321 A JPH05143321 A JP H05143321A
Authority
JP
Japan
Prior art keywords
instruction
nop
register
soft
circuit
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.)
Withdrawn
Application number
JP30142191A
Other languages
Japanese (ja)
Inventor
Yuichi Sato
裕一 佐藤
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP30142191A priority Critical patent/JPH05143321A/en
Publication of JPH05143321A publication Critical patent/JPH05143321A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a system capable of constituting a data processor performance adjusting mechanism constituted of an instruction issue control part and an arithmetic circuit part only by the addition of a few hardware. CONSTITUTION:This performance adjusting circuit is characterized by having a NOP instruction frequency specifying register 15 for specifying the number of NOP instructions to be issued so as to be inserted before a normal microinstruction, a counter register 16 for counting up a period specified by the contents of the register 15 from microprogram issue starting timing for soft instruction processing, a decrement circuit 17, and a microinstruction issue control circuit 14 for identifying the NOP instruction issuing period based upon the value of the register 16 and inserting a NOP instruction before the issue of a normal processing microinstruction.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマイクロ命令発行制御に
よる性能調整回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a performance adjusting circuit based on microinstruction issue control.

【0002】[0002]

【従来の技術】従来この種の性能調整方式は、マイクロ
プログラム中に予めNOP命令を性能調整する数だけ組
み込んでおくか、或は実行抑止信号を生成し、全てのフ
リップフロップ及びレジスタをホールドすることによっ
て性能調整を行うものであった。
2. Description of the Related Art Conventionally, in this type of performance adjusting method, a number of NOP instructions are incorporated in a microprogram in advance, or an execution inhibiting signal is generated to hold all flip-flops and registers. The performance was adjusted accordingly.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の性能調
整方式のうち、前者の予めNOP命令を組み込む方式で
は、調整する度にマイクロプログラムを書きかえる必要
があり、性能調整を行うのに多くの時間を費やさなけれ
ばならないという問題と、マイクロプログラムステップ
の増加によりマイクロプログラム格納領域の拡大による
ハードウェアの増加という欠点がある。
Among the above-mentioned conventional performance adjustment methods, in the former method of incorporating a NOP instruction in advance, it is necessary to rewrite a microprogram every time adjustment is made, and many performance adjustment methods are required for performance adjustment. There is a problem in that time is spent, and there is a drawback in that the number of microprogram steps is increased and the microprogram storage area is expanded to increase hardware.

【0004】また、後者の実行抑止信号によるレジスタ
類のホールドによって性能調整を行う方式では、全ての
レジスタ及びフリップフロップがホールド機能を持たね
ばならない為、ハードウェア量が大きくなってしまうと
いう問題がある。
Further, in the latter method in which the performance is adjusted by holding the registers by the execution inhibiting signal, all the registers and flip-flops have to have a holding function, which causes a problem that the amount of hardware becomes large. ..

【0005】[0005]

【課題を解決するための手段】本発明の性能調整回路
は、ソフト命令に対応するマイクロ命令発行制御を行
い、該マイクロ命令によって実行制御される演算ユニッ
トを有するデータ処理装置における性能調整回路におい
て、ノーオペレーション命令の発行回数を指定するNO
P命令回数指定レジスタと、ソフト命令についての処理
開始時点から前記NOP命令回数指定レジスタによって
示される期間をカウントするカウンタと、該カウンタ値
によってNOP命令発行期間であることを判定し、前記
演算ユニットに対してNOP命令を挿入発行するマイク
ロ命令発行制御回路とを有することを特徴とする。
A performance adjusting circuit according to the present invention is a performance adjusting circuit in a data processing device which has a micro-instruction issue control corresponding to a soft instruction and has an operation unit controlled by the micro instruction. NO that specifies the number of times a no-operation command is issued
A P instruction number designating register, a counter that counts the period indicated by the NOP instruction number designating register from the processing start time for the soft instruction, and a counter value to determine the NOP instruction issuing period, A micro instruction issue control circuit for inserting and issuing a NOP instruction is also provided.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の性能調整回路を含むデータ処理装置
のブロック図である。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a data processing device including a performance adjusting circuit of the present invention.

【0007】図1において、ソフト命令取り出し回路1
0は、主記憶またはキャッシュからソフト命令を取り出
す為の回路で、取り出されたソフト命令20は、マイク
ロ命令発行制御回路14が送出するソフト命令間表示信
号24によってソフト命令レジスタ11に格納される。
ソフト命令間表示信号24は、この信号によってソフト
命令レジスタ11に格納されたソフト命令の実行が次の
サイクルから開始されることを表示しており、ソフト命
令の切れ目を示している。
In FIG. 1, a soft instruction fetch circuit 1
Reference numeral 0 is a circuit for fetching a soft instruction from the main memory or cache, and the fetched soft instruction 20 is stored in the soft instruction register 11 by the soft instruction interval display signal 24 sent from the micro instruction issue control circuit 14.
The soft instruction interval display signal 24 indicates that the execution of the soft instruction stored in the soft instruction register 11 is started from the next cycle by this signal, and indicates a break of the soft instruction.

【0008】ソフト命令レジスタ11に格納されたソフ
ト命令21は、マイクロ命令発行制御回路14に入力さ
れ、これによりマイクロ命令発行制御回路14は、ソフ
ト命令21に対応するマイクロプログラム取り出しを、
カウンタレジスタ出力26が零の場合には、マイクロ命
令取り出し制御信号22によってマイクロプログラム格
納記憶12に指示し、マイクロプログラム格納記憶12
からマイクロ命令データ23を受けとる。取り出された
マイクロ命令23は、演算パイプライン13を動作させ
る為のパイプラインコマンド25として演算パイプライ
ン13に供給され動作を制御する。
The soft instruction 21 stored in the soft instruction register 11 is input to the micro instruction issue control circuit 14, whereby the micro instruction issue control circuit 14 fetches the micro program corresponding to the soft instruction 21.
When the counter register output 26 is zero, the microinstruction fetch control signal 22 instructs the microprogram storage memory 12 to instruct
From the microinstruction data 23. The fetched microinstruction 23 is supplied to the arithmetic pipeline 13 as a pipeline command 25 for operating the arithmetic pipeline 13 to control the operation.

【0009】マイクロ命令発行制御回路14は、ソフト
命令21の処理に必要なマイクロプログラムをマイクロ
命令取り出し制御信号22によって逐次取り出し、パイ
プラインコマンド25として発行する操作を最終マイク
ロプログラムステップを発行するまで繰り返し、最終マ
イクロプログラムステップをパイプラインコマンド25
として発行すると同時にソフト命令間表示信号25を送
出する。これにより、次のソフト命令がソフト命令レジ
スタ11に格納され、次のソフト命令処理が行われる。
The microinstruction issue control circuit 14 sequentially fetches microprograms necessary for processing the soft instruction 21 by the microinstruction fetch control signal 22 and repeats the operation of issuing as a pipeline command 25 until the final microprogram step is issued. , Final microprogram step to pipeline command 25
At the same time, the soft command interval display signal 25 is transmitted. As a result, the next soft instruction is stored in the soft instruction register 11, and the next soft instruction processing is performed.

【0010】ノーオペレーション(以下NOPと記す)
命令回数指定レジスタ15は、1つのソフト命令に対
し、いくつのNOP命令を挿入するかを指定する為のレ
ジスタで、ソフト命令が実行される前のデータ処理装置
の初期化を行う時に設定される。
No operation (hereinafter referred to as NOP)
The instruction number designation register 15 is a register for designating how many NOP instructions are inserted for one software instruction, and is set when the data processing device is initialized before the software instruction is executed. ..

【0011】NOP命令回数指定レジスタ15の出力で
あるNOP命令回数27は、マイクロ命令発行制御回路
14が送出するソフト命令間表示信号24によってカウ
ンタレジスタ16に取り込まれる。カウンタレジスタの
出力26はマイクロ命令発行制御回路14に入力され
る。
The NOP instruction number 27, which is the output of the NOP instruction number specifying register 15, is fetched into the counter register 16 by the soft instruction interval display signal 24 sent from the micro instruction issue control circuit 14. The output 26 of the counter register is input to the micro instruction issue control circuit 14.

【0012】マイクロ命令発行制御回路14では、カウ
ンタレジスタの出力26が零がどうかを判定し、零でな
ければソフト命令21のマイクロプログラム取り出し抑
止し、パイプラインコマンド25にNOP命令を発行す
る。零であれば、前述のように、ソフト命令21のマイ
クロプログラムをマイクロプログラム格納記憶12より
取り出しパイプラインコマンド25を発行する。
The microinstruction issue control circuit 14 determines whether the output 26 of the counter register is zero, and if it is not zero, the microprogram fetch of the soft instruction 21 is suppressed and the NOP instruction is issued to the pipeline command 25. If it is zero, as described above, the microprogram of the soft instruction 21 is fetched from the microprogram storage memory 12 and the pipeline command 25 is issued.

【0013】カウンタレジスタ16は、マイクロ命令発
行制御回路14が送出するソフト命令間表示信号24が
有効なタイミング以外、すなわちソフト命令20のマイ
クロプログラム実行中はカウンタレジスタ16の値のデ
クリメントを行うデクリメント回路17の出力28を格
納し、値が零になるとホールド状態になる用に制御され
る。
The counter register 16 is a decrement circuit that decrements the value of the counter register 16 except when the soft instruction interval display signal 24 sent by the micro instruction issue control circuit 14 is valid, that is, during execution of the micro program of the soft instruction 20. The output 28 of 17 is stored, and when the value becomes zero, the hold state is controlled.

【0014】マイクロ命令発行制御回路14が送出する
ソフト命令間表示信号24が有効なタイミングでは、次
のソフト命令がソフト命令レジスタ11に格納されると
同時に、NOP命令回数指定レジスタ15の内容がカウ
ンタレジスタ16に格納される。ソフト命令21の実行
タイミングに移行した時にNOP命令回数27が零でな
ければ、マイクロ命令発行制御回路14はパイプライン
コマンド25としてNOP命令を発行し、その間にカウ
ンタレジスタ16がデクリメントされる。
At the timing when the soft command interval display signal 24 sent by the micro command issue control circuit 14 is valid, the next soft command is stored in the soft command register 11, and at the same time, the contents of the NOP command number designating register 15 are counted. It is stored in the register 16. If the NOP instruction count 27 is not zero at the execution timing of the soft instruction 21, the microinstruction issue control circuit 14 issues the NOP instruction as the pipeline command 25, and the counter register 16 is decremented during that time.

【0015】カウンタレジスタ16の出力が零になるま
で、この動作が繰り返し行われ、零になるとカウンタレ
ジスタ16は次のソフト命令発行制御間表示信号が有効
になるまで零がホールドされる。この時、マイクロ命令
発行制御回路14では、カウンタレジスタの出力26が
零であることにより、ソフト命令21に対応するマイク
ロプログラムを取り出しパイプラインコマンド25とし
て発行する。最終マイクロプログラムステップが発行さ
れるまでこれが繰り返される。
This operation is repeated until the output of the counter register 16 becomes zero, and when it becomes zero, the counter register 16 is held at zero until the next soft command issuance control display signal becomes valid. At this time, the microinstruction issue control circuit 14 issues the microprogram corresponding to the soft instruction 21 as the pipeline command 25 because the output 26 of the counter register is zero. This is repeated until the final microprogram step is issued.

【0016】最終マイクロプログラムステップが発行さ
れると同時にソフト命令間表示信号24が有効になり、
次のソフト命令に対し同様の制御がなされ、ソフト命令
毎のNOP命令挿入が行われる。
At the same time when the final microprogram step is issued, the soft command interval display signal 24 becomes valid,
The same control is performed for the next soft instruction, and the NOP instruction is inserted for each soft instruction.

【0017】[0017]

【発明の効果】以上説明した様に、本発明は、NOP命
令回数指定レジスタを有し、その指定回数まで計数する
手段と、計数結果が指定回数に達するまでの間、演算ユ
ニットにNOP命令を発行するマイクロ命令発行制御回
路とを設けることにより、ソフト命令の実行性能を、マ
イクロプログラムを書きかえることなく、また演算ユニ
ットのハードウェアの増加をまねくことなく、簡単に調
整することができるという効果があり、データ処理装置
のシステム性能レンジを簡単に広げることができる。
As described above, the present invention has a NOP instruction number designation register, means for counting up to the designated number of times, and a NOP instruction to the arithmetic unit until the counting result reaches the designated number. By providing the micro-instruction issue control circuit for issuing, it is possible to easily adjust the execution performance of the soft instruction without rewriting the microprogram and without increasing the hardware of the arithmetic unit. Therefore, the system performance range of the data processing device can be easily expanded.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

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

10 ソフト命令取り出し回路 11 ソフト命令レジスタ 12 マイクロプログラム格納記憶 13 演算パイプライン 14 マイクロ命令発行制御回路 15 NOP命令回数指定レジスタ 16 カウンタレジスタ 17 デクリメント回路 20 ソフト命令 21 ソフト命令 22 マイクロ命令取り出し制御信号 23 マイクロ命令データ 24 ソフト命令間表示信号 25 パイプラインコマンド 26 カウンタレジスタ出力 27 NOP命令回数 28 デクリメント回路出力 10 soft instruction fetch circuit 11 soft instruction register 12 micro program storage memory 13 arithmetic pipeline 14 micro instruction issue control circuit 15 NOP instruction number designation register 16 counter register 17 decrement circuit 20 soft instruction 21 soft instruction 22 micro instruction fetch control signal 23 micro Instruction data 24 Display signal between software instructions 25 Pipeline command 26 Counter register output 27 NOP instruction count 28 Decrement circuit output

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ソフト命令に対応するマイクロ命令発行
制御を行い、該マイクロ命令によって実行制御される演
算ユニットを有するデータ処理装置における性能調整回
路において、 ノーオペレーション命令の発行回数を指定するNOP命
令回数指定レジスタと、 ソフト命令についての処理開始時点から前記NOP命令
回数指定レジスタによって示される期間をカウントする
カウンタと、 該カウンタ値によってNOP命令発行期間であることを
判定し、前記演算ユニットに対してNOP命令を挿入発
行するマイクロ命令発行制御回路とを有することを特徴
とする性能調整回路。
1. A number of NOP instructions for designating the number of issuances of no-operation instructions in a performance adjustment circuit in a data processing device having a calculation unit for executing execution control of micro-instructions corresponding to a soft instruction and having an execution unit controlled by the micro instruction. A designated register, a counter that counts the period indicated by the NOP instruction number designated register from the start of processing of the software instruction, and a NOP instruction issuance period based on the counter value, and the NOP instruction is issued to the arithmetic unit. A performance adjustment circuit having a micro instruction issue control circuit for inserting and issuing an instruction.
JP30142191A 1991-11-18 1991-11-18 Performance adjusting circuit Withdrawn JPH05143321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30142191A JPH05143321A (en) 1991-11-18 1991-11-18 Performance adjusting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30142191A JPH05143321A (en) 1991-11-18 1991-11-18 Performance adjusting circuit

Publications (1)

Publication Number Publication Date
JPH05143321A true JPH05143321A (en) 1993-06-11

Family

ID=17896674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30142191A Withdrawn JPH05143321A (en) 1991-11-18 1991-11-18 Performance adjusting circuit

Country Status (1)

Country Link
JP (1) JPH05143321A (en)

Similar Documents

Publication Publication Date Title
US5619704A (en) Asynchronous interrupt inhibit method and apparatus for avoiding interrupt of an inseparable operation
EP0227117A2 (en) Program skip operation control system
US5179693A (en) System for controlling operation of processor by adjusting duty cycle of performance control pulse based upon target performance value
JPH05143321A (en) Performance adjusting circuit
JPH0654476B2 (en) Control memory error correction control method
JPS59739A (en) Time assurance system in microprogram processor
JP3014605B2 (en) Fuzzy computer
JPH04288625A (en) Microcomputer
JPH0573296A (en) Microcomputer
JPH05113884A (en) Performance adjusting circuit
KR100284287B1 (en) Microprocessor with Variable Reset Address
JP2825315B2 (en) Information processing device
JP2504224B2 (en) Data processing device
JP2758624B2 (en) Speed control method of micro program
JPS60250438A (en) Information processor
JPS60124746A (en) Data processing unit
JP2844624B2 (en) Data processing device
JPH04245332A (en) Data processor
JPH02133833A (en) Controller for in-circuit emulator
JPH0424731B2 (en)
JP2853458B2 (en) Instruction string switching method and arithmetic processor using the same
JPH05181671A (en) Emulation system for software instruction
JP2998299B2 (en) Processor control unit
JP3057732B2 (en) Information processing device
JPH0540621A (en) Microprocessor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204