JP2000174614A - High speed counter circuit - Google Patents

High speed counter circuit

Info

Publication number
JP2000174614A
JP2000174614A JP10349226A JP34922698A JP2000174614A JP 2000174614 A JP2000174614 A JP 2000174614A JP 10349226 A JP10349226 A JP 10349226A JP 34922698 A JP34922698 A JP 34922698A JP 2000174614 A JP2000174614 A JP 2000174614A
Authority
JP
Japan
Prior art keywords
flip
flop
dff
output
terminal
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
JP10349226A
Other languages
Japanese (ja)
Inventor
Tetsuya Kobayashi
哲也 小林
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP10349226A priority Critical patent/JP2000174614A/en
Publication of JP2000174614A publication Critical patent/JP2000174614A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To minimize the propagation delay time by giving a clock signal and all output signals of D flip-flop circuits of a preceding stage to an input side of each AND circuit provided respectively for a clock input terminal of each D flip-flop at post-stages except the 1st stage flip-flop and giving the clock signal to a clock input terminal of the 1st stage D flip-flop. SOLUTION: A 1st stage D flip-flop DFF1 and 2nd to 4th stages of D flip-flop circuits DFF2, DFF3, DFF4 in a hexadecimal counter circuit consisting of D flip-flop circuits are connected in cascade, output signals Q1, Q2, Q3, Q4 are respectively outputted from output terminals Q, and the D flip-flop circuits DFF1-DFF4 are connected to a reset signal line RST-S so that each output terminal inverse of Q and an input terminal D are connected and a reset signal RST is given simultaneously to each reset terminal R.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、高速回路回路に関
し、特に、D形フリップ・フロップを用い、フリップ・
フロップの遅延時間を最小としたカウンタ回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-speed circuit, and more particularly to a high-speed circuit using a D-type flip-flop.
The present invention relates to a counter circuit that minimizes a flop delay time.

【0002】[0002]

【従来の技術】近年のデジタル回路設計は、FPLA
(field programmable gate
array)やPLD(programmable l
ogicdevice)といったプログラマブルなロジ
ックデバイスを用いて論理回路を構成することが多い。
これらのデバイスを用いて設計する際、いかに伝搬遅延
時間を少なくするかが設計上における重要課題となって
いる。特に、フリップ・フロップによるカウンタは現在
のデジタル回路設計において必要不可欠な設計手法であ
るが、フリップ・フロップの遅延時間がカウンタの精度
を低下させることが多々ある。
2. Description of the Related Art In recent years, digital circuit design is based on FPLA.
(Field programmable gate
array) or PLD (programmable l)
In many cases, a logic circuit is configured using a programmable logic device such as an audio device.
When designing using these devices, how to reduce the propagation delay time is an important design issue. In particular, a flip-flop counter is an indispensable design technique in the current digital circuit design, but the delay time of the flip-flop often lowers the accuracy of the counter.

【0003】図3はこのフリップ・フロップによる従来
のカウンタ回路で、D形フリップ・フロップ(以下、D
フリップ・フロップと称す)を使用した場合である。
FIG. 3 shows a conventional counter circuit using this flip-flop, which is a D-type flip-flop (hereinafter referred to as D-type flip-flop).
(Referred to as a flip-flop).

【0004】図3はDフリップ・フロップを縦続接続し
てなる2進4桁、即ち、16進のカウンタ回路で、各D
フリップ・フロップは夫々入力端子Dと、出力端子Qが
接続され、下の桁から第1段目のフリップ・フロップを
DFF1,第2段目のフリップ・フロップをDFF2,第
3段目のフリップ・フロップをDFF3,第4段目のフ
リップ・フロップをDFF4とし、DFF1のクロック入
力端子CKにクロック信号CLKを入力し、DFF1
出力反転端子Q-からの出力信号をDFF2のクロック入
力端子CKに入力し、順次下段の出力反転端子Q-と次
の上段のクロック入力端子CKに入力するようになし、
各DFF1〜DFF4は、クロック入力端子CKに加わる
波形の正の立ち上がりで動作するようになっている。
FIG. 3 shows a binary 4-digit, ie, hexadecimal, counter circuit formed by cascading D flip-flops.
The input terminal D and the output terminal Q are connected to the flip-flop, respectively. The first flip-flop from the lower digit is DFF 1 , the second flip-flop is DFF 2 , and the third flip-flop is the flip-flop DFF 3, the flip-flop of the fourth stage as the DFF 4, receives a clock signal CLK to the DFF 1 clock input terminal CK, an output inverting terminal Q of the DFF 1 - DFF output signal from the 2 the input to the clock input terminal CK, sequentially lower output inversion terminal Q - and without to enter the next upper clock input terminal CK,
Each of the DFF 1 to DFF 4 operates at the positive rise of the waveform applied to the clock input terminal CK.

【0005】そして、各DFF1〜DFF4の出力端子Q
から出力信号Q1〜Q4が出力し、計数部に送られ、表
1のように16進のカウンタで計測される。
The output terminals Q of each of the DFF 1 to DFF 4
Output signals Q1 to Q4 are output to the counter, and are counted by a hexadecimal counter as shown in Table 1.

【0006】なお、各DFF1〜DFF4のリセット端子
Rには、共通のリセット信号RSTが加えられ、計数を
開始する前に全てのDフリップ・フロップをリセット状
態にする。
[0006] A common reset signal RST is applied to the reset terminal R of each of the DFF 1 to DFF 4 to reset all the D flip-flops before starting counting.

【0007】[0007]

【表1】 [Table 1]

【0008】図4に上記のカウンタ回路の動作を説明す
るためのタイムチャートを示す。
FIG. 4 is a time chart for explaining the operation of the above counter circuit.

【0009】同図においてCLKはクロック信号で、こ
のクロック信号CLKが第1段目のDフリップ・フロッ
プDFF1の入力端子CKに入力される。このクロック
信号CLKが入力されると、2分周した波形の出力信号
Q1が出力端子Qから出力され、同時に反転した信号が
出力反転端子Q-から第2段目のDフリップ・フロップ
DFF2の入力端子CKに入力される。
[0009] CLK in the figure by the clock signal, the clock signal CLK is input to the first stage D-input terminal CK of the flip-flop DFF 1. When the clock signal CLK is input, the output signal Q1 of the half frequency waveform is output from the output terminal Q, the inverted signal is output inverted terminal Q at the same time - from the second-stage D flip-flop DFF 2 Input to the input terminal CK.

【0010】このとき、第2段目のDフリップ・フロッ
プDFF2の入力端子CKには、DFF1に入力されるク
ロック信号CLKより、DFF1の伝搬遅れd1分だけ
遅れて入力される。
At this time, the clock signal CLK input to DFF 1 is input to the input terminal CK of the second-stage D flip-flop DFF 2 with a delay of the propagation delay d 1 of DFF 1 .

【0011】そして、DFF2の出力端子Qからの出力
信号Q2はクロック信号CLKよりDFF1とDFF2
伝搬遅延(d1+d2)を含んで出力される。
[0011] Then, the output signal Q2 from the output terminal Q of the DFF 2 is output includes DFF 1 and the propagation delay of the DFF 2 a (d1 + d2) from the clock signal CLK.

【0012】同様にDFF3の出力信号Q3は、DF
1,DFF2,DFF3の伝搬遅延(d1+d2+d
3)分遅れて出力され、更に、DFF4の出力信号Q4
は、DFF1〜DFF4の伝搬遅延(d1+d2+d3+
d4)分遅れて出力される。従って、この回路構成で
は、大きいカウンタを構成すると伝搬遅延によって誤動
作をもたらす恐れがある。
Similarly, the output signal Q3 of the DFF 3 is
Propagation delay of F 1 , DFF 2 , DFF 3 (d1 + d2 + d
3) The output signal Q4 of the DFF 4 is output with a delay of minutes.
Is the propagation delay of DFF 1 to DFF 4 (d1 + d2 + d3 +
d4) Output is delayed by a minute. Therefore, in this circuit configuration, if a large counter is formed, a malfunction may occur due to a propagation delay.

【0013】[0013]

【発明が解決しようとする課題】以上のようにカウンタ
回路は、Dフリップ・フロップを用いて設計されること
が多いが、各Dフリップ・フロップには伝搬遅延時間が
あり、動作速度は段数とこの遅延時間により定まり、D
フリップ・フロップを何段も続けた設計をすると、遅延
の影響でカウンタ自身に大きな遅延をもたらし高速に限
界があるとともに誤動作する恐れがある。
As described above, the counter circuit is often designed using D flip-flops. However, each D flip-flop has a propagation delay time, and the operating speed depends on the number of stages. Determined by this delay time, D
If the flip-flop is designed to continue for many stages, the delay may cause a large delay in the counter itself, thereby limiting the high speed and possibly causing a malfunction.

【0014】このような従来技術の有する課題に鑑み本
発明は、伝搬遅延時間を最小とし、かつ、誤動作を防止
する高速カウンタを提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above problems of the prior art, it is an object of the present invention to provide a high-speed counter that minimizes a propagation delay time and prevents malfunction.

【0015】[0015]

【課題を解決するための手段】本発明において上記の課
題を解決するための手段は、Dフリップ・フロップを複
数段縦続接続してなる高速カウンタ回路において、前記
各Dフリップ・フロップは、出力反転端子Q-と入力端
子Dを夫々接続し、且つ各リセット端子Rには、同時に
リセット信号が入力するように共通のリセット信号線に
接続し、各出力端子Qから出力信号を取り出すようにす
るとともに、1段目のDフリップ・フロップを除く後段
の各Dフリップ・フロップのクロック入力端子CKに夫
々アンド回路を設け、夫々アンド回路の入力側にはクロ
ック信号と前段のDフロップ・フリップの全出力信号を
入力するようになし、且つ第1段目のフリップ・フロッ
プのクロック入力端子CKにクロック信号を入力するよ
うにする。
According to the present invention, there is provided a high-speed counter circuit comprising a plurality of cascade-connected D flip-flops, wherein each of the D flip-flops has an output inversion. The terminal Q - is connected to the input terminal D, and each reset terminal R is connected to a common reset signal line so that a reset signal is input at the same time, and an output signal is taken out from each output terminal Q. An AND circuit is provided at each clock input terminal CK of each of the subsequent D flip-flops excluding the first stage D flip-flop, and a clock signal and all outputs of the preceding D flip-flop are provided on the input side of each AND circuit. A signal is input, and a clock signal is input to the clock input terminal CK of the first flip-flop.

【0016】このように構成することで、Dフリップ・
フロップを何段縦続接続しても、1段の伝搬遅延時間の
みとなり、使用段数の累積遅延時間となることはない。
With this configuration, the D flip
No matter how many cascades of flops are connected, only one propagation delay time is provided, and there is no cumulative delay time of the number of stages used.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を図面
によって説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】図1は本発明の実施の形態の回路図、図2
は、図1の動作を説明するためのタイムチャートを示
す。
FIG. 1 is a circuit diagram of an embodiment of the present invention, and FIG.
Shows a time chart for explaining the operation of FIG.

【0019】なお、図1において図3と同一部分、又は
相当部分にはこれと同じ符号を付して詳細な説明を省略
する。
In FIG. 1, the same or corresponding parts as those in FIG. 3 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0020】しかして、図1は、図3と同様にDフリッ
プ・フロップからなる2進,4桁、即ち、16進のカウ
ンタ回路である。
FIG. 1 shows a binary, 4-digit, ie, hexadecimal, counter circuit composed of D flip-flops as in FIG.

【0021】下の桁から第1段目のDフリップ・フロッ
プをDFF1,第2段目のDフリップ・フロップをDF
2,第3段目のDフリップ・フロップをDFF3,第4
段目のDフリップ・フロップをDFF4とし、これらの
各DFF1〜DFF2は縦続接続され、各出力端子Qから
出力信号Q1,Q2,Q3,Q4が夫々出力される。
From the lower digit, the first-stage D flip-flop is DFF 1 , and the second-stage D flip-flop is DF
F 2 , the third D flip-flop is DFF 3 ,
The D flip-flop of the stage is DFF 4 , these DFF 1 to DFF 2 are cascaded, and output signals Q 1, Q 2, Q 3, Q 4 are output from the respective output terminals Q.

【0022】そして、各Dフリップ・フロップDFF1
〜DFF4は、出力反転端子Q-と入力端子Dとが夫々接
続され、且つ各リセット端子Rには、同時にリセット信
号RSTが入力されるようにリセット信号線RST−S
に接続される。
Then, each D flip-flop DFF 1
~DFF 4, the output inverting terminal Q - an input terminal D Togaotto s connected, and to each reset terminal R, the reset signal line RST-S as the reset signal RST is simultaneously input
Connected to.

【0023】また、1段目のDフリップ・フロップDF
1を除く後段のDフリップ・フロップDFF2〜DFF
4のクロック入力端子CKにはアンド回路AND2,AN
3,AND4が夫々設けられている。これら各アンド回
路AND2〜AND4の入力側には、クロック信号CLK
と前段のDフリップ・フロップの全出力信号が入力され
る。即ち、DFF2にはDFF1の出力信号Q1が、DF
3にはDFF1の出力信号Q1とDFF2の出力信号Q2
が、また、DFF4には、Q1とQ2とQ3の出力信号
が入力され、各アンド回路は、複数の入力のアンド条件
が成立したときクロック入力端子CKに信号が入力され
る。
The first stage D flip-flop DF
Subsequent D flip-flops DFF 2 to DFF excluding F 1
4 clock input terminals CK are connected to AND circuits AND 2 , AN
D 3 and AND 4 are provided respectively. A clock signal CLK is applied to the input side of each of these AND circuits AND 2 to AND 4.
And all output signals of the preceding D flip-flop are input. That is, the output signal Q1 of the DFF 1 is output to the DFF 2 by the DF
The output signal of the DFF 1 to F 3 Q1 and DFF 2 output signal Q 2
However, the output signals of Q1, Q2, and Q3 are input to the DFF 4 , and each AND circuit inputs a signal to the clock input terminal CK when a plurality of AND conditions are satisfied.

【0024】また、第1段目のDフリップ・フロップD
FF1のクロック入力端子CKにはクロック信号CLK
を入力する。
The first stage D flip-flop D
A clock signal CLK is applied to a clock input terminal CK of the FF 1.
Enter

【0025】次に、動作を図2のタイムチャートによっ
て説明する。
Next, the operation will be described with reference to the time chart of FIG.

【0026】今、第1段目のDフリップ・フロップDF
1のクロック入力端子CKに図の最上段のクロック信
号CLKが入力されると、2分周した波形の出力信号Q
1が出力端子Qから出力される。このとき、アンド回路
AND1には、クロック信号CLKよりDFF1の伝搬遅
れd1だけ遅れて出力される。
Now, the first stage D flip-flop DF
When top of the clock signal CLK in the figure is input to the clock input terminal CK of the F 1, the output signal Q of the divide-by-two waveforms
1 is output from the output terminal Q. At this time, the AND circuit the AND 1, is output with a delay of propagation delay d1 of DFF 1 from the clock signal CLK.

【0027】第2段目のDフリップ・フロップDFF2
のクロック入力端子CKには、この出力信号Q1とクロ
ック信号CLKとが入力され、そのアンド条件が成立し
たとき信号CK2が入力される。従って、第2段目のD
フリップ・フロップDFF2の出力信号Q2は、第2段
目のDフリップ・フロップDFF2の伝搬遅れd2のみ
遅れて出力される。
The second stage D flip flop DFF 2
The clock input terminal CK, and the output signal Q1 and the clock signal CLK is inputted, the AND condition is input signal CK 2 when satisfied. Therefore, the second stage D
Output signal Q2 of the flip-flop DFF 2 is outputted with a delay of only propagation delay d2 of the D flip-flop DFF 2 of the second stage.

【0028】同様に第3段目および第4段目のDフリッ
プ・フロップDFF3およびDFF4の出力信号Q3およ
びQ4の場合も、各自の伝搬遅れd3およびd4のみの
遅れとなる。
[0028] Similarly, when the output signals Q3 and Q4 of the third stage and fourth stage D flip-flop DFF 3 and DFF 4, a delay of only their propagation delay d3 and d4.

【0029】従って、従来のように、各Dフリップ・フ
ロップの伝搬遅延時間の累積がないカウンタ回路が得ら
れる。
Therefore, a counter circuit having no accumulation of the propagation delay time of each D flip-flop can be obtained as in the prior art.

【0030】[0030]

【発明の効果】以上のように本発明は、Dフリップ・フ
ロップの1段分の伝搬遅延で作することができるので、
伝搬遅延時間の少ないカウンタ回路が実現できる。
As described above, the present invention can be made with the propagation delay of one stage of the D flip-flop.
A counter circuit with a small propagation delay time can be realized.

【0031】また、伝搬遅延時間の累積が無いので、使
用段数に制限されることがなく、しかも、伝搬遅延時間
に起因する誤動作を防止することができる。
Further, since there is no accumulation of the propagation delay time, there is no limitation on the number of stages to be used, and a malfunction due to the propagation delay time can be prevented.

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

【図1】本発明の実施の形態の回路図。FIG. 1 is a circuit diagram of an embodiment of the present invention.

【図2】本発明の動作説明のためのタイムチャート。FIG. 2 is a time chart for explaining the operation of the present invention.

【図3】従来のカウンタ回路の回路図。FIG. 3 is a circuit diagram of a conventional counter circuit.

【図4】従来のカウンタ回路の動作説明のためのタイム
チャート。
FIG. 4 is a time chart for explaining the operation of a conventional counter circuit.

【符号の説明】 DFF1〜DFF4…Dフリップ・フロップ Q1〜Q4…出力信号 CLK…クロック信号 RST…リセット信号[Description of Signs] DFF 1 to DFF 4 ... D flip-flop Q 1 to Q 4 ... Output signal CLK... Clock signal RST.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 Dフリップ・フロップを複数段縦続接続
してなる高速カウンタ回路において、 前記各Dフリップ・フロップは、出力反転端子Q-と入
力端子Dを夫々接続し、且つ各リセット端子Rには、同
時にリセット信号が入力するように共通のリセット信号
線に接続し、各出力端子Qから出力信号を取り出すよう
にするとともに、1段目のDフリップ・フロップを除く
後段の各Dフリップ・フロップのクロック入力端子CK
に夫々アンド回路を設け、夫々アンド回路の入力側には
クロック信号と前段のDフリップ・フロップの全出力信
号を入力するようになし、且つ第1段目のフリップ・フ
ロップのクロック入力端子CKにクロック信号を入力す
るようにしたことを特徴とする高速カウンタ回路。
1. A high-speed counter circuit for a D flip-flop formed by a plurality of stages connected in cascade, each D flip-flop, the output inverting terminal Q - an input terminal D respectively connected, and to each reset terminal R Are connected to a common reset signal line so that a reset signal is input at the same time, an output signal is taken out from each output terminal Q, and each D flip-flop in the subsequent stage except for the D flip-flop in the first stage Clock input terminal CK
And a clock signal and all the output signals of the preceding D flip-flop are input to the input side of the AND circuit, respectively, and are connected to the clock input terminal CK of the first flip-flop. A high-speed counter circuit to which a clock signal is input.
JP10349226A 1998-12-09 1998-12-09 High speed counter circuit Pending JP2000174614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10349226A JP2000174614A (en) 1998-12-09 1998-12-09 High speed counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10349226A JP2000174614A (en) 1998-12-09 1998-12-09 High speed counter circuit

Publications (1)

Publication Number Publication Date
JP2000174614A true JP2000174614A (en) 2000-06-23

Family

ID=18402340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10349226A Pending JP2000174614A (en) 1998-12-09 1998-12-09 High speed counter circuit

Country Status (1)

Country Link
JP (1) JP2000174614A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030032180A (en) * 2001-10-16 2003-04-26 삼성전자주식회사 Counter for improving counting speed
US7289591B2 (en) * 2004-12-06 2007-10-30 Hynix Semiconductor Inc. Counter circuit for controlling off-chip driver
CN110120810A (en) * 2018-02-06 2019-08-13 长沙泰科阳微电子有限公司 A kind of coincidence counter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030032180A (en) * 2001-10-16 2003-04-26 삼성전자주식회사 Counter for improving counting speed
US7289591B2 (en) * 2004-12-06 2007-10-30 Hynix Semiconductor Inc. Counter circuit for controlling off-chip driver
CN110120810A (en) * 2018-02-06 2019-08-13 长沙泰科阳微电子有限公司 A kind of coincidence counter

Similar Documents

Publication Publication Date Title
JPH03136520A (en) Variable frequency dividing circuit
US20080012605A1 (en) Glitch-free clock switcher
JP2000174614A (en) High speed counter circuit
CN108777575B (en) Frequency divider
CN113904655B (en) Filter circuit and medical 3D endoscope
US5185537A (en) Gate efficient digital glitch filter for multiple input applications
JP2520962B2 (en) Counter circuit
JPH03228297A (en) Shift register circuit
JPH0683066B2 (en) Counter circuit
JP2984429B2 (en) Semiconductor integrated circuit
KR0136631B1 (en) Odd divider circuit
JP2643470B2 (en) Synchronous counter
JP2658232B2 (en) N-base counter
US4581751A (en) Reversible shift register
JPH0253322A (en) Synchronizing type multi-stage counter
KR100188079B1 (en) Divide circuit using ring counter
JPH0247642Y2 (en)
CN118316440A (en) Gray code counter
JPH06224746A (en) Synchronous counter circuit
JPH08212794A (en) Shift register
JPH03117208A (en) Data latch circuit
JPH03171820A (en) 2n-1 frequency dividing circuit
CN118157659A (en) Odd-number frequency dividing circuit
JPS59231923A (en) Ring counter
JPS6187426A (en) Flip-flop