JPS6139131A - Data processor - Google Patents

Data processor

Info

Publication number
JPS6139131A
JPS6139131A JP16057084A JP16057084A JPS6139131A JP S6139131 A JPS6139131 A JP S6139131A JP 16057084 A JP16057084 A JP 16057084A JP 16057084 A JP16057084 A JP 16057084A JP S6139131 A JPS6139131 A JP S6139131A
Authority
JP
Japan
Prior art keywords
machine cycle
machine
microinstruction
hardware control
clock
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
JP16057084A
Other languages
Japanese (ja)
Inventor
Shohei Suzuki
祥平 鈴木
Koichi Yamamoto
幸一 山本
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 JP16057084A priority Critical patent/JPS6139131A/en
Publication of JPS6139131A publication Critical patent/JPS6139131A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To specify a machine cycle with a microinstruction by the processor which has a high rate of hardware control by providing a mechanism which determines the machine cycle on the basis of machine cycle specification information on a microinstruction and machine cycle request information by hardware control. CONSTITUTION:A register 1 holds machine cycle (MC) specification information from a hardware control part 10 and a register 2 holds an MC specification field; and either one has 3-bit length and specifies MC. An MC specifying circuit 3 ANDs respective bits of the registers 1 and 2, one by one, and then generates a machine cycle specifying code. A clock generating circuit 4 which receives it generates a clock with MC based upon the code. Consequently, MC specification by a microinstruction is performed through the processor which has a high rate of hardware control such as advanced control and cache memory control.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はマシンサイクルの動的可変機能をもつデータ処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data processing device having a function of dynamically varying machine cycles.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

マイクロプログラム制御方式のデータ処理装置に於いて
、マイクロ命令の実行に必要な時間は−そのマイクロ命
令が指定する機能によって異るが、通常は、それらの中
で一番長い時間をマシンサイクルとし、この値は固定と
しているものが多い。この場合、短い実行時間で終了で
きるマイクロ命令は何もしないでマシンサイクル終了を
待つことになシ、効率が悪い。そこで、マシンサイクル
を動的に変えることのできるハードウェアを用意し、マ
イクロ命令の指定によって最適なマシンサイクルを決定
できるようにして、処理の効率を上げ、性能を向上させ
る手段が実現された。
In a microprogram-controlled data processing device, the time required to execute a microinstruction varies depending on the function specified by the microinstruction, but usually the longest time is defined as a machine cycle. This value is often fixed. In this case, microinstructions that can be completed in a short execution time do not do anything and wait for the machine cycle to complete, which is inefficient. Therefore, a method was created to improve processing efficiency and performance by preparing hardware that can dynamically change the machine cycle and determining the optimal machine cycle by specifying microinstructions.

この際、マシンサイクルの指定は、マイクロ命令のオペ
レーション部に従って行なうものや、第6図に示すよう
に、直接、サイクルを指定するフィールドを設けて行な
う場合がある。いずれにしてもファームウェア作成時点
でマシンサイクルが決定される。
At this time, the machine cycle may be specified according to the operation part of the microinstruction, or may be directly provided with a field for specifying the cycle, as shown in FIG. In any case, the machine cycle is determined at the time of firmware creation.

ところでハードウェアの動作が複雑になり、命令の先取
シや、キャッシュメモリ等にみられるよう2に、マイク
ロ命令とは無関係に動作する、部分が増加すると、これ
らのハードウェアによってもマシンサイクルは制限をう
けるようになる。
By the way, as hardware operations become more complex and the number of parts that operate independently of microinstructions increases, such as instruction prefetching and cache memory, machine cycles are limited by these hardware as well. You will begin to receive

ところが、従来の手段では、マシンサイクルはファーム
ウェア作成時点で決定してしまうので1ハードウエアに
よるマシンサイクルの要求を満たすことができなかった
However, with the conventional means, the machine cycle is determined at the time of firmware creation, so it is not possible to satisfy the machine cycle requirement for one piece of hardware.

〔発明の目的〕[Purpose of the invention]

本発明は上記実情に鑑みなされたもので、命令先取シや
、キャッシュメモリ制御にみられるような、マイクロ命
令の実行に゛無関係にハードウェア動作が行なわれるマ
イクログログ2゛ム方式の処理装置に於いて、それぞれ
の動作に対応したマシンサイクルの指定ができる可変ク
ロック方式のデータ処理装置を提供することを目的とす
る。
The present invention has been made in view of the above-mentioned circumstances, and is suitable for processing devices using a microlog system in which hardware operations are performed independently of the execution of microinstructions, such as in instruction prefetching and cache memory control. An object of the present invention is to provide a variable clock type data processing device that can specify machine cycles corresponding to each operation.

〔発明の概要〕[Summary of the invention]

本発明は、マイクロ命令のマシンサイクル指定情報とハ
ードウェア制御によるマシンサイクル要求情報とをもと
にマシンサイクルを決定する機構を設けて、先行制御、
キャッシュメモリ制御など、ハードウェア制御の比率の
高い処理装置であっても、マイクロ命令によるマシンサ
イクル指定を可能とし、ハードウェア制御によるマシン
サイクル指定との共存を実現したもので、これによって
、実行時間にばらつきのある動作があっても、効率的な
マシンの利用ができる。
The present invention provides a mechanism for determining a machine cycle based on machine cycle designation information of a microinstruction and machine cycle request information based on hardware control.
Even in processing devices with a high ratio of hardware control, such as cache memory control, it is possible to specify machine cycles using microinstructions, and coexist with machine cycle specification using hardware control. The machine can be used efficiently even if there are variations in operation.

〔発明の実施例〕[Embodiments of the invention]

以下図面を参照して本発明の一実施例を説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。図
中、1はハードウェア制御部10からのマシンサイクル
指定情報を保持するレジスタ、2はマイクロ命令レジス
タの一部分であるマシンサイクル指定フィールドを保持
するレジスタであシ、ここでは何れも3ビツトで構成さ
れる。3はこの各レジスタ1.2の内容に従ってマシン
サイクルを指示するマシンサイクル指定回路である。4
はマシンサイクル指定回路3の出力(2ビツトのマシン
サイクル指定コード)5に従って定められたマシンサイ
クルに従うクロックを発生するクロ、り発生回路でアシ
、6はそのクロック出力線である。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, 1 is a register that holds machine cycle designation information from the hardware control unit 10, and 2 is a register that holds a machine cycle designation field that is a part of the microinstruction register, both of which are composed of 3 bits. be done. Reference numeral 3 denotes a machine cycle designation circuit that designates a machine cycle according to the contents of each register 1.2. 4
is a clock generation circuit which generates a clock according to a machine cycle determined according to the output (2-bit machine cycle designation code) 5 of the machine cycle designation circuit 3, and 6 is its clock output line.

第2図乃至第5図はそれぞれ一実施例の動作を説明する
だめのもので、第2図は上記レジスタ1,2に貯えられ
る情報のマシンサイクル指定ビットとマシンサイクルと
の対応を示す図、第3図はマシンサイクル指定回路3か
ら出力される2ビツトのマシンサイクル指定コードとマ
シンサイクルとの対応を示す図である。第4図はマシン
サイクル指定回路3の出力5、即ち第3図に示す2ビツ
トのマシンサイクル指定コードに従ってクロック発生回
路4よ多出力されるクロックの周期を示すもので、ここ
では基本クロックの1周期をτで表わしている。第5図
は上記実施例に於ける各部の信号状態を示す図である。
2 to 5 are for explaining the operation of one embodiment, and FIG. 2 is a diagram showing the correspondence between machine cycle designation bits and machine cycles in the information stored in the registers 1 and 2, FIG. 3 is a diagram showing the correspondence between a 2-bit machine cycle designation code outputted from the machine cycle designation circuit 3 and a machine cycle. FIG. 4 shows the output 5 of the machine cycle designation circuit 3, that is, the period of the clock that is output multiple times from the clock generation circuit 4 according to the 2-bit machine cycle designation code shown in FIG. The period is expressed as τ. FIG. 5 is a diagram showing signal states of each part in the above embodiment.

  、 ここで、第1図乃至第5図を参照して一実施例の動作を
説明する。第1図に示すレジスタ1゜2はいずれも3ビ
ツト長であって、第2図に示す形成に従いマシンサイク
ルを指定する。第2図のマシンサイクルはτの整数倍で
示しているが、τはクロック発生回路4の基本クロック
サイクルである。尚、第2図に於いて各ピットの値がX
となっている箇所は′O”でも′1#でも良いととを示
している。マシンサイクル指定回路3は上記レジスタ1
.2の各ビットごとの論理和をとった後、第3図のコー
ド対応に従ってマシンサイクル指定コードを発生させる
。第3図に示す2ビツトのマシンサイクル指定コードを
受けとったクロック発生回路4は、そのコードに従うマ
シンサイクルのクロックを発生する。このクロック出力
例を第4図に示す。
, Here, the operation of one embodiment will be explained with reference to FIGS. 1 to 5. Registers 1 and 2 shown in FIG. 1 are both three bits long and specify machine cycles according to the formation shown in FIG. The machine cycles in FIG. 2 are shown as integral multiples of τ, where τ is the basic clock cycle of the clock generation circuit 4. In addition, in Figure 2, the value of each pit is
This indicates that 'O' or '1# may be used in the part marked with '.
.. After calculating the logical sum for each bit of 2, a machine cycle designation code is generated according to the code correspondence shown in FIG. Upon receiving the 2-bit machine cycle designation code shown in FIG. 3, the clock generation circuit 4 generates a machine cycle clock according to the code. An example of this clock output is shown in FIG.

次に具体的な動作について第5図に従い更に説明する。Next, specific operations will be further explained with reference to FIG.

マイクロ命令の指定によるマシンサイクルが5τである
とき、レジスタ2には” o o i ”がセットされ
ている。一方、マイクロ命令の実行に無関係なハードウ
ェア制御の要求によってレジスタ1には”011’がセ
ットされている。ここで、ビット1とビット2が同時に
セット(パ1”)しているのは、ハードウェア制御部分
の5τを要求する部分がビット2をセットし、6τを要
求する部分がビット1をセット1したことによる。上記
各レジスタ1,2の論理和は°′011”゛となシ、結
果として、マシンサイクルが6τであることが指示され
たことになる@即ちマイクロ命令による指定、ノ1−ド
ウエア制御各部分からの指定の中の最も長いサイクル指
定が有効になる。
When the machine cycle specified by the microinstruction is 5τ, "o o i" is set in register 2. On the other hand, "011" is set in register 1 due to a hardware control request unrelated to the execution of the microinstruction.Here, bit 1 and bit 2 are set at the same time (pa 1) because This is because the part of the hardware control part that requests 5τ sets bit 2, and the part that requests 6τ sets bit 1. The logical sum of the registers 1 and 2 above is 0'011'', and as a result, the machine cycle is 6τ. The longest cycle specification among the specifications from is valid.

このようにしてマシンサイクルが可変制御されることに
より、先行制御、キャッシュメモリ制御など、ハードウ
ェア制御の比率の高い処理装置であっても、マイクロ命
令によるマシンサイクル指定を可能とし、ハードウェア
制御によるマシンサイクル指定との共存を実現でき、こ
れによって、実行時間にばらつきのある動作があっても
、効率的なマシンの利用ができる。
By controlling the machine cycle variably in this way, even in processing devices with a high ratio of hardware control, such as advance control and cache memory control, it is possible to specify machine cycles using microinstructions. Coexistence with machine cycle specification can be realized, which allows efficient machine use even if there are operations with varying execution times.

〔発明の効果〕〔Effect of the invention〕

以上詳記したように本発明のデータ処理装置によれば、
マイクロ命令のマシンサイクル指定情報とハードウェア
制御によるマシンサイクル要求情報とをもとにマシンサ
イクルを決定する機構を設けて、先行制御、キャッシュ
メモリ制御など、ハードウェア制御の比率の高い処理装
置であっても、マイクロ命令によるマシンサイクル指定
を可能とし、ノ・−ドウエア制御によるマシンサイクル
指定との共存を実現したもので、これによって、実行時
間にばらつきのある動作があっても、効率的なマシンの
利用ができる0
As detailed above, according to the data processing device of the present invention,
A mechanism is provided to determine the machine cycle based on the machine cycle specification information of microinstructions and the machine cycle request information based on hardware control. However, it is possible to specify a machine cycle using microinstructions, and it is possible to coexist with machine cycle specification using hardware control. 0 available

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

第1図は本発明の一実施例を示すブロック図、第2図乃
至第5図はそれぞれ上記実施例の動作を説明するための
もので、第2図はマシンサイクル指定ビットとマシンサ
イクルとの対応を示す図、第3図はマシンサイクル指定
コードとその内容を示す図、第4図は基本クロックとマ
シンサイクル指定コードに従いクロック発生回路より出
力される可変クロックとの関係を示すタイムチャート、
第5図は上記実施例に於ける各部の信号状態を示す図、
第6図はマイクロ命令の形式を示す図である。 1.2・・・レジスタ、3・・・マシンサイクル指定回
路、4・・・クロック発生回路、10・・・ノ1−ドウ
エア制御部。 出願人代理人 弁理士 鈴 江 武 彦第1図 第2図 第3図 第4図 第5図 第6図
FIG. 1 is a block diagram showing one embodiment of the present invention, FIGS. 2 to 5 are for explaining the operation of the above embodiment, and FIG. 2 shows the relationship between machine cycle designation bits and machine cycles. 3 is a diagram showing the machine cycle designation code and its contents; FIG. 4 is a time chart showing the relationship between the basic clock and the variable clock output from the clock generation circuit according to the machine cycle designation code;
FIG. 5 is a diagram showing the signal status of each part in the above embodiment,
FIG. 6 is a diagram showing the format of a microinstruction. 1.2...Register, 3...Machine cycle designation circuit, 4...Clock generation circuit, 10...No.1-Dware control section. Applicant's Representative Patent Attorney Takehiko Suzue Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】[Claims] マイクロ命令のマシンサイクルを指定する部分を保持す
る第1の手段と、ハードウェア制御によるマシンサイク
ルの要求を指示する第2の手段と、前記第1の手段と第
2の手段の出力内容に従ってマシンサイクルを決定する
マシンサイクル指定回路と、このマシンサイクル指定回
路により指定された周期のクロックを出力するクロック
発生回路とを具備し、ハードウェア制御による要求に応
じてマシンサイクルを変化させることを特徴としたデー
タ処理装置。
a first means for holding a part of a microinstruction that specifies a machine cycle; a second means for instructing a request for a machine cycle by hardware control; It is characterized by comprising a machine cycle designation circuit that determines the cycle, and a clock generation circuit that outputs a clock with a period designated by the machine cycle designation circuit, and changes the machine cycle according to a request by hardware control. data processing equipment.
JP16057084A 1984-07-31 1984-07-31 Data processor Pending JPS6139131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16057084A JPS6139131A (en) 1984-07-31 1984-07-31 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16057084A JPS6139131A (en) 1984-07-31 1984-07-31 Data processor

Publications (1)

Publication Number Publication Date
JPS6139131A true JPS6139131A (en) 1986-02-25

Family

ID=15717822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16057084A Pending JPS6139131A (en) 1984-07-31 1984-07-31 Data processor

Country Status (1)

Country Link
JP (1) JPS6139131A (en)

Similar Documents

Publication Publication Date Title
JPH06236268A (en) Apparatus and method for judgment of length of instruction
JP2007520766A (en) Apparatus and method for selectable hardware accelerator in data driven architecture
JPH06139189A (en) Common bus arbitrating mechanism
JPH077385B2 (en) Data processing device
JPS6315608B2 (en)
JPH0683582A (en) Data arithmetic operation unit
EP0240606B1 (en) Pipe-line processing system and microprocessor using the system
JPS6139131A (en) Data processor
JPS6161416B2 (en)
JP3562215B2 (en) Microcomputer and electronic equipment
JP3070926B2 (en) Hardware bit coder
JP3151832B2 (en) DMA controller
JPH01273132A (en) Microprocessor
JPH0353326A (en) Information processor
JPS6146552A (en) Information processor
JP2731740B2 (en) Parallel computer with communication register
JP3493768B2 (en) Data processing device
KR100233289B1 (en) Apparatus for checking data dependency in register file
JPS62147545A (en) Processing system for transfer instruction of information processor
JPS6057603B2 (en) arithmetic processing unit
JPH0158528B2 (en)
JPH0218732B2 (en)
JP2003029965A (en) Microprocessor
JPS62226337A (en) Electronic computer
JPH05100846A (en) Accumulator designation device