JPH0438524A - High-speed arithmetic unit - Google Patents

High-speed arithmetic unit

Info

Publication number
JPH0438524A
JPH0438524A JP2144368A JP14436890A JPH0438524A JP H0438524 A JPH0438524 A JP H0438524A JP 2144368 A JP2144368 A JP 2144368A JP 14436890 A JP14436890 A JP 14436890A JP H0438524 A JPH0438524 A JP H0438524A
Authority
JP
Japan
Prior art keywords
instructions
instruction
clock
clocks
arithmetic processing
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
JP2144368A
Other languages
Japanese (ja)
Inventor
Shingo Sata
佐多 信吾
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2144368A priority Critical patent/JPH0438524A/en
Publication of JPH0438524A publication Critical patent/JPH0438524A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To improve efficiency for an arithmetic processing by providing a clock controller to individually control the clocks of various instructions, and executing the arithmetic processing according to the instruction corresponding to the optimum clock controlled for each instruction. CONSTITUTION:Based on the information of time for executing the instruction, a clock controller 3 controls the clocks having lengths respectively optimum for the various instructions, and this controlled clock is supplied respectively to a sequencer 2 and an instruction register 5. Next, a computing element 6 executes the arithmetic processing according to the instruction corresponding to the clocks respectively optimum for the various instructions. Thus, since the arithmetic processing is executed by the clocks respectively optimum for the various instructions, waiting time between the instructions is eliminated.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はマイクロコンピュータにおける高速演算装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a high-speed arithmetic device in a microcomputer.

(従来の技術) 従来、この種の高速演算装置において、マイクロプログ
ラム制御におけるインストラクションクロックは、種々
のインストラクションのクロ・ツクのうち最も長いもの
に合せられ、全体のクロックサイクルが決められていた
(Prior Art) Conventionally, in this type of high-speed arithmetic device, the instruction clock for microprogram control was set to the longest of various instruction clocks to determine the entire clock cycle.

即ち、第3図に示すように、実行時間が異なる種々のイ
ンストラクションPa、P、、P2及びP3のインスト
ラクションクロックは、最も長いクロックを要するイン
ストラクションP2に合せられていた。
That is, as shown in FIG. 3, the instruction clocks of various instructions Pa, P, , P2, and P3 having different execution times were set to instruction P2, which requires the longest clock.

(発明が解決しようとする課題) 然し乍ら、上述した従来の高速演算装置のマイクロプロ
グラム制御においては、全体のインストラクションクロ
ックが、最も長いクロックのインストラクションP2に
合せられていたので、インストラクションP2より短い
実行時間を有するインストラクションPo、P、、p、
、では、待ち時間Wo 、w、、w3が生じ、この結果
、演算処理の効率が低下するという問題点があった。
(Problem to be Solved by the Invention) However, in the microprogram control of the conventional high-speed arithmetic unit described above, the entire instruction clock was set to the instruction P2 having the longest clock, so the execution time was shorter than that of the instruction P2. Instructions Po, P, , p, with
, there is a problem that waiting times Wo, w, , w3 occur, and as a result, the efficiency of arithmetic processing decreases.

本発明の目的は、上述した問題点に鑑み、インストラク
ション間の待ち時間をなくし、演算処理の効率を向上し
た高速演算装置を提供するものである。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, an object of the present invention is to provide a high-speed arithmetic device that eliminates the waiting time between instructions and improves the efficiency of arithmetic processing.

[発明の構成コ (課題を解決するための手段) 本発明は上述した目的を達成するため、種々のインスト
ラクションが格納されたプログラムメモリと、上記プロ
グラムメモリより出力される上記インストラクションの
実行時間を記録するデコーダと、上記デコーダに入力さ
れた上記実行時間を基に、上記インストラクションのク
ロックを個別に制御するクロックコントローラと、上記
制御されたインストラクションのクロック及び上記プロ
グラムメモリ内の上記インストラクションが入力される
インストラクションレジスタと、上記インストラクショ
ンレジスタより出力される上記インストラクションによ
る演算処理を、上記インストラクション毎のクロックに
合せて行なう演算器とを具備したものである。
[Structure of the Invention (Means for Solving the Problems) In order to achieve the above-mentioned object, the present invention includes a program memory storing various instructions and recording the execution time of the instructions outputted from the program memory. a clock controller that individually controls the clock of the instruction based on the execution time input to the decoder, and an instruction to which the clock of the controlled instruction and the instruction in the program memory are input. The apparatus includes a register and an arithmetic unit that performs arithmetic processing according to the instructions outputted from the instruction register in synchronization with a clock for each instruction.

(作用) 本発明においては、種々のインストラクションのクロッ
クを個別に制御するクロックコントローラを設け、イン
ストラクションによる演算処理を、インストラクション
毎に制御された最適なりロックに合せて行なうので、イ
ンストラクション間の待ち時間がなくなる。
(Function) In the present invention, a clock controller that individually controls the clocks of various instructions is provided, and arithmetic processing by the instructions is performed in accordance with the optimum or lock controlled for each instruction, so that the waiting time between instructions is reduced. It disappears.

(実施例) 本発明の高速演算装置に係わる一実施例を第1図及び第
2図に基づいて説明する。尚、第1図は高速演算装置の
ブロック図、第2図は高速演算装置の動作を示すタイム
チャートである。
(Embodiment) An embodiment of the high-speed arithmetic device of the present invention will be described based on FIGS. 1 and 2. Incidentally, FIG. 1 is a block diagram of the high-speed arithmetic device, and FIG. 2 is a time chart showing the operation of the high-speed arithmetic device.

即ち、図面において、高速演算装置は、プログラムが格
納されたプログラムメモリ1と、このプログラムメモリ
1に対してインストラクションのアドレスを読み込むシ
ーケンサ2と、このシーケンサ2に接続されたクロック
コントローラ3と、このクロックコントローラ3と上記
プログラムメモリ1との間に接続されたデコーダ4と、
プログラムメモリ1及びクロックコントローラ3が接続
されたインストラクションレジスタ5と、このインスト
ラクションレジスタ5に接続された演算器6とから構成
されている。
That is, in the drawing, the high-speed arithmetic device includes a program memory 1 in which a program is stored, a sequencer 2 that reads the address of an instruction into the program memory 1, a clock controller 3 connected to this sequencer 2, and a clock controller 3 connected to this sequencer 2. a decoder 4 connected between the controller 3 and the program memory 1;
It consists of an instruction register 5 to which a program memory 1 and a clock controller 3 are connected, and an arithmetic unit 6 connected to the instruction register 5.

従って、かかる構成を有する高速演算装置では、先ず、
シーケンサ2がアドレスを発生し、アドレスで指定され
たプログラムメモリ1内のインストラクションを出力し
、このインストラクションをインストラクションレジス
タ5にラッチする。次に、上記インストラクションに、
その実行時間の情報を持たせ、これをデコーダ4に記録
する。その後、上記インストラクションの実行時間の情
報に基づいて、種々のインストラクションに夫々最適な
長さのクロックを、クロックコントローラ3によって制
御し、この制御されたクロックをシーケンサ2及びイン
ストラクションレジスタ5に夫々供給する。しかる後、
演算器6において、インストラクションによる演算処理
が、種々のインストラクションに夫々最適なりロックに
合せて行なわれる。
Therefore, in a high-speed arithmetic device having such a configuration, first,
Sequencer 2 generates an address, outputs an instruction in program memory 1 specified by the address, and latches this instruction into instruction register 5. Next, in the above instructions,
Information on the execution time is provided and recorded in the decoder 4. Thereafter, the clock controller 3 controls clocks with optimal lengths for various instructions based on the information on the execution time of the instructions, and supplies the controlled clocks to the sequencer 2 and the instruction register 5, respectively. After that,
In the arithmetic unit 6, arithmetic processing according to instructions is performed in accordance with locks that are optimal for various instructions.

斯くして、種々のインストラクションに夫々最適なりロ
ックで演算処理がなされるので、インストラクション間
の待ち時間がなくなる。
In this way, arithmetic processing is performed with locks that are optimal for various instructions, so there is no waiting time between instructions.

[発明の効果] 以上説明したように本発明によれば、インストラクショ
ンによる演算処理が、種々のインストラクションに応じ
た最適なりロックで行なわれるので、インストラクショ
ン間の無駄な待ち時間がなくなる。従って、演算処理効
率が向上でき、演算処理速度が向上できる。更に、シー
ケンサやメモリとの同期が簡単にとれ、プログラマが演
算周期を意識する必要がなくなる等の効果により上述し
た課題を解決し得る。
[Effects of the Invention] As described above, according to the present invention, arithmetic processing by instructions is performed with optimum locking depending on various instructions, so that unnecessary waiting time between instructions is eliminated. Therefore, calculation processing efficiency and calculation processing speed can be improved. Furthermore, the above-mentioned problems can be solved by easily synchronizing with the sequencer and memory, eliminating the need for the programmer to be aware of the calculation cycle.

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

第1図及び第2図は本発明装置に係る−実施例を示すも
ので、第1図は装置のブロック図、第2図は装置の動作
を説明するタイムチャート、第3図は従来装置の動作を
説明するタイムチャートである。 1・・・プログラムメモリ 2・・・シーケンサ 3・・・クロックコントローラ 4・・・デコーダ 5・・・インストラクションレジスタ 6・・・演算器 代理人 弁理士  則 近 憲 佑 代理人 弁理士  近 藤  猛
1 and 2 show an embodiment of the device of the present invention, FIG. 1 is a block diagram of the device, FIG. 2 is a time chart explaining the operation of the device, and FIG. 3 is a diagram of the conventional device. It is a time chart explaining the operation. 1...Program memory 2...Sequencer 3...Clock controller 4...Decoder 5...Instruction register 6...Arithmetic unit agent Patent attorney Norihiko Kensuke Patent attorney Takeshi Kondo

Claims (1)

【特許請求の範囲】  種々のインストラクションが格納されたプログラムメ
モリと、 上記プログラムメモリより出力される上記インストラク
ションの実行時間を記録するデコーダと、上記デコーダ
に入力された上記実行時間を基に、上記インストラクシ
ョンのクロックを個別に制御するクロックコントローラ
と、 上記制御されたインストラクションのクロック及び上記
プログラムメモリ内の上記インストラクションが入力さ
れるインストラクションレジスタと、 上記インストラクションレジスタより出力される上記イ
ンストラクションによる演算処理を、上記インストラク
ション毎のクロックに合せて行なう演算器とを具備した
ことを特徴とする高速演算装置。
[Claims] A program memory in which various instructions are stored; a decoder that records the execution time of the instructions output from the program memory; and a decoder that records the execution time of the instructions output from the program memory. a clock controller that individually controls the clocks of the instructions; an instruction register to which the clock of the controlled instructions and the instructions in the program memory are input; A high-speed arithmetic device characterized by comprising a arithmetic unit that performs operations in accordance with each clock.
JP2144368A 1990-06-04 1990-06-04 High-speed arithmetic unit Pending JPH0438524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2144368A JPH0438524A (en) 1990-06-04 1990-06-04 High-speed arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2144368A JPH0438524A (en) 1990-06-04 1990-06-04 High-speed arithmetic unit

Publications (1)

Publication Number Publication Date
JPH0438524A true JPH0438524A (en) 1992-02-07

Family

ID=15360492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2144368A Pending JPH0438524A (en) 1990-06-04 1990-06-04 High-speed arithmetic unit

Country Status (1)

Country Link
JP (1) JPH0438524A (en)

Similar Documents

Publication Publication Date Title
JPH0760388B2 (en) Pipeline control circuit
JPH0438524A (en) High-speed arithmetic unit
JPS60204029A (en) Signal processing device
JPH03136136A (en) Instruction execution time control system
JP2000029696A (en) Processor and pipeline processing control method
JPH0616287B2 (en) Vector arithmetic processor with mask
JPH04275603A (en) Programmable controller
JPH09101889A (en) Pipeline arithmetic unit
JPH0612253A (en) Microcomputer
JP2979108B2 (en) Synchronization method for asynchronous processing in data processing equipment
JPS588011B2 (en) Microprogram Seigiyohoshiki
JP3719241B2 (en) Arithmetic unit
JP2522564B2 (en) Programmable controller
JP2721610B2 (en) Programmable controller
JP2522563B2 (en) Programmable controller
JP2897049B2 (en) Branch instruction method
JPH04246727A (en) Instruction execution method
JPS6330940A (en) Multitask processing system
JPH04205425A (en) Data processor and its data processing method
JPH05303493A (en) Method for switching instruction train and arithmetic processor using the method
JPH03214235A (en) Multiple pass parallel processing method
JP2002123331A (en) Information processing system, clock control device, and clock control method
JPH038044A (en) Timer control method for multiprocessor system
JPH01286033A (en) Information processor
JP2006126893A (en) Clock control apparatus, information processing apparatus, and clock control method