JPH05327480A - Synchronizing counter - Google Patents
Synchronizing counterInfo
- Publication number
- JPH05327480A JPH05327480A JP15566392A JP15566392A JPH05327480A JP H05327480 A JPH05327480 A JP H05327480A JP 15566392 A JP15566392 A JP 15566392A JP 15566392 A JP15566392 A JP 15566392A JP H05327480 A JPH05327480 A JP H05327480A
- Authority
- JP
- Japan
- Prior art keywords
- flip
- output
- circuit
- flop circuit
- flop
- 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
Links
- 230000001360 synchronised effect Effects 0.000 description 34
- 238000010586 diagram Methods 0.000 description 6
- HCUOEKSZWPGJIM-IYNMRSRQSA-N (e,2z)-2-hydroxyimino-6-methoxy-4-methyl-5-nitrohex-3-enamide Chemical compound COCC([N+]([O-])=O)\C(C)=C\C(=N\O)\C(N)=O HCUOEKSZWPGJIM-IYNMRSRQSA-N 0.000 description 1
- 101100223777 Arabidopsis thaliana DET2 gene Proteins 0.000 description 1
- 101150118831 CRO1 gene Proteins 0.000 description 1
- 101100459260 Crotalus durissus terrificus CRO2 gene Proteins 0.000 description 1
- 101100086088 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) QCR7 gene Proteins 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、汎用ICやASIC等
でパルスの計数に用いる同期式カウンタに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronous counter used for counting pulses in a general-purpose IC or ASIC.
【0002】[0002]
【従来の技術】従来、同期式カウンタには、例えば、図
7に示す論理回路で構成されるものが用いられている。
この同期式カウンタでは、4組のフリップフロップ回路
F1、F2、F3、F4等で構成されており、クロック
入力T、直結リセット入力R、ロード入力LOAD、イ
ネーブル入力EP、ET及びデータ入力DA、DB、D
C、DDに対して出力QA、QB、QC、QD及びキャ
リー出力RCOが取り出される。これらの入出力におけ
る動作タイミングを図8に示している。2. Description of the Related Art Conventionally, for example, a synchronous counter having a logic circuit shown in FIG. 7 has been used.
This synchronous counter is composed of four sets of flip-flop circuits F1, F2, F3, F4, etc., and has a clock input T, a direct connection reset input R, a load input LOAD, enable inputs EP and ET, and data inputs DA and DB. , D
Outputs QA, QB, QC, QD and carry output RCO are taken out for C and DD. The operation timing of these inputs and outputs is shown in FIG.
【0003】[0003]
【発明が解決しようとする課題】ところで、この同期式
カウンタでは、リップルキャリー出力RCOに正規のパ
ルス以外にスパイクノイズが漏れ、このリップルキャリ
ー出力RCOをDーフリップフロップ回路のクロック等
に用いると、誤動作するおそれがある。また、カウンタ
のカスケード出力で動作クロックの限界が決まる。By the way, in this synchronous counter, spike noise leaks to the ripple carry output RCO in addition to the regular pulse, and if this ripple carry output RCO is used for the clock of the D-flip-flop circuit, etc., It may malfunction. The limit of the operating clock is determined by the cascade output of the counter.
【0004】そこで、本発明は、リップルキャリー出力
に含まれるスパイクノイズを除去するとともに高速化を
実現した同期式カウンタを提供することを目的とする。Therefore, an object of the present invention is to provide a synchronous counter which eliminates spike noise contained in the ripple carry output and realizes high speed operation.
【0005】[0005]
【課題を解決するための手段】即ち、本発明の同期式カ
ウンタは、複数段に縦続接続してなる第1のフリップフ
ロップ回路(2、4、6、8)と、この第1のフリップ
フロップ回路の最終段側の前記フリップフロップ回路の
出力側に第2のフリップフロップ回路(10、JKフリ
ップフロップ回路11)を設置し、前記第1のフリップ
フロップ回路の初段側の出力が低レベルで他の前記第1
のフリップフロップ回路の出力が高レベルのとき、前記
フリップフロップ回路の各出力を前記第2のフリップフ
ロップ回路のデータ入力とすることにより、前記第2の
フリップフロップ回路からキャリー出力を得ることを特
徴とする同期式カウンタ。That is, the synchronous counter of the present invention comprises a first flip-flop circuit (2, 4, 6, 8) formed by cascade-connecting a plurality of stages, and the first flip-flop. A second flip-flop circuit (10, JK flip-flop circuit 11) is installed on the output side of the flip-flop circuit on the final stage side of the circuit, and the output of the first-stage side of the first flip-flop circuit is low level and the other. Of the first
When the output of the flip-flop circuit is high, the carry output is obtained from the second flip-flop circuit by making each output of the flip-flop circuit the data input of the second flip-flop circuit. And a synchronous counter.
【0006】[0006]
【作用】この同期式カウンタでは、第1のフリップフロ
ップ回路の出力が全て高レベルに移行したとき、キャリ
ー出力が得られる。即ち、第1のフリップフロップ回路
の初段側の出力が低レベルで他の第1のフリップフロッ
プ回路の出力が高レベルのとき、フリップフロップ回路
の各出力を第2のフリップフロップ回路のデータ入力と
することにより、次のタイミングで第1のフリップフロ
ップ回路の出力の全部がHレベルに移行したとき、第2
のフリップフロップ回路のデータ入力がラッチ状態とな
り、通常のリップル出力と同様にスパイクノイズのない
キャリー出力が第2のフリップフロップ回路から得られ
る。In this synchronous counter, a carry output is obtained when all the outputs of the first flip-flop circuit shift to the high level. That is, when the output of the first-stage side of the first flip-flop circuit is at the low level and the output of the other first flip-flop circuit is at the high level, each output of the flip-flop circuit is used as the data input of the second flip-flop circuit. By doing so, when all the outputs of the first flip-flop circuit shift to the H level at the next timing,
The data input of the flip-flop circuit is latched, and a carry output without spike noise is obtained from the second flip-flop circuit as in the normal ripple output.
【0007】[0007]
【実施例】以下、本発明を図面に示した実施例を参照し
て詳細に説明する。The present invention will be described in detail below with reference to the embodiments shown in the drawings.
【0008】図1は、本発明の同期式カウンタの一実施
例を示している。この同期式カウンタには、複数の第1
のフリップフロップ回路として4組のフリップフロップ
回路2、4、6、8とともに第2のフリップフロップ回
路10が設置され、各フリップフロップ回路2〜8、1
0のクロック入力Cにはクロック信号CLKがバッファ
12を介して加えられている。また、各リセット入力R
には、リセット信号RDBがインバータ14で反転され
た後加えられている。FIG. 1 shows an embodiment of the synchronous counter of the present invention. This synchronous counter has a plurality of first
The second flip-flop circuit 10 is installed together with four sets of flip-flop circuits 2, 4, 6 and 8 as the flip-flop circuits of
The clock signal CLK is applied to the clock input C of 0 via the buffer 12. Also, each reset input R
Is applied after the reset signal RDB is inverted by the inverter 14.
【0009】フリップフロップ回路2のデータ入力D側
にはエクスクルーシブOR16、フリップフロップ回路
4〜8のデータ入力D側にはエクスクルーシブNOR1
8、20、22が設置されている。エクスクルーシブO
R16には、イネーブル信号ENPとフリップフロップ
回路2の出力Qが加えられ、その出力Qがフリップフロ
ップ回路2のデータ入力Dに加えられている。The exclusive OR 16 is provided on the data input D side of the flip-flop circuit 2, and the exclusive NOR 1 is provided on the data input D side of the flip-flop circuits 4-8.
8, 20, 22 are installed. Exclusive O
The enable signal ENP and the output Q of the flip-flop circuit 2 are added to R16, and the output Q is added to the data input D of the flip-flop circuit 2.
【0010】また、エクスクルーシブNOR18〜22
のそれぞれの一方の入力側にはNAND回路24、2
6、28が設置されている。NAND回路24にはイネ
ーブル信号ENPとフリップフロップ回路2の出力Qが
加えられ、NAND回路26にはイネーブル信号ENP
及びフリップフロップ回路2、4の各出力Qが加えら
れ、また、NAND回路28にはイネーブル信号EN
P、フリップフロップ回路2、4、6の各出力Qが加え
られている。Exclusive NOR 18-22
NAND circuits 24, 2 are provided on one input side of each of
6, 28 are installed. The enable signal ENP and the output Q of the flip-flop circuit 2 are added to the NAND circuit 24, and the enable signal ENP is supplied to the NAND circuit 26.
And the outputs Q of the flip-flop circuits 2 and 4 are added, and the enable signal EN is applied to the NAND circuit 28.
P and the outputs Q of the flip-flop circuits 2, 4 and 6 are added.
【0011】NAND回路24の出力とフリップフロッ
プ回路4の出力QがエクスクルーシブNOR18に加え
られ、その出力がフリップフロップ回路4のデータ入力
Dに加えられている。また、NAND回路26の出力と
フリップフロップ回路6の出力QがエクスクルーシブN
OR20に加えられ、その出力がフリップフロップ回路
6のデータ入力Dに加えられている。また、NAND回
路28の出力とフリップフロップ回路8の出力Qがエク
スクルーシブNOR22に加えられ、その出力がフリッ
プフロップ回路8のデータ入力Dに加えられている。The output of the NAND circuit 24 and the output Q of the flip-flop circuit 4 are applied to the exclusive NOR 18, and the output thereof is applied to the data input D of the flip-flop circuit 4. Further, the output of the NAND circuit 26 and the output Q of the flip-flop circuit 6 are exclusive N
It is applied to the OR 20 and its output is applied to the data input D of the flip-flop circuit 6. Further, the output of the NAND circuit 28 and the output Q of the flip-flop circuit 8 are added to the exclusive NOR 22, and the output thereof is added to the data input D of the flip-flop circuit 8.
【0012】このようにエクスクルーシブOR16、エ
クスクルーシブNOR18〜22及びNAND回路24
〜28を以てフリップフロップ回路2〜8は縦続化され
ており、各フリップフロップ回路2〜8の各出力はイン
バータ32、34、36、38を以て反転されて出力Q
A、QB、QC、QDとして取り出されるとともに、N
OR回路40を経てフリップフロップ回路10のデータ
入力Dに加えられ、フリップフロップ回路10からキャ
リー出力RCが取り出される。As described above, the exclusive OR 16, the exclusive NORs 18 to 22, and the NAND circuit 24 are provided.
28 to 28, the flip-flop circuits 2 to 8 are cascaded, and the outputs of the flip-flop circuits 2 to 8 are inverted by the inverters 32, 34, 36 and 38 to output Q.
Taken out as A, QB, QC, QD, and N
It is applied to the data input D of the flip-flop circuit 10 via the OR circuit 40, and the carry output RC is taken out from the flip-flop circuit 10.
【0013】以上の構成において、図2を参照して動作
を説明すると、図2のAに示すクロック信号CLK、図
2のBに示すリセット信号RDB、図2のCに示すイネ
ーブル信号ENPが与えられると、図2のD〜Gに示す
ように、カウンタ出力を表す出力QA〜QDが得られ、
また、図2のHに示すように、フリップフロップ回路1
0を通してキャリー出力RCが得られる。In the above configuration, the operation will be described with reference to FIG. 2. The clock signal CLK shown in A of FIG. 2, the reset signal RDB shown in B of FIG. 2 and the enable signal ENP shown in C of FIG. Then, as shown in D to G of FIG. 2, outputs QA to QD representing counter outputs are obtained,
Further, as shown by H in FIG. 2, the flip-flop circuit 1
The carry output RC is obtained through 0.
【0014】この動作タイミングから明らかなように、
この同期式カウンタでは、フリップフロップ回路2〜8
の出力が全て高レベルに移行したとき、キャリー出力R
Cが得られる。即ち、フリップフロップ回路2の出力が
低レベルでフリップフロップ回路4〜8の各出力が高レ
ベルのとき、フリップフロップ回路2〜8の各出力をフ
リップフロップ回路10のデータ入力Dとしているの
で、次のタイミングでフリップフロップ回路2〜8の出
力全部がHレベルに移行したとき、フリップフロップ回
路10のデータ入力Dがラッチ状態となり、通常のリッ
プル出力と同様にスパイクノイズ、即ち、ハザードのな
いキャリー出力RCがフリップフロップ回路10から得
られるとともに、動作の高速化を図ることができる。As is clear from this operation timing,
In this synchronous counter, the flip-flop circuits 2-8
Carry output R when all outputs go to high level
C is obtained. That is, when the output of the flip-flop circuit 2 is low and the outputs of the flip-flop circuits 4 to 8 are high, the outputs of the flip-flop circuits 2 to 8 are used as the data input D of the flip-flop circuit 10. When all the outputs of the flip-flop circuits 2 to 8 shift to the H level at the timing of, the data input D of the flip-flop circuit 10 enters the latch state, and spike noise, that is, a carry output without a hazard is generated as in the normal ripple output. RC can be obtained from the flip-flop circuit 10 and the operation speed can be increased.
【0015】次に、図3及び図4は、本発明の同期式カ
ウンタの他の実施例を示している。図3に示す同期式カ
ウンタでは、図1に示した同期式カウンタのNOR回路
40を6入力のものに変更するとともに、このNOR回
路40に対してインバータ42を介してイネーブル信号
ENPを加えるようにしたものである。このような構成
によっても前記実施例と同様の動作タイミングで同様の
動作を実現することができる。このような同期式カウン
タによっても、ハザードのないキャリー出力RCが生成
される。Next, FIGS. 3 and 4 show another embodiment of the synchronous counter of the present invention. In the synchronous counter shown in FIG. 3, the NOR circuit 40 of the synchronous counter shown in FIG. 1 is changed to a 6-input one, and an enable signal ENP is added to the NOR circuit 40 via an inverter 42. It was done. With such a configuration, it is possible to realize the same operation at the same operation timing as that of the above embodiment. Even with such a synchronous counter, a carry output RC without a hazard is generated.
【0016】また、図4に示す同期式カウンタでは、図
3に示した同期式カウンタのNOR回路40にNOR回
路41を併設し、このNOR回路41にインバータ42
を介してイネーブル信号ENPを加えるとともに、イン
バータ32〜38の入力側のフリップフロップ回路2〜
8の出力を加え、そのNOR出力を取り出し、これらN
OR回路40、41の出力側に第2のフリップフロップ
回路としてJKフリップフロップ回路11を設置したも
のである。このJKフリップフロップ回路11の入力J
にはNOR回路40の出力、その入力KにはNOR回路
41の出力、入力CPにはクロック信号CLKを加える
ことにより、その出力Qを以てキャリー出力RCとして
いる。そして、このキャリー出力RCとイネーブル信号
ENPをNAND回路44に加え、その出力をインバー
タ46で反転させ、出力RCBを得ている。このような
同期式カウンタによっても、ハザードのないキャリー出
力RCが生成される。Further, in the synchronous counter shown in FIG. 4, a NOR circuit 41 is provided side by side with the NOR circuit 40 of the synchronous counter shown in FIG. 3, and an inverter 42 is provided in this NOR circuit 41.
Enable signal ENP via the flip-flop circuit 2 on the input side of the inverters 32-38.
8 outputs, take the NOR output,
A JK flip-flop circuit 11 is installed as a second flip-flop circuit on the output side of the OR circuits 40 and 41. Input J of this JK flip-flop circuit 11
The output of the NOR circuit 40, the input K thereof is the output of the NOR circuit 41, and the input CP thereof is the clock signal CLK, so that the output Q thereof is used as a carry output RC. Then, the carry output RC and the enable signal ENP are applied to the NAND circuit 44, and the output is inverted by the inverter 46 to obtain the output RCB. Even with such a synchronous counter, a carry output RC without a hazard is generated.
【0017】次に、図5及び図6は、本発明の同期式カ
ウンタを用いた応用例を示している。即ち、図5は、図
1、図2又は図3に示した同期式カウンタ50を用いて
カスケード接続した同期式カウンタである。クロック信
号CLK及びリセット信号RSTを与えるとともに、電
源電圧VCCをイネーブル信号ENPとすることにより、
出力A0〜A7を取り出すことができるとともに、各同
期式カウンタ50を通して個別にハザードのないキャリ
ー出力CRO1、CRO2を取り出すことができる。Next, FIGS. 5 and 6 show an application example using the synchronous counter of the present invention. That is, FIG. 5 shows a synchronous counter which is cascade-connected using the synchronous counter 50 shown in FIG. 1, FIG. 2 or FIG. By supplying the clock signal CLK and the reset signal RST and using the power supply voltage V CC as the enable signal ENP,
Outputs A0 to A7 can be taken out, and hazard-free carry outputs CRO1 and CRO2 can be taken out individually through each synchronous counter 50.
【0018】また、図6は、同期式カウンタ50を用い
たディジタルモノマルチバイブレータを示している。即
ち、同期式カウンタ50で得られるキャリー出力RCO
をインバータ52を介して反転させ、この反転キャリー
出力RCOをクロック信号CLKとをAND回路54に
加えて論理積を取り、その出力を同期式カウンタ50の
クロック入力CLKとしたものである。このような構成
によって、同期式カウンタを用いたディジタルモノマル
チバイブレータを構成することができ、高速化ととも
に、ハザードのない出力を得ることができる。Further, FIG. 6 shows a digital mono-multivibrator using a synchronous counter 50. That is, the carry output RCO obtained by the synchronous counter 50
Is inverted through an inverter 52, the inverted carry output RCO is added to a clock signal CLK to an AND circuit 54 to perform a logical product, and the output is used as a clock input CLK of the synchronous counter 50. With such a configuration, it is possible to configure a digital mono-multivibrator using a synchronous counter, and it is possible to obtain high-speed output without a hazard.
【0019】[0019]
【発明の効果】以上説明したように、本発明によれば、
スパイクノイズを除去できるとともに、高速化を図るこ
とができ、リップルキャリー出力をクロックとして各種
の論理回路に適用できる。As described above, according to the present invention,
The spike noise can be removed, the speed can be increased, and the ripple carry output can be applied as a clock to various logic circuits.
【図1】本発明の同期式カウンタの一実施例を示すブロ
ック図である。FIG. 1 is a block diagram showing an embodiment of a synchronous counter of the present invention.
【図2】図1に示した同期式カウンタの動作を示すタイ
ミングチャートである。FIG. 2 is a timing chart showing an operation of the synchronous counter shown in FIG.
【図3】本発明の同期式カウンタの他の実施例を示すブ
ロック図である。FIG. 3 is a block diagram showing another embodiment of the synchronous counter of the present invention.
【図4】本発明の同期式カウンタの他の実施例を示すブ
ロック図である。FIG. 4 is a block diagram showing another embodiment of the synchronous counter of the present invention.
【図5】図1に示した同期式カウンタのカスケード接続
を示すブロック図である。5 is a block diagram showing a cascade connection of the synchronous counters shown in FIG. 1. FIG.
【図6】本発明の同期式カウンタを用いたディジタルモ
ノマルチバイブレータを示すブロック図である。FIG. 6 is a block diagram showing a digital mono-multivibrator using the synchronous counter of the present invention.
【図7】従来の同期式カウンタの論理回路を示す回路図
である。FIG. 7 is a circuit diagram showing a logic circuit of a conventional synchronous counter.
【図8】図7の同期式カウンタの動作を示すタイミング
チャートである。8 is a timing chart showing the operation of the synchronous counter of FIG.
2,4,6,8 第1のフリップフロップ回路 10 第2のフリップフロップ回路 11 JKフリップフロップ回路(第2のフリップフロ
ップ回路)2, 4, 6, 8 First flip-flop circuit 10 Second flip-flop circuit 11 JK flip-flop circuit (second flip-flop circuit)
Claims (1)
プ回路と、この第1のフリップフロップ回路の最終段側
の前記フリップフロップ回路の出力側に第2のフリップ
フロップ回路を設置し、前記第1のフリップフロップ回
路の初段側の出力が低レベルで他の前記第1のフリップ
フロップ回路の出力が高レベルのとき、前記フリップフ
ロップ回路の各出力を前記第2のフリップフロップ回路
のデータ入力とすることにより、前記第2のフリップフ
ロップ回路からキャリー出力を得ることを特徴とする同
期式カウンタ。1. A plurality of first flip-flop circuits provided side by side, and a second flip-flop circuit provided on the output side of the flip-flop circuit on the final stage side of the first flip-flop circuit, When the output of the first flip-flop circuit on the first stage side is low level and the output of the other first flip-flop circuit is high level, each output of the flip-flop circuit is used as the data input of the second flip-flop circuit. By doing so, a carry output is obtained from the second flip-flop circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15566392A JPH05327480A (en) | 1992-05-23 | 1992-05-23 | Synchronizing counter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15566392A JPH05327480A (en) | 1992-05-23 | 1992-05-23 | Synchronizing counter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05327480A true JPH05327480A (en) | 1993-12-10 |
Family
ID=15610876
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15566392A Pending JPH05327480A (en) | 1992-05-23 | 1992-05-23 | Synchronizing counter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05327480A (en) |
-
1992
- 1992-05-23 JP JP15566392A patent/JPH05327480A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2853894B2 (en) | Frequency divider and pulse signal generator | |
| US4443887A (en) | Frequency-dividing circuit | |
| US3992635A (en) | N scale counter | |
| US5189685A (en) | Fast counter/divider and its use in a swallower counter | |
| JPH0682146B2 (en) | Sukiyanpass type logic integrated circuit | |
| JP2555978B2 (en) | Divider circuit | |
| US20020036935A1 (en) | Programmable high speed frequency divider | |
| JP2659186B2 (en) | Digital variable frequency divider | |
| JPH05227040A (en) | Serial/parallel conversion circuit | |
| JP2643470B2 (en) | Synchronous counter | |
| JPH0683066B2 (en) | Counter circuit | |
| JP2530663B2 (en) | Divider circuit | |
| JPH02181518A (en) | Rink counter circuit | |
| JPH0749428Y2 (en) | Photoelectric switch circuit | |
| JPH0779247B2 (en) | Decode circuit | |
| JP2689539B2 (en) | Divider | |
| JP2804421B2 (en) | Coefficient switching prescaler | |
| JPH0247642Y2 (en) | ||
| JPH0429248B2 (en) | ||
| JPH03171820A (en) | 2n-1 frequency dividing circuit | |
| JPH08212794A (en) | Shift register | |
| JP3666078B2 (en) | Frequency divider circuit | |
| JPS62229594A (en) | Data idle area detection circuit for fifo circuit | |
| JPH0522121A (en) | Divider | |
| JPH04302527A (en) | Counting circuit |