JPH0643961A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0643961A
JPH0643961A JP4194419A JP19441992A JPH0643961A JP H0643961 A JPH0643961 A JP H0643961A JP 4194419 A JP4194419 A JP 4194419A JP 19441992 A JP19441992 A JP 19441992A JP H0643961 A JPH0643961 A JP H0643961A
Authority
JP
Japan
Prior art keywords
register
clock
instruction
registers
clocks
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
JP4194419A
Other languages
Japanese (ja)
Inventor
Toshinao Ide
敏直 井手
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4194419A priority Critical patent/JPH0643961A/en
Publication of JPH0643961A publication Critical patent/JPH0643961A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To perform data processing, program by program, without any waste by selecting the optimum clock for the delay time between registers as a clock of each register with a software instruction. CONSTITUTION:The data processor consists of plural clock oscillators 10 and 11, a clock selection indication register 1 which is set with a software instruction, and selecting circuits 6-9 which select and supply clocks to respective registers 2-5 according to contents indicated by the clock selection indication register 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データ処理装置に関
し、特にレジスタのクロック信号の制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device, and more particularly to control of a clock signal of a register.

【0002】[0002]

【従来の技術】従来のデータ処理装置は単一のクロック
信号でレジスタにデータをセットし、その周波数はレジ
スタ間の最大遅延時間に合わせて設定されている。
2. Description of the Related Art A conventional data processor sets data in a register with a single clock signal, and its frequency is set according to the maximum delay time between registers.

【0003】またメモリ等の読み出し時間がかなり大き
い場合はレジスタ間のクロックをウェイトさせ、メモリ
等のデータが到達するまで待たせていた。
Further, when the reading time of the memory or the like is considerably long, the clock between the registers is made to wait and the data of the memory or the like is kept waiting.

【0004】また単一のクロックではなく複数のクロッ
クを設定、使用した場合、上述の最大遅延時間よりかな
り早く到達したデータ類に関して早くセットするように
して有効利用が図られてはいる。
Further, when a plurality of clocks are set and used instead of a single clock, effective use is achieved by setting the data that arrives much earlier than the maximum delay time earlier.

【0005】図2(A)は従来のデータ処理装置のレジ
スタとクロック信号の関係を示すブロック図である。図
においてレジスタ21とレジスタ23の間には論理回路
25,26が存在し、レジスタ22と23の間には論理
回路26が存在し、またレジスタ23と24の間には論
理回路27が存在する。さらにレジスタ21〜24のク
ロックは単一のクロックS1とする。
FIG. 2A is a block diagram showing the relationship between registers and clock signals in a conventional data processing device. In the figure, there are logic circuits 25 and 26 between a register 21 and a register 23, a logic circuit 26 between the registers 22 and 23, and a logic circuit 27 between the registers 23 and 24. . Further, the clock of the registers 21 to 24 is a single clock S1.

【0006】この場合、クロックS1の周波数が10M
Hzであればクロック間の時間は100nsでレジスタ
21や22からレジスタ24に遷移するのに200ns
が必要である。この場合に論理回路25と26の遅延時
間および論理回路27の遅延時間が100ns近くなら
ば有効利用されている。図2(B)はクロック信号S1
とレジスタ21〜24の遷移状態を示す図である。
In this case, the frequency of the clock S1 is 10M.
If the frequency is Hz, the time between clocks is 100 ns and it takes 200 ns to transit from the register 21 or 22 to the register 24.
is necessary. In this case, if the delay time of the logic circuits 25 and 26 and the delay time of the logic circuit 27 are close to 100 ns, they are effectively used. FIG. 2B shows the clock signal S1.
It is a figure which shows the transition state of the registers 21-24.

【0007】しかし、論理回路25〜27の遅延時間が
それぞれ50ns程度であればレジスタ23のクロック
は図2(B)のタイミングチャートの破線で示すように
S1の中間のクロックS1′でセットでき、またレジス
タ23からレジスタ24の遷移も50nsでできるため
(レジスタ23)(レジスタ24)のような破線の遷移
で動作できる。従ってレジスタ23に入力するクロック
としてクロックS1の中間の位相のクロックS1′を採
用することによりレジスタ21や22からレジスタ24
への遷移は上述の半分の100nsの時間で完了する。
However, if the delay time of each of the logic circuits 25 to 27 is about 50 ns, the clock of the register 23 can be set at the intermediate clock S1 'of S1 as shown by the broken line in the timing chart of FIG. Further, since the transition from the register 23 to the register 24 can be performed in 50 ns, the operation can be performed by the transition of the broken line like (register 23) (register 24). Therefore, by adopting the clock S1 ′ having an intermediate phase of the clock S1 as the clock input to the register 23, the registers 21 and 22 to the register 24 can be used.
The transition to is completed in 100 ns, which is half the time described above.

【0008】またあるプログラムが動作するときレジス
タ21からレジスタ23のパスはなうという場合もあり
うるが、このときは論理回路25の遅延時間は無視で
き、レジスタ22からレジスタ23の間の論理回路26
の遅延時間だけを考慮すれば良いためもっと早くレジス
タ23にセット可能となり効率アップを計ることができ
る。しかし従来のデータ処理装置ではクロックを一旦決
定すると固定的となり変更できないため遅延時間の短か
いパスを通っても有効利用はできなかった。
In some cases, the path from the register 21 to the register 23 may be lost when a certain program operates. At this time, the delay time of the logic circuit 25 can be ignored, and the logic circuit between the register 22 and the register 23 can be ignored. 26
Since it is only necessary to consider the delay time of, the register 23 can be set earlier and the efficiency can be improved. However, in the conventional data processing device, once the clock is determined, it becomes fixed and cannot be changed, so that it cannot be effectively used even if it passes through a path with a short delay time.

【0009】[0009]

【発明が解決しようとする課題】上述したように従来の
クロック制御方式では一旦ハードウェア設計が終了した
らその時点で固定的となりその後の変更は不可能であっ
た。すなわちクロックの周波数を変更通する場合、従来
の技術ではクロック発振器の変更だけでは済まず遅延時
間の厳しいパスについてはハードウェアの変更が伴なっ
た。またソフトウェアによってはデータが遅延時間の短
かいパスのみを通る場合に、固定されたクロック信号で
は無駄な時間を費やすことになり性能アップを妨げてい
た。
As described above, in the conventional clock control system, once the hardware design is completed, it becomes fixed at that point and cannot be changed thereafter. That is, in the case of changing the frequency of the clock, in the conventional technique, only the change of the clock oscillator is necessary, and the change of the hardware is accompanied with respect to the path having a strict delay time. Further, depending on the software, when the data passes through only the path having a short delay time, a fixed clock signal wastes time, which hinders performance improvement.

【0010】[0010]

【課題を解決するための手段】本発明のデータ処理装置
は、データをセットするためのレジスタと、前記レジス
タにデータをセットするための位相の異なる複数のクロ
ックとを出力する発振器と、前記複数のクロックから所
望のクロックを選択する指示内容を格納する指示レジス
タと、前記指示レジスタに格納された指示内容により前
記複数のクロックから所望のクロックを選択して前記レ
ジスタに与える選択回路とを備えている。
A data processing apparatus according to the present invention includes a register for setting data, an oscillator for outputting a plurality of clocks having different phases for setting data in the register, and the plurality of oscillators. An instruction register for storing instruction content for selecting a desired clock from the clocks, and a selection circuit for selecting a desired clock from the plurality of clocks according to the instruction content stored in the instruction register and giving the selected clock to the register. There is.

【0011】[0011]

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

【0012】図1は本発明の一実施例のブロック図であ
る。レジスタ2と論理回路13の間に論理回路12が設
けられ、レジスタ3とレジスタ4の間に論理回路13が
設けられ、レジスタ4とレジスタ5の間に論理回路14
が設けられている。
FIG. 1 is a block diagram of an embodiment of the present invention. The logic circuit 12 is provided between the register 2 and the logic circuit 13, the logic circuit 13 is provided between the register 3 and the register 4, and the logic circuit 14 is provided between the register 4 and the register 5.
Is provided.

【0013】ソフトウェア命令によりクロック選択指示
レジスタ1に指示された内容はレジスタ2,3,4,5
のクロックの選択を指示する。
The contents instructed to the clock selection instruction register 1 by the software instruction are the registers 2, 3, 4, 5
Instruct the selection of the clock.

【0014】まずソフトウェア命令によって指示された
クロック選択指示レジスタ1の内容は選択回路6,7,
8,9に送られる。選択回路6,7,8,9はクロック
発振器10,11より送られるクロックS1,S2を入
力とし選択信号15,16,17,18により各レジス
タ間の遅延時間を最適にするように各レジスタ2,3,
4,5のクロックを選択することにより装置として性能
向上を計る。
First, the contents of the clock selection instruction register 1 instructed by the software instruction are the selection circuits 6, 7,
Sent to 8 and 9. The selection circuits 6, 7, 8 and 9 receive the clocks S1 and S2 sent from the clock oscillators 10 and 11 as input, and select signals 15, 16, 17 and 18 to optimize the delay time between the registers. , 3,
The performance of the device is improved by selecting 4, 5 clocks.

【0015】すなわち図2の場合と同様に図1において
も論理回路13,14がクロックS1の周期の半分以下
の遅延時間の場合、前述したように論理回路12を通ら
ない(即ちレジスタ2からレジスタ4の遷移のない)プ
ログラムの場合、あらかじめソフトウェア命令にてクロ
ック選択指示レジスタ1にセットすることによりクロッ
クS1の中間位相のクロックS2を選択しレジスタに送
ることによりレジスタ3からレジスタ5の間は従来の半
分の時間で動作完了となる。
That is, as in the case of FIG. 2, in FIG. 1 as well, when the logic circuits 13 and 14 have a delay time of half the period of the clock S1 or less, the logic circuit 12 does not pass through as described above (that is, from the register 2 to the register). In the case of a program (without transition of 4), the clock selection instruction register 1 is set in advance by a software instruction to select the clock S2 of the intermediate phase of the clock S1 and sent to the register, so that the area between the registers 3 and 5 is conventionally changed. The operation is completed in half the time.

【0016】[0016]

【発明の効果】以上説明したように本発明は、各レジス
タのクロックとして位相の異なる複数のクロックのなか
から最適なクロックを選択することによりプログラム毎
に無駄のない最適な処理装置にすることができる効果が
ある。
As described above, according to the present invention, by selecting an optimum clock from among a plurality of clocks having different phases as a clock of each register, it is possible to make an optimum processing device with no waste for each program. There is an effect that can be done.

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

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

【図2】(A)および(B)はそれぞれ従来のデータ処
理装置のブロック図およびタイムチャートである。
2A and 2B are a block diagram and a time chart, respectively, of a conventional data processing device.

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

1 クロック選択指示レジスタ 2〜5,21〜24 レジスタ 6〜9 選択回路 10,11 クロック発振器 12,13,14,25,26,27 論理回路 1 Clock selection instruction register 2-5, 21-24 register 6-9 Selection circuit 10, 11 Clock oscillator 12, 13, 14, 25, 26, 27 Logic circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データをセットするためのレジスタと、
前記レジスタにデータをセットするための位相の異なる
複数のクロックとを出力する発振器と、前記複数のクロ
ックから所望のクロックを選択する指示内容を格納する
指示レジスタと、前記指示レジスタに格納された指示内
容により前記複数のクロックから所望のクロックを選択
して前記レジスタに与える選択回路とを含むことを特徴
とするデータ処理装置。
1. A register for setting data,
An oscillator for outputting a plurality of clocks having different phases for setting data in the register, an instruction register for storing instruction content for selecting a desired clock from the plurality of clocks, and an instruction stored in the instruction register A data processing device, comprising: a selection circuit that selects a desired clock from the plurality of clocks according to contents and supplies the selected clock to the register.
【請求項2】 指示レジスタにソフトウェア命令により
指示内容をセットすることを特徴とする請求項1記載の
データ処理装置。
2. The data processing apparatus according to claim 1, wherein the instruction content is set in the instruction register by a software instruction.
JP4194419A 1992-07-22 1992-07-22 Data processor Withdrawn JPH0643961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4194419A JPH0643961A (en) 1992-07-22 1992-07-22 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4194419A JPH0643961A (en) 1992-07-22 1992-07-22 Data processor

Publications (1)

Publication Number Publication Date
JPH0643961A true JPH0643961A (en) 1994-02-18

Family

ID=16324293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4194419A Withdrawn JPH0643961A (en) 1992-07-22 1992-07-22 Data processor

Country Status (1)

Country Link
JP (1) JPH0643961A (en)

Similar Documents

Publication Publication Date Title
EP0596656A2 (en) Programmable clock skew adjustment circuit
JP2007133527A (en) Clock signal generation circuit, semiconductor integrated circuit, and frequency-division rate control method
JPH0784863A (en) Information processor and semiconductor storage device suitable to the same
US5305277A (en) Data processing apparatus having address decoder supporting wide range of operational frequencies
JP3368815B2 (en) Flip-flop circuit
JPS595736A (en) Timing generating circuit
US5426771A (en) System and method for performing high-sped cache memory writes
JPH0643961A (en) Data processor
JP2003067324A (en) Interface circuit
KR100190856B1 (en) Inner clock signal dividing control method
JP2747353B2 (en) Address generator
JP2870812B2 (en) Parallel processor
JP2001134341A (en) Clock supply system
JPH0660202A (en) Microprocessor
JPH04369064A (en) Method and device for controlling interruption processing
JPH04255028A (en) Microprocessor
KR19980050372A (en) Clock generator for data transmission synchronization
JPH04251331A (en) Information processor
JPH0818410A (en) Clock selection device
JPH09160665A (en) Processor unit
JPH06250982A (en) Phase locked loop for plural processor
JPH06187148A (en) Order control circuit for information processor
JPH0792902A (en) Programmable controller
JPH06203477A (en) Magnetic disk device
JPH1064282A (en) Associative memory

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