JPH04344711A - Frequency divider - Google Patents

Frequency divider

Info

Publication number
JPH04344711A
JPH04344711A JP11728091A JP11728091A JPH04344711A JP H04344711 A JPH04344711 A JP H04344711A JP 11728091 A JP11728091 A JP 11728091A JP 11728091 A JP11728091 A JP 11728091A JP H04344711 A JPH04344711 A JP H04344711A
Authority
JP
Japan
Prior art keywords
clock
frequency divider
output
input
frequency
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
JP11728091A
Other languages
Japanese (ja)
Inventor
Zenichiro Ogi
荻 善一郎
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 JP11728091A priority Critical patent/JPH04344711A/en
Publication of JPH04344711A publication Critical patent/JPH04344711A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To realize the frequency divider able to reduce the test time by providing the mode to output an input clock as it is so as to avoid frequency division. CONSTITUTION:The frequency divider consists of basic blocks connected in cascade. Each block is formed in such a way that a clock input 3 and an output 4 of a T flip-flop 1 are inputted to a multiplexer 2 and a control signal 5 is used to switch the clock input 3 or the output 4 of the T flip-flop 4 and the output is outputted to an output 6. In the frequency divider in which the basic blocks are connected in cascade, a frequency division ratio is optionally set by setting a control signal input of each stage, and when all the stages are set to the mode not frequency-dividing the input signal at test, the clock is directly fed to the logic circuit clock of the frequency divider and the test is conducted in a short time without frequency division time.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は分周周期を容易に切り替
えて出力することのできる分周器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frequency divider that can easily switch and output a frequency division period.

【0002】0002

【従来の技術】近年、分周器を備えた集積回路が広く用
いられ、そのテスト時間を短縮することが重要な課題と
なっている。
2. Description of the Related Art In recent years, integrated circuits equipped with frequency dividers have been widely used, and reducing the test time thereof has become an important issue.

【0003】以下、従来の分周器について図面を参照し
ながら説明する。図4は従来のT型フリップフロップで
構成される分周器の構成を回路図で示す。図において、
1、2、3、4、5および6のT型フリップフロップが
縦続接続され、クロック入力7に入力されたクロックが
6つのT型フリップフロップを通り、64分周されて出
力8に出力される。この出力信号により動作する論理回
路が半導体集積回路の同一チップ上に構成される場合、
その論理回路の動作テストを行うには、この分周器の場
合、(入力クロック周期)x64(分周比)の時間を常
に必要とする。
A conventional frequency divider will be explained below with reference to the drawings. FIG. 4 is a circuit diagram showing the configuration of a frequency divider made up of conventional T-type flip-flops. In the figure,
T-type flip-flops 1, 2, 3, 4, 5, and 6 are connected in cascade, and the clock input to clock input 7 passes through the six T-type flip-flops, is divided by 64, and is output to output 8. . When a logic circuit operated by this output signal is configured on the same chip of a semiconductor integrated circuit,
In order to test the operation of the logic circuit, this frequency divider always requires a time equal to (input clock period) x 64 (frequency division ratio).

【0004】0004

【発明が解決しようとする課題】このような従来の分周
器を備えた半導体集積回路において、分周器の出力信号
により動作する論理回路の動作をテストする場合、構成
するフリップフロップの段数が多い場合や分周器に入力
される入力クロックの周期が遅い場合、多大な時間を必
要とする。
[Problem to be Solved by the Invention] In a semiconductor integrated circuit equipped with such a conventional frequency divider, when testing the operation of a logic circuit operated by the output signal of the frequency divider, it is necessary to If there are many clocks or if the period of the input clock input to the frequency divider is slow, a large amount of time is required.

【0005】本発明は上記の課題を解決するもので、分
周器のフリップフロップの段数に関係なくその分周器の
出力に続く論理回路のテスト時間を短縮するための機能
を備えた分周器を提供することを目的とする。
The present invention solves the above-mentioned problem, and is a frequency divider having a function of shortening the test time of the logic circuit following the output of the frequency divider regardless of the number of stages of flip-flops in the frequency divider. The purpose is to provide equipment.

【0006】[0006]

【課題を解決するための手段】本発明は上記の目的を達
成するために、クロックを入力して前記クロックまたは
その1/2分周したクロックを制御信号に対応して出力
する基本ブロックを縦続接続して分周器を構成し、前記
基本ブロックはクロックを入力して1/2分周するT型
フリップフロップと、前記クロックと前記T型フリップ
フロップの出力とを制御信号で切り替えて出力するマル
チプレクサとを備えた分周器とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention consists of cascaded basic blocks that input a clock and output the clock or a clock whose frequency is divided by 1/2 in response to a control signal. are connected to form a frequency divider, and the basic block includes a T-type flip-flop that inputs a clock and divides the frequency by 1/2, and a control signal that switches between the clock and the output of the T-type flip-flop and outputs the output. A frequency divider with a multiplexer.

【0007】[0007]

【作用】本発明は上記の構成において、基本ブロックを
縦続接続することで分周器を構成し、各段の前記基本ブ
ロックが制御信号によりクロックを1/2分周するか、
または分周しないでそのまま出力することで、分周器の
分周比が設定される。
[Operation] In the above configuration, the present invention configures a frequency divider by cascading basic blocks, and the basic blocks in each stage divide the clock frequency by 1/2 according to a control signal, or
Alternatively, the frequency division ratio of the frequency divider is set by outputting the signal as it is without frequency division.

【0008】[0008]

【実施例】以下、本発明の一実施例の分周器について、
図面を参照しながら説明する。図1は本発明の分周器を
構成する基本ブロックの構成を回路図で示す。図におい
て、T型フリップフロップ1と、マルチプレクサ2とで
構成し、クロック入力3と出力4とを制御信号5によっ
て出力6にどちらを出力するか切り替える構成とする。   したがって、クロック入力3をそのままT型フリッ
プフロップ1で分周することなく出力6から出力するこ
とができる。
[Embodiment] Hereinafter, regarding a frequency divider according to an embodiment of the present invention,
This will be explained with reference to the drawings. FIG. 1 shows a circuit diagram of a basic block configuration of a frequency divider according to the present invention. In the figure, the circuit is constructed of a T-type flip-flop 1 and a multiplexer 2, and is configured to switch between a clock input 3 and an output 4 to be outputted to an output 6 using a control signal 5. Therefore, the clock input 3 can be directly output from the output 6 without being frequency-divided by the T-type flip-flop 1.

【0009】図2は、図1の基本ブロックを多段に接続
して構成した分周器の構成を回路図で示す。図において
、1、2、3、4、5および6は基本ブロックで、9、
10、11、12、13および14がそれぞれのブロッ
クの制御信号入力である。この制御信号入力をすべて同
じに設定して入力クロック7をまったく分周することな
く出力8に出力することができる。
FIG. 2 is a circuit diagram showing the structure of a frequency divider constructed by connecting the basic blocks of FIG. 1 in multiple stages. In the figure, 1, 2, 3, 4, 5 and 6 are basic blocks; 9,
10, 11, 12, 13 and 14 are control signal inputs of the respective blocks. By setting all the control signal inputs to be the same, the input clock 7 can be outputted to the output 8 without being frequency-divided at all.

【0010】図3は本発明の分周器を用いた集積回路の
実施例を回路図で示す。図において、1は発振回路、2
は本発明の分周器、3はクロック回路で4のマイクロコ
ンピュータに供給する基本クロックを発生する。自励発
振の場合、発振開始後に発振が安定するまである程度の
時間を必要とする。そのため発振回路1からの発振出力
を分周器2に取り込み、そこで発振安定時間をつくって
分周器2から分周された出力と、発振回路1からの発振
出力をクロック回路3に取り込み、分周期2からの出力
がでた時点で初めてクロック回路3は、マイクロコンピ
ュータ4にクロックを供給する。
FIG. 3 shows a circuit diagram of an embodiment of an integrated circuit using the frequency divider of the present invention. In the figure, 1 is an oscillation circuit, 2
3 is a frequency divider of the present invention, and 3 is a clock circuit which generates a basic clock to be supplied to the microcomputer 4. In the case of self-sustained oscillation, a certain amount of time is required until the oscillation stabilizes after the oscillation starts. Therefore, the oscillation output from the oscillation circuit 1 is taken into the frequency divider 2, and after creating an oscillation stabilization time, the frequency-divided output from the frequency divider 2 and the oscillation output from the oscillation circuit 1 are taken into the clock circuit 3. The clock circuit 3 supplies a clock to the microcomputer 4 only when the output from cycle 2 is output.

【0011】このようなシステムをテストする場合、通
常、テスト時は外部からクロックを供給する。この場合
、分周器を必要としないので、分周器2の6、7、8、
9、10および11の制御入力、すなわち図1における
制御入力5に相当する部分を切り替えることにより、図
3の分周器2の入力を、そのままクロック回路3に出力
することができる。
[0011] When testing such a system, a clock is normally supplied from outside during the test. In this case, since a frequency divider is not required, 6, 7, 8 of frequency divider 2,
By switching the control inputs 9, 10, and 11, that is, the portion corresponding to the control input 5 in FIG. 1, the input of the frequency divider 2 in FIG. 3 can be directly output to the clock circuit 3.

【0012】このように本発明の実施例の分周器によれ
ば、分周器の各段が入力クロックを1/2分周するかま
たはそのまま出力するかを制御信号で設定されるように
構成することにより、集積回路の分周器部分以外をテス
トするとき、分周器をまったく分周動作させないように
設定して、分周時間待ちなく速やかにテストできる効果
がある。
As described above, according to the frequency divider according to the embodiment of the present invention, each stage of the frequency divider can be set by the control signal whether to divide the input clock by 1/2 or output it as is. By configuring this, when testing parts other than the frequency divider portion of an integrated circuit, the frequency divider is set so as not to operate at all, and the test can be performed quickly without waiting for the frequency division time.

【0013】なお、分周器をテストする場合、制御入力
を切り替えることにより、少数ずつにフリップフロップ
をグルーピングしたり、または単体でその動作を確認す
ることができる。
[0013] When testing the frequency divider, by switching the control input, it is possible to group the flip-flops into small groups or to check the operation of each flip-flop individually.

【0014】[0014]

【発明の効果】以上の実施例から明らかなように、本発
明はクロックを入力して前記クロックまたはその1/2
分周したクロックを制御信号に対応して出力する基本ブ
ロックを縦続接続して分周器を構成し、前記基本ブロッ
クはクロックを入力して1/2分周するT型フリップフ
ロップと、前記クロックと前記T型フリップフロップの
出力とを制御信号で切り替えて出力するマルチプレクサ
とを備えた分周器とすることにより、その分周器の出力
により動作する論理回路があるとき、その論理回路をテ
ストする場合、あたかもその分周器がないときと同じよ
うに扱うことができ、余分な時間を使わずに、短時間で
テストすることを可能にすることが出来る。
Effects of the Invention As is clear from the embodiments described above, the present invention can input a clock and convert the clock or its half
A frequency divider is configured by cascading basic blocks that output a frequency-divided clock in response to a control signal, and the basic block includes a T-type flip-flop that inputs a clock and divides the frequency by 1/2, and a T-type flip-flop that inputs a clock and divides the frequency by 1/2, and By using a frequency divider equipped with a multiplexer that switches and outputs the output of the T-type flip-flop using a control signal, if there is a logic circuit that operates based on the output of the frequency divider, that logic circuit can be tested. In this case, the frequency divider can be treated as if it were not present, making it possible to test in a short time without using extra time.

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

【図1】本発明の分周器を構成する基本ブロックの構成
を示す回路図
FIG. 1 is a circuit diagram showing the configuration of basic blocks constituting the frequency divider of the present invention.

【図2】本発明の一実施例の分周器の構成を示す回路図
FIG. 2 is a circuit diagram showing the configuration of a frequency divider according to an embodiment of the present invention.

【図3】本発明の分周器を用いた応用回路の構成を示す
回路図
[Fig. 3] A circuit diagram showing the configuration of an applied circuit using the frequency divider of the present invention.

【図4】従来の分周器の構成を示す回路図[Figure 4] Circuit diagram showing the configuration of a conventional frequency divider

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

1  T型フリップフロップ回路 2  マルチプレクサ 3  T型フリップフロップのクロック入力4  T型
フリップフロップのクロック出力5  マルチプレクサ
の制御信号入力 6  マルチプレクサの出力
1 T-type flip-flop circuit 2 Multiplexer 3 T-type flip-flop clock input 4 T-type flip-flop clock output 5 Multiplexer control signal input 6 Multiplexer output

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  クロックを入力して前記クロックまた
はその1/2分周したクロックを制御信号に対応して出
力する基本ブロックを縦続接続して分周器を構成し、前
記基本ブロックはクロックを入力して1/2分周するT
型フリップフロップと、前記クロックと前記T型フリッ
プフロップの出力とを制御信号で切り替えて出力するマ
ルチプレクサとを備えた分周器。
1. A frequency divider is configured by cascade-connecting basic blocks that input a clock and output the clock or a clock obtained by dividing the clock by 1/2 in response to a control signal, and the basic blocks input the clock and output the clock or a clock obtained by dividing the clock by 1/2. Input T to divide by 1/2
A frequency divider comprising a T-type flip-flop and a multiplexer that switches and outputs the clock and the output of the T-type flip-flop using a control signal.
JP11728091A 1991-05-22 1991-05-22 Frequency divider Pending JPH04344711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11728091A JPH04344711A (en) 1991-05-22 1991-05-22 Frequency divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11728091A JPH04344711A (en) 1991-05-22 1991-05-22 Frequency divider

Publications (1)

Publication Number Publication Date
JPH04344711A true JPH04344711A (en) 1992-12-01

Family

ID=14707840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11728091A Pending JPH04344711A (en) 1991-05-22 1991-05-22 Frequency divider

Country Status (1)

Country Link
JP (1) JPH04344711A (en)

Similar Documents

Publication Publication Date Title
US6480045B2 (en) Digital frequency multiplier
JPH0519892A (en) Variable clock frequency dividing circuit
US20080012605A1 (en) Glitch-free clock switcher
JPH0682146B2 (en) Sukiyanpass type logic integrated circuit
US3992635A (en) N scale counter
JPS63211919A (en) Clock generating circuit
JPH04344711A (en) Frequency divider
JPH0192673A (en) Counter testing device
JPH02118801A (en) Arbitrary/sequence selection circuit for sequence selection preference
JP3124912B2 (en) Timer device
JPH0352041Y2 (en)
JP2689462B2 (en) Clock skew adjustment circuit
JP2953713B2 (en) Semiconductor integrated circuit
JPH0815392A (en) Test mode setting circuit
JPS63106816A (en) Clock distribution circuit
JP2538074B2 (en) Logic integrated circuit
JP2621205B2 (en) Divider circuit
KR100239446B1 (en) Test circuit of frequency composition unit having autoloachaing function
JPH0786889A (en) Pulse signal generating circuit
JPH03186912A (en) Clock signal selection circuit
JP3236235B2 (en) Toggle flip-flop
JPS61285523A (en) Clock switching circuit
JPH08328687A (en) Clock changeover circuit
JPH0645891A (en) Pulse shaping circuit and variable frequency divider system using the same
JPH05308259A (en) Integrated circuit for delay adjustment