JPH0434169B2 - - Google Patents
Info
- Publication number
- JPH0434169B2 JPH0434169B2 JP61165412A JP16541286A JPH0434169B2 JP H0434169 B2 JPH0434169 B2 JP H0434169B2 JP 61165412 A JP61165412 A JP 61165412A JP 16541286 A JP16541286 A JP 16541286A JP H0434169 B2 JPH0434169 B2 JP H0434169B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- clock
- signal
- stretch
- system 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.)
- Expired - Lifetime
Links
- 230000003111 delayed effect Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 3
- 239000000872 buffer Substances 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001934 delay Effects 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02B—INTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
- F02B75/00—Other engines
- F02B75/02—Engines characterised by their cycles, e.g. six-stroke
- F02B2075/022—Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle
- F02B2075/027—Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle four
Landscapes
- Microcomputers (AREA)
- Pulse Circuits (AREA)
Description
【発明の詳細な説明】
〔概要〕
この発明は、システムクロツクストレツチ回路
をデータ処理装置にもうけておき、処理実行中
に、通知されたシステムクロツク遅延信号に基づ
いて、システムクロツクを伸張することにより、
低速デバイスのアクセス時などにシステムクロツ
クの周期を伸張するようにしている。[Detailed Description of the Invention] [Summary] The present invention provides a system clock stretch circuit in a data processing device, and stretches the system clock based on a notified system clock delay signal during processing. By doing so,
The system clock cycle is extended when accessing low-speed devices.
本発明は、マイクロプロセツサなどに供給する
システムクロツクを伸張し得るよう構成したシス
テムクロツクストレツチ回路に関するものであ
る。
The present invention relates to a system clock stretch circuit configured to stretch a system clock supplied to a microprocessor or the like.
一般に、マイクロプロセツサなどを用いたシス
テムに対して、アクセスタイムの遅いデバイスや
メモリを接続する場合、ある種のマイクロプロセ
ツサは、低速で使用するための信号を入力する端
子が付いており、当該端子に所定の信号を入力す
ることによつて動作させ得る。しかし、このよう
な端子が付いていないものに対しては、例えば第
4図に示すような回路を用いてアクセスタイムの
遅いデバイスなどに適合した遅い周期を持つシス
テムクロツクを生成してマイクロプロセツサに供
給していた。以下第4図図示回路を説明する。
Generally, when connecting devices or memory with slow access times to a system using a microprocessor, some types of microprocessors are equipped with terminals for inputting signals for use at low speeds. It can be operated by inputting a predetermined signal to the terminal. However, for devices without such terminals, for example, a circuit as shown in Figure 4 is used to generate a system clock with a slow cycle suitable for devices with slow access times. It was supplied to Setsa. The circuit shown in FIG. 4 will be explained below.
第4図において、発振器11によつて発振され
たクロツクは位相変更回路13,14に供給さ
れ、所定位相例えば1/4クロツクサイクル分だけ
位相の遅れた2種のシステムクロツクCLKQおよ
びCLKEが発生され、出力されていた。この際、
システムに接続した最も遅いデバイスに適合する
ようなシステムクロツクを発生させるための定数
を予め設定したストレツチ時間作成用回路16か
らの指示に基づいて、ストレツチ回路15,12
が所定のクロツク分だけ伸張したシステムクロツ
クCLKQおよびCLKEを生成して出力するように
制御していた。 In FIG. 4, a clock oscillated by an oscillator 11 is supplied to phase change circuits 13 and 14, and two system clocks CLKQ and CLKE are generated at a predetermined phase, for example, with a phase delay of 1/4 clock cycle. It was generated and output. On this occasion,
Stretch circuits 15 and 12 operate based on instructions from stretch time generation circuit 16, which has preset constants to generate a system clock suitable for the slowest device connected to the system.
was controlled to generate and output system clocks CLKQ and CLKE extended by a predetermined clock amount.
従来の第4図に示すように回路は、マイクロプ
ロセツサを用いたシステムに接続された最も遅い
デバイスに適合するようなシステムクロツク
CLKQおよびCLKEの周期を固定的に発生するよ
うに設定していたため、一部にアクセスタイムの
遅いデバイスがあると全体としてのシステムクロ
ツクの周期を遅くしなければならず、スループツ
トが小さくなつてしまうという問題点があつた。
また、システム毎に入手によつてシステムクロツ
クの周期を遅くするか否かなどを設定しなければ
ならないという問題点があつた。
The conventional circuit shown in FIG.
Since the CLKQ and CLKE cycles were set to occur at a fixed rate, if there were some devices with slow access times, the overall system clock cycle had to be slowed down, reducing throughput. There was a problem with putting it away.
Another problem is that it is necessary to set whether or not to slow down the system clock cycle depending on the availability of each system.
本発明は、前記問題点を解決するために、デー
タ処理装置内に、分周された信号に同期した態様
で反転信号を生成するストレツチ回路をもうけ、
処理実行中に通知されたシステムクロツク遅延信
号に基づいて、周期を遅延させて、システムクロ
ツクを伸張するようにしている。
In order to solve the above-mentioned problems, the present invention includes a stretching circuit that generates an inverted signal in synchronization with the frequency-divided signal in a data processing device,
Based on the system clock delay signal notified during processing, the cycle is delayed and the system clock is expanded.
第1図は本発明の原理構成図を示す。図中、発
振器1は、水晶などを用いてクロツクを発振させ
るものである。 FIG. 1 shows a basic configuration diagram of the present invention. In the figure, an oscillator 1 oscillates a clock using a crystal or the like.
1/2分周回路2は、50%デユーテイを得るため
に発振器1によつて発振されたクロツクを分周す
るものである。 The 1/2 frequency divider circuit 2 divides the frequency of the clock oscillated by the oscillator 1 to obtain a 50% duty.
メモリアクセス信号/ソフト設定信号回路3
は、システムクロツクを遅延させるべきメモリな
どがアクセスされた場合に、ハード的あるいはソ
フト的に通知された入力信号C(システムクロツ
ク遅延信号)を保持するものである。 Memory access signal/software setting signal circuit 3
holds an input signal C (system clock delay signal) notified by hardware or software when a memory or the like to which the system clock should be delayed is accessed.
ストレツチ回路4は、メモリアクセス信号/ソ
フト設定信号回路3からの指示に対応した信号を
発生させるものである。 The stretch circuit 4 generates a signal corresponding to an instruction from the memory access signal/soft setting signal circuit 3.
クロツク位相変更回路5−1,5−2は、位相
例えば1/4サイクル分の位相の異なつた2種のシ
ステムクロツクCLKQおよびCLKEを発生させる
ものである。 The clock phase changing circuits 5-1 and 5-2 generate two types of system clocks CLKQ and CLKE having different phases, for example, by 1/4 cycle.
第1図に示す構成を採用し、入力信号Cをメモ
リアクセス信号/ソフト設定信号回路3に入力す
ると、当該メモリアクセス信号/ソフト設定信号
回路3は、ストレツチ回路4を制御してこの入力
信号Cが入力されれいる間、所定クロツク数だけ
遅延させた信号を生成させる。この所定クロツク
数だけ遅延された周期の長い信号は、クロツク位
相変更回路5−1,5−2によつて所定位相例え
ば1/4サイクル分だけ位相の異なるシステムクロ
ツクCLKQおよびCLKEが発生される。
When the configuration shown in FIG. 1 is adopted and the input signal C is input to the memory access signal/soft setting signal circuit 3, the memory access signal/soft setting signal circuit 3 controls the stretch circuit 4 to adjust the input signal C. is input, a signal delayed by a predetermined number of clocks is generated. These long-cycle signals delayed by a predetermined number of clocks are used to generate system clocks CLKQ and CLKE having a predetermined phase, for example, a phase difference of 1/4 cycle, by clock phase changing circuits 5-1 and 5-2. .
次に、第2図および第3図を用いて本発明の1
実施例構成および動作を詳細に説明する。
Next, using FIG. 2 and FIG.
The configuration and operation of the embodiment will be explained in detail.
第2図において、発振器1は水晶などを用いて
クロツクを発振するもの、FF2−1はクロツク
を1/2分周して50%デユーテイの信号を生成する
フリツプフロツプ、FF3−1はストレツチ回路
を構成するフリツプフロツプ、FF4−1はスト
レツチする/しないの判定を行うフリツプフロツ
プ、FF5−3およびFF5−4はクロツク位相変
更回路を構成するフリツプフロツプを表す。 In Figure 2, oscillator 1 is a device that oscillates a clock using a crystal or the like, FF2-1 is a flip-flop that divides the clock frequency by 1/2 to generate a 50% duty signal, and FF3-1 constitutes a stretch circuit. FF4-1 is a flip-flop for determining whether to stretch or not, and FF5-3 and FF5-4 are flip-flops constituting a clock phase changing circuit.
次に、第3図に示すタイムチヤートを用いて第
2図図示構成の動作を説明する。 Next, the operation of the configuration shown in FIG. 2 will be explained using the time chart shown in FIG.
第3図図中は、発振器1によつて発生された
クロツクの信号波形を示す。 In FIG. 3, the signal waveform of the clock generated by the oscillator 1 is shown.
図中は、クロツクをFF2−1によつて分
周した信号波形を示す。発振器1とFF2−1と
の間、およびFF2−1の出力端に接続されたバ
ツフアは、信号を夫々バツフアリングするもので
ある。 The figure shows a signal waveform obtained by frequency-dividing the clock by FF2-1. Buffers connected between the oscillator 1 and the FF 2-1 and to the output end of the FF 2-1 buffer signals, respectively.
図中およびは、第2図図中FF5−3の出
力端QおよびFF5−4の出力端Qから夫々出力
されるシステムクロツクCLKQおよびCLKEであ
る。信号(システムクロツクCLKQ)は、信号
(システムクロツクCLKE)よりも1/4クロツ
ク分だけ位相が進んでいる。これは、マイクロプ
ロセツサ例えばMC6809Eに供給する2相のシス
テムクロツクに対応するものである。信号およ
びのタイムチヤート中の実線部分は、第2図図
中入力信号としてLレベルを供給した場合(シ
ステムクロツクの遅延を行わない場合)のタイム
チヤートを示す。この場合には、第2図図中FF
3−1の出力端から第2図図示のようにHレベル
の信号がFF4−1の入力端Jに供給されるため、
システムクロツクCLKQおよびCLKEの周期の遅
延が行われることなく、第3図図中実線を用いて
表すような信号が生成されるものである。 2 and 3 are system clocks CLKQ and CLKE respectively output from the output terminal Q of FF 5-3 and the output terminal Q of FF 5-4 in FIG. The signal (system clock CLKQ) is ahead of the signal (system clock CLKE) by 1/4 clock in phase. This corresponds to a two-phase system clock supplied to a microprocessor such as the MC6809E. The solid line portions in the time charts of the signals and the signals in FIG. 2 show the time charts when L level is supplied as the input signal (when the system clock is not delayed). In this case, FF in Figure 2
As shown in FIG. 2, an H level signal is supplied from the output terminal of FF 3-1 to the input terminal J of FF 4-1.
The signals shown by the solid lines in FIG. 3 are generated without delaying the cycles of the system clocks CLKQ and CLKE.
一方、入力信号としてHレベルをFF3−1
に供給した場合(システムクロツクの遅延を行う
場合)には、FF3−1が信号によつて反転す
る信号をFF4−1の入力端子Jに供給するため、
システムクロツクCLKQおよびCLKEの周期が第
3図図中およびのタイムチヤート中の斜線を
施した部分のように延長される。これにより、ア
クセスタイムの遅いデバイスに対しても対応する
制御を行うことができる。 On the other hand, the H level is input as an input signal to FF3-1.
(when delaying the system clock), FF3-1 supplies a signal that is inverted depending on the signal to input terminal J of FF4-1.
The periods of the system clocks CLKQ and CLKE are extended as shown in the shaded areas in the time charts of FIG. This makes it possible to perform corresponding control even for devices with slow access times.
尚、システムクロツクCLKQおよびCLKEを遅
延させる入力信号(システムロツク遅延信号)
は、アクセスタイムの遅いデバイスがアクセスさ
れた時にハード的に検出して通知するようにすれ
ばよい。また、アクセスタイムの遅いメモリが専
有するアドレス例えば1000番地から9000番地まで
のいずれかのアドレスがアクセスされた場合に、
ソフト的にこれを検出して通知するようにしても
よい。 In addition, the input signal that delays the system clocks CLKQ and CLKE (system lock delay signal)
If a device with a slow access time is accessed, it should be detected by hardware and notified. Also, when an address exclusive to memory with slow access time, for example, any address from address 1000 to address 9000, is accessed,
This may be detected and notified by software.
以上説明したように、本発明によれば、処理実
行中に、システムクロツクを伸張する構成を採用
しているため、システムに接続されたアクセスタ
イムの遅いデバイスがアクセスされた場合にのみ
システムクロツクの周期を遅延させることが可能
となり、システム全体のスループツトを向上させ
ることができる。
As explained above, according to the present invention, the system clock is expanded during processing, so the system clock is expanded only when a device connected to the system with a slow access time is accessed. It becomes possible to delay the cycle of the lock, and the throughput of the entire system can be improved.
第1図は本発明の原理構成図、第2図は本発明
の1実施例構成図、第3図は第2図図示構成のタ
イムチヤート、第4図は従来回路例を示す。
図中、1は発振器、2は1/2分周回路、2−1,
3−1,4−1,5−3,5−4はフリツプフロ
ツプ(FF)、3はメモリアクセス信号/ソフト設
定信号回路、4はストレツチ回路、5−1,5−
2はクロツク位相変更回路を表す。
FIG. 1 is a diagram of the principle of the present invention, FIG. 2 is a diagram of an embodiment of the present invention, FIG. 3 is a time chart of the configuration shown in FIG. 2, and FIG. 4 is an example of a conventional circuit. In the figure, 1 is an oscillator, 2 is a 1/2 frequency divider, 2-1,
3-1, 4-1, 5-3, 5-4 are flip-flops (FF), 3 is a memory access signal/soft setting signal circuit, 4 is a stretch circuit, 5-1, 5-
2 represents a clock phase changing circuit.
Claims (1)
スを組み込んで処理を行うデータ処理装置におい
て、 マイクロプロセツサに供給するシステムクロツ
クを伸張し得るよう構成したシステムクロツクス
トレツチ回路をもうけ、 該システムクロツクストレツチ回路は、 発振器1によつて発振されたクロツクを分周す
る分周器2と、 この分周器2によつて分周された信号に同期し
た態様で反転信号を生成するストレツチ回路4
と、 このストレツチ回路4によつて反転された反転
信号の位相を所定量シフトした2種のシステムク
ロツクを生成するクロツク位相変更回路5とを備
え、 システムが処理を実行する間に、通知されたシ
ステムクロツク遅延信号に基づいて、上記ストレ
ツチ回路4によつて反転される反転信号の周期を
遅延させて上記クロツク位相変更回路5から出力
される2種のシステムクロツクを伸張するよう構
成したことを特徴とするシステムクロツクストレ
ツチ回路。[Scope of Claims] 1. In a data processing device that performs processing by incorporating a device with a slow access time into the system, a system clock stretch circuit configured to stretch a system clock supplied to a microprocessor is provided. , the system clock stretch circuit includes a frequency divider 2 that divides the frequency of the clock oscillated by the oscillator 1, and a frequency divider 2 that generates an inverted signal in synchronization with the frequency-divided signal by the frequency divider 2. Stretch circuit 4
and a clock phase changing circuit 5 that generates two types of system clocks by shifting the phase of the inverted signal inverted by the stretching circuit 4 by a predetermined amount. Based on the system clock delay signal, the period of the inverted signal inverted by the stretching circuit 4 is delayed to stretch the two types of system clocks output from the clock phase changing circuit 5. A system clock stretch circuit characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61165412A JPS6320517A (en) | 1986-07-14 | 1986-07-14 | System clock stretch circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61165412A JPS6320517A (en) | 1986-07-14 | 1986-07-14 | System clock stretch circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6320517A JPS6320517A (en) | 1988-01-28 |
| JPH0434169B2 true JPH0434169B2 (en) | 1992-06-05 |
Family
ID=15811920
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61165412A Granted JPS6320517A (en) | 1986-07-14 | 1986-07-14 | System clock stretch circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6320517A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5313108A (en) * | 1992-04-17 | 1994-05-17 | Picopower Technology, Inc. | Circuit for generating a stretched clock signal by one period or one-half period |
| JPH06295285A (en) * | 1993-02-15 | 1994-10-21 | Tokyo Electric Co Ltd | Interface device and printer using this device |
-
1986
- 1986-07-14 JP JP61165412A patent/JPS6320517A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6320517A (en) | 1988-01-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5564042A (en) | Asynchronous clock switching between first and second clocks by extending phase of current clock and switching after a predetermined time and appropriated transitions | |
| US4677433A (en) | Two-speed clock scheme for co-processors | |
| JP2001117666A (en) | Noninteger frequency dividing device | |
| JP2569514B2 (en) | Information processing device | |
| US4870299A (en) | Dynamic switching circuit for multiple asynchronous clock sources | |
| JPH06502264A (en) | Dynamically switchable multi-frequency clock generator | |
| US6049236A (en) | Divide-by-one or divide-by-two qualified clock driver with glitch-free transitions between operating frequencies | |
| US5045715A (en) | Circuit for generating stretched clock phases on a cycle by cycle basis | |
| JP2000100170A5 (en) | ||
| JPH0434169B2 (en) | ||
| US5506981A (en) | Apparatus and method for enhancing the performance of personal computers | |
| JPH11205293A (en) | Internal clock synchronization method and internal clock synchronization circuit | |
| JP2684806B2 (en) | Integrated circuit | |
| JPH07105173A (en) | Data processing device | |
| JP2003067324A (en) | Interface circuit | |
| JPH1153339A (en) | Microcomputer with pulse output function | |
| JPH07146842A (en) | Bus interface circuit | |
| JP2927096B2 (en) | Variable frequency oscillation circuit | |
| JPS6364588A (en) | Motor digital control device | |
| JP2533371Y2 (en) | Multi-phase clock generation circuit | |
| KR900000582B1 (en) | Clock switching control circuit of central processing unit | |
| JP2668215B2 (en) | Micro computer | |
| JP2001117811A (en) | Bus control circuit | |
| JP2565103B2 (en) | Output circuit | |
| JP2679471B2 (en) | Clock switching circuit |