JPH06168115A - No operation continuing step intructing system for arithmetic processor - Google Patents

No operation continuing step intructing system for arithmetic processor

Info

Publication number
JPH06168115A
JPH06168115A JP31956392A JP31956392A JPH06168115A JP H06168115 A JPH06168115 A JP H06168115A JP 31956392 A JP31956392 A JP 31956392A JP 31956392 A JP31956392 A JP 31956392A JP H06168115 A JPH06168115 A JP H06168115A
Authority
JP
Japan
Prior art keywords
arithmetic processor
instruction code
clock
processor
unit
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
JP31956392A
Other languages
Japanese (ja)
Inventor
Katsuyuki Shimizu
勝之 清水
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 Platforms Ltd
Original Assignee
NEC AccessTechnica 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 AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP31956392A priority Critical patent/JPH06168115A/en
Publication of JPH06168115A publication Critical patent/JPH06168115A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To continue no operation processing for a certain time without being affected by the processing speed of an arithmetic processor. CONSTITUTION:An instruction code analyzing part 11 analyzes an instruction code, and an arithmetic clock counting part 12 controls the execution of no operation continuing step by the analysis result. A clock part 15 generates a standard clock for the operation of the arithmetic clock counting part 12. An arithmetic processor peculiar information setting and holding part 14 holds information peculiar to the arithmetic processor, and an execution part 13 is the execution part of the arithmetic processor. Thus, it is unnecessary to correct the timings of the arithmetic processor and an input/output device even if the capability of the arithmetic processor is improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は演算プロセッサの処理速
度に影響されないで無演算処理を一定期間継続する演算
プロセッサ無演算継続ステップ命令方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic processor non-operation continuation step instruction system for continuing non-operation processing for a certain period without being affected by the processing speed of the arithmetic processor.

【0002】[0002]

【従来の技術】従来、この種の演算プロセッサは無演算
ステップの命令を有している。そしてこの無演算ステッ
プは演算プロセッサの実行ポイントを次の命令へ更新す
る以外になんの処理も行わない。この命令セットはルー
プのタイミングの調整、または入出力装置とのタイミン
グを取ったりするために利用されている。
2. Description of the Related Art Conventionally, this type of arithmetic processor has an instruction with no arithmetic step. Then, this non-operation step does not perform any processing other than updating the execution point of the operation processor to the next instruction. This instruction set is used for adjusting the timing of the loop or for timing with the input / output device.

【0003】[0003]

【発明が解決しようとする課題】この従来の演算プロセ
ッサの無演算ステップの命令セットでは、演算プロセッ
サの実行能力にタイミング時間が依存するため、同一の
外部回路を使用していても演算プロセッサの能力向上に
対しすべてのプログラムの入出力タイミングを見直す必
要があるという問題点があった。
In the instruction set with no operation step of the conventional arithmetic processor, the timing time depends on the execution ability of the arithmetic processor. Therefore, even if the same external circuit is used, the ability of the arithmetic processor is reduced. There was a problem that it was necessary to review the input / output timing of all programs for improvement.

【0004】[0004]

【課題を解決するための手段】本発明の演算プロセッサ
無演算継続ステップ命令方式は、外部から入力される命
令コードを解析する命令コード解析部と、解析結果によ
り無演算継続ステップを実行制御するための演算クロッ
ク・カウント部と、前記演算クロック・カウント部が動
作するための情報を生成するクロック部と、演算プロセ
ッサ固有情報を保持する演算プロセッサ固有情報設定保
持部と、前記演算プロセッサの演算プロセッシングを実
行する実行部である実行ユニット部とを備えている。
In the arithmetic processor non-operation continuous step instruction system of the present invention, an instruction code analysis unit for analyzing an instruction code input from the outside and an execution result non-operation continuous step are controlled according to the analysis result. Of the operation clock count unit, a clock unit that generates information for operating the operation clock count unit, an operation processor unique information setting holding unit that holds operation processor unique information, and an operation processing of the operation processor. And an execution unit section which is an execution section for executing.

【0005】そして、前記クロック部は外部または内部
で発生した基準時間から標準クロックを生成することを
特徴とする。
The clock unit may generate a standard clock from a reference time generated externally or internally.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0007】図1は本発明の演算プロセッサ無演算継続
ステップ命令方式の一実施例を示す機能ブロック図、図
2は本実施例における無演算継続命令コード形式を示す
図である。
FIG. 1 is a functional block diagram showing an embodiment of an arithmetic processor no-operation continuation step instruction system of the present invention, and FIG. 2 is a diagram showing a no-operation continuation instruction code format in this embodiment.

【0008】本実施例は図1に示すように、外部から入
力される命令コードを解析する命令コード解析部11
と、解析結果により無演算継続ステップを実行制御する
ための演算クロック・カウント部12と、演算クロック
・カウント部12が動作するための情報を生成するクロ
ック部14と、演算プロセッサ固有情報を保持する演算
プロセッサ固有情報設定保持部14と、演算プロセッサ
演算プロセッシングを実行する実行部である実行ユニッ
ト部13とを備えている。
In this embodiment, as shown in FIG. 1, an instruction code analyzer 11 for analyzing an instruction code input from the outside.
And an arithmetic clock count unit 12 for controlling execution of the non-calculation continuation step based on the analysis result, a clock unit 14 for generating information for operating the arithmetic clock count unit 12, and arithmetic processor specific information. An arithmetic processor unique information setting holding unit 14 and an execution unit unit 13 that is an execution unit that executes arithmetic processor arithmetic processing are provided.

【0009】続いて、図1を用いて本実施例における処
理動作について説明する。
Next, the processing operation in this embodiment will be described with reference to FIG.

【0010】本実施例の演算プロセッサが命令を実行で
きる状態に移行すると、外部から入力した命令コードを
解析する命令コード解析部11は外部に対し命令コード
を要求する。
When the arithmetic processor of this embodiment shifts to a state in which instructions can be executed, the instruction code analysis unit 11 which analyzes an instruction code input from the outside requests the instruction code from the outside.

【0011】命令コード解析部11に外部から命令コー
ドが読み込まれると、命令コード解析部11は命令コー
ドの解析を行い、通常の演算命令コードであるか無演算
継続命令コードであるかを識別する。
When the instruction code is read into the instruction code analysis unit 11 from the outside, the instruction code analysis unit 11 analyzes the instruction code to identify whether it is a normal operation instruction code or a non-operation continuation instruction code. .

【0012】命令コード解析部11にて無演算継続命令
コードであることを認識すると、無演算継続命令コード
の実行を制御するための演算クロック・カウント部12
に数値パラメータである時間オーダパラメータと時間カ
ウンタの設定時間を提供するとともに無演算継続命令コ
ードの実行を要求する。
When the instruction code analysis unit 11 recognizes that it is a no-operation continuation instruction code, the operation clock count unit 12 for controlling the execution of the no-operation continuation instruction code.
It provides the time order parameter, which is a numerical parameter, and the set time of the time counter, and requests the execution of the no-operation continuation instruction code.

【0013】要求を受けた演算クロック・カウント部1
2は無演算処理の継続時間を計測するために、内部のク
ロックカウントを初期化し、実行ユニット部13に対し
て処理の中断を要求する。
Operation clock count unit 1 that receives a request
In order to measure the duration of the non-calculation process, 2 initializes the internal clock count and requests the execution unit section 13 to suspend the process.

【0014】これと同時に、演算クロック・カウント部
12は演算プロセッサの固有情報を管理する演算プロセ
ッサ固有情報設定保持部14から演算処理の単位時間と
クロック部15からの基準クロック情報の関係を入手
し、この入手した情報と無演算継続命令コードの第2パ
ラメータである時間オーダパラメータと時間カウンタに
て構成される設定時間から無演算継続命令コードに指定
されている時間が実際の演算処理においていくつのクロ
ック数の処理単位に対応するのかを算出する。
At the same time, the arithmetic clock count unit 12 obtains the relationship between the unit time of arithmetic processing and the reference clock information from the clock unit 15 from the arithmetic processor unique information setting holding unit 14 that manages the unique information of the arithmetic processor. , The number of times in the actual arithmetic processing specified by the no-operation continuation instruction code from the set time configured by the obtained information and the second parameter of the no-operation continuation instruction code, the time order parameter and the time counter. It is calculated whether it corresponds to the processing unit of the number of clocks.

【0015】そして、この算出されたクロック数を演算
クロック・カウント部12内に保存する。
Then, the calculated clock number is stored in the operation clock count unit 12.

【0016】このクロック数の無演算処理を実行すれば
無演算継続命令コードで指定された時間を消費すること
ができる。
By executing the non-operation processing of the number of clocks, the time specified by the non-operation continuation instruction code can be consumed.

【0017】また、演算クロック・カウント部12は実
行ユニット部13に対し処理の中断を要求した時点か
ら、演算プロセッシングを実行するタイミングを取るた
めの標準クロックを生成するクロック部15から提供さ
れる標準クロックのカウントを開始する。
Further, the operation clock count unit 12 provides a standard provided from the clock unit 15 which generates a standard clock for timing execution of operation processing from the time when the execution unit unit 13 is requested to interrupt the processing. Start clock counting.

【0018】以降、クロック部15から演算処理タイミ
ングの基準であるクロック情報が通知されるごとに演算
クロック・カウント部12内のクロックカウントを更新
していく。
After that, the clock count in the arithmetic clock count unit 12 is updated each time the clock information, which is the reference of the arithmetic processing timing, is notified from the clock unit 15.

【0019】この更新の際に演算プロセッサ固有情報設
定保持部14をもとに算出された無演算継続命令の設定
時間の処理に必要なクロック数と演算クロック・カウン
ト部12内のクロックカウントの比較を行い、クロック
・カウント値が一致した時、すなわち、無演算継続命令
コードの第2パラメータである時間オーダパラメータと
時間カウンタにて指定された設定時間量のカウントが終
了した時、演算クロック・カウント部12は実行ユニッ
ト部13に対し演算処理実行の再実行を要求する。
At the time of this update, the number of clocks required for processing the set time of the no-calculation continuation instruction calculated based on the arithmetic processor unique information setting holding unit 14 and the clock count in the arithmetic clock count unit 12 are compared. When the clock count values match, that is, when the counting of the set time amount specified by the time order parameter and the time counter, which is the second parameter of the no-operation continuation instruction code, is completed, the operation clock count The unit 12 requests the execution unit unit 13 to re-execute the arithmetic processing execution.

【0020】この時、演算クロック・カウント部12は
命令コード解析部11に対し、設定された時間の無演算
継続命令コードの実行が完了したことを通知する。通知
を受けた命令コード解析部11は次の演算命令の解析を
実行するため、外部に対し次の演算命令コードを要求す
る。
At this time, the operation clock count unit 12 notifies the instruction code analysis unit 11 that the execution of the no-operation continuing instruction code for the set time is completed. The instruction code analysis unit 11 that has received the notification requests the next operation instruction code to the outside in order to analyze the next operation instruction.

【0021】なお、本実施例ではクロック部15は標準
クロックを生成するときに、外部から入力した基準時
間、あるいは内部で発生した基準時間のいずれを使用し
てもよい。
In this embodiment, the clock unit 15 may use either the reference time input from the outside or the reference time generated internally when generating the standard clock.

【0022】次に、図2を併用して無演算継続命令コー
ド形式について説明する。
Next, the non-operation continuation instruction code format will be described with reference to FIG.

【0023】無演算継続命令コードは第1パラメータと
第2パラメータにより構成されている。
The no-operation continuation instruction code is composed of a first parameter and a second parameter.

【0024】第1パラメータは無演算継続命令コードで
ある。この無演算継続命令コードは他の演算命令と識別
可能なコードである。この無演算継続命令コードの認識
により実行制御を演算クロック・カウント部12に移行
することができる。
The first parameter is a no-operation continuation instruction code. This non-operation continuation instruction code is a code that can be distinguished from other operation instructions. The execution control can be transferred to the operation clock / counter 12 by recognizing the non-operation continuation instruction code.

【0025】なお、この第1パラメータにより次に第2
パラメータの時間オーダパラメータと時間カウンタが続
くことを意味する。
It is to be noted that the second parameter is used next by the first parameter.
Means that the parameter time order parameter and the time counter follow.

【0026】この無演算継続命令コードの第2パラメー
タは無演算継続命令コードにおける無演算継続時間を設
定するための可変パラメータ値である。
The second parameter of the no-operation continuation instruction code is a variable parameter value for setting the no-operation continuation time in the no-operation continuation instruction code.

【0027】第2パラメータは時間オーダパラメータと
時間カウンタに分離される。時間オーダパラメータは時
間のオーダ単位を指定するために利用される。このオー
ダパラメータはミリ秒,マイクロ秒等の単位オーダを設
定する。
The second parameter is divided into a time order parameter and a time counter. The time order parameter is used to specify the time order unit. This order parameter sets the unit order such as millisecond and microsecond.

【0028】時間カウンタは時間オーダパラメータにて
設定されたオーダでのカウント値を示す。
The time counter indicates the count value on the order set by the time order parameter.

【0029】第2パラメータが単に時間カウンタ値でな
いのは、入力および出力の処理時間のオーダが演算処理
時間のオーダの単位と異なり、演算処理単位時間に比べ
非常に長い時間生成が必要となる。
Since the second parameter is not simply the time counter value, the order of the processing time of the input and output is different from the unit of the order of the arithmetic processing time, and it is necessary to generate a time much longer than the unit processing time of the arithmetic processing.

【0030】また、記憶装置等は演算処理時間オーダの
単位での時間生成が必要となり、幅広い範囲での無演算
継続時間の設定が必要となる。
Further, the storage device or the like needs to generate time in units of the calculation processing time order, and it is necessary to set the non-calculation continuation time in a wide range.

【0031】この第2パラメータの時間オーダパラメー
タと時間カウンタの値を変更することにより任意の時間
を作り出すことができる。仮に第2パラメータを時間カ
ウンタのみとした場合には、第1パラメータに比べ第2
パラメータのコード長が増加してしまうのを防ぐことが
できる。
By changing the time order parameter of the second parameter and the value of the time counter, an arbitrary time can be created. If the second parameter is only the time counter, the second parameter is compared to the second parameter.
It is possible to prevent the code length of the parameter from increasing.

【0032】[0032]

【発明の効果】以上説明したように本発明の演算プロセ
ッサ無演算継続ステップ命令方式によれば、無演算継続
ステップの命令セット追加により演算プロセッサの能力
に依存しない無演算時間を設定することができる。
As described above, according to the arithmetic processor no-operation continuous step instruction system of the present invention, the no-operation time independent of the capacity of the arithmetic processor can be set by adding the instruction set of the no-operation continuous step. .

【0033】従って、演算プロセッサの能力向上が行わ
れても、影響を受けていたループのタイミングや入出力
装置とのタイミングを見直す必要がないという効果を有
する。
Therefore, even if the capacity of the arithmetic processor is improved, it is not necessary to reexamine the timing of the affected loop and the timing with the input / output device.

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

【図1】本発明の演算プロセッサ無演算継続ステップ命
令方式の一実施例を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of an arithmetic processor non-operation continuous step instruction system of the present invention.

【図2】本実施例における無演算命令コード形式を示す
図である。
FIG. 2 is a diagram showing a no-operation instruction code format in the present embodiment.

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

11 命令コード解析部 12 演算クロック・カウント部 13 実行ユニット部 14 演算プロセッサ固有情報設定保持部 15 クロック部 11 instruction code analysis unit 12 operation clock / count unit 13 execution unit unit 14 arithmetic processor unique information setting holding unit 15 clock unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 外部から入力される命令コードを解析す
る命令コード解析部と、解析結果により無演算継続ステ
ップを実行制御するための演算クロック・カウント部
と、前記演算クロック・カウント部が動作するための情
報を生成するクロック部と、演算プロセッサ固有情報を
保持する演算プロセッサ固有情報設定保持部と、前記演
算プロセッサの演算プロセッシングを実行する実行ユニ
ット部とを備えることを特徴とする演算プロセッサ無演
算継続ステップ命令方式。
1. An instruction code analyzing section for analyzing an instruction code input from the outside, an operation clock counting section for controlling execution of a non-operation continuing step based on the analysis result, and the operation clock counting section operate. A processor for generating information for a processor, a processor specific information setting holder for storing processor specific information, and an execution unit for executing processing of the processor. Continuous step instruction method.
【請求項2】 前記クロック部は外部または内部で発生
した基準時間から標準クロックを生成することを特徴と
する請求項1記載の演算プロセッサ無演算継続ステップ
命令方式。
2. The arithmetic processor non-operation continuous step instruction method according to claim 1, wherein the clock unit generates a standard clock from a reference time generated externally or internally.
JP31956392A 1992-11-30 1992-11-30 No operation continuing step intructing system for arithmetic processor Withdrawn JPH06168115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31956392A JPH06168115A (en) 1992-11-30 1992-11-30 No operation continuing step intructing system for arithmetic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31956392A JPH06168115A (en) 1992-11-30 1992-11-30 No operation continuing step intructing system for arithmetic processor

Publications (1)

Publication Number Publication Date
JPH06168115A true JPH06168115A (en) 1994-06-14

Family

ID=18111665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31956392A Withdrawn JPH06168115A (en) 1992-11-30 1992-11-30 No operation continuing step intructing system for arithmetic processor

Country Status (1)

Country Link
JP (1) JPH06168115A (en)

Similar Documents

Publication Publication Date Title
KR100492048B1 (en) Data processing circuit with a self-timed instruction execution unit
JPH11514120A (en) Method for regulating the performance of application programs in digital computers
US9223573B2 (en) Data processing device and method of controlling the same
US5467463A (en) System independent timing reference for computer
JPH06168115A (en) No operation continuing step intructing system for arithmetic processor
JPH0573296A (en) Microcomputer
JPH04287226A (en) Clock-operated data processor
JP2001166954A (en) Virtual computer device and its control method
JPS6128144A (en) Executing device of tracing
JPH06324861A (en) System and method for controlling cpu
JPS63269239A (en) Processor load measuring system
JPH04275603A (en) Programmable controller
JPH0683652A (en) Microcomputer system
JP2532072Y2 (en) Pattern generator
JPH05241891A (en) Tracer circuit
JPH11327920A (en) Soft timer processing method and device therefor
JPH0462093B2 (en)
JPH02271437A (en) Task running time measuring system
JPS61241843A (en) Information processor
JPS6285349A (en) Timer control system
JPH10161887A (en) Method and device for interruption signal synchronization
JPH047739A (en) Controlling system for instruction executing time
JPH1185684A (en) I/o access control circuit
JPH1091431A (en) Data processor
JPS6285319A (en) Internal timepiece correcting system for computer

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: 20000201