[go: up one dir, main page]

JPH05136691A - Synchronizing counter - Google Patents

Synchronizing counter

Info

Publication number
JPH05136691A
JPH05136691A JP29427791A JP29427791A JPH05136691A JP H05136691 A JPH05136691 A JP H05136691A JP 29427791 A JP29427791 A JP 29427791A JP 29427791 A JP29427791 A JP 29427791A JP H05136691 A JPH05136691 A JP H05136691A
Authority
JP
Japan
Prior art keywords
output
ffs
clock signal
output terminal
counter
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.)
Withdrawn
Application number
JP29427791A
Other languages
Japanese (ja)
Inventor
Shohei Seki
昇平 関
Hiroyuki Yamada
浩幸 山田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP29427791A priority Critical patent/JPH05136691A/en
Publication of JPH05136691A publication Critical patent/JPH05136691A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To obtain the synchronizing counter of a multi-bit length operated at a high speed. CONSTITUTION:Outputs of T-FFs 102-104 are subject to re-clock by D-FFs 201-203 and outputs of the D-FFs 201, 202 are given to next-stage T-FF 103, 104. Thus, the outputs of the T-FFs 102-104 are delayed by stages of the flip- flops in comparison with a clock signal CKa. Thus, re-clock is attained by the D-FFs 201-203 and the synchronizing counter of a multi-bit length operated at a high speed is attained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、半導体集積回路等にお
けるクロック信号に同期して動作する同期式カウンタに
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronous counter that operates in synchronization with a clock signal in a semiconductor integrated circuit or the like.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
斎藤忠夫著「ディジタル回路」6版(昭62−10−3
0)コロナ社、P.102−103に記載されるものが
あった。以下、その構成を図を用いて説明する。
2. Description of the Related Art Conventionally, as a technique in such a field,
Tadao Saito "Digital Circuit" 6th Edition (Sho 62-10-3
0) Corona, P. 102-103. The configuration will be described below with reference to the drawings.

【0003】図3は、従来の4ビット同期式カウンタの
一構成例を示す回路図である。この4ビット同期式カウ
ンタは、4個のJK型フリップフロップ(以下、JK−
FFという)10〜13を有し、その最下位ビット(L
SB)のJK−FF10の2入力端子J,Kに、論理
“1”が接続されている。JK−FF10の正相出力端
子Qa及び逆相出力端子Qbのうち、出力端子Qaは、
LSBの出力端子Q0、JK−FF11の2入力端子
J,K、及びキャリー(桁上げ)用のアンドゲート(A
NDゲート)21,22にそれぞれ接続されている。
FIG. 3 is a circuit diagram showing an example of the configuration of a conventional 4-bit synchronous counter. This 4-bit synchronous counter has four JK-type flip-flops (hereinafter, JK-
FF) 10 to 13, and the least significant bit (L
The logic "1" is connected to the two input terminals J and K of the SB) JK-FF10. Of the positive phase output terminal Qa and the negative phase output terminal Qb of the JK-FF10, the output terminal Qa is
Output terminal Q0 of LSB, two input terminals J and K of JK-FF11, and AND gate (A) for carry (carry).
ND gates) 21 and 22, respectively.

【0004】JK−FF11の出力端子Qaは、出力端
子Q1及びANDゲート21,22に接続され、そのA
NDゲート21がJK−FF12の2入力端子J,Kに
接続されている。JK−FF12の出力端子Qaは、出
力端子Q2及びANDゲート22に接続され、そのAN
Dゲート22がJK−FF13の2入力端子J,Kに接
続され、さらにそのJK−FF13の出力端子Qaが最
上位ビット(MSB)の出力端子Q3に接続されてい
る。各JK−FF10〜13のクロック入力端子には、
逆相クロック信号CKbが共通接続されている。
The output terminal Qa of the JK-FF11 is connected to the output terminal Q1 and AND gates 21 and 22, and its A
The ND gate 21 is connected to the two input terminals J and K of the JK-FF12. The output terminal Qa of the JK-FF 12 is connected to the output terminal Q2 and the AND gate 22, and its AN
The D gate 22 is connected to the two input terminals J and K of the JK-FF 13, and the output terminal Qa of the JK-FF 13 is connected to the output terminal Q3 of the most significant bit (MSB). The clock input terminal of each JK-FF10-13,
The anti-phase clock signal CKb is commonly connected.

【0005】JK−FF10〜13は、2入力端子J,
Kを共に“0”にすれば、現在の状態が保持され、共に
“1”にすると出力が反転する。クロック信号CKbの
負のエッジトリガ(立下がり)により、JK−FF10
は、そのクロック信号CKbを1/2分周した信号を、
出力端子Q0、JK−FF11の入力端子J,K、及び
ANDゲート21,22へ出力する。
The JK-FFs 10 to 13 have two input terminals J,
When both K are set to "0", the current state is held, and when both are set to "1", the output is inverted. By the negative edge trigger (falling edge) of the clock signal CKb, the JK-FF10
Is a signal obtained by dividing the clock signal CKb by 1/2,
Output to the output terminal Q0, the input terminals J and K of the JK-FF11, and the AND gates 21 and 22.

【0006】JK−FF11は、出力端子Q0が“1”
の時、クロック信号CKbの負のエッジトリガに同期し
て出力状態が反転し、それを出力端子Q1及びANDゲ
ート21,22へ出力する。JK−FF12,13は、
それぞれ出力端子Q1,Q2が“1”の時、クロック信
号CKbの負のエッジトリガに同期して出力状態が反転
し、それを出力端子Q2,Q3からそれぞれ出力する。
このようにして、4ビットのバイナリ・カウンタ動作が
実行される。
The output terminal Q0 of the JK-FF11 is "1".
At this time, the output state is inverted in synchronization with the negative edge trigger of the clock signal CKb, and it is output to the output terminal Q1 and the AND gates 21 and 22. JK-FF12,13,
When the output terminals Q1 and Q2 are "1", the output states are inverted in synchronization with the negative edge trigger of the clock signal CKb and are output from the output terminals Q2 and Q3, respectively.
In this way, a 4-bit binary counter operation is executed.

【0007】図3と同様の接続法により、n個のJK−
FFを用いてnビットの同期式カウンタを構成できる。
By the same connection method as in FIG. 3, n JK-
An n-bit synchronous counter can be configured using the FF.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記構
成の同期式カウンタでは、次のような課題があった。
However, the synchronous counter having the above structure has the following problems.

【0009】(a) JK−FF10〜13の数を増や
してビット数を大きくすると、LSBのJK−FF10
の出力端子Qaに接続されるJK−FF11〜13の数
が多くなり、そのJK−FF10のファンアウト数(1
つのゲートの出力端子に接続している並列負荷の数)が
増大する。そのため、同期式カウンタの動作速度が遅く
なるという問題があった。
(A) When the number of JK-FFs 10 to 13 is increased to increase the number of bits, the LSB JK-FF 10 is increased.
The number of JK-FFs 11 to 13 connected to the output terminal Qa of the JK-FF 10 increases, and the fanout number (1
The number of parallel loads connected to the output terminals of one gate increases. Therefore, there is a problem that the operation speed of the synchronous counter becomes slow.

【0010】(b) ビット数が多くなると、MSBの
JK−FF13の入力端子J,Kに接続されるANDゲ
ート22のファンイン数(論理ゲートにおいて、1つの
ゲートに接続しうる入力の数)が増え、同期式カウンタ
の動作速度を遅くするという問題もあった。
(B) When the number of bits increases, the number of fan-ins of the AND gate 22 connected to the input terminals J and K of the JK-FF 13 of the MSB (the number of inputs that can be connected to one gate in the logic gate). However, there is also a problem that the operation speed of the synchronous counter is slowed down.

【0011】本発明は前記従来技術が持っていた課題と
して、ビット数の増大によって動作速度が低下するとい
う点について解決した同期式カウンタを提供するもので
ある。
The present invention provides a synchronous counter which solves the problem that the above-mentioned prior art has the problem that the operating speed is reduced due to an increase in the number of bits.

【0012】[0012]

【課題を解決するための手段】本発明は、前記課題を解
決するために、クロック信号に同期して動作するnビッ
ト(但し、nは自然数)の同期式カウンタにおいて、前
記クロック信号に基づき出力状態が反転する第1のトグ
ル型フリップフロップ(以下、T−FFという)と、第
2〜第nのT−FFと、前記第2〜第nのT−FFの出
力側にそれぞれ接続され、前記クロック信号に同期して
その各T−FFの出力を入力し所定のタイミングで出力
する第1〜第(n−1)の遅延型フリップフロップ(以
下、D−FFという)とを備えている。
In order to solve the above problems, the present invention provides an n-bit (where n is a natural number) synchronous counter that operates in synchronization with a clock signal, and outputs based on the clock signal. A first toggle flip-flop (hereinafter, referred to as T-FF) whose state is inverted, a second to nth T-FF, and an output side of the second to nth T-FF, respectively, The first to (n-1) th delay flip-flops (hereinafter referred to as D-FFs) are provided, which receive the output of each T-FF in synchronization with the clock signal and output at a predetermined timing. ..

【0013】そして、第2のT−FFは前記第1のT−
FFの出力に同期して動作させ、前記第3〜第nのT−
FFは前記第1〜第(n−2)のD−FFの出力に同期
して動作させ、さらに前記第1のT−FFの出力と前記
第1〜第(n−1)のD−FFの出力とを、カウンタ出
力とする構成にしている。
The second T-FF is the first T-FF.
The third to nth T- are operated in synchronization with the output of the FF.
The FF is operated in synchronization with the outputs of the first to (n-2) th D-FFs, and further, the output of the first T-FF and the first to (n-1) th D-FFs. And the output of are counter outputs.

【0014】[0014]

【作用】本発明によれば、以上のように同期式カウンタ
を構成したので、第1のT−FFはクロック信号を入力
し、そのクロック信号に基づき出力状態を反転してLS
Bのカウンタ出力を送出する。このLSBのカウンタ出
力は、第2のT−FFへ入力され、該第2のT−FFの
出力が第1のD−FFへ送られる。第1のD−FFで
は、クロック信号に同期して第2のT−FFの出力を入
力し所定のタイミングで2ビット目のカウンタ出力を送
出する。この2ビット目のカウンタ出力は、第3のT−
FFへ入力される。以下同様に動作し、第2〜第nのT
−FFの出力が第1〜第(n−1)のD−FFでリクロ
ックされ、第1〜第(n−2)のD−FFの出力が第3
〜第nのT−FFへ順次入力される。従って、前記課題
を解決できるのである。
According to the present invention, since the synchronous counter is constructed as described above, the first T-FF receives the clock signal, inverts the output state based on the clock signal, and outputs the LS signal.
The counter output of B is transmitted. The counter output of the LSB is input to the second T-FF, and the output of the second T-FF is sent to the first D-FF. In the first D-FF, the output of the second T-FF is input in synchronization with the clock signal, and the counter output of the second bit is sent out at a predetermined timing. The output of the counter of the second bit is the third T-
Input to FF. The same operation is performed thereafter, and the second to nth T
The output of the −FF is reclocked by the first to (n−1) th D-FFs, and the output of the first to (n−2) th D-FFs is the third.
~ Is sequentially input to the n-th T-FF. Therefore, the above problem can be solved.

【0015】[0015]

【実施例】図1は、本発明の実施例を示す4ビット同期
式カウンタの回路図である。この4ビット同期式カウン
タは、第1〜第4のT−FF101〜104と、第1〜
第3のD−FF201〜203とで構成され、正相クロ
ック信号CKaに同期してそのクロックパルスをカウン
トして4ビットの出力端子Q0〜Q3から出力する機能
を有している。各T−FF101〜104は、クロック
端子C1〜C4及び出力端子TQ1〜TQ4をそれぞれ
有している。また、各D−FF201〜203は、入力
端子D1〜D3、クロック端子CL1〜CL3、及び正
相出力端子Qa1〜Qa3をそれぞれ有している。
1 is a circuit diagram of a 4-bit synchronous counter showing an embodiment of the present invention. The 4-bit synchronous counter includes first to fourth T-FFs 101 to 104 and first to fourth T-FFs 101 to 104.
The third D-FFs 201 to 203 have a function of counting the clock pulses in synchronization with the positive phase clock signal CKa and outputting the clock pulses from the 4-bit output terminals Q0 to Q3. Each of the T-FFs 101 to 104 has clock terminals C1 to C4 and output terminals TQ1 to TQ4, respectively. In addition, each of the D-FFs 201 to 203 has input terminals D1 to D3, clock terminals CL1 to CL3, and positive phase output terminals Qa1 to Qa3, respectively.

【0016】正相のクロック信号CKaは第1のT−F
F101のクロック端子C1、及び第1〜第3のT−F
F201〜203の各クロック端子CL1〜CL3に供
給され、該第1のT−FF101の出力端子TQ1がL
SBの出力端子Q0に接続されると共に、第2のT−F
F102のクロック端子C2に接続されている。第2の
T−FF102の出力端子TQ2は、第1のD−FF2
01の入力端子D1に接続され、その出力端子Qa1が
2ビット目の出力端子Q1に接続されると共に、第3の
T−FF103のクロック端子C3に接続されている。
The positive-phase clock signal CKa is the first T-F.
A clock terminal C1 of F101 and first to third T-F
The clock terminals CL1 to CL3 of the F201 to 203 are supplied to the output terminal TQ1 of the first T-FF101.
The second TF is connected to the output terminal Q0 of the SB
It is connected to the clock terminal C2 of F102. The output terminal TQ2 of the second T-FF 102 is connected to the first D-FF2.
01 is connected to the input terminal D1 of the third T-FF 103, and its output terminal Qa1 is connected to the output terminal Q1 of the second bit and the clock terminal C3 of the third T-FF 103.

【0017】第3のT−FF103の出力端子TQ3
は、第2のD−FF201の入力端子D2に接続され、
その出力端子Qa2が、3ビット目の出力端子Q2に接
続されると共に、第4のT−FF104のクロック端子
C4に接続されている。第4のT−FF104の出力端
子TQ4は、第3のD−FF203の入力端子D3に接
続され、その出力端子Qa3がMSBの出力端子Q3に
接続されている。
Output terminal TQ3 of the third T-FF 103
Is connected to the input terminal D2 of the second D-FF 201,
The output terminal Qa2 is connected to the output terminal Q2 of the third bit and the clock terminal C4 of the fourth T-FF 104. The output terminal TQ4 of the fourth T-FF 104 is connected to the input terminal D3 of the third D-FF 203, and its output terminal Qa3 is connected to the output terminal Q3 of the MSB.

【0018】図2は図1のタイミングチャートであり、
この図を参照しつつ、図1の動作を説明する。なお、図
2中のt1はT−FF101の遅延時間、t2はT−F
F102の遅延時間、t3はT−FF103の遅延時
間、tはD−FF201の遅延時間である。またA0〜
A3は立下がりタイミングである。
FIG. 2 is a timing chart of FIG.
The operation of FIG. 1 will be described with reference to this figure. In FIG. 2, t1 is the delay time of the T-FF 101, and t2 is T-F.
The delay time of F102, t3 is the delay time of T-FF103, and t is the delay time of D-FF201. Also A0
A3 is the fall timing.

【0019】すべてのT−FF101〜104及びD−
FF201〜203は、例えばネガティブエッジ(立下
がり)で動作する。T−FF101はクロック信号CK
aに同期して動作し、クロックパルスが2個入力される
毎に、該T−FF101の出力端子TQ1が立下がり、
カウンタのLSB出力端子Q0が立下がる。T−FF1
02は出力端子TQ1の立下がりに同期して動作し、該
出力端子TQ1の立下がり出力が2個入力する毎に、出
力端子TQ2が立下がる。この出力端子TQ2の出力
は、D−FF201によってクロック信号CKaに同期
した信号となり、その出力端子Qa1から出力端子Q1
へ出力され、カウンタの2ビット目出力を得る。
All T-FFs 101-104 and D-
The FFs 201 to 203 operate at a negative edge (falling edge), for example. T-FF101 is a clock signal CK
It operates in synchronization with a, and every time two clock pulses are input, the output terminal TQ1 of the T-FF101 falls,
The LSB output terminal Q0 of the counter falls. T-FF1
02 operates in synchronization with the fall of the output terminal TQ1, and the output terminal TQ2 falls every time two falling outputs of the output terminal TQ1 are input. The output from the output terminal TQ2 becomes a signal synchronized with the clock signal CKa by the D-FF 201, and the output terminal Qa1 to the output terminal Q1.
To output the second bit output of the counter.

【0020】T−FF103はD−FF201の出力端
子Qa1の立下がりに同期して動作し、その出力端子T
Q3の出力がD−FF202によってクロック信号CK
aに同期した信号となり、カウンタの出力端子Q2から
3ビット目の出力を得る。同様に、T−FF104はD
−FF202の出力端子Qa2の立下がりに同期して動
作し、その出力端子TQ4の出力がD−FF203によ
ってクロック信号CKaに同期した信号となり、カウン
タの出力端子Q3からMSB出力を得る。
The T-FF 103 operates in synchronization with the fall of the output terminal Qa1 of the D-FF 201, and its output terminal Ta.
The output of Q3 is the clock signal CK by the D-FF202.
It becomes a signal synchronized with a, and the output of the third bit is obtained from the output terminal Q2 of the counter. Similarly, T-FF104 is D
The FF202 operates in synchronization with the fall of the output terminal Qa2, the output of the output terminal TQ4 becomes a signal synchronized with the clock signal CKa by the D-FF203, and the MSB output is obtained from the output terminal Q3 of the counter.

【0021】ここで、T−FF102の出力エッジは、
クロック信号CKaの立下がりに対し、T−FF101
の遅延時間t1と該T−FF102の遅延時間t2の分
だけ遅れる。T−FF103の出力エッジは、クロック
信号の立下がりに対し、D−FF201の遅延時間tと
該T−FF103の遅延時間t3の分だけ遅れる。
Here, the output edge of the T-FF 102 is
When the clock signal CKa falls, the T-FF101
Of the delay time t1 and the delay time t2 of the T-FF 102. The output edge of the T-FF 103 is delayed by the delay time t of the D-FF 201 and the delay time t3 of the T-FF 103 with respect to the falling edge of the clock signal.

【0022】各T−FF101〜104の出力は、通
常、図3のようにクロック信号CKbに同期するJK−
FF10〜13の出力を用いているので、入力クロック
に対する遅れはJK−FFの遅延時間となる。従って、
各T−FF102〜104の出力は、クロック信号CK
aに比べてFF2段分しか遅れないため、各D−FF2
01〜203でリクロック(タイミング調整)できる。
The outputs of the T-FFs 101 to 104 are normally JK- synchronized with the clock signal CKb as shown in FIG.
Since the outputs of the FFs 10 to 13 are used, the delay with respect to the input clock is the delay time of JK-FF. Therefore,
The output of each T-FF 102 to 104 is a clock signal CK.
Since it is delayed by two FF stages compared to a, each D-FF2
01 to 203 can be used for reclocking (timing adjustment).

【0023】各T−FF102〜104の出力は、各D
−FF201〜203をそれぞれ通すことによってクロ
ック信号CKaと同期を取るため、第2図の立下がりタ
イミングA0〜A3のように、出力端子Q0〜Q3の立
下がり信号が上位ビットへ伝搬して1クロックづつ遅れ
る。そのため、通常のバイナリカウンタのような自然2
進数とは異なった値が出力される。しかし、連続した1
6(24 )個のクロックパルス入力により得る出力デー
タはすべて異なるので、同期カウンタとして使用でき
る。このことは、ビット数を任意の値としたカウンタを
同様な構成で制作しても、問題は無い。
The outputs of the T-FFs 102 to 104 are D
Since it is synchronized with the clock signal CKa by passing through each of the FFs 201 to 203, the falling signals of the output terminals Q0 to Q3 propagate to the upper bits and become 1 clock, as at the falling timings A0 to A3 in FIG. Delay one by one. Therefore, it is natural 2 like a normal binary counter.
A value different from the base number is output. But one in a row
Since the output data obtained by inputting 6 (2 4 ) clock pulses are all different, it can be used as a synchronous counter. This means that there is no problem even if a counter having an arbitrary number of bits is produced with the same configuration.

【0024】以上のように、本実施例では、T−FF1
02〜104の出力をD−FF201〜203でリクロ
ックし、そのD−FF201,202の出力データを次
段のT−FF103,104の入力としている。そのた
め、同期式カウンタを多数のT−FF101〜104で
構成しても、その各T−FF101〜104の出力はク
ロック信号CKaに比べ、FF2段分しか遅れないの
で、D−FF201〜203でリクロックが可能とな
り、高速で動作する多ビット長のT−FFを有する同期
式カウンタを構成できる。
As described above, in this embodiment, T-FF1
The outputs of 02 to 104 are reclocked by the D-FFs 201 to 203, and the output data of the D-FFs 201 and 202 are input to the T-FFs 103 and 104 of the next stage. Therefore, even if the synchronous counter is composed of a large number of T-FFs 101 to 104, the output of each of the T-FFs 101 to 104 lags behind the clock signal CKa by only two stages of FFs. Therefore, it is possible to configure a synchronous counter having a T-FF having a multi-bit length that operates at high speed.

【0025】さらに、図示しないデコーダを用いて出力
端子Q0〜Q3の出力信号が特定の値になった時、該デ
コーダからリセット信号を発生し、各T−FF101〜
104及びD−FF201〜203をリセット(また
は、セット)すると、任意の周期の同期式カウンタを実
現できる。
Further, when the output signals of the output terminals Q0 to Q3 reach a specific value by using a decoder (not shown), a reset signal is generated from the decoder and each of the T-FFs 101 to 101.
When the 104 and the D-FFs 201 to 203 are reset (or set), a synchronous counter with an arbitrary cycle can be realized.

【0026】なお、本発明は上記実施例に限定されず、
種々の変形が可能である。その変形例としては、例えば
次のようなものがある。
The present invention is not limited to the above embodiment,
Various modifications are possible. Examples of such modifications include the following.

【0027】(a) 図1では4ビット同期式カウンタ
について説明したが、他のビット数の同期式カウンタを
構成する場合、第1〜第nのD−FFと、第1〜第(n
−1)のD−FFとを設け、第1のT−FFはクロック
信号CKaに同期して動作し、第2のT−FFは第1の
T−FFの出力に同期して動作させ、第2〜第nのT−
FFの出力を第1〜第(n−1)のD−FFを用いてク
ロック信号CKaに同期した出力を得る。さらに、第k
(3≦k≦n)のT−FFをクロック信号CKaに同期
した第(k−1)のT−FFの出力で動作させればよ
い。
(A) Although the 4-bit synchronous counter has been described with reference to FIG. 1, in the case of forming a synchronous counter having another number of bits, the 1st to nth D-FFs and the 1st to (nth) are used.
-1) D-FF, the first T-FF operates in synchronization with the clock signal CKa, the second T-FF operates in synchronization with the output of the first T-FF, 2nd to nth T-
The output of the FF is synchronized with the clock signal CKa by using the first to (n-1) th D-FFs. Furthermore, the k-th
The (3 ≦ k ≦ n) T-FF may be operated by the output of the (k−1) th T-FF synchronized with the clock signal CKa.

【0028】(b) 図1のT−FF101〜104及
びD−FF201〜203は、ネガティブエッジで動作
するようにしたが、ポジティブエッジ(立上がりエッ
ジ)で動作させるようにしてもよい。また、各T−FF
101〜104は、クロックパルスが2個入力する毎に
その出力が反転するようになっているが、そのクロック
パルスの入力個数は他の任意の数の構成に変更すること
も可能である。このようにしても、上記実施例とほぼ同
様の利点が得られる。
(B) Although the T-FFs 101 to 104 and the D-FFs 201 to 203 in FIG. 1 are operated at the negative edge, they may be operated at the positive edge (rising edge). In addition, each T-FF
The outputs of 101 to 104 are inverted every time two clock pulses are input, but the number of input clock pulses can be changed to another arbitrary number. Even in this case, almost the same advantages as those of the above embodiment can be obtained.

【0029】[0029]

【発明の効果】以上詳細に説明したように、本発明によ
れば、T−FFの出力をD−FFでリクロックし、その
出力データを次段のT−FFの入力としている。そのた
め、多数のT−FFで構成しても、その各T−FFの出
力はクロックパルスに比べて例えばフリップフロップ数
段分しか遅れないため、D−FFでリクロックが可能と
なる。そのため、高速かつ多ビット長の同期式カウンタ
を簡単に構成できる。
As described in detail above, according to the present invention, the output of the T-FF is reclocked by the D-FF and the output data is used as the input of the T-FF in the next stage. Therefore, even if a large number of T-FFs are used, the output of each T-FF lags behind the clock pulse by, for example, several stages of flip-flops, and thus reclocking is possible with the D-FF. Therefore, a high-speed and multi-bit synchronous counter can be easily constructed.

【0030】また、カウンタの出力が特定の値になった
とき、デコーダ等を用いてリセット信号を発生させ、各
T−FF及びD−FFにリセットまたはセットするよう
な構成にすれば、任意の周期のカウンタを実現できる。
Further, when the output of the counter reaches a specific value, a reset signal is generated by using a decoder or the like to reset or set each T-FF and D-FF. A cycle counter can be realized.

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

【図1】本発明の実施例を示す4ビット同期式カウンタ
の回路図である。
FIG. 1 is a circuit diagram of a 4-bit synchronous counter showing an embodiment of the present invention.

【図2】図1のタイミングチャートである。FIG. 2 is a timing chart of FIG.

【図3】従来の4ビット同期式カウンタの回路図であ
る。
FIG. 3 is a circuit diagram of a conventional 4-bit synchronous counter.

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

101〜104 T−FF 201〜203 D−FF 101-104 T-FF 201-203 D-FF

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 クロック信号に同期して動作するnビッ
ト(但し、nは自然数)の同期式カウンタにおいて、 前記クロック信号に基づき出力状態が反転する第1のト
グル型フリップフロップと、第2〜第nのトグル型フリ
ップフロップと、前記第2〜第nのトグル型フリップフ
ロップの出力側にそれぞれ接続され、前記クロック信号
に同期してその各トグル型フリップフロップの出力を入
力し所定のタイミングで出力する第1〜第(n−1)の
遅延型フリップフロップとを備え、 前記第2のトグル型フリップフロップは前記第1のトグ
ル型フリップフロップの出力に同期して動作させ、前記
第3〜第nのトグル型フリップフロップは前記第1〜第
(n−2)の遅延型フリップフロップの出力に同期して
動作させ、前記第1のトグル型フリップフロップの出力
と前記第1〜第(n−1)の遅延型フリップフロップの
出力とを、カウンタ出力とする構成にしたことを特徴と
する同期式カウンタ。
1. An n-bit (where n is a natural number) synchronous counter that operates in synchronization with a clock signal, comprising a first toggle flip-flop whose output state is inverted based on the clock signal, and a second toggle flip-flop. The n-th toggle flip-flop and the output sides of the second to n-th toggle flip-flops are connected to each other, and the outputs of the toggle flip-flops are input in synchronization with the clock signal at predetermined timing. Outputting first to (n-1) th delay flip-flops, wherein the second toggle flip-flop is operated in synchronization with the output of the first toggle flip-flop, and the third to third delay flip-flops are output. The n-th toggle flip-flop is operated in synchronization with the outputs of the first to (n-2) th delay flip-flops, and the first toggle flip-flop is operated. Synchronous counter, wherein the output of the drop between the output of the first to the delay-type flip-flop of the (n-1), and to the configuration and counter output.
JP29427791A 1991-11-11 1991-11-11 Synchronizing counter Withdrawn JPH05136691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29427791A JPH05136691A (en) 1991-11-11 1991-11-11 Synchronizing counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29427791A JPH05136691A (en) 1991-11-11 1991-11-11 Synchronizing counter

Publications (1)

Publication Number Publication Date
JPH05136691A true JPH05136691A (en) 1993-06-01

Family

ID=17805627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29427791A Withdrawn JPH05136691A (en) 1991-11-11 1991-11-11 Synchronizing counter

Country Status (1)

Country Link
JP (1) JPH05136691A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5937024A (en) * 1997-02-27 1999-08-10 Nec Corporation Counter for counting high frequency
US6249157B1 (en) 1999-02-02 2001-06-19 Mitsubishi Denki Kabushiki Kaisha Synchronous frequency dividing circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5937024A (en) * 1997-02-27 1999-08-10 Nec Corporation Counter for counting high frequency
US6249157B1 (en) 1999-02-02 2001-06-19 Mitsubishi Denki Kabushiki Kaisha Synchronous frequency dividing circuit

Similar Documents

Publication Publication Date Title
US5087828A (en) Timing circuit for single line serial data
JP3169794B2 (en) Delay clock generation circuit
US6477186B1 (en) Fast operating multiplexer
JPH0220173B2 (en)
JP2576366B2 (en) Variable delay buffer circuit
JPH07101847B2 (en) Digital Phase Locked Loop Device
JPH05136691A (en) Synchronizing counter
JP3354597B2 (en) Counter circuit and its application circuit
KR100291126B1 (en) Circuit device including a plurality of sub-circuits and clock signal regeneration circuits
JP3238439B2 (en) Synchronous counter
JP2906966B2 (en) Pulse switching circuit
JPH04239819A (en) Synchronous counter
JPH05327479A (en) Semiconductor integrated circuit device
JP3150492B2 (en) Digital integration circuit device
JP3431754B2 (en) Synchronous counter
JP3201961B2 (en) Time counting circuit, pulse conversion circuit, and FM demodulation circuit
JP2643470B2 (en) Synchronous counter
JP2923175B2 (en) Clock generation circuit
JPH0683066B2 (en) Counter circuit
JPH06177722A (en) Broad range delay generating circuit
JPH0879029A (en) Four-phase clock pulse generating circuit
JPH06197012A (en) Ripple counter circuit
JPH06112784A (en) Pulse generator
JP2002204448A (en) Dot de-interleave circuit
JPH08212794A (en) Shift register

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204