JPS61117653A - Data processor - Google Patents

Data processor

Info

Publication number
JPS61117653A
JPS61117653A JP59237653A JP23765384A JPS61117653A JP S61117653 A JPS61117653 A JP S61117653A JP 59237653 A JP59237653 A JP 59237653A JP 23765384 A JP23765384 A JP 23765384A JP S61117653 A JPS61117653 A JP S61117653A
Authority
JP
Japan
Prior art keywords
signal
microprocessor
period
clock
gate
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
JP59237653A
Other languages
Japanese (ja)
Inventor
Hidehiro Tomioka
富岡 秀宏
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 JP59237653A priority Critical patent/JPS61117653A/en
Publication of JPS61117653A publication Critical patent/JPS61117653A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To shorten the instruction execution time by providing an oscillator which generates a reference signal having a period of 1/(an integer) of that of the clock signal of a microprocessor, a frequency divider, etc. to extend the clock period. CONSTITUTION:An oscillated output signal 100 of an oscillator 1 is inputted to the shift pulse input of a shift register 2 and an input of an AND gate 4. The phase in the register 2 is shifted successively by a time equal to the period of the shift pulse of the signal 100, and signals 102 and 103 are outputted and are inputted to a NAND gate 3. An output signal 105 is inputted to a reset input terminal RS synchronized with the shift pulse. An output signal 104 of the gate 3 is inputted to the AND gate 4, and an output signal 106 of the gate 4 is inputted as a signal 107 to a microprocessor 6 through a frequency divider 5. In such a case, the signal 100 has a quarter period of the signal 107, and the clock period can be extended.Thus, the instruction execution time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプロセサのデータ取込みタイミング
制御をなすデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device that controls data acquisition timing of a microprocessor.

〔従来の技術〕[Conventional technology]

従来、マイクロプロセサを用いたデータ処理装置として
は、例えば第3図に示すようなものがある。図中20は
マイクロプロセサ、21はクロック信号発生回路、22
はウェイト制御、23はメモリ、24は入出力インター
フェイスである。そして、メモリ23のアクセスタイム
、あるいは入出力インク7エース24の応答時間とマイ
クロプロセサ20の読み込みタイミングとの整調をとる
必要がある時、待ち合わせのためのサイクル(以後単に
ウェイトサイクルと称す。)を1サイクル以上挿入する
ことにより、データ取り込み時間を遅延させるという方
法がとられていた。
2. Description of the Related Art Conventionally, as a data processing device using a microprocessor, there is one shown in FIG. 3, for example. In the figure, 20 is a microprocessor, 21 is a clock signal generation circuit, and 22
2 is a wait control, 23 is a memory, and 24 is an input/output interface. When it is necessary to adjust the access time of the memory 23 or the response time of the input/output ink 7ace 24 and the read timing of the microprocessor 20, a cycle for waiting (hereinafter simply referred to as a wait cycle) is used. A method has been used in which the data acquisition time is delayed by inserting one or more cycles.

〔解決すべき問題点〕[Problems to be solved]

上記従来のデータ処理装置にあっては、1ウエイトサイ
クルの時間は、マイクロプロセサに供給されるクロック
信号の周期に等しく、従ってマイクロプロ竜すの読み込
みタイミングの調整は、前記周期の整数倍に限定されて
いた。このため、メモリ23あるいは入出力インターフ
ェイス24からのデータのマイクロプロセサ20のデー
タ入力端子への到達時間と、マイクロプロ七?20の読
ミ込ミタイミングとの差がクロック周期と比して極めて
小さい場合1、ウェイトサイクルを挿入することにより
読み込みタイミングが1クロック周期分遅延して命令実
行時間が増大するという欠点があった。
In the conventional data processing device described above, the time of one wait cycle is equal to the period of the clock signal supplied to the microprocessor, and therefore the adjustment of the read timing of the microprocessor is limited to an integral multiple of the period. It had been. For this reason, the arrival time of data from the memory 23 or the input/output interface 24 to the data input terminal of the microprocessor 20 and the microprocessor 7? If the difference between the reading timing and the reading timing in 20 is extremely small compared to the clock cycle, the disadvantage is that inserting a wait cycle delays the reading timing by one clock cycle, increasing the instruction execution time. .

C問題点の解決手段〕 本発明は上記従来の問題点を解決し、マイクロプロセサ
がデータバスよりデータを読み込むタイミングを調整す
る必要のあるiシンサイクル時に必要にして最小の時間
だけクロック周期を拡大するととによシ、ウェイトサイ
クルを挿入することなくメモリあるいはIloとのタイ
ミングの同期をとることを可能とし、もって命令実行時
間を短縮することが可能なデータ処理装置を提供せんと
するものであって、その手段として、マイクロプロセサ
のクロック信号の整数分の1の周期を有する基S信号を
発生する発振器と、前記発振器の出力信号を所定の北本
に分周し、マイクロプロセサのり四ツク信号を発生する
分周器と、前記基準信号の分周器への供給を、マイクロ
プロセサから出力されるりはツク周期延長要求信号に応
答して、1基準信号周期間以上停止し、もってマイクロ
プロセサのクロック信号周期を1基準信号周期相当時間
以上延長するクロック供給手段とを有するデータ処塩装
置を提供せんとするものである。
Solution to Problem C] The present invention solves the above-mentioned conventional problems, and expands the clock period by the minimum necessary time during the i-syncycle, when the microprocessor needs to adjust the timing at which data is read from the data bus. Therefore, it is an object of the present invention to provide a data processing device that can synchronize timing with memory or Ilo without inserting wait cycles, thereby shortening instruction execution time. The means for this purpose includes an oscillator that generates a basic S signal having a cycle that is an integer fraction of the clock signal of the microprocessor, and an output signal of the oscillator that is frequency-divided to a predetermined frequency to generate a microprocessor signal. The supply of the reference signal to the frequency divider and the reference signal to the frequency divider is stopped for one reference signal period or more in response to a clock period extension request signal output from the microprocessor. It is an object of the present invention to provide a data processing device having a clock supply means for extending a signal period by a time equivalent to one reference signal period or more.

〔実開1 次に図面を参照して本発明の詳細な説明する。[Actual development 1 Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示ナブロック図、第2図
は、本実施例における各信号ツイン100〜107の波
形を示すタイムチャートである。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a time chart showing the waveforms of each signal twin 100 to 107 in this embodiment.

本実施例は、発振器1.シフトレジスタ2.N^NDゲ
ート3.ANDゲート49分周器5.及びマイクロプロ
セサ6によって構成される。
In this embodiment, the oscillator 1. Shift register 2. N^ND gate 3. AND gate 49 divider 5. and a microprocessor 6.

K1図において発振器lの発振出力信号100 Fi、
シフトレジスタ2のシフトパルス入力(CK)とAND
ゲート40入力となっている。77トレジスタVCオイ
テ、Q人、 QB、 QO,QD、 Qx、 Qy、 
Qa。
In diagram K1, the oscillation output signal of oscillator l is 100 Fi,
Shift pulse input (CK) of shift register 2 and AND
There are 40 gate inputs. 77 Tresister VC Oite, Q person, QB, QO, QD, Qx, Qy,
Qa.

およびQHは出力端子であり、入力されたシフトパルス
の周期に等しい時間だけ位相が順次77トした信号が得
られ、QaシよびQa両比出力端子りの信号102およ
び信号103がNANDゲート3へ入力している。さら
に、Qg出力端子よりの信号1O5riン7トレジスタ
のシフトパルス同期リセット入力端子(R8)へ入力さ
れる。QG、 Q)i Fi負論塩であり、翁は正論理
とする。
and QH are output terminals, and a signal whose phase is sequentially shifted by 77 times for a period equal to the period of the input shift pulse is obtained, and signals 102 and 103 from the Qa shift and Qa ratio output terminals are sent to the NAND gate 3. I am typing. Further, the signal from the Qg output terminal is input to the shift pulse synchronization reset input terminal (R8) of the input register. QG, Q) i Fi is a negative logic salt, and the old man is a positive logic.

前記NANDゲート3の出力信号104は、前記アンド
ゲート4の一方の入力となり、腋ANDゲート4の出力
信号106 if 、分周器5へ入力しており、該分周
器5の出力信号107は、マイクロプロセサ6のクロッ
ク信号入力端子(CK)へ入力されている。該マイクロ
プロ七す6の出力信号101は前記シフトレジスタ2の
77トデータ入力端子(SD)へ入力される。
The output signal 104 of the NAND gate 3 becomes one input of the AND gate 4, and the output signal 106 if of the armpit AND gate 4 is input to the frequency divider 5, and the output signal 107 of the frequency divider 5 is , are input to the clock signal input terminal (CK) of the microprocessor 6. The output signal 101 of the microprocessor 76 is input to the data input terminal (SD) of the shift register 2.

ここで、該マイクロプロセサ6の出力信号101は命令
サイクル中、オペレーションコード7エツチサイクルを
表わす出力信号で、本実施例において、クロック信号周
期延長要求信号として、前記シフトレジスタ2のシフト
データ入力端子(SD)へ入力されている。しかし、該
信号は任意であり、例えば、マイクロプロセサより出力
されるメモリアクセス要求信号、入出力要求信号でも何
ら支障がな^。また該信号は正論塩であるとしである。
Here, the output signal 101 of the microprocessor 6 is an output signal representing the operation code 7 etching cycle during the instruction cycle. SD). However, the signal is arbitrary, and for example, a memory access request signal or an input/output request signal output from a microprocessor may be used without any problem. It is also assumed that the signal is a valid signal.

本実施例では、発振器10発振出力信号100は、マイ
クロプロセサ6のクロック信号107の周期の4分の1
の周期であり、分周器5の分周*Fi4分のIである。
In this embodiment, the oscillation output signal 100 of the oscillator 10 is one quarter of the period of the clock signal 107 of the microprocessor 6.
The period is the frequency division of the frequency divider 5 *I divided by 4.

第2因(おいて一点鎖#Jは、クロック信号10701
周期を表わし、各々の周期を7’+、 T2. Taと
表わし、マイクロプロセサ6は、Tl、 ’h、 Ti
でオペレーションコード7エツチテイクルヲ形成してお
り、Tsの次のTIFi次のマシンサイクル(必ずしも
オペレーションコードフェッチサイクルとは限らない)
のものである。該1イクロプロセサ6Fi、オペレーシ
ョンコード7エツチテイクルにかいて、TxからTsへ
遷移するクロック信号が論JlOから論理lへ状態遷移
する時にデータをパスより読み込むものとする。
The second factor (in which the single-dot chain #J is the clock signal 10701
Representing periods, each period is 7'+, T2. The microprocessor 6 is expressed as Tl, 'h, Ti
The operation code 7 is formed in the TIFi next machine cycle (not necessarily the operation code fetch cycle) after Ts.
belongs to. In the microprocessor 6Fi and the operation code 7, it is assumed that data is read from the path when the clock signal that transitions from Tx to Ts makes a state transition from logic JIO to logic I.

さて、本実施例の動作を説明する。Now, the operation of this embodiment will be explained.

今、’J’、に:おいて、マイクロプロセサ6がオペレ
ーションコード7エツチナイクルに入ったことを示す信
号101がIEZ図に示すごとく、論ff11状態へ遷
移したとすると、該慝号はシフトレジスタ20シフトデ
ータ入力端子へ入力しているから、シフトレジスタ2の
出力端子Q1及びQoの出力信号102及び103 F
i、規定の位相だけシフトした出力となり、第2図に示
すように信号102は、信号101より信号100の5
−周期に等しい時間だけ後に論理0より論理IK状態遷
移し、信号103は信号102より信号100の1周期
に等しい時間だけ後に論理1よシ論理0に状態遷移する
。従って、前述のごとく信号104は、信号102と信
号103の論理和の否定であるから信号102が論理1
へ遷移すると、論理0へ遷移し、信号103が遅れて論
理0へ遷移すると、再び論!1へ遷移する。ゆえに、該
信号104は前記発振器1の出力信号100が入力して
いるANDゲート4のもう一方の人力信号であるから該
ANDゲート4の出力信号106は、信号104が論理
0の状態の間は論理0状態となる。
Now, in 'J', if the signal 101 indicating that the microprocessor 6 has entered the operation code 7, has transitioned to the logic ff11 state as shown in the IEZ diagram, then the signal 101 indicates that the microprocessor 6 has entered the operation code 7 Since it is input to the shift data input terminal, the output signals 102 and 103 F of the output terminals Q1 and Qo of the shift register 2
i, the output is shifted by a specified phase, and as shown in FIG.
The signal 103 transitions from a logic 1 to a logic 0 after a time equal to one period of the signal 102, and the signal 103 transitions from a logic 1 to a logic 0 after a time equal to one period of the signal 100. Therefore, as mentioned above, signal 104 is the negation of the logical sum of signal 102 and signal 103, so signal 102 is logic 1.
When the signal 103 transitions to logic 0, it transitions to logic 0, and when signal 103 transitions to logic 0 with a delay, it becomes logic again! Transition to 1. Therefore, since the signal 104 is the other human signal of the AND gate 4 into which the output signal 100 of the oscillator 1 is input, the output signal 106 of the AND gate 4 is It becomes a logical 0 state.

その後信号103に遅れて、信号105が論理0へ遷移
すると、信号105はシフトレジスタ2のシフトパルス
同期リセット端子へ接続されているから、シフトレジス
タ2のすべての出力は信号105が論理0へ遷移してか
ら、シフトパルスである信号100の論理0から論理l
への状!1遷移に同期してリセットされる。ゆえ(、A
NDゲート4の出力信号106は第2図のごとく示され
、さらに該信号を4分1分周したマイクロプロセサ6の
クロック入力信号107は、Tz区間で発振器1の出力
信号100の1周期分延長される。
Then, after signal 103, when signal 105 transitions to logic 0, since signal 105 is connected to the shift pulse synchronization reset terminal of shift register 2, all outputs of shift register 2 are activated. Then, the signal 100, which is a shift pulse, changes from logic 0 to logic l.
Condition to! It is reset in synchronization with 1 transition. Therefore (, A
The output signal 106 of the ND gate 4 is shown as shown in FIG. 2, and the clock input signal 107 of the microprocessor 6, which is obtained by dividing this signal by 1/4, is extended by one cycle of the output signal 100 of the oscillator 1 in the Tz interval. be done.

従って、本実施例のマイクロプロセサ6は、T!区間が
延長された時間だけデータ読み込みタイミングが遅延し
九ことになる。
Therefore, the microprocessor 6 of this embodiment has T! The data loading timing will be delayed by the length of time the section is extended.

ところで、本実施例では、分局率は4分1としNAND
ゲート3の入力信号102 、103はシフトレジスタ
のQy 、 Qoから取り出したが、これらは自由に設
定することができ、得られる遅延時間本任意である。
By the way, in this embodiment, the division ratio is set to 1/4 and NAND
The input signals 102 and 103 of the gate 3 are taken out from the shift registers Qy and Qo, but these can be set freely, and the resulting delay time is arbitrary.

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

以上述べたように、本発明によれば、マイクロプロセサ
のクロック信号の整数分の1の周期を有する基準信号を
発生する発掘器と、該発振器の出力信号を所定の比f1
.に分周しマイクロプロセサのクロック信号を発生する
分周器と、マイクロプロセサから出力されるクロック周
期延長要求信号に応答して、分周器へのクロック供給を
1基準信号周期間以上停止し、もってマイクロプロセサ
のクロック信号周期を1基準信号周期相当以上延長する
クロック供給制御手段とを有する構成としたため、マイ
クロプロセサへ入力されるクロック信号の周期に制限さ
れることなく、マイクロプロセサのデータ読み込みタイ
ミングを必要にして最小限の時間だけ遅延させることが
可能であり、命令実行時間を短縮できるという効果があ
る。
As described above, according to the present invention, there is provided an excavator that generates a reference signal having a cycle that is an integer fraction of a clock signal of a microprocessor, and an output signal of the oscillator that is set at a predetermined ratio f1.
.. a frequency divider that generates a clock signal for the microprocessor, and in response to a clock cycle extension request signal output from the microprocessor, stops clock supply to the frequency divider for one reference signal cycle or more; Since the configuration includes a clock supply control means that extends the clock signal period of the microprocessor by more than the equivalent of one reference signal period, the data read timing of the microprocessor is not limited to the period of the clock signal input to the microprocessor. This has the effect of reducing the instruction execution time by delaying the execution time by the minimum amount of time required.

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

111図は、本発明の一実施例を示すブロック図、第2
図は、本実施例の各信号の波形を示すタイムチャート、 そして、第3図は、マイクロプロセサを用いた従来のデ
ータ処理装置を示すブロック図である。
FIG. 111 is a block diagram showing one embodiment of the present invention.
The figure is a time chart showing the waveforms of each signal in this embodiment, and FIG. 3 is a block diagram showing a conventional data processing device using a microprocessor.

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセサのクロック信号の整数分の1の周期を
有する基準信号を発生する発振器と、該発振器の出力信
号を所定の比率に分周しマイクロプロセサのクロック信
号を発生する分周器と、マイクロプロセサから出力され
るクロック周期延長要求信号に応答して、分周器へのク
ロック供給を1基準信号周期間以上停止し、もってマイ
クロプロセサのクロック信号周期を1基準信号周期相当
以上延長するクロック供給制御手段とを有するデータ処
理装置。
an oscillator that generates a reference signal having a cycle that is an integer fraction of a clock signal for a microprocessor; a frequency divider that divides the output signal of the oscillator into a predetermined ratio to generate a clock signal for the microprocessor; Clock supply control that stops clock supply to the frequency divider for one reference signal period or more in response to a clock period extension request signal output from the frequency divider, thereby extending the clock signal period of the microprocessor for one reference signal period or more. A data processing device having means.
JP59237653A 1984-11-13 1984-11-13 Data processor Pending JPS61117653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59237653A JPS61117653A (en) 1984-11-13 1984-11-13 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59237653A JPS61117653A (en) 1984-11-13 1984-11-13 Data processor

Publications (1)

Publication Number Publication Date
JPS61117653A true JPS61117653A (en) 1986-06-05

Family

ID=17018509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59237653A Pending JPS61117653A (en) 1984-11-13 1984-11-13 Data processor

Country Status (1)

Country Link
JP (1) JPS61117653A (en)

Similar Documents

Publication Publication Date Title
US4419739A (en) Decentralized generation of synchronized clock control signals having dynamically selectable periods
US5268656A (en) Programmable clock skew adjustment circuit
US5948111A (en) Real time comparison of integrated circuit operation
JPS6227813A (en) Phase synchronization system
JPH0311689B2 (en)
JP3739431B2 (en) Integrated circuit and data processing apparatus
JPH11205293A (en) Inner clock synchronizing method/circuit
JPS61117653A (en) Data processor
US4977581A (en) Multiple frequency clock system
US6928575B2 (en) Apparatus for controlling and supplying in phase clock signals to components of an integrated circuit with a multiprocessor architecture
JP2002328744A (en) Semiconductor integrated circuit device
JPH02255908A (en) Clock signal supplying device and electronic computer
JP2001035148A (en) Data processor
JP2000163155A (en) Data processing circuit
KR960012470B1 (en) Programmable time-out timer
JPS59176863A (en) Timer synchronizing system
JPH02280263A (en) Microprocessor
JPH0434169B2 (en)
JPH05316086A (en) Clock transfer circuit
JPH02192315A (en) Pulse generator
JPH0673125B2 (en) Synchronous clock generator
JPS5947334B2 (en) Clock control method
JPH0786889A (en) Pulse signal generating circuit
JPS5975166A (en) Timing generator
JPH04363914A (en) Synchronization clock generator