JPH0818410A - Clock selection device - Google Patents

Clock selection device

Info

Publication number
JPH0818410A
JPH0818410A JP6146323A JP14632394A JPH0818410A JP H0818410 A JPH0818410 A JP H0818410A JP 6146323 A JP6146323 A JP 6146323A JP 14632394 A JP14632394 A JP 14632394A JP H0818410 A JPH0818410 A JP H0818410A
Authority
JP
Japan
Prior art keywords
signal
clock
selection
clock signal
storage means
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
JP6146323A
Other languages
Japanese (ja)
Inventor
Satomi Amano
聡巳 天野
Kazutoshi Hatano
一敏 波多野
Kazuhiko Hachiman
和彦 八幡
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6146323A priority Critical patent/JPH0818410A/en
Publication of JPH0818410A publication Critical patent/JPH0818410A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To provide a clock selection device for which the periodic fluctuation of output clock signals at the time of a clock signal selection operation is less, no fluctuation of a clock signal periodic at the time of selecting the same clock is present, a circuit scale is small and a restriction on the interval of clock signal selection is less. CONSTITUTION:This device is provided with a clock selection means 121 for selectively outputting one of the clock signals respectively generated from clock signal sources 101 and 102 as the clock signal 131 and the other one as the clock signal 132, a storage means 141 for storing clock selection instruction signals in synchronism with the clock signal 131, the storage means 142 for storing the output signals 134 in synchronism with the clock signal 132, a gate signal generation means 143 for generating gate signals by the signal 134 and the output signal 135 of the storage means 142 and a gate means for fixing the signal level of the clock signal 131 by the gate signal and outputting the clock signal 137. The signal 135 is used as the selection signal of the selection means 121.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数のクロック信号源
から基準クロックを選択出力し、デジタル回路に供給す
るクロック選択装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock selection device for selectively outputting a reference clock from a plurality of clock signal sources and supplying it to a digital circuit.

【0002】[0002]

【従来の技術】近年、複数のクロック信号より1個のク
ロック信号を選択しデジタル回路に供給するために、ク
ロック選択装置が多く利用されるようになっている(例
えば、特開昭63−169814号公報)。
2. Description of the Related Art In recent years, a clock selection device has been widely used to select one clock signal from a plurality of clock signals and supply it to a digital circuit (for example, Japanese Patent Laid-Open No. 63-169814). Issue).

【0003】デジタル回路に入力されるクロック信号の
周期は、デジタル回路が正常に動作できる最小周期より
常に長いことが必要である。よって、クロック選択装置
の出力クロック信号にハザード等が発生しないようにす
る必要がある。
The cycle of the clock signal input to the digital circuit must always be longer than the minimum cycle in which the digital circuit can operate normally. Therefore, it is necessary to prevent a hazard or the like from occurring in the output clock signal of the clock selection device.

【0004】以下に、従来のクロック選択装置の一例に
ついて説明を行う。図5は従来のクロック選択装置の構
成図である。以下に図5について説明する。
An example of a conventional clock selection device will be described below. FIG. 5 is a block diagram of a conventional clock selection device. FIG. 5 will be described below.

【0005】従来のクロック選択装置は、デジタル回路
に供給されるクロック信号511を発生するクロック信
号源501と、デジタル回路に供給されるクロック信号
512を発生するクロック信号源502と、CPUから
の選択指示タイミング信号557に同期してCPUから
の選択指示信号558を記憶する記憶手段542と、前
記タイミング信号557に同期してハイレベルを記憶
し、クリア信号555をもとにクリアされる記憶手段5
41と、前記記憶手段541の出力信号551をクロッ
ク信号511及び512にそれぞれ同期して記憶する記
憶手段521及び522と、前記記憶手段521及び5
22の反転出力信号531及び532を入力とし、信号
554を出力するNOR回路543と、前記記憶手段5
42の出力信号552を前記信号554に同期して記憶
する記憶手段544と、前記信号554を前記クロック
信号512に同期して記憶し、前記クリア信号555を
出力するクリア手段547と、前記記憶手段544の出
力信号553をもとに前記クロック信号511及び51
2からクロック信号556を選択出力するクロック選択
手段545と、前記信号554をもとに前記クロック選
択手段545の選択機能を停止し前記クロック信号55
6の信号レベルを固定とする選択機能禁止手段546と
で構成されている。
The conventional clock selection device selects from a clock signal source 501 for generating a clock signal 511 supplied to a digital circuit, a clock signal source 502 for generating a clock signal 512 supplied to a digital circuit, and a CPU. A storage unit 542 that stores the selection instruction signal 558 from the CPU in synchronization with the instruction timing signal 557, and a storage unit 5 that stores the high level in synchronization with the timing signal 557 and that is cleared based on the clear signal 555.
41, storage means 521 and 522 for storing the output signal 551 of the storage means 541 in synchronization with clock signals 511 and 512, respectively, and the storage means 521 and 5
NOR circuit 543 which receives the inverted output signals 531 and 532 of 22 and outputs a signal 554, and the storage means 5
Storage means 544 for storing the output signal 552 of 42 in synchronization with the signal 554, clearing means 547 for storing the signal 554 in synchronization with the clock signal 512 and outputting the clear signal 555, and the storage means. The clock signals 511 and 51 based on the output signal 553 of 544.
2 to select and output the clock signal 556, and the clock signal 55 by stopping the selection function of the clock selecting means 545 based on the signal 554.
6 and a selection function prohibiting means 546 for fixing the signal level.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、以上の
ようなクロック選択装置では、クロック信号選択の動作
時において、最悪前記クロック信号512の2周期の
間、前記クロック信号556がハイレベルに固定され、
動作クロック556の周期が長くなるので、例えば、一
定時間毎にデータのリフレッシュを要するダイナミック
RAMのリフレッシュ回路のようなデジタル回路の動作
クロックとして用いる場合制限が大きいという課題があ
り、現在選択されているクロック信号と同じ選択指示を
行った場合でも、前記クロック信号556の周期が変動
するいう課題がある。また、クロック信号源の数と同じ
数の記憶手段(521及び522)が必要な為、クロッ
ク信号源の数が増えるに従い回路規模も比例して大きく
なるという課題がある。さらに、クロック信号の選択指
示を行ってから次のクロック信号の選択指示が無効とな
る期間が長いので、クロックの選択指示の間隔に対する
制限が大きいという課題がある。
However, in the clock selecting device as described above, the clock signal 556 is fixed to the high level during the worst two cycles of the clock signal 512 during the operation of selecting the clock signal.
Since the cycle of the operation clock 556 becomes long, there is a problem that there is a large limitation when it is used as an operation clock of a digital circuit such as a refresh circuit of a dynamic RAM that requires data refreshing at regular intervals, and is currently selected. Even if the same selection instruction as the clock signal is given, there is a problem that the cycle of the clock signal 556 changes. In addition, since the same number of storage units (521 and 522) as the number of clock signal sources are required, there is a problem that the circuit scale increases proportionally as the number of clock signal sources increases. Furthermore, since there is a long period in which the next clock signal selection instruction becomes invalid after the clock signal selection instruction is issued, there is a problem that there is a large restriction on the interval between clock selection instructions.

【0007】本発明は、従来のクロック選択装置のこの
ような課題を考慮し、クロック信号選択の動作時に出力
クロック信号の周期変動がより少なく、同一のクロック
信号の選択指示をした場合にはクロック信号の周期が変
動することがなく、クロック信号源の数が増えても回路
規模が従来より小さく、クロック信号選択の間隔に対す
る制限を従来より少ないクロック選択装置を提供するこ
とを目的とするものである。
In consideration of such a problem of the conventional clock selection device, the present invention has a smaller fluctuation of the cycle of the output clock signal during the operation of selecting the clock signal, and when the same clock signal is instructed to be selected, the clock is selected. An object of the present invention is to provide a clock selection device in which the signal cycle does not fluctuate, the circuit scale is smaller than the conventional one even if the number of clock signal sources increases, and the clock signal selection interval is less restricted than the conventional one. is there.

【0008】[0008]

【課題を解決するための手段】本発明のクロック選択装
置は、デジタル回路に供給される互いに異なるクロック
信号を発生する第1及び第2のクロック信号源と、前記
第1及び第2クロック信号源の出力の一方を第1のクロ
ック信号として選択出力し、他方を第2のクロック信号
として選択出力するクロック選択手段と、CPUあるい
は手動スイッチ等からのクロック選択指示信号を前記第
1のクロック信号に同期して記憶する第1の記憶手段
と、前記第1の記憶手段の出力信号を前記第2のクロッ
ク信号に同期して記憶する第2の記憶手段と、前記第1
の記憶手段の出力信号と前記第2の記憶手段の出力信号
をもとに、ゲート信号を生成するゲート信号生成手段
と、前記ゲート信号をもとに前記第1のクロック信号の
信号レベルを固定とし、第3のクロック信号を出力する
ゲート手段とを備え、前記クロック選択手段の選択信号
として前記第2の記憶手段の出力信号を用いるよう構成
したものである。
A clock selection device according to the present invention comprises first and second clock signal sources for generating different clock signals supplied to a digital circuit, and the first and second clock signal sources. And a clock selection instruction signal from a CPU, a manual switch, or the like, as the first clock signal, and a clock selection means for selectively outputting one of the outputs as the first clock signal and the other as the second clock signal. First storage means for storing in synchronization, second storage means for storing the output signal of the first storage means in synchronization with the second clock signal, and the first storage means
Gate signal generation means for generating a gate signal based on the output signal of the storage means and the output signal of the second storage means, and the signal level of the first clock signal based on the gate signal is fixed. And a gate means for outputting a third clock signal, and the output signal of the second storage means is used as the selection signal of the clock selection means.

【0009】[0009]

【作用】本発明は、複数のクロック信号より任意のクロ
ック信号を選択するクロック選択手段を2手段設け、一
方のクロック選択手段は選択しようするクロック信号を
選択出力し、他方のクロック選択手段は現在選択してい
るクロック信号を選択出力し、後者のクロック選択手段
の選択信号は選択しようとするクロック信号に同期して
動作することにより、また、前記2個のクロック信号の
位相差の期間のみゲート手段により後者のクロック選択
手段から出力されるクロック信号の信号レベルを固定と
することにより、デジタル回路の動作クロックとして用
いるのに好適なクロック信号を出力する。
According to the present invention, two clock selecting means for selecting an arbitrary clock signal from a plurality of clock signals are provided, one clock selecting means selectively outputs the clock signal to be selected, and the other clock selecting means is currently used. The selected clock signal is selectively output, and the selection signal of the latter clock selection means operates in synchronization with the clock signal to be selected, and the gate is gated only during the phase difference between the two clock signals. By fixing the signal level of the clock signal output from the latter clock selecting means by the means, a clock signal suitable for use as an operation clock of the digital circuit is output.

【0010】[0010]

【実施例】請求項1の発明を図1に示す。クロック信号
源101及び102からは、クロック信号111及び1
12が出力され、クロック選択手段121に印加され
る。クロック選択手段121はクロック信号131及び
132を出力する。記憶手段141は、クロック選択指
示信号133をクロック信号131に同期して記憶す
る。記憶手段142は、記憶手段141の出力信号13
4をクロック信号132に同期して記憶する。ゲート信
号発生手段143は、信号134と記憶手段142の出
力信号135を入力とし、ゲート信号136を生成す
る。ゲート手段144は、ゲート信号136によってク
ロック信号131の信号レベルを固定とし、クロック信
号137を出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention of claim 1 is shown in FIG. From the clock signal sources 101 and 102, the clock signals 111 and 1
12 is output and applied to the clock selection means 121. The clock selection means 121 outputs the clock signals 131 and 132. The storage unit 141 stores the clock selection instruction signal 133 in synchronization with the clock signal 131. The storage means 142 outputs the output signal 13 of the storage means 141.
4 is stored in synchronization with the clock signal 132. The gate signal generation means 143 receives the signal 134 and the output signal 135 of the storage means 142 as input, and generates the gate signal 136. The gate means 144 fixes the signal level of the clock signal 131 by the gate signal 136 and outputs the clock signal 137.

【0011】以下に、上記構成のより具体的な実施例を
図3及び図4を参照して説明する。図3は、本発明にか
かる一実施例のクロック選択装置であり、図4は、上記
クロック選択装置のタイミング図である。すなわち、ク
ロック選択装置は、クロック信号源301で生成される
CLK1信号及びクロック信号源302で生成されるC
LK2信号から任意のクロック信号すなわちCLK信号
を選択出力し、ゲート手段の含まれるクロック選択回路
304と、上記CLK1信号及び上記CLK2信号から
任意のクロック信号すなわちCLK0信号を選択出力す
るクロック選択回路305と、CPUからの選択指示信
号を記憶するレジスタ312と、クロック選択手段30
4及び305の制御を行う制御回路306により構成さ
れている。
A more specific embodiment of the above construction will be described below with reference to FIGS. 3 and 4. FIG. 3 is a clock selection device according to an embodiment of the present invention, and FIG. 4 is a timing diagram of the clock selection device. That is, the clock selection device has a CLK1 signal generated by the clock signal source 301 and a C signal generated by the clock signal source 302.
A clock selection circuit 304 which selectively outputs an arbitrary clock signal, that is, a CLK signal from the LK2 signal, and a clock selection circuit 305 which selectively outputs an arbitrary clock signal, that is, a CLK0 signal from the CLK1 signal and the CLK2 signal. , A register 312 for storing a selection instruction signal from the CPU, and a clock selection means 30.
The control circuit 306 is configured to control 4 and 305.

【0012】クロック信号源301及び302は、相互
に位相関係が規定されることなく、任意の周波数のクロ
ック信号、CLK1信号及びCLK2信号を生成する。
実施例においては、CLK1信号の周波数は8MHzと
し、CLK2信号の周波数は10MHzとする。
The clock signal sources 301 and 302 generate a clock signal, a CLK1 signal, and a CLK2 signal of arbitrary frequencies without mutually defining the phase relationship.
In the embodiment, the frequency of the CLK1 signal is 8 MHz and the frequency of the CLK2 signal is 10 MHz.

【0013】否定入力のNAND回路311は、CPU
のチップセレクト信号(CS信号)とライト信号(WR
信号)を入力とし、REGWR信号を出力する。Dフリ
ップフロップ312は、選択指示信号の内容、すなわ
ち、CPUのD0ビットをREGWR信号に同期して記
憶する。
The NAND circuit 311 having a negative input is a CPU
Chip select signal (CS signal) and write signal (WR
Signal) as an input and outputs a REGWR signal. The D flip-flop 312 stores the content of the selection instruction signal, that is, the D0 bit of the CPU in synchronization with the REGWR signal.

【0014】NOT回路313とAND回路314及び
315とOR回路316は、ゲート手段を含むクロック
選択回路304を構成し、CLK1信号及びCLK2信
号とCSEL信号とCLKEN信号が入力され、CLK
信号を出力する。上記クロック選択回路304は、CL
KEN信号がローレベルである場合は、CSEL信号が
ローレベルであるとCLK1信号を選択出力し、CSE
L信号がハイレベルであるとCLK2信号を選択出力す
る。CLKEN信号がハイレベルである場合は、CLK
信号はハイレベルに固定される。
The NOT circuit 313, the AND circuits 314 and 315, and the OR circuit 316 constitute a clock selection circuit 304 including a gate means, to which the CLK1 signal, the CLK2 signal, the CSEL signal, and the CLKEN signal are input, and the CLK signal.
Output a signal. The clock selection circuit 304 is CL
When the KEN signal is low level, when the CSEL signal is low level, the CLK1 signal is selectively output and the CSE signal is output.
When the L signal is at high level, the CLK2 signal is selectively output. If the CLKEN signal is high level, CLK
The signal is fixed at high level.

【0015】NOT回路317とAND回路318及び
319とOR回路320は、クロック選択回路305を
構成し、CLK1信号及びCLK2信号とCSEL2信
号が入力され、CLK2信号を出力する。上記クロック
選択回路305は、CSEL2信号がローレベルである
とCLK1信号を選択出力し、CSEL2信号がハイレ
ベルであるとCLK2信号を選択出力する。
The NOT circuit 317, the AND circuits 318 and 319, and the OR circuit 320 form a clock selection circuit 305, which receives the CLK1 signal, the CLK2 signal and the CSEL2 signal and outputs the CLK2 signal. The clock selection circuit 305 selectively outputs the CLK1 signal when the CSEL2 signal is at the low level, and selectively outputs the CLK2 signal when the CSEL2 signal is at the high level.

【0016】Dフリップフロップ322ないし325と
NOT回路321と排他論理和回路326は、制御回路
306を構成し、SELECT信号が入力され、CLK
信号あるいはCLK0信号に同期して、クロック選択回
路304及び305の制御を行う為の信号、すなわち、
CLKEN信号とCSEL信号とCSEL2信号を生成
する。
The D flip-flops 322 to 325, the NOT circuit 321 and the exclusive OR circuit 326 form a control circuit 306, to which the SELECT signal is input and the CLK signal is input.
Signal or a signal for controlling the clock selection circuits 304 and 305 in synchronization with the CLK0 signal, that is,
It generates the CLKEN signal, the CSEL signal, and the CSEL2 signal.

【0017】以下に図4のタイミング図により説明を行
う。図4の例は、CLK1信号を選択出力しているとき
に、CPUよりクロックの選択指示があり、CLK2信
号を選択出力する例である。
A description will be given below with reference to the timing chart of FIG. In the example of FIG. 4, when the CLK1 signal is being selectively output, the CPU issues a clock selection instruction, and the CLK2 signal is selectively output.

【0018】CPUから出力された選択指示信号、すな
わち、D0信号は、図4の401において、CPUのC
S信号及びWR信号から生成されたREGWR信号に同
期して、Dフリップフロップ312に記憶され、SEL
ECT信号を出力する。
The selection instruction signal output from the CPU, that is, the D0 signal is the C of the CPU in 401 of FIG.
The SEL signal is stored in the D flip-flop 312 in synchronization with the REGWR signal generated from the S signal and the WR signal, and
Output an ECT signal.

【0019】上記SELECT信号は、Dフリップフロ
ップ322により、図4の402においてCLK信号の
立ち上がりエッジに同期して記憶され、Q1信号を出力
する。上記Q1信号は、Dフリップフロップ323によ
り、図4の403においてCLK0信号の立ち上がりエ
ッジに同期して記憶され、Q2信号を出力する。上記Q
2信号は、Dフリップフロップ324により、図4の4
04においてCLK0信号の立ち下がりエッジに同期し
て記憶され、CSEL信号を出力する。上記CSEL信
号は、Dフリップフロップ325により、図4の405
においてCLK0信号の立ち上がりエッジに同期して記
憶され、CSEL2信号を出力する。Q1信号及びCS
EL信号は、EXOR回路326に入力されCLKEN
信号を生成し、CLK信号の立ち上がりエッジから次の
CLK0信号のたち下がりエッジの間、すなわち、図4
の402から404までの間、ハイレベルを出力する。
The SELECT signal is stored by the D flip-flop 322 in synchronization with the rising edge of the CLK signal at 402 in FIG. 4, and outputs the Q1 signal. The Q1 signal is stored by the D flip-flop 323 in synchronization with the rising edge of the CLK0 signal at 403 in FIG. 4, and outputs the Q2 signal. Q above
The two signals are input to the 4 of FIG.
At 04, it is stored in synchronization with the falling edge of the CLK0 signal and outputs the CSEL signal. The CSEL signal is transferred to the 405 of FIG. 4 by the D flip-flop 325.
At the same time, it is stored in synchronization with the rising edge of the CLK0 signal and outputs the CSEL2 signal. Q1 signal and CS
The EL signal is input to the EXOR circuit 326 and input to CLKEN.
Signal from the rising edge of the CLK signal to the falling edge of the next CLK0 signal, that is, in FIG.
The high level is output from 402 to 404.

【0020】CSEL信号は、クロック選択回路304
に入力され、CLK1信号またはCLK2信号からCL
K信号を選択出力する。
The CSEL signal is a clock selection circuit 304.
To CL from the CLK1 signal or CLK2 signal
Selectively outputs the K signal.

【0021】CLKEN信号もまた、上記クロック選択
回路304に入力され、CLKEN信号がハイレベルで
ある区間は、CLK信号がハイレベルとなるので、CL
K信号にハザードが発生することはない。
The CLKEN signal is also input to the clock selection circuit 304, and the CLK signal is at the high level in the section in which the CLKEN signal is at the high level.
There is no hazard in the K signal.

【0022】CSEL2信号は、クロック選択回路30
5に入力され、CLK1信号またはCLK信号からCL
K0信号を選択する。CLK0信号は図4の405にお
けるようなハザードが発生する可能性があるが、CLK
0信号のハザードはCLK信号に影響することはない。
The CSEL2 signal is supplied to the clock selection circuit 30.
5 and CL from the CLK1 signal or CLK signal
Select the K0 signal. The CLK0 signal may cause a hazard as in 405 of FIG.
The hazard of the 0 signal does not affect the CLK signal.

【0023】請求項2の発明を図2に示す。n個のクロ
ック信号源20(1)〜20(n)から供給されるクロ
ック信号21(1)〜21(n)がクロック選択手段2
21に印加され、クロック選択手段221は、クロック
信号231を選択出力する。n個のクロック信号21
(1)〜21(n)は同様にクロック選択手段222に
も印加され、クロック選択手段222は、クロック信号
232を選択出力する。記憶手段241は、クロック選
択指示信号233をクロック信号231に同期して記憶
する。記憶手段242は、記憶手段241の出力信号2
34をクロック信号232に同期して記憶する。ゲート
信号発生手段243は、信号234と記憶手段242の
出力信号235を入力とし、ゲート信号236を出力す
る。ゲート手段244は、ゲート信号236により、ク
ロック信号231の信号レベルを固定とし、クロック信
号237を出力する。
The invention of claim 2 is shown in FIG. Clock signals 21 (1) to 21 (n) supplied from n clock signal sources 20 (1) to 20 (n) are clock selection means 2
21, the clock selection means 221 selects and outputs the clock signal 231. n clock signals 21
Similarly, (1) to 21 (n) are applied to the clock selecting means 222, and the clock selecting means 222 selectively outputs the clock signal 232. The storage unit 241 stores the clock selection instruction signal 233 in synchronization with the clock signal 231. The storage unit 242 outputs the output signal 2 of the storage unit 241.
34 is stored in synchronization with the clock signal 232. The gate signal generation means 243 receives the signal 234 and the output signal 235 of the storage means 242 as input, and outputs the gate signal 236. The gate means 244 fixes the signal level of the clock signal 231 by the gate signal 236 and outputs the clock signal 237.

【0024】請求項2の発明は、上記請求項1の発明と
ほとんど同様の構成であり、請求項1の本発明の説明と
同様な説明で理解できる。
The invention of claim 2 has almost the same structure as the invention of claim 1, and can be understood from the same explanation as the description of the invention of claim 1.

【0025】また、本発明は上記実施例の構成に限定さ
れるものではなく、本発明の主旨に基づいて種々の変形
が可能であり、それらを本発明の範囲から除外するもの
ではない。
Further, the present invention is not limited to the constitution of the above-mentioned embodiment, but various modifications can be made based on the gist of the present invention, and they are not excluded from the scope of the present invention.

【0026】[0026]

【発明の効果】以上で述べたところから明らかなように
本発明は、従来のクロック選択装置に比べて、以下のよ
うな長所を有する。複数の同程度の周波数を有するクロ
ック信号源からの基準クロックを選択出力するクロック
選択装置について、クロック信号選択の動作時に出力ク
ロック信号の周期変動がより少ない。同一のクロック信
号の選択指示をした場合にはクロック信号の周期が変動
することがなく。クロック信号源の数が増えても回路規
模が従来より小さい。クロック信号の選択指示の間隔に
対する制限がより少ない。
As is apparent from the above description, the present invention has the following advantages over the conventional clock selection device. Regarding the clock selection device that selectively outputs the reference clocks from the plurality of clock signal sources having the same frequency, the cycle variation of the output clock signal is smaller during the operation of the clock signal selection. When the same clock signal selection instruction is issued, the cycle of the clock signal does not change. Even if the number of clock signal sources increases, the circuit scale is smaller than the conventional one. There are less restrictions on the spacing of clock signal selection instructions.

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

【図1】本発明の一実施例のクロック選択装置の構成図FIG. 1 is a configuration diagram of a clock selection device according to an embodiment of the present invention.

【図2】本発明の一実施例のクロック選択装置の構成図FIG. 2 is a configuration diagram of a clock selection device according to an embodiment of the present invention.

【図3】本発明の一実施例のにかかるクロック選択装置
の回路図
FIG. 3 is a circuit diagram of a clock selection device according to an embodiment of the present invention.

【図4】同実施例のクロック選択装置の動作を説明する
タイミング図
FIG. 4 is a timing diagram illustrating the operation of the clock selection device of the same embodiment.

【図5】従来のクロック選択装置の構成図FIG. 5 is a block diagram of a conventional clock selection device.

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

101、102 クロック信号源 111、112、131、132 クロック信号 121 クロック選択手段 133 選択指示信号 134 記憶手段141の出力信号 135 選択信号 136 ゲート信号 137 選択出力されたクロック信号 141、142 記憶手段 143 ゲート信号発生手段 144 ゲート手段 20(1)〜20(n) クロック信号源 21(1)〜21(n)、231、232 クロック信
号 221、222 クロック選択手段 233 選択指示信号 234、245 選択信号 236 ゲート信号 237 選択出力されたクロック信号 241、242 記憶手段 243 ゲート信号発生手段 244 ゲート手段 301、302 クロック信号源 303 CPU 304 ゲート手段の付加されたクロック選択回路 305 クロック選択装置 306 制御回路 311 否定入力のNAND回路 312、322、323、324、325 Dフリップ
フロップ 313、317、321 NOT回路 314、315、318、319 AND回路 316、320 OR回路 326 排他論理和回路 401 WR信号の立ち上がりエッジ 402 CLK信号の立ち上がりエッジ 403 CLK0信号の立ち上がりエッジ 404 CLK0信号の立ち下がりエッジ 405 CLK0信号の立ち上がりエッジ 501、502 クロック信号源 511、512、531、532 クロック信号 521、522、542、544 記憶手段 541 クリア端子付き記憶手段 543 NOR回路 545 クロック選択手段 546 選択機能禁止手段 547 クリア手段 551 記憶手段551の出力信号 552 記憶手段542の出力信号 553 選択信号 554 NOR回路543の出力信号 555 クリア信号 556 選択出力されたクロック信号
101, 102 Clock signal sources 111, 112, 131, 132 Clock signal 121 Clock selection means 133 Selection instruction signal 134 Output signal of storage means 141 135 Selection signal 136 Gate signal 137 Selected output clock signals 141, 142 Storage means 143 Gate Signal generation means 144 Gate means 20 (1) to 20 (n) Clock signal source 21 (1) to 21 (n), 231, 232 Clock signal 221, 222 Clock selection means 233 Selection instruction signal 234, 245 Selection signal 236 Gate Signal 237 Selectively output clock signal 241, 242 Storage means 243 Gate signal generating means 244 Gate means 301, 302 Clock signal source 303 CPU 304 Clock selection circuit with gate means 305 Clock selection device Position 306 Control circuit 311 Negative input NAND circuit 312, 322, 323, 324, 325 D flip-flop 313, 317, 321 NOT circuit 314, 315, 318, 319 AND circuit 316, 320 OR circuit 326 Exclusive OR circuit 401 WR Rising edge of signal 402 rising edge of CLK signal 403 rising edge of CLK0 signal 404 falling edge of CLK0 signal 405 rising edge of CLK0 signal 501, 502 clock source 511, 512, 531, 532 clock signal 521, 522, 542, 544 storage means 541 storage means with clear terminal 543 NOR circuit 545 clock selection means 546 selection function prohibition means 547 clear means 551 output signal of storage means 551 552 Output signals of the output signal 553 selects signal 554 NOR circuit 543 of 憶 means 542 555 clear signal 556 selects the output clock signal

───────────────────────────────────────────────────── フロントページの続き (72)発明者 八幡 和彦 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Kazuhiko Yawata 4-3-1, Tsunashima-higashi, Kohoku-ku, Yokohama-shi, Kanagawa Matsushita Communication Industrial Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】デジタル回路に供給される互いに異なるク
ロック信号を発生する第1及び第2のクロック信号源
と、前記第1及び第2クロック信号源の出力の一方を第
1のクロック信号として選択出力し、他方を第2のクロ
ック信号として選択出力するクロック選択手段と、CP
Uあるいは手動スイッチ等からのクロック選択指示信号
を前記第1のクロック信号に同期して記憶する第1の記
憶手段と、前記第1の記憶手段の出力信号を前記第2の
クロック信号に同期して記憶する第2の記憶手段と、前
記第1の記憶手段の出力信号と前記第2の記憶手段の出
力信号をもとに、ゲート信号を生成するゲート信号生成
手段と、前記ゲート信号をもとに前記第1のクロック信
号の信号レベルを固定とし、第3のクロック信号を出力
するゲート手段とを備え、前記クロック選択手段の選択
信号として前記第2の記憶手段の出力信号を用いること
を特徴とするクロック選択装置。
1. A first and second clock signal source for generating different clock signals to be supplied to a digital circuit, and one of outputs of the first and second clock signal sources is selected as a first clock signal. A clock selecting means for outputting and selectively outputting the other as a second clock signal;
U or a first storage means for storing a clock selection instruction signal from a manual switch or the like in synchronization with the first clock signal, and an output signal of the first storage means in synchronization with the second clock signal. And a gate signal generation unit for generating a gate signal based on the output signal of the first storage unit and the output signal of the second storage unit. And a gate means for fixing the signal level of the first clock signal and outputting a third clock signal, and using the output signal of the second storage means as the selection signal of the clock selection means. Characteristic clock selection device.
【請求項2】デジタル回路に供給されるn個のクロック
信号を発生するn個のクロック信号源と、前記n個のク
ロック信号源の出力から第1のクロック信号を選択する
第1のクロック選択手段と、前記n個のクロック信号源
の出力から第2のクロック信号を選択する第2のクロッ
ク選択手段と、CPUあるいは手動スイッチ等からのク
ロック選択指示信号を前記第1のクロック信号に同期し
て記憶する第1の記憶手段と、前記第1の記憶手段の出
力信号を前記第2のクロック信号に同期して記憶する第
2の記憶手段と、前記第1の記憶手段の出力信号と前記
第2の記憶手段の出力信号をもとに、ゲート信号を生成
するゲート信号生成手段と、前記ゲート信号をもとに前
記第1のクロック信号の信号レベルを固定とし、第3の
クロック信号を出力するゲート手段とを備え、前記第1
のクロック選択手段の選択信号として前記第1の記憶手
段の出力信号を、前記第2のクロック選択手段の選択信
号として前記第2の記憶手段の出力信号を用いることを
特徴とするクロック選択装置。
2. An n number of clock signal sources for generating n number of clock signals to be supplied to a digital circuit, and a first clock selection for selecting a first clock signal from outputs of the n number of clock signal sources. Means, second clock selection means for selecting a second clock signal from the outputs of the n clock signal sources, and a clock selection instruction signal from a CPU, a manual switch or the like in synchronization with the first clock signal. And a first storage means for storing the output signal of the first storage means, a second storage means for storing the output signal of the first storage means in synchronization with the second clock signal, an output signal of the first storage means and the A gate signal generation unit that generates a gate signal based on the output signal of the second storage unit, and a signal level of the first clock signal based on the gate signal are fixed, and a third clock signal is generated. Out And a gate means for, first
The clock selection device is characterized in that the output signal of the first storage means is used as the selection signal of the clock selection means and the output signal of the second storage means is used as the selection signal of the second clock selection means.
JP6146323A 1994-06-28 1994-06-28 Clock selection device Pending JPH0818410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6146323A JPH0818410A (en) 1994-06-28 1994-06-28 Clock selection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6146323A JPH0818410A (en) 1994-06-28 1994-06-28 Clock selection device

Publications (1)

Publication Number Publication Date
JPH0818410A true JPH0818410A (en) 1996-01-19

Family

ID=15405079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6146323A Pending JPH0818410A (en) 1994-06-28 1994-06-28 Clock selection device

Country Status (1)

Country Link
JP (1) JPH0818410A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100336759B1 (en) * 1999-09-28 2002-05-16 박종섭 Clock signal selection circuit
KR100448961B1 (en) * 2001-09-27 2004-09-18 가부시끼가이샤 도시바 Computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100336759B1 (en) * 1999-09-28 2002-05-16 박종섭 Clock signal selection circuit
KR100448961B1 (en) * 2001-09-27 2004-09-18 가부시끼가이샤 도시바 Computer system

Similar Documents

Publication Publication Date Title
JP3613819B2 (en) Digital delay line
US5652536A (en) Non-glitch clock switching circuit
KR100265218B1 (en) Microprocessor 2x core design
US6687320B1 (en) Phase lock loop (PLL) clock generator with programmable skew and frequency
JP2007133527A (en) Clock signal generation circuit, semiconductor integrated circuit, and frequency-division rate control method
KR20050041613A (en) Data output control circuit
JP2007048022A (en) Asynchronous bus interface and its processing method
JPH0818410A (en) Clock selection device
JP2006302056A (en) Clock control circuit
US6552958B2 (en) Semiconductor integrated circuit device
JPH1127229A (en) Frame aligner circuit
JP3701100B2 (en) Clock generation circuit and clock generation method
KR20080100562A (en) Clock generating circuit and semiconductor memory apparatus using the same
US7171577B2 (en) Methods and apparatus for a system clock divider
US7000139B2 (en) Interface circuit for selectively latching between different sets of address and data registers based on the transitions of a frequency-divided clock
JP4332327B2 (en) Data delay circuit
JPH0865173A (en) Parallel to serial conversion circuit
JP6512640B1 (en) Asynchronous FIFO circuit
KR100386949B1 (en) Digital data processing system
JP2001035148A (en) Data processor
KR19980050372A (en) Clock generator for data transmission synchronization
JP2002014742A (en) Phase shift type clock driver
JPH06124586A (en) Semiconductor memory device
JPH08221151A (en) Clock supply device
JP2850671B2 (en) Variable delay circuit