JPH03227120A - Counter circuit - Google Patents
Counter circuitInfo
- Publication number
- JPH03227120A JPH03227120A JP2263490A JP2263490A JPH03227120A JP H03227120 A JPH03227120 A JP H03227120A JP 2263490 A JP2263490 A JP 2263490A JP 2263490 A JP2263490 A JP 2263490A JP H03227120 A JPH03227120 A JP H03227120A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- counter
- clock signal
- delay time
- 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
- 238000001514 detection method Methods 0.000 claims abstract description 14
- 230000003111 delayed effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000000630 rising effect Effects 0.000 description 2
- 241000251468 Actinopterygii Species 0.000 description 1
- 241000700159 Rattus Species 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Electric Clocks (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、カウンタ回路に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a counter circuit.
そのためには2の累乗ではない、例えば60進のカウン
タ回路では、n進カウンタを複数個直列に接続し、本来
のクロック信号以外の非同期の信号から素子の伝搬遅延
時間によってワンショットのクロック信号を作シ、本来
のクロック以外に非同期のクロック信号にもカウントア
ツプしている。To achieve this, for example, in a sexagesimal counter circuit that is not a power of 2, multiple n-ary counters are connected in series, and a one-shot clock signal is generated from an asynchronous signal other than the original clock signal by the propagation delay time of the element. In addition to the original clock, an asynchronous clock signal is also counted up.
第4図は従来のカウンタ回路の一例の回路図である。FIG. 4 is a circuit diagram of an example of a conventional counter circuit.
カウンタ回路は、n進カウンタ部20bとm進カウンタ
部21bとをカスケード接続している。The counter circuit has an n-ary counter section 20b and an m-ary counter section 21b connected in cascade.
n進カウンタ部20bは、クロック信号lと非転信号7
aおよびn検出回路4の検出信号S0とを入力して桁上
信号5a及びリセット信号6aを出力するBSラッチ1
1とを有している。The n-ary counter section 20b receives the clock signal l and the non-inverted signal 7.
BS latch 1 inputs detection signal S0 of a and n detection circuit 4 and outputs carry signal 5a and reset signal 6a
1.
次に回路の動作を説明する。カウンタ部2obのn進カ
ウンタ3の値が(n−1)であって非同期のクロック信
号2が入力された場合は(n−1)からnKカウントア
ツプされ、それをn検出回路4が検出して几Sラッチ1
0;tn進カウンタ3Iのリセット信号6aと次段への
桁上信号5aを発生している。mQカウンタ部21bも
n進カウンタ部20bの入力のOR回路01’L以外は
同様の構成になりmをカウントする。Next, the operation of the circuit will be explained. When the value of the n-ary counter 3 of the counter section 2ob is (n-1) and the asynchronous clock signal 2 is input, the count is increased by nK from (n-1), and the n-detection circuit 4 detects it. S latch 1
0: Generates a reset signal 6a for the tn-adic counter 3I and a carry signal 5a to the next stage. The mQ counter section 21b also has the same configuration except for the input OR circuit 01'L of the n-ary counter section 20b, and counts m.
従ってm進カウンタ8の値が(m−1)であった場合、
まずn進カウンタ部2obのカウンタ3が前述した動作
をして発生した桁上信号5aによりm進カウンタ8も同
様にmを検出して、BSラッテ11はリセット信号6b
及び桁上げ信号5btl−発生し次段に送る。Therefore, if the value of m-adic counter 8 is (m-1),
First, the counter 3 of the n-ary counter section 2ob operates as described above and generates a carry signal 5a, so that the m-ary counter 8 similarly detects m, and the BS ratte 11 receives a reset signal 6b.
and a carry signal 5btl- is generated and sent to the next stage.
ここで、例えば時計の秒カウントの場合は、n。Here, for example, in the case of counting seconds on a clock, n.
mは10と6であり60秒に対応する。m is 10 and 6, which corresponds to 60 seconds.
たたし単なる60秒を表示する場合はm進カウンタ部2
1bの桁上信号5bは不要となる。However, when simply displaying 60 seconds, use the m-ary counter section 2.
The carry signal 5b of 1b becomes unnecessary.
分の場合は更に10と6進力ウンタ部を接続し60分に
対応する。In the case of minutes, 10 and a hexadecimal counter section are further connected to correspond to 60 minutes.
このように複数のカウンタ部を直列に接続された場合も
、前に説明した動作と同様にリセット信号6□と次のカ
ウンタ部への桁上信号5、を発生していく。Even when a plurality of counter sections are connected in series in this way, the reset signal 6□ and the carry signal 5 to the next counter section are generated in the same way as the operation described above.
クロック信号2もクロック信号1とは非同期であるので
、元となる信号を素子の伝搬遅延時間を用いて信号を作
り、クロック信号1と同じ経路を用いてカウンタをカウ
ントアツプさせ、次のカウンタ部への桁上信号5、を出
力していた。Clock signal 2 is also asynchronous with clock signal 1, so a signal is created from the original signal using the propagation delay time of the element, and the counter is counted up using the same path as clock signal 1, and then the next counter section It was outputting carry signal 5 to
上述した従来のカウンタ回路では、1個のカウンタにつ
いて次のカウンタ部への桁上信号は、そのカウンタに入
力したクロック信号の幅からカウンタの桁上けを完了し
てn検出回路を通ってR8ラッチに入力されるまでに通
る素子の伝搬遅延時間の和を差し引いた狭はまった信号
幅となる。In the conventional counter circuit described above, a carry signal from one counter to the next counter section is transmitted from the width of the clock signal input to the counter to R8 after completing the carry of the counter and passing through the n detection circuit. The signal width becomes narrower by subtracting the sum of the propagation delay times of the elements passed before being input to the latch.
すなわち、本来のクロック信号とは別に非同期にカウン
トする際、最初のカウンタ部に入力される非同期のクロ
ック信号幅から桁上けの伝搬する各カウンタの伝搬遅延
時間の総和を差し引いたカウント信号幅が最終のカウン
タ部から出力されることになる。In other words, when counting asynchronously in addition to the original clock signal, the count signal width is calculated by subtracting the sum of the propagation delay times of each counter during carry propagation from the width of the asynchronous clock signal input to the first counter section. It will be output from the final counter section.
従って、最終のカウンタ部まで罹災に桁上げを行うため
には、最初の非同期クロック信号幅を充分に長くする必
要がある。Therefore, in order to safely carry up to the final counter section, it is necessary to make the initial asynchronous clock signal width sufficiently long.
しかし非同期クロック信号幅は素子の伝搬遅延時間によ
り決定されているため、素子の製造バラツキや特性バラ
ツキにより有効信号幅が変動し、確実に桁上が伝搬しな
い可能性があるという欠点をもっていた。However, since the asynchronous clock signal width is determined by the propagation delay time of the elements, the effective signal width fluctuates due to variations in manufacturing and characteristics of the elements, and this has the disadvantage that there is a possibility that the digit will not propagate reliably.
本発明のカウンタ回路は、クロック信号と該クロック信
号に対して非同期のクロック信号の論理和信号を入力し
リセット信号でリセットされるn進カウンタとs#n進
カウンタの複数のビット信号を入力して2の累乗となら
ないttitnを検出して検出信号を出力するn検出回
路と、前記非同期のクロック信号に対応して反転信号を
出力するインバータ回路と、前記検出信号および前記反
転信号を入力して桁上信号及び前記リセット信号を出力
するBSラッチとを有するn進カウンタ部を含むカウン
タ回路において、前記インバータ回路に遅延回路を設け
て構成されている。The counter circuit of the present invention inputs a clock signal and an OR signal of a clock signal asynchronous to the clock signal, and inputs a plurality of bit signals of an n-ary counter and an s# n-ary counter that are reset by a reset signal. an inverter circuit that outputs an inverted signal in response to the asynchronous clock signal; an inverter circuit that receives the detected signal and the inverted signal; In a counter circuit including an n-ary counter section having a BS latch that outputs a carry signal and the reset signal, the inverter circuit is provided with a delay circuit.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明第1の実施例の回路図である。FIG. 1 is a circuit diagram of a first embodiment of the present invention.
カウンタ回路は、第4図のカウンタ部2ob及び21b
のインバータエの代シにそれぞれ遅延反転回路1oA及
び10Bを設けたことが異る魚身外は従来のカウンタ回
路と同一である。The counter circuit includes counter sections 2ob and 21b in FIG.
This counter circuit is the same as the conventional counter circuit except that delay inverting circuits 1oA and 10B are provided in place of the inverter.
ここで遅延反転回路10Aは、非同期クロック信号2を
ゲートに入力するPチャネルMO8)ランジスタQAと
その出力する節点A電圧■□を入力するインバータIと
そのインバータ出力とクロック信号1とを入力するNo
几回路とを有している。遅延反転回路10Bは桁信号5
aをゲー)K入力するトランジスタQBの出力する節点
Bの電圧VBをバッファAに入力するトランジスタQ。Here, the delay inversion circuit 10A includes a P-channel MO8) transistor QA which inputs the asynchronous clock signal 2 to its gate, an inverter I which inputs its output node A voltage
It has a detailed circuit. The delay inversion circuit 10B receives the digit signal 5.
Transistor Q inputs voltage VB of node B output from transistor QB to buffer A.
を有している。have.
第2図は第1図の回路の動作を説明するための各部信号
のタイミンクチャートである。FIG. 2 is a timing chart of signals of various parts for explaining the operation of the circuit of FIG. 1.
n進カウンタ部20のn進カウンタ3が値(n−1)の
時に、まずクロック信号1が入力された場合の動作をみ
ていく。First, we will look at the operation when the clock signal 1 is input when the n-ary counter 3 of the n-ary counter section 20 has the value (n-1).
クロック信号1が入力されると従来例に説明したのと同
様にn進カウンタ3はカウントアツプしてカウント値n
となる。When the clock signal 1 is input, the n-ary counter 3 counts up and reaches the count value n in the same way as explained in the conventional example.
becomes.
これをn検出回路4により検出してBSラッチ11から
のリセット信号6aによりカウンタ3をリセットすると
共に次のカウンタへの桁上は信号5aを出力する。This is detected by the n detection circuit 4, and the counter 3 is reset by the reset signal 6a from the BS latch 11, and a signal 5a is output when the carry is to the next counter.
次にカウント値(n−1)のとき、非同期のクロック信
号2が入力されたとする。Next, assume that an asynchronous clock signal 2 is input when the count value is (n-1).
入力されるとn進カウンタ3はカウントアツプしカウン
ト値nとなシ、n検出回路4がこれを検出する。When input, the n-ary counter 3 counts up and reaches the count value n, and the n-detection circuit 4 detects this.
これと同時に遅延反転回路10Aに入力されるクロック
信号2が@H”になると、回路内のNチャネルMOSト
ランジスタQAがオンし、節点人の電圧は“L”となる
。At the same time, when the clock signal 2 input to the delay inverting circuit 10A becomes @H, the N-channel MOS transistor QA in the circuit is turned on, and the voltage of the node becomes "L".
クロック信号2が″L″にもどると、NチャネルMOS
トランジスタQAはオフし、プルアップされた抵抗几に
より節点Aの電圧■□は徐々に1H”となる。When clock signal 2 returns to “L”, the N-channel MOS
The transistor QA is turned off, and the voltage at the node A gradually becomes 1H'' due to the pulled-up resistor.
このためクロックの反転信号7aは立下がシはクロック
信号2とほぼ同時点t□だが立上が9時点t2が遅くな
シ、信号7aのパルス幅はクロック信号2に比べ広くな
る。Therefore, the inverted clock signal 7a falls at almost the same time t□ as the clock signal 2, but rises at a later time t2, and the pulse width of the signal 7a becomes wider than that of the clock signal 2.
そのため、BSラッチ11によシ発生する桁上げ信号5
aは、立ち上がDllllはカウント信号2の立ち上が
りよりもn7進カウンタ3 t ”/検出回路4の伝搬
遅延時間τ□だけ遅くなるが、立ち下がシ側は反応遅延
回路10Aによって遅らせた時間τ2だけさらに遅くな
る。Therefore, the carry signal 5 generated by the BS latch 11
The rising edge Dllll is delayed by the propagation delay time τ□ of the n7-adic counter 3 t''/detection circuit 4 than the rising edge of the count signal 2, but the falling edge is delayed by the reaction delay circuit 10A. It becomes even slower by τ2.
従って遅延反転回路10Aの遅延時間τ2をn進カウン
タ3.n検出回路4の伝搬遅延時間τ1よシも大きく設
定すれば、非同期のクロック信号2のパルス幅τは桁上
げの時の信号伝搬遅延があっても狭することはなく、次
のm1il力ウンタ部21への桁上けが確実に行える。Therefore, the delay time τ2 of the delay inversion circuit 10A is calculated by the n-ary counter 3. If the propagation delay time τ1 of the n detection circuit 4 is also set larger, the pulse width τ of the asynchronous clock signal 2 will not become narrower even if there is a signal propagation delay during carry, and the Carry over to section 21 can be carried out reliably.
ここで、例えば60秒のカウンタ回路の場合はnを10
、mを6にする。For example, in the case of a 60 second counter circuit, n is 10
, set m to 6.
第3図は本発明の第2の実施例の回路図である。FIG. 3 is a circuit diagram of a second embodiment of the present invention.
カウンタ回路は、第1図の遅延反転回路10A。The counter circuit is the delay inversion circuit 10A shown in FIG.
10Bを遅延反転回路10cK置換したことが異る魚身
外は、第1の実施例と同一であ夛、同様の動作をする。The fish body is the same as the first embodiment except that 10B is replaced with a delay inversion circuit 10cK, and the same operation is performed.
以上説明したように本発明は、カウンタのリセット信号
及び次のカウンタ部への桁上げを発生するBSラッチに
入力されている非同期のクロック信号の反転信号のパル
ス@を広げるような遅延反転回路を付加することによシ
、複数部カスケードに接続され九カウンタ回路において
、非同期クロック信号をよシ次のカスケード部に確実に
伝搬できる効果がある。As explained above, the present invention provides a delay inversion circuit that widens the pulse @ of the inverted signal of the asynchronous clock signal input to the BS latch that generates the counter reset signal and carry to the next counter section. By adding this, it is possible to reliably propagate the asynchronous clock signal to the next cascade section in a nine-counter circuit connected in a cascade of multiple sections.
第1図は本発明の第1の実施例の回路図、第2図は第1
図の回路の動作を説明するだめの各部信号のタイミング
チャート、第3図は本発明の第2の実施例の回路図、第
4図は従来のカウンタ回路の一例の回路図である。
1・・・クロック信号、2・−・非同期のクロック信号
、3・・・n進カウンタ、4・・・n検出回路、5a、
5b−・・次段への桁上は信号、6a、6b・・・カウ
ンタリセッ転回路、11・f3.8ラツチ、20.20
a、21.21a・−・カウンタ部。FIG. 1 is a circuit diagram of a first embodiment of the present invention, and FIG. 2 is a circuit diagram of a first embodiment of the present invention.
3 is a circuit diagram of a second embodiment of the present invention, and FIG. 4 is a circuit diagram of an example of a conventional counter circuit. DESCRIPTION OF SYMBOLS 1... Clock signal, 2... Asynchronous clock signal, 3... N-ary counter, 4... N detection circuit, 5a,
5b--Carry to next stage is signal, 6a, 6b--Counter reset circuit, 11/f3.8 latch, 20.20
a, 21.21a --- Counter section.
Claims (1)
ク信号の論理和信号を入力しリセット信号でリセットさ
れるn進カウンタと、該n進カウンタの複数のビット信
号を入力して2の累乗とならない値nを検出して検出信
号を出力するn検出回路と、前記非同期のクロック信号
に対応して反転信号を出力するインバータ回路と、前記
検出信号および前記反転信号を入力して桁上信号及び前
記リセット信号を出力するBSラッチとを有するn進カ
ウン部を含むカウンタ回路において、前記インバータ回
路に遅延回路を設けたことを特徴とするカウンタ回路。An n-ary counter that is reset by a reset signal by inputting a logical sum signal of a clock signal and a clock signal asynchronous to the clock signal, and a value that is not a power of 2 by inputting multiple bit signals of the n-ary counter. an n detection circuit that detects n and outputs a detection signal; an inverter circuit that outputs an inverted signal in response to the asynchronous clock signal; and an inverter circuit that inputs the detection signal and the inverted signal to generate a carry signal and the reset. 1. A counter circuit including an n-ary counter section having a BS latch for outputting a signal, characterized in that the inverter circuit is provided with a delay circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2263490A JPH03227120A (en) | 1990-01-31 | 1990-01-31 | Counter circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2263490A JPH03227120A (en) | 1990-01-31 | 1990-01-31 | Counter circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03227120A true JPH03227120A (en) | 1991-10-08 |
Family
ID=12088266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2263490A Pending JPH03227120A (en) | 1990-01-31 | 1990-01-31 | Counter circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03227120A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008289179A (en) * | 2001-03-13 | 2008-11-27 | Ecchandesu:Kk | Interlocked counter and interlocking apparatus |
-
1990
- 1990-01-31 JP JP2263490A patent/JPH03227120A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008289179A (en) * | 2001-03-13 | 2008-11-27 | Ecchandesu:Kk | Interlocked counter and interlocking apparatus |
JP4589987B2 (en) * | 2001-03-13 | 2010-12-01 | 株式会社エッチャンデス | Interlocking counter and interlocking device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5892372A (en) | Creating inversions in ripple domino logic | |
US6111447A (en) | Timing circuit that selectively triggers on a rising or falling input signal edge | |
EP0502732B1 (en) | Pulse generator | |
KR940004955A (en) | Input transition detection circuit of semiconductor device | |
US6052008A (en) | Generation of true and complement signals in dynamic circuits | |
US9319038B2 (en) | Glitch free input transition detector | |
US5504441A (en) | Two-phase overlapping clocking technique for digital dynamic circuits | |
US5006725A (en) | Pulse generator for use in an integrated circuit | |
JPH03227120A (en) | Counter circuit | |
JPH09180452A (en) | Memory address transition detection circuit | |
JPS62176320A (en) | Input circuit for semiconductor integrated circuit | |
US8692581B2 (en) | Constant switching current flip-flop | |
JPH06188698A (en) | Delay circuit ahd waveform shaping circuit employing delay circuit | |
US6737888B1 (en) | Method for skipping a latch in timing-sensitive dynamic circuits of a multi-clocked system with unspecific underlap requirement | |
US6667637B1 (en) | Dynamic logic circuit with beta controllable noise margin | |
KR0161863B1 (en) | Reset generator | |
JP2996814B2 (en) | Transition detection circuit | |
JPH03228424A (en) | Noise eliminating circuit | |
KR900005300B1 (en) | Frequency multiplying circuit | |
KR0179780B1 (en) | Complemented type clock generator | |
JP2638337B2 (en) | Error counter circuit | |
JPH0435409A (en) | Logical circuit | |
JPH0732353B2 (en) | Flip-flop circuit | |
JP3586099B2 (en) | Semiconductor logic circuit | |
JPS62109288A (en) | Logic circuit |