JPH02155308A - Clock distribution circuit - Google Patents

Clock distribution circuit

Info

Publication number
JPH02155308A
JPH02155308A JP63308850A JP30885088A JPH02155308A JP H02155308 A JPH02155308 A JP H02155308A JP 63308850 A JP63308850 A JP 63308850A JP 30885088 A JP30885088 A JP 30885088A JP H02155308 A JPH02155308 A JP H02155308A
Authority
JP
Japan
Prior art keywords
clock
circuit
distribution
basic
select
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
JP63308850A
Other languages
Japanese (ja)
Inventor
Takatoshi Yano
矢野 隆利
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP63308850A priority Critical patent/JPH02155308A/en
Publication of JPH02155308A publication Critical patent/JPH02155308A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To supply an optional clock to an optional distribution destination in addition to the distribution of a basic clock to respective distribution destination by providing a circuit for clock generation provided with a mask means in addition to a clock distribution means having been in existence in a conventional circuit. CONSTITUTION:When a basic.select clock selection signal 120 from a terminal 12 is logical 0, only a basic select clock distribution circuit 1 is active and a basic clock 190 inputted from a terminal 2 is distributed to clock distribution terminals 7, 8, 9, 10. When the signal 120 is logical 1, a clock select signal 230 supplied to a terminal 5 is fetched by a shift register 18 of a clock select circuit 17. A counter circuit 11 counts the basic clock 190 and when the count is equal to a constant set by a constant setting circuit 13, a comparator circuit 16 outputs logical '1'. An AND circuit 38 ANDs four logic data stored in each stage of the register 18 at this point of time and supplies the result to an OR circuit 5 of the distribution circuit 1, in which the signal is distributed to the terminals 7, 8, 9, 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子回路の複数の回路素子に基本クロックを分
配するクロック分配回路に係わり、特に複数の回路素子
にそれぞれ所定のタイミング形態のクロックを分配する
こともできるクロック分配回路に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a clock distribution circuit that distributes a basic clock to a plurality of circuit elements of an electronic circuit. This invention relates to a clock distribution circuit that can also distribute clocks.

〔従来の技術〕[Conventional technology]

従来のクロック分配回路では、外部から供給される基本
クロックを電子回路に供給する場合、電子回路内のクロ
ックを必要とする回路群の数だけ基本クロックの波形を
成形し、この波形成形を行ったクロックをそれぞれの回
路群に送っていた。
In conventional clock distribution circuits, when supplying an externally supplied basic clock to an electronic circuit, the waveform of the basic clock is shaped by the number of circuit groups in the electronic circuit that require the clock. The clock was sent to each circuit group.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、従来のクロック分配回路では、単に外
部から供給される基本クロックの波形を成形して、これ
を電子回路の回路群に分配するだけとなっていた。この
ため、このクロック分配回路からクロックの供給を受け
ている電子回路は、全回路にわたりクロック走行あるい
はクロック停止の2つの状態があるだけで、回路群の中
の一部を動作させることができないという欠点があった
。
As described above, conventional clock distribution circuits simply shape the waveform of a basic clock supplied from the outside and distribute it to a group of electronic circuits. For this reason, electronic circuits that receive clocks from this clock distribution circuit have only two states: clock running or clock stopped, and only a part of the circuit group cannot operate. There were drawbacks.

そこで本発明の目的は、基本クロックをそれぞれの分配
先に分配することができるばかりでなく、必要な場合に
は個々の分配先に独自のクロックを供給することのでき
るクロック分配回路を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a clock distribution circuit that can not only distribute a basic clock to each distribution destination, but also supply a unique clock to each distribution destination if necessary. It is in.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では、クロック分配回路に次のような手段を具備
させる。
In the present invention, the clock distribution circuit is equipped with the following means.

(1)外部から供給される基本クロックを複数の分配先
に分配するクロック分配手段: これは、後に説明するクロック選択手段が基本クロック
を選択したとき、それぞれの分配先に基本クロックを供
給するだめの手段であり、従来の回路が具備していた機
能を実現する回路である。
(1) Clock distribution means for distributing the basic clock supplied from the outside to multiple distribution destinations: This means that when the clock selection means, which will be explained later, selects a basic clock, the basic clock is supplied to each distribution destination. It is a circuit that realizes the functions that conventional circuits have.

(11)基本クロックをカウントしてクロックの分配出
力のタイミングを設定するカウンタ:基本クロックを任
意の比で分周するための手段である。
(11) Counter that counts the basic clock and sets the timing of clock distribution output: This is a means for dividing the basic clock by an arbitrary ratio.

< iii )カウンタによって定められたタイミング
ごとにクロックを出力するか否かを分配先ごとに設定す
るマスク手段: 個々の分配先に適したクロックを得るための手段である
。
<iii) Mask means for setting for each distribution destination whether or not to output a clock at each timing determined by a counter: This is means for obtaining a clock suitable for each distribution destination.

(1■)マスク手段によってマスクされたクロックとク
ロック分配手段によって分配されたクロックのいずれか
を選択してそれぞれの分配先に出力するクロック選択手
段 このように本発明では、従来から存在するクロック分配
手段の他にマスク手段を備えたクロック作成用の回路を
備えたので、任意のクロックを任意の分配先に供給する
ことができるようになる。
(1) Clock selection means for selecting either the clock masked by the masking means or the clock distributed by the clock distribution means and outputting it to the respective distribution destinations In this way, the present invention uses the conventional clock distribution method. Since a clock generation circuit including a masking means is provided in addition to the means, it becomes possible to supply any clock to any distribution destination.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は基本クロックを4分配するか、または4種類の
タイミング形態のカウンタを分配する場合におけるクロ
ック分配回路を表わしたものである。このクロック分配
回路は、基本・セレクトクロック分配回路l、カウンタ
回路11およびりr17クセレクト回路17から構成さ
れている。基本・セレクトクロック分配回路1は基本ク
ロック入力端子2、インバータ素子3、アンド素子4、
オア回路5、波形成形回路6およびクロック分配α:1
(子7.8.9、lOを備えている。カウンタ回路11
は基本・セレクトクロック選定信号入力端子12、クロ
ックセレクト信号入力端子15、定数設定回路13、カ
ウンタ14および比較回路16を(釉えている。タロツ
クセレクト回路17はシフトレジスタ18およびアンド
回路38を備えている。
FIG. 1 shows a clock distribution circuit in the case of distributing a basic clock into four or distributing counters with four types of timing types. This clock distribution circuit is composed of a basic/select clock distribution circuit 1, a counter circuit 11, and a r17 select circuit 17. The basic/select clock distribution circuit 1 includes a basic clock input terminal 2, an inverter element 3, an AND element 4,
OR circuit 5, waveform shaping circuit 6 and clock distribution α: 1
(Provided with child 7.8.9 and lO. Counter circuit 11
includes a basic/select clock selection signal input terminal 12, a clock selection signal input terminal 15, a constant setting circuit 13, a counter 14, and a comparison circuit 16.The clock selection circuit 17 includes a shift register 18 and an AND circuit 38. ing.

この回路では、基本・セレクトクロック選定信号入力端
子12に、基本・セレクトクロック選定信号120とし
て論理値“0”を人力したときは、基本クロックを4分
配するように動作する。また基本・セレクトクロック選
定信号120として論理値“1″を人力したときは、4
種類のタイミング形態のクロックを分配するように動作
する。すなわち基本・セレクトクロック選定信号120
が論理値“0”である場合は、カウンタ回路11の出力
信号はアンド素子40で阻止されるので、クロックセレ
クト回路17のアンド回路38も阻止されて基本・セレ
クトクロック分配回路1とは無関係になる。そして、基
本・セレクトクロック分配回路1だけが動作して、基本
クロック入力端子2から人力した基本クロック190は
アンド素子4および基本クロックパス30を通り、オア
回路5を経て波形成形回路6により波形成形されてから
クロック分配端子7.8.9および10に分配され、そ
れぞれ電子回路の回路素子に供給される。
In this circuit, when a logical value "0" is manually inputted to the basic/select clock selection signal input terminal 12 as the basic/select clock selection signal 120, the circuit operates to divide the basic clock into four parts. In addition, when the logical value "1" is manually set as the basic/select clock selection signal 120, 4
It operates to distribute clocks in different timing formats. That is, the basic/select clock selection signal 120
When the logical value is "0", the output signal of the counter circuit 11 is blocked by the AND element 40, so the AND circuit 38 of the clock select circuit 17 is also blocked, and the output signal is ignored regardless of the basic/select clock distribution circuit 1. Become. Then, only the basic/select clock distribution circuit 1 operates, and the basic clock 190 manually input from the basic clock input terminal 2 passes through the AND element 4 and the basic clock path 30, passes through the OR circuit 5, and is shaped into a waveform by the waveform shaping circuit 6. The clock signal is then distributed to clock distribution terminals 7, 8, 9 and 10, respectively, and supplied to the circuit elements of the electronic circuit.

次に基本・セレクトクロック選定信号120が論理値“
1″の場合には、アンド素子4はオフで、基本クロック
入力端子2から入力する基本クロック190はアンド素
子4を通過することはできない。カウンタ回路11のク
ロックセレクト信号入力端子15に与えられるクロック
セレクト信号230はクロックセレクト回路17のシフ
トレジスタ18に取り込まれる。またカウンタ回路11
においては、カウンタ14が基本クロック入力端子2か
ら入力する基本クロック190を計数し、その値と定数
設定回路13に設定された定数とを比較回路16で比較
し、それらの値が等しくなったとき比較回路16は論理
値“l”を出力する。この論理値“1”はアンド素子4
0を通ってアンド回路38に至り、この時点にシフトレ
ジスタ18の各段階に記憶されている4つの論理データ
との論理積をとって、基本・セレクトクロック分配回路
lのオア回路5に送り出す。この4つの論理データは波
形成形回路6に送られて波形成形され、それぞれクロッ
ク分配端子7.8.9および10から外部の電子回路に
送り出される。
Next, the basic/select clock selection signal 120 is set to the logical value “
1'', the AND element 4 is off, and the basic clock 190 input from the basic clock input terminal 2 cannot pass through the AND element 4.The clock applied to the clock select signal input terminal 15 of the counter circuit 11 The select signal 230 is taken into the shift register 18 of the clock select circuit 17.
In , the counter 14 counts the basic clock 190 input from the basic clock input terminal 2, and the comparison circuit 16 compares the value with the constant set in the constant setting circuit 13, and when the values become equal, Comparison circuit 16 outputs a logical value "1". This logical value “1” is the AND element 4
0 and reaches an AND circuit 38, where it is ANDed with the four logical data stored in each stage of the shift register 18, and sent to the OR circuit 5 of the basic/select clock distribution circuit 1. These four logical data are sent to the waveform shaping circuit 6, where they are waveform-shaped, and sent out from clock distribution terminals 7, 8, 9 and 10 to external electronic circuits, respectively.

第2図は本実施例のタロツク分配回路がクロックセレク
ト動作の時、クロック分配回路の動作を説明するだめの
各種タイミング図である。
FIG. 2 is a timing chart for explaining the operation of the clock distribution circuit when the clock distribution circuit of this embodiment performs a clock selection operation.

第2図において、19は基本クロック入力端子2におけ
る基本クロック190の波形、20はクロックセレクト
動作時の基本・セレクトクロック選定信号120の波形
であり、22はカウンタ14が基本クロックを計数した
値を2進数で示したものである。
In FIG. 2, 19 is the waveform of the basic clock 190 at the basic clock input terminal 2, 20 is the waveform of the basic/select clock selection signal 120 during clock selection operation, and 22 is the value obtained by counting the basic clock by the counter 14. It is shown in binary numbers.

23はクロックセレクト動作時にクロックセレクト信号
入力端子15に与えられるクロックセレクト信号230
の波形である。クロックセレクト信号230を受けて、
シフトレジスタ18の初段のフリップフロップ41は1
タイミング遅れて動作するようになっているので、この
動作のタイミングに合わせたクロックセレクト信号24
を示しである。
23 is a clock select signal 230 applied to the clock select signal input terminal 15 during clock select operation.
This is the waveform of Upon receiving the clock select signal 230,
The first stage flip-flop 41 of the shift register 18 is 1
Since the operation is delayed in timing, the clock select signal 24 is adjusted to the timing of this operation.
is shown.

また、タロツクセレクト信号24が論理値“1”または
“0”の場合は、初段のフリップフロップ41の出力信
号は、それぞれ同様に論理値“1″または“0”となる
。同時に、シフトレジスタ18の各フリップフロップの
論理値は次段の7リツプフロツプにシフトされる。この
実施例の場合は、定数設定回路13に設定される定数は
“3″で2進数の11に対応する。
Further, when the tallock select signal 24 has a logical value of "1" or "0", the output signal of the first stage flip-flop 41 similarly has a logical value of "1" or "0". At the same time, the logic value of each flip-flop in the shift register 18 is shifted to the next stage of seven flip-flops. In this embodiment, the constant set in the constant setting circuit 13 is "3", which corresponds to the binary number 11.

以上の前提をもとに、本実施例のシフトレジスタ18に
おける各フリップフロップ41.42.43および44
のそれぞれからクロック分配端子7.8.9および10
に送り出されるパルス信号のタイミングは第2図におい
てそれぞれ25.26.27および28で示しである。
Based on the above premise, each of the flip-flops 41, 42, 43 and 44 in the shift register 18 of this embodiment
clock distribution terminals 7.8.9 and 10, respectively.
The timings of the pulse signals sent out are shown at 25, 26, 27 and 28, respectively, in FIG.

これらはいろいろなタイミング形態のタロツクであって
、必ずしも4つのクロyりが同時に論理値“1”になる
ものではない。
These are tarlocks of various timing types, and the four clocks do not necessarily have a logic value of "1" at the same time.

なお、第3図は基本・セレクトクロック選定信号120
が“0″となって、本実施例の回路が基本タロツクを4
分配する場合の各部の動作を説明するだめのタイミング
図で、従来のタロツク分配回路の動作と同様であり、ク
ロック分配端子7.8.9および10の出力信号波形2
9を示しである。
In addition, FIG. 3 shows the basic/select clock selection signal 120.
becomes “0”, and the circuit of this embodiment changes the basic tarok to 4.
This is a timing diagram for explaining the operation of each part in the case of clock distribution, which is similar to the operation of a conventional tarock distribution circuit, and the output signal waveform 2 of the clock distribution terminals 7, 8, 9 and 10.
9 is shown.

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

以上説明したように、本発明では分配するタロツクのタ
イミングをそれぞれ制御することにより、回路の一部を
動作状態あるいは停止状態にすることが可能となり、設
計した電子回路を評価する場合に評価単位を小さくする
ことができる効果がある。
As explained above, in the present invention, by controlling the timing of the distributed taroks, it is possible to put a part of the circuit into an operating state or a stopped state, and when evaluating a designed electronic circuit, the evaluation unit can be It has the effect of making it smaller.

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

図面は本発明の一実施例を説明するだめのもので、この
うち第1図はクロック分配回路のブロック回路図、第2
図はクロック分配回路の動作を説明するための各種タイ
ミング図、第3図はクロック分配回路の動作を説明する
ためのタイミング図である。 1・・・・・・基本・セレクトクロック分配回路、2・
・・・・・基本クロック入力端子、6・・・・・・波形
成形回路、 7.8.9.10・・・・・・クロック分配端子、11
・・・・・・カウンタ回路、 13・・・・・・定数設定回路、 14・・・・・・カウンタ、 16・・・・・・比較回路、 17・・・・・・クロックセレクト回路、18・・・・
・・シフトレジスタ、 30・・・・・・基本クロックバス、 38・・・・・・アンド回路、 41.42.43.44・・・・・・フリップフロップ
、120・・・・・・基本・セレクトクロック選定信号
、190・・・・・・基本クロック、 230・・・・・・タロツクセレクト信号。
The drawings are only for explaining one embodiment of the present invention, of which Fig. 1 is a block circuit diagram of a clock distribution circuit, and Fig. 2 is a block circuit diagram of a clock distribution circuit.
The figures are various timing diagrams for explaining the operation of the clock distribution circuit, and FIG. 3 is a timing diagram for explaining the operation of the clock distribution circuit. 1...Basic/select clock distribution circuit, 2...
...Basic clock input terminal, 6...Waveform shaping circuit, 7.8.9.10...Clock distribution terminal, 11
...Counter circuit, 13...Constant setting circuit, 14...Counter, 16...Comparison circuit, 17...Clock selection circuit, 18...
...Shift register, 30...Basic clock bus, 38...AND circuit, 41.42.43.44...Flip-flop, 120...Basic - Select clock selection signal, 190...Basic clock, 230...Tarotsuku selection signal.

Claims (1)

【特許請求の範囲】 1、外部から供給される基本クロックを複数の分配先に
分配するクロック分配手段と、 前記基本クロックをカウントしてクロックの分配出力の
タイミングを設定するカウンタと、このカウンタによっ
て定められたタイミングごとにクロックを出力するか否
かを分配先ごとに設定するマスク手段と、 前記マスク手段によってマスクされたクロックと前記ク
ロック分配手段によって分配されたクロックのいずれか
を選択してそれぞれの分配先に出力するクロック選択手
段 とを具備することを特徴とするクロック分配回路。 2、クロック選択手段から出力されるクロックの波形を
成形する波形成形手段を具備することを特徴とする特許
請求の範囲第1項記載のクロック分配回路。
[Scope of Claims] 1. Clock distribution means that distributes a basic clock supplied from the outside to a plurality of distribution destinations; a counter that counts the basic clock and sets the timing of the clock distribution output; masking means for setting whether or not to output a clock at each predetermined timing for each distribution destination; and selecting either the clock masked by the masking means or the clock distributed by the clock distribution means, respectively. 1. A clock distribution circuit comprising: clock selection means for outputting a clock to a distribution destination. 2. The clock distribution circuit according to claim 1, further comprising waveform shaping means for shaping the waveform of the clock output from the clock selection means.
JP63308850A 1988-12-08 1988-12-08 Clock distribution circuit Pending JPH02155308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63308850A JPH02155308A (en) 1988-12-08 1988-12-08 Clock distribution circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63308850A JPH02155308A (en) 1988-12-08 1988-12-08 Clock distribution circuit

Publications (1)

Publication Number Publication Date
JPH02155308A true JPH02155308A (en) 1990-06-14

Family

ID=17986023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63308850A Pending JPH02155308A (en) 1988-12-08 1988-12-08 Clock distribution circuit

Country Status (1)

Country Link
JP (1) JPH02155308A (en)

Similar Documents

Publication Publication Date Title
US5898329A (en) Programmable pulse width modulation circuit
JPH0682146B2 (en) Sukiyanpass type logic integrated circuit
JPS58209230A (en) Programmable counter
US3992635A (en) N scale counter
US5086441A (en) Frequency divider circuit
US6567494B2 (en) Method for dividing the frequency of a clock signal and frequency divider circuit for implementing the method
US6222900B1 (en) Counter device
US5473652A (en) Counter and/or divider arrangement
JP3342044B2 (en) Pulse generation circuit
JP2001282384A (en) Software programmable timer unit
JP2748401B2 (en) Error pulse counting circuit
JP2571622B2 (en) Divider
SU1758858A1 (en) Oscillator
JPH0612255A (en) Program counter circuit
JPH0341824A (en) Presettable counter circuit
JPS61176208A (en) Generating circuit for pwm signal
JP2003256068A (en) Clock control system
JPH0789145B2 (en) Electronic device including reset signal generating circuit
JPH04312016A (en) Frequency divider
JPS6260195A (en) Refresh control circuit
JPS58117057A (en) Bit pattern generating circuit
JPS63276915A (en) Timing signal generating circuit
JPH05129936A (en) Programmable counter
JPH0583878B2 (en)
JPH0253323A (en) High speed variable frequency divider circuit with high frequency division number