JPS601785B2 - Count comparison detection circuit for synchronous counter circuit - Google Patents

Count comparison detection circuit for synchronous counter circuit

Info

Publication number
JPS601785B2
JPS601785B2 JP2227778A JP2227778A JPS601785B2 JP S601785 B2 JPS601785 B2 JP S601785B2 JP 2227778 A JP2227778 A JP 2227778A JP 2227778 A JP2227778 A JP 2227778A JP S601785 B2 JPS601785 B2 JP S601785B2
Authority
JP
Japan
Prior art keywords
circuit
output
gate
signal
bit
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.)
Expired
Application number
JP2227778A
Other languages
Japanese (ja)
Other versions
JPS54114967A (en
Inventor
八十二 鈴木
宏 川崎
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP2227778A priority Critical patent/JPS601785B2/en
Publication of JPS54114967A publication Critical patent/JPS54114967A/en
Publication of JPS601785B2 publication Critical patent/JPS601785B2/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains
    • H03K23/64Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two
    • H03K23/66Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two with a variable counting base, e.g. by presetting or by adding or suppressing pulses
    • H03K23/667Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two with a variable counting base, e.g. by presetting or by adding or suppressing pulses by switching the base during a counting cycle

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 この発明はカウンタ回路のカウント数と予め設定された
カウント数との一致比較検出を行なう同期式カウンタ回
路のカゥンタ数比較検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a counter number comparison and detection circuit for a synchronous counter circuit that compares and detects coincidence between a count number of a counter circuit and a preset count number.

カウンタ回路のカウント数が予め設定されたカウント数
に達したことを知る必要がある場合、カウンタ回路のカ
ウント数と予め設定されたカウント数とを常時一致比較
する比較検出回路が用いられる。
When it is necessary to know that the count number of the counter circuit has reached a preset count number, a comparison detection circuit is used that constantly compares the count number of the counter circuit and the preset count number.

第1図はカワンタ回路の一例として同期式8進バィナリ
カウンタ回路のカウント数の一致比較検出を行なう従来
の同期式カウンタ回路のカウンタ数比較検出回路を示す
ものである。
FIG. 1 shows, as an example of a counter circuit, a conventional counter number comparison and detection circuit of a synchronous type octal binary counter circuit, which compares and detects coincidence of count numbers of a synchronous type octal binary counter circuit.

第1図において1は、第2図に示すようにクロックドィ
ンバータlcおよびィンバータ1から構成され、クロッ
クパルスぐおよびその補元パルス仇こよりその動作が制
御される1ビットシフト回路2,〜23および各1ビッ
トシフト回路の相互間に挿入され加算回路を構成する各
種ゲート回路からなる多段構成の同期式8進バィナリカ
ウン夕回路である。すなわち、1段のカウンタは1ビッ
トシフト回路2と加算回路とから構成され、各加算回路
には前段のキャリー出力と対応する段の1ビットシフト
回路2の出力とが入力され、この入力信号から1ビット
シフト回路2に入力するための加算出力を形成するとと
もに次段に対するキャリー出力を形成している。上記同
期式8進バィナリカウンタ回路1は供給されるクロック
パルスをカウントし、第3図に示すように順次ビット2
0〜22夫々のカウント出力信号Q,〜Qを出力するよ
うになっている。一方第1図において3は上記カウント
出力信号Q,〜Q夫々と予め設定されるビットデータL
D,〜LD3夫々との一致比較検出を行なって一致信号
E,Qを得るための比較検出回路である。例えば上記ビ
ットデータLD,〜LD3夫々が“1”レベルの場合、
すなわち前記カウンタ回路1のカウント数が「7」に達
したことを比較検出する場合、前記カウント出力信号Q
,〜Qが全て“1”レベルになると、ノアゲート4,〜
43夫々の出力レベルはすべて“0”レベルとなり、さ
らに上記ノアゲート4,〜43夫々の出力が並列的に結
合しているノアゲート5の出力レベルは“1”レベルと
なる。この結果ノアゲート5の出力信号E,Qにおいて
“1”レベルの一致信号が成立し、カウンタ1のカウン
ト数が予め設定されたカウント数に達したことが認識さ
れる。ところが上記回路において、カウント出力信号Q
,〜偽が伝達される信号線6,〜63には浮遊容量C,
〜C3夫々が存在しているので、比較検出回路3にカウ
ント出力信号Q.〜Q3が到達する間にわずかに遅れて
しまう。
In FIG. 1, reference numeral 1 denotes a 1-bit shift circuit 2, which is composed of a clock inverter lc and an inverter 1 as shown in FIG. 2, and whose operation is controlled by a clock pulse and its complement pulse. This is a synchronous octal binary counter circuit with a multi-stage configuration, which includes various gate circuits inserted between the 1-bit shift circuits and forming an adder circuit. That is, a one-stage counter is composed of a 1-bit shift circuit 2 and an adder circuit, and each adder circuit receives the carry output of the previous stage and the output of the 1-bit shift circuit 2 of the corresponding stage. It forms an addition output for input to the 1-bit shift circuit 2, and also forms a carry output for the next stage. The synchronous octal binary counter circuit 1 counts the supplied clock pulses and sequentially counts bits 2 and 2 as shown in FIG.
Count output signals Q, .about.Q of 0 to 22 are output. On the other hand, in FIG. 1, 3 is the count output signal Q, ~Q, and bit data L set in advance.
This is a comparison detection circuit for performing coincidence comparison detection with each of D and LD3 to obtain coincidence signals E and Q. For example, when each of the bit data LD, ~LD3 is at the "1" level,
That is, when comparing and detecting that the count number of the counter circuit 1 has reached "7", the count output signal Q
,~When all Qs reach “1” level, Noah Gate 4,~
The output level of each of the NOR gates 4 and 43 becomes a "0" level, and the output level of the NOR gate 5, in which the outputs of the NOR gates 4 and 43 are connected in parallel, becomes a "1" level. As a result, a coincidence signal of "1" level is established in the output signals E and Q of the NOR gate 5, and it is recognized that the count number of the counter 1 has reached the preset count number. However, in the above circuit, the count output signal Q
,~The signal lines 6,~63 through which false signals are transmitted have stray capacitances C,
.about.C3 are present, the comparison detection circuit 3 receives the count output signal Q. There will be a slight delay in reaching ~Q3.

また上記浮遊容量C,〜C3の値は信号線6,〜63夫
々によってその値が異なるので、その遅れ時間も異なっ
てくる。いま比較検出回路3に到達する遅れ時間を考慮
した前記カウント出力信号Q,〜Q3を夫々Q,′〜Q
3′とし、クロツクパルス?の立ち上りに対する遅れ時
間を夫々第4図に示すようにt・,t2,らとするなら
ば、上記信号Q,′〜Q3′においてtoの期間は夫々
が“1”レベルになってしまう。この結果ノアゲート5
においてこのtoの期間で“1”レベルの一致信号が成
立してしまう。このように従来の同期式カゥンタ回路の
カウンタ数比較検出回路では浮遊容量の影響で、カウン
タ回路のカウント数と予め設定されたカウント数とが一
致しなくても一致信号が成立してしまうといった誤動作
を起こす欠点がある。
Further, since the values of the stray capacitances C and .about.C3 differ depending on the signal lines 6 and .about.63, their delay times also differ. Now, the count output signals Q, ~Q3, which take into account the delay time reaching the comparison detection circuit 3, are converted to Q, '~Q, respectively.
3' and clock pulse? If the delay times for the rise of are respectively t·, t2, etc. as shown in FIG. 4, each of the signals Q,' to Q3' will be at the "1" level during the period to. As a result, Noah Gate 5
In this period, a "1" level coincidence signal is established. In this way, in the counter number comparison detection circuit of the conventional synchronous counter circuit, due to the influence of stray capacitance, a match signal is established even if the count number of the counter circuit and the preset count number do not match, resulting in malfunction. It has the disadvantage of causing

この発明は上記のような事情を考慮してなされたもので
、その目的はカウンタ回路のカウント出力が夫々伝達さ
れる信号線の浮遊容量に影響されず誤動作を起こすこと
のない同期式カゥンタ回路のカウンタ数比較検出回路を
提供することにある。
This invention was made in consideration of the above-mentioned circumstances, and its purpose is to provide a synchronous counter circuit that is not affected by the stray capacitance of the signal lines through which the count output of the counter circuit is transmitted and does not cause malfunctions. An object of the present invention is to provide a counter number comparison detection circuit.

以下図面を参照してこの発明の一実施例を説明する。An embodiment of the present invention will be described below with reference to the drawings.

第5図はこの発明の比較検出回路の使用例を示すもので
、ここでは従来と同様に同期式8進バィナリカウンタ回
路のカウント数の一致比較検出を行なう同期式カゥンタ
回路のカゥンタ数比較検出回路の場合について説明する
。第5図において11は供給されるクロックパルス少に
応じて、データ入力端D,に供給されるデータをこのク
ロックパルス0の半ビット分シフトした信号q,および
1ビット分シフトした信号Q,を夫々出力するシフト回
路で、このシフト回路11の出力信号Q,はインバータ
12を介してデータ入力端D,に帰還されている。さら
に上記信号Q,はオアゲート13およびナンドゲート1
4に並列的に供給されている。上記ナンドゲート14の
出力信号はオアゲート15およびナンドゲート16に夫
々供給されている。
FIG. 5 shows an example of the use of the comparison and detection circuit of the present invention. Here, as in the conventional case, the comparison and detection of the number of counters of a synchronous counter circuit is carried out to compare and detect the coincidence of the counts of a synchronous octal binary counter circuit. The case of a circuit will be explained. In FIG. 5, 11 indicates a signal q, in which the data supplied to the data input terminal D, is shifted by a half bit of this clock pulse 0, and a signal Q, which is shifted by 1 bit, in accordance with the smallness of the supplied clock pulse. The output signal Q of this shift circuit 11 is fed back to the data input terminal D through an inverter 12. Furthermore, the above signal Q, is the OR gate 13 and the NAND gate 1.
4 in parallel. The output signal of the NAND gate 14 is supplied to an OR gate 15 and a NAND gate 16, respectively.

また上記ナンドゲート14の出力信号は前記オアゲート
13の出力信号と共にアンドゲート17に供給されてい
て、さらにこのアンドゲート17の出力信号はシフト回
路18のデータ入力端D2に供給されている。このシフ
ト回路18は前記シフト回路1 1と同様に、データ入
力端○2に供給されるデータをクロックパルス◇‘こ応
じて半ビット分シフトした信号q2および1ビット分シ
フトした信号Q2を夫々出力するようになっている。上
記シフト回路18から出力される信号Q2は前記オアゲ
ート13およびナンドゲート14に夫々供給されている
。前記オァゲート15およびナンドゲート16夫々の出
力信号は共にアンドゲート19に供給されている。さら
にこのアンドゲート19の出力信号はシフト回路20の
データ入力端D3に供給されている。このシフト回路2
0は前記シフト回路11,18と同様に、データ入力端
D3に供給されるデータをクロツクパルス?に応じて半
ビット分シフトした信号q3および1ビット分シフトし
た信号Q3を夫々出力するようになっている。上記シフ
ト回路20から出力される信号Q3は前記オアゲート1
5およびナンドゲー0ト16に夫々供給されている。前
記シフト回路11,18,20、オアゲート13,15
、ナンドゲート14,16、アンドゲート17,19お
よびインバーター2は、供給されるクロックパルス◇を
順次カウントする同期式8進バイナリカウソタ回路21
を構成していて、前記シフト回路11,1 8,20夫
々から出力される信号Q,,Q2,Qが、ビット20〜
23夫々のカウント出力信号となる。また前記各信号q
,,q2,q3は上記信号Q,,Q2,Q3夫々より半
ビット分進んだ信号となっている。すなわち上記の同期
式8進バィナリカウンタ回路21は、1段のカウンタが
オアゲート13,15それぞれ、ナンドゲート14,1
6それぞれおよびアンドゲート17,19それぞれから
なる加算回路と各加算回路の加算出力が入力として供給
されるシフト回路18,20それぞれで構成され、これ
らのカゥンタを多段接続してなる。
The output signal of the NAND gate 14 is also supplied to an AND gate 17 together with the output signal of the OR gate 13, and the output signal of the AND gate 17 is further supplied to a data input terminal D2 of a shift circuit 18. Similar to the shift circuit 11, this shift circuit 18 outputs a signal q2 shifted by half a bit and a signal Q2 shifted by 1 bit in response to the clock pulse ◇' of the data supplied to the data input terminal ○2. It is supposed to be done. The signal Q2 output from the shift circuit 18 is supplied to the OR gate 13 and the NAND gate 14, respectively. The respective output signals of the OR gate 15 and the NAND gate 16 are both supplied to an AND gate 19. Furthermore, the output signal of this AND gate 19 is supplied to a data input terminal D3 of a shift circuit 20. This shift circuit 2
Similarly to the shift circuits 11 and 18, 0 clock pulses the data supplied to the data input terminal D3. Accordingly, a signal q3 shifted by half a bit and a signal Q3 shifted by 1 bit are output, respectively. The signal Q3 outputted from the shift circuit 20 is applied to the OR gate 1.
5 and NAND gate 16, respectively. The shift circuits 11, 18, 20, OR gates 13, 15
, NAND gates 14, 16, AND gates 17, 19, and inverter 2 constitute a synchronous octal binary counter circuit 21 that sequentially counts supplied clock pulses ◇.
The signals Q, , Q2, and Q output from the shift circuits 11, 18, and 20 respectively correspond to bits 20 to 20.
23 count output signals. In addition, each signal q
, , q2, and q3 are signals that are half bits ahead of the signals Q, , Q2, and Q3, respectively. That is, in the above-described synchronous octal binary counter circuit 21, one stage of the counter includes OR gates 13 and 15 and NAND gates 14 and 1, respectively.
6 and AND gates 17 and 19, respectively, and shift circuits 18 and 20, each of which is supplied with the addition output of each addition circuit as an input, and these counters are connected in multiple stages.

そして各加算回路には入力として、その段のカウンタの
シフト回路の1ビットシフト出力および前段カウンタの
キャリー出力が粒給され、ナンドゲート14,16の出
力がキヤリー出力に、またアンドゲート17,19の出
力が加算出力にされている。前記シフト回路11から出
力される信号q,は信号線31を介して、アンドゲート
32およびノアゲート33に並列的に供給されている。
Each adder circuit is fed with the 1-bit shift output of the shift circuit of the counter in that stage and the carry output of the previous stage counter as input, and the outputs of NAND gates 14 and 16 are used as carry outputs, and the outputs of AND gates 17 and 19 are fed as inputs. The output is set to addition output. A signal q output from the shift circuit 11 is supplied in parallel to an AND gate 32 and a NOR gate 33 via a signal line 31.

上記アンドゲート32およびノアゲート33には共に、
信号q,との一致を比較検出する予め設定されたビット
データLD,が供給されている。さらにアンドゲート3
2およびノアゲート33の出力信号は並列的にノアゲー
ト34に供給されている。
Both the AND gate 32 and the NOAH gate 33 have the following:
Preset bit data LD, which is compared and detected for coincidence with signal q, is supplied. Furthermore, and gate 3
The output signals of NOR gate 2 and NOR gate 33 are supplied to NOR gate 34 in parallel.

さりこ前記シフト回路18から出力される信号q2は信
号線35を介して、アンドゲート36およびノアゲート
37に並列的に供給されている。上記アンドゲート36
およびノアゲート37には共に、信号q2との一致を比
較検出する予め設定されたビットデータLD2が供給さ
れている。さらにアンドゲート36およびノアゲート3
7の出力信号は並列的にノアゲート38に供給されてい
る。またさらに前記シフト回路20から出力される信号
q3は信号線39を介して、アンドゲート40およびノ
アゲート41に並列的に供給されている。上記アンドゲ
ート40およびノアゲート41には共に、信号q3との
一致を比較検出する予め設定されたビットデータLD3
が供給されている。さらに前記ノアゲート34,38,
42夫々の出力信号は並列的に/アゲート43に供給さ
れている。前記各アンドゲート32,36,40および
各ノアゲート33,34,37,38,41,42,4
3は、前記同期式8進バィナリカウンタ回路21から出
力されるビット20〜22夫々のカウント出力信号Q,
〜Q3の各半ビットシフト前のカウント出力信号q,〜
q3と、予め設定されたビット2o 〜22夫々に対応
するビットデータLD,〜LD3との一致を比較する比
較回路44で、カウント出力信号q,〜q3夫々とビッ
トデータLD,〜LD3夫々が一致したときに、ノアゲ
ート43の出力信号E,Qにおいて“1”レベルの一致
信号が成立するようになっている。また前記各信号線3
1,35,39には夫々値の異なった浮遊容量C,〜C
3が存在している。前記ノアゲート43の出力信号は前
記クロツクパルスマの成立期間にのみ反転動作を行なう
クロックドゲート回路としてのいわゆるクロツクドイン
バータ45に供V給されている。さらにこのクロツクド
インバータ45の出力信号はィンバータ46に供V給さ
れている。このィンバータ46の出力信号はまた前記ク
ロックパルス?の補元パルスCの成立期間にのみ反転動
作を行なうクロックドィンバータ47に供給されていて
、さらにこのクロツクドインバータ47の出力信号は上
記ィンバータ46の入力端に帰還されている。上記各ク
ロックドインバータ45,47およびィンバータは、前
記信号E,Qに対する半ビットシフト回路48を構成し
ていて、インバータ46からは前記信号E,Qが半ビッ
トシフトされた半ビットシフト信号E,Q,Sが出力さ
れるようになっている。またこの半ビットシフト回路4
8と前記比較回路44とで比較検出回路を構成している
。なお、上記半ビットシフト回路48内のィンバータ4
6およびクロツクドインバータ47は、クロックドィン
バータ45の出力を安定に保持する安定回路を構成する
ものであり、このィンバータ46およびクロックドィン
バータ47は省略が可能である。
The signal q2 output from the shift circuit 18 is supplied to an AND gate 36 and a NOR gate 37 in parallel via a signal line 35. And gate 36 above
Both of the NOR gates 37 and 37 are supplied with preset bit data LD2 for comparing and detecting coincidence with the signal q2. Furthermore, AND Gate 36 and Noah Gate 3
The output signals of 7 are supplied to the NOR gate 38 in parallel. Furthermore, the signal q3 output from the shift circuit 20 is supplied to an AND gate 40 and a NOR gate 41 in parallel via a signal line 39. Both the AND gate 40 and the NOR gate 41 contain preset bit data LD3 for comparing and detecting coincidence with the signal q3.
is supplied. Furthermore, the Noah gates 34, 38,
42 respective output signals are supplied to /Agate 43 in parallel. The AND gates 32, 36, 40 and the NOR gates 33, 34, 37, 38, 41, 42, 4
3 is a count output signal Q of each of bits 20 to 22 outputted from the synchronous octal binary counter circuit 21;
~ Count output signal q before each half-bit shift of Q3, ~
A comparison circuit 44 that compares q3 with bit data LD, LD3 corresponding to preset bits 2o to 22, respectively, determines whether count output signals q, q3 and bit data LD, LD3 match each other. When this happens, a coincidence signal of "1" level is established in the output signals E and Q of the NOR gate 43. In addition, each signal line 3
1, 35, and 39 have stray capacitances C and ~C with different values, respectively.
3 exists. The output signal of the NOR gate 43 is supplied to a so-called clocked inverter 45, which is a clocked gate circuit that performs an inversion operation only during the period when the clock pulse generator is established. Furthermore, the output signal of this clocked inverter 45 is supplied to an inverter 46. The output signal of this inverter 46 is also the clock pulse? The output signal of the clocked inverter 47 is fed back to the input terminal of the inverter 46. The output signal of the clocked inverter 47 is fed back to the input terminal of the inverter . The clocked inverters 45, 47 and the inverter constitute a half-bit shift circuit 48 for the signals E, Q, and the inverter 46 outputs a half-bit shift signal E, which is obtained by shifting the signals E, Q by half a bit. Q and S are output. Also, this half bit shift circuit 4
8 and the comparison circuit 44 constitute a comparison detection circuit. Note that the inverter 4 in the half-bit shift circuit 48
6 and clocked inverter 47 constitute a stable circuit that stably maintains the output of clock inverter 45, and inverter 46 and clocked inverter 47 can be omitted.

第6図は前記各シフト回路11,18,20を詳細に示
したもので、データはクロツクパルスぐの補元パルス◇
の成立期間にのみ反転動作を行なうクロツクドィンバー
タ51に供孫合されるようになっている。
FIG. 6 shows the shift circuits 11, 18, and 20 in detail, and the data is the complementary pulse of the clock pulse ◇
It is connected to a clocked inverter 51 which performs an inverting operation only during the period when .

このクロツクドインバータ61の出力信号はィンバータ
52に供給され、さらにこのインバータ52の出力信号
はクロツクパルスJの成立期間にのみ反転動作を行なう
クロックドィンバータ53,54に並列的に供給されて
いる。上記一方のクロックドィンバータ53の出力信号
は前記ィンバータ52の入力機に帰還されている。また
上記他方のクロックドィンバータ54の出力信号はィン
バータ55に供給されている。さらにこのィンバー夕5
5の出力信号はクロックパルス少の補元パルスめの成立
期間にのみ反転動作を行なうクロックドィンバータ56
に供給されている。このクロツクドインバータ56の出
力信号は上記ィンバータ55の入力端に帰還されている
。そして前記ィンバータ52からはクロツクドィンバー
タ51に供給されるデータをクロックパルス?の半ビッ
ト分シフトした信号qが出力されるようになっていると
共に、インバータ55からは上記信号qをさらに半ビッ
ト分シフトした信号Qが出力されるようになっている。
次に上記のように構成された回路の動作を第7図に示す
タイミングチャートを併用して説明する。
The output signal of this clocked inverter 61 is supplied to an inverter 52, and the output signal of this inverter 52 is further supplied in parallel to clock inverters 53 and 54 which perform an inverting operation only during the period when the clock pulse J is established. . The output signal of the one clock inverter 53 is fed back to the input device of the inverter 52. Further, the output signal of the other clock inverter 54 is supplied to an inverter 55. In addition, this inbar evening 5
The output signal of 5 is output from a clock diverter 56 which performs an inversion operation only during the establishment period of the complementary pulse of the smaller clock pulse.
is supplied to. The output signal of this clocked inverter 56 is fed back to the input terminal of the inverter 55. The data supplied from the inverter 52 to the clocked inverter 51 is a clock pulse? A signal q shifted by a half bit is outputted, and a signal Q obtained by further shifting the signal q by a half bit is outputted from the inverter 55.
Next, the operation of the circuit configured as described above will be explained using the timing chart shown in FIG.

先ず比較検出回路において一致検出を行なう前記同期式
8進バィナリカウンタ回路21のカウント数をフルカウ
ントの「7」とする場合には、ビットデータLD,〜L
D3を夫々“1”レベルに設定する。次にカウンタ回路
21および半ビットシフト回路48にクロツクパルス少
およびこのパルスの補元パルス?を夫々入力する。クロ
ツクパルス少の第0番目のパルスが成立した後のその立
下物こ同期して、シフト回路11のカウント出力信号q
,は第7図に示すように“1”レベルに立上り、さらに
これに続きシフト回路20のカウント出力信号q3は“
0”レベルに立下る。次にクロックパルスJの第1番目
のパルスが成立した後その立下りに同期して、カウント
出力信号q,は第7図に示すように再び“0”レベルに
立下り、さらにこれに続きシフト回路18のカウント出
力信号q2は“1”レベルに立上る。さらにクロツクパ
ルス◇の第2番目のパルスが成立した後その立下りに同
期して、カウント出力信号q,は第7図に示すように“
1”レベルに立上る。さらにクロツクパルス◇の第3番
目のパルスが成立した後その立下りに同期して、カウン
ト出力信号q,は第7図に示すように“0”レベルに立
下り、さらにこれに続きカウント出力信号q2も“0”
レベルに立上る。また上言己カウント出力信号q2の立
下りに続いてカゥント出力信号q3は“1”レベルに立
上る。ところで上記カウント出力信号q,〜q3が各信
号線31,35,39に存在している浮遊容量C,〜C
3夫々によって遅延されることを考慮すると、クロック
パルス?の第3番目のパルスが成立しその後の立下り付
近では従来のようにq,〜q湊共に“1”レベルとなる
期間が存在する。前記したようにビットデータLD,〜
LD3は夫々“1”レベルとなっているので、アンドゲ
ート32,36,40夫々の出力信号は共に“1”レベ
ル、ノアゲート33,37,41夫々の出力信号は共に
“0”となり、さらにノアゲート34,38,42夫々
の出力信号は“0”レベルとなる。この結果第7図に示
すようにノアゲート43の出力信号E,Qは、クロック
パルス少の第3番目のパルスの立下り付近では“1”レ
ベルとなる。この後上記カウント出力信号q,〜q3夫
々よりも半ビット分シフトされる、カウンタ回路21の
実際のカウント数を表わすカウント出力信号Q,〜Qは
、第7図に示すように夫々“0”レベル、“0”レベル
、“1”レベルとなる。上記カウント出力信号Q,〜Q
はカウント数「4」に対応していて、未だフルカウント
状態でないことを示している。次にクロックパルスぐの
第4番目のパルス成立期間に、前記ノアゲート43に続
くクロツクドィンバータ45は、このノアゲート43の
出力信号E,Qを読み込む。第4番目のパルス成立期間
ではすでに前記信号E,Qは“0”レベルとなっている
ので、上記クロックドィンバータ45の出力信号1,E
,Qは第7図に示すように“1”レベルのままとなって
いる。この結果これに続くィンバ−夕46の出力信号E
,Q,Sは第7図に示すように、“0”レベルのままと
なり、前記ノアゲート43の出力信号E,Qが“1”レ
ベルとなっても一致信号は成立しない。さらにクロック
パルス?の第5番目および第11番目のパルス成立後の
立下り付近でもq,〜q3共に“1”レベルとなる期間
が存在し、ノアゲート43の出力信号E,Qは第7図に
示すように夫々“1”レベルとなるが、前記と同様にク
ロツクドィンバータ45の読み込みタイミングである第
6番目および第12蚤目のクロックパルス少の成立期間
では、すでに信号E,Qは“0”レベルとなっている。
したがってこの場合もクロックドインバータ45の出力
信号1,E,Qは第7図に示すように“1”レベルのま
まとなり、この結果これに続くインバータ46の出力信
号E,Q,Sは第7図に示すように“0”レベルのまま
となる。すなわちこの場合も一致信号は成立しない。次
にクロックパルスぐの第6番目のパルスが成立した後に
、そのパルスの立下りに同期してカウント出力信号q,
が“1”レベルに立上る。
First, when the count number of the synchronous octal binary counter circuit 21 that performs coincidence detection in the comparison detection circuit is set to a full count of "7", the bit data LD, ~L
D3 are each set to the "1" level. Next, the counter circuit 21 and the half-bit shift circuit 48 receive a low clock pulse and a complementary pulse of this pulse? Enter each. The count output signal q of the shift circuit 11 is synchronized with the falling edge after the 0th pulse of the clock pulse is established.
, rises to the "1" level as shown in FIG.
Then, after the first pulse of the clock pulse J is established, in synchronization with the fall of the first pulse, the count output signal q again falls to the "0" level as shown in FIG. Subsequently, the count output signal q2 of the shift circuit 18 rises to the "1" level.Furthermore, after the second pulse of the clock pulse ◇ is established, in synchronization with the fall of the second pulse, the count output signal q, rises to the "1" level. As shown in Figure 7, “
Further, after the third pulse of the clock pulse ◇ is established, in synchronization with the fall of the third pulse, the count output signal q falls to the "0" level as shown in FIG. Following this, the count output signal q2 is also “0”
rise to the level. Furthermore, following the falling of the count output signal q2, the count output signal q3 rises to the "1" level. By the way, the count output signals q, ~q3 are connected to the stray capacitances C, ~C present in each signal line 31, 35, 39.
Considering that each clock pulse is delayed by 3? When the third pulse is established, and then near the trailing edge, there is a period in which both the q and -q ports are at the "1" level, as in the conventional case. As mentioned above, the bit data LD, ~
Since the LD3 is each at the "1" level, the output signals of the AND gates 32, 36, and 40 are all at the "1" level, and the output signals of the NOR gates 33, 37, and 41 are both at the "0" level. The output signals of 34, 38, and 42 are at the "0" level. As a result, as shown in FIG. 7, the output signals E and Q of the NOR gate 43 are at the "1" level near the falling edge of the third pulse of the least clock pulse. Thereafter, the count output signals Q, .about.Q representing the actual count of the counter circuit 21, which are shifted by a half bit from the count output signals q, .about.q3, respectively, become "0" as shown in FIG. level, “0” level, and “1” level. Above count output signal Q, ~Q
corresponds to the count number "4", indicating that the count is not yet full. Next, during the fourth period of the clock pulse, the clock inverter 45 following the NOR gate 43 reads the output signals E and Q of the NOR gate 43. Since the signals E and Q are already at the "0" level during the fourth pulse formation period, the output signals 1 and E of the clock diverter 45 are
, Q remain at the "1" level as shown in FIG. As a result, the subsequent output signal E of the inverter 46
, Q, and S remain at the "0" level as shown in FIG. 7, and even if the output signals E, Q of the NOR gate 43 reach the "1" level, no coincidence signal is established. More clock pulses? Even in the vicinity of the falling edge after the formation of the 5th and 11th pulses, there is a period in which both q and q3 are at the "1" level, and the output signals E and Q of the NOR gate 43 are as shown in FIG. However, the signals E and Q are already at the "0" level during the period when the 6th and 12th clock pulses are low, which is the reading timing of the clock inverter 45, as described above. It becomes.
Therefore, in this case as well, the output signals 1, E, and Q of the clocked inverter 45 remain at the "1" level as shown in FIG. As shown in the figure, it remains at the "0" level. That is, in this case as well, a coincidence signal is not established. Next, after the sixth pulse of the clock pulse q is established, the count output signal q,
rises to the “1” level.

このとき第7図に示すように他のカウント出力信号q2
,q3はすでに“1”レベルになっている。この後上記
カウント出力信号q,〜q3夫々よりも半ビット分シフ
トされる、カウンタ回路21の実際のカウント数を表わ
すカウント出力信号Q・〜Qは、第7図に示すように全
て“1”レベルとなる。すなわち上記カウント出力信号
Q,〜Qはカウント数「7」に対応していて、これはフ
ルカウント状態であることを示している。前記信号q,
〜q3が共に“1”レベルであると、各アンドゲート3
2,36,40の出力信号は“1”レベル、各ノアゲー
ト33,37,41の出力信号は“0”レベルとなり、
さらにノアゲート34,38,42の出力信号は共に“
0”レベルとなる。この結果第7図に示すようにノアゲ
ート43の出力信号E,Qは、q,の成立期間“1”レ
ベルとなる。次にクロックパルスマの第7番目のパルス
成立期間に、前記ノアゲート43に続くクロックドィン
バータ45は、このノアゲート43の出力信号E,Qを
読み込む。このとき信号E,Qの成立期間はクロックパ
ルスマの1ビット分持続するので、上記クロックドィン
バータ45の出力信号1,E,Qは第7図に示すように
“0”レベルに立下る。次に第7番目のクロツクパルス
?の成立期間後、クロツクパルス◇の“0”レベルの期
間にクロツクドインバータ47が上記インバータ46の
出力信号を反転する。この結果第7番目のクロックパル
ス◇の成立期間後に続くクロツクパルス?の“0”レベ
ルの期間では、インバータ46の入力端の信号すなわち
信号1,E,Qは第7図に示すように“0”レベルとな
る。したがってインバータ46の出力信号E,Q,Sは
第7図に示すように、前記カウンタ回路21の実際のカ
ウント出力信号Q,〜Qが共に“1”レベルとなる期間
“1”レベルとなる。すなわちこの場合一致信号が成立
したことになる。このようにカウンタ回路21の力ゥン
ト数を表わすカウント出力信号Q,〜Q3が予め設定さ
れたビットデータLD,〜LD3と一致したときにのみ
一致信号が成立する。なおこの一致信号は一致信号成立
端すなわちィンバータ46の直前、すなわちクロツクド
インバータ43においてクロツクパルス◇に同期してい
るので、クロツクパルスシに対するその成立タイミング
の遅れ時間も小さくなるという効果を奏する。
At this time, as shown in FIG.
, q3 are already at the "1" level. Thereafter, the count output signals Q and -Q representing the actual count of the counter circuit 21, which are shifted by a half bit from each of the count output signals q and -q3, are all "1" as shown in FIG. level. That is, the count output signals Q, .about.Q correspond to the count number "7", which indicates a full count state. The signal q,
〜q3 are both at “1” level, each AND gate 3
The output signals of NOR gates 2, 36, and 40 are at "1" level, and the output signals of each NOR gate 33, 37, and 41 are at "0" level.
Furthermore, the output signals of the NOR gates 34, 38, and 42 are all “
As a result, as shown in FIG. 7, the output signals E and Q of the NOR gate 43 become "1" level during the period when q is established.Next, during the period when the seventh pulse of the clock pulser is established, Then, the clock diverter 45 following the NOR gate 43 reads the output signals E and Q of the NOR gate 43. At this time, the period during which the signals E and Q are established lasts for one bit of the clock pulse pulse, so the clock diverter 45 follows the NOR gate 43. The output signals 1, E, and Q of the inverter 45 fall to the "0" level as shown in FIG. The clocked inverter 47 inverts the output signal of the inverter 46. As a result, during the "0" level period of the clock pulse ? that follows after the establishment period of the seventh clock pulse ◇, the signal at the input terminal of the inverter 46, that is, the signal 1, E, and Q are at the "0" level as shown in FIG. 7. Therefore, the output signals E, Q, and S of the inverter 46 are the actual count output signals of the counter circuit 21, as shown in FIG. The level is "1" during the period when both Q, ~Q are at the "1" level. That is, in this case, a coincidence signal is established. In this way, the count output signals Q, ~Q representing the number of outputs of the counter circuit 21 are A match signal is established only when Q3 matches the preset bit data LD, ~LD3.This match signal is synchronized with the clock pulse ◇ at the end where the match signal is established, that is, immediately before the inverter 46, that is, at the clocked inverter 43. Therefore, the delay time of the timing of establishment of the clock pulse pulse is also reduced.

このように供給されるクロックパルス?を順次カウント
するカウンタ回路の、カウント出力信号Q,〜Q夫々の
半ビットシフト前の信号q,〜q3夫々と、予め設定さ
れたビットデータLD,〜LD3夫々とを比較し、さら
にこの比較信号を上記クロックパルスぐの半ビットシフ
トし、上記比較信号に成立するクロツクパルスぐの半ビ
ット以下のパルス長の“1”レベル信号を検出しないよ
うにしたことにより、カウント数が予め設定されたビッ
トデータLD,〜LD3で表現されるカウント数と一.
致したときのみ一致信号が成立し、もってカウント出力
が伝達される信号線の浮遊容量の値にかかわらず誤動作
を起こすことのない同期式カゥンタ回路のカウンタ数比
較検出回路を提供することができる。
Clock pulses supplied like this? The signals q and q3 before the half-bit shift of the count output signals Q and . By shifting the above-mentioned clock pulse by half a bit and not detecting a “1” level signal with a pulse length of less than half a bit of the clock pulse which is established in the above-mentioned comparison signal, the count number is set in advance by bit data. The count number expressed by LD, ~LD3 and 1.
It is possible to provide a counter number comparison and detection circuit for a synchronous counter circuit in which a coincidence signal is established only when the count outputs are matched, and thus does not cause malfunction regardless of the value of the stray capacitance of the signal line through which the count output is transmitted.

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

第1図は従来の同期式カウンタ回路のカウンタ数比較検
出回路の構成図、第2図は上記従釆回路の1部分の詳細
図、第3図および第4図は夫々上記従来回路を説明する
ためのタイミングチャート、第5図はこの発明の1実施
例の構成図、第6図は上記実施例の1部分の詳細図、第
7図は上記実施例を説明するためのタイミングチャート
である。 11,18,20…・・・シフト回路、12,46…・
・・インバータ、13,15・・・・・・オアゲート、
14,16……ナンドゲート、17,19,32,36
,40・・・・・・アンドゲート、21・・・・・・同
期式8進バィナリカウンタ回路、31,35,39・・
・・・・信号線、33,34,37,38,41,42
,43・・・・・・ノアゲート、44・・・・・・比較
回路、45,47……クロックドィンバータ、48……
半ビットシフト回路、51,53,54,56..・.
.・クロツクドインバータ、52,55……インバータ
。 第1図第2図 第3図 第4図 第5図 第6図 第7図
FIG. 1 is a block diagram of a counter number comparison detection circuit of a conventional synchronous counter circuit, FIG. 2 is a detailed diagram of a portion of the slave circuit, and FIGS. 3 and 4 respectively explain the conventional circuit. FIG. 5 is a configuration diagram of one embodiment of the present invention, FIG. 6 is a detailed diagram of a portion of the above embodiment, and FIG. 7 is a timing chart for explaining the above embodiment. 11, 18, 20...shift circuit, 12, 46...
...Inverter, 13,15...Or gate,
14, 16...Nand Gate, 17, 19, 32, 36
, 40...AND gate, 21...Synchronous octal binary counter circuit, 31, 35, 39...
...Signal line, 33, 34, 37, 38, 41, 42
, 43... Noah gate, 44... Comparison circuit, 45, 47... Clock inverter, 48...
Half bit shift circuit, 51, 53, 54, 56. ..・..
.. -Clocked inverter, 52, 55...inverter. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7

Claims (1)

【特許請求の範囲】[Claims] 1 1段のカウンタが加算出力とキヤリー出力とを得る
加算回路およびこの加算回路の加算出力が入力として供
給され第1、第2のクロツクパルスに基づいて入力を半
ビツト単位でシフトし、1ビツトシフトを行なう1ビツ
トシフト回路で構成され、各段の加算回路にはその段の
カウンタの1ビツトシフト回路の1ビツトシフト出力お
よび前段のカウンタの加算回路で得られるキヤリー出力
が供給され、上記カウンタを複数個多段接続してなる同
期式カウンタ回路と、上記各1ビツトシフト回路の半ビ
ツトシフト出力と予め設定された各ビツトデータとの一
致を夫々比較検出する比較部と、上記比較部で得られる
検出出力が入力として供給され上記第1、第2のクロツ
クパルスの一方で制御されるクロツクドゲート回路から
なり、上記検出出力を上記クロツクパルスの半ビツト分
だけシフトして一致信号を発生するシフト部とを具備し
、上記比較検出部における検出出力が上記クロツクパル
スの半ビツト以下の場合には上記シフト部から一致信号
を発生しないように構成したことを特徴とする同期式カ
ウンタ回路のカウント数比較検出回路。
1. A one-stage counter has an adder circuit that obtains an adder output and a carry output, and the adder output of this adder circuit is supplied as an input, and shifts the input in half-bit units based on the first and second clock pulses, and performs a one-bit shift. The adder circuit at each stage is supplied with the 1-bit shift output of the 1-bit shift circuit of the counter at that stage and the carry output obtained from the adder circuit of the counter at the previous stage. A synchronous counter circuit consisting of a synchronous counter circuit, a comparison section that compares and detects the match between the half-bit shift output of each of the 1-bit shift circuits and each preset bit data, and the detection output obtained from the comparison section is supplied as an input. a clocked gate circuit controlled by one of the first and second clock pulses, and a shift section that shifts the detection output by a half bit of the clock pulse to generate a coincidence signal; A count number comparison and detection circuit for a synchronous counter circuit, characterized in that the shift section does not generate a coincidence signal when the detection output in the clock pulse is less than a half bit of the clock pulse.
JP2227778A 1978-02-28 1978-02-28 Count comparison detection circuit for synchronous counter circuit Expired JPS601785B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2227778A JPS601785B2 (en) 1978-02-28 1978-02-28 Count comparison detection circuit for synchronous counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2227778A JPS601785B2 (en) 1978-02-28 1978-02-28 Count comparison detection circuit for synchronous counter circuit

Publications (2)

Publication Number Publication Date
JPS54114967A JPS54114967A (en) 1979-09-07
JPS601785B2 true JPS601785B2 (en) 1985-01-17

Family

ID=12078256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2227778A Expired JPS601785B2 (en) 1978-02-28 1978-02-28 Count comparison detection circuit for synchronous counter circuit

Country Status (1)

Country Link
JP (1) JPS601785B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180020510A1 (en) * 2015-02-17 2018-01-18 Illinois Tool Works, Inc. Apparatus and method for defrosting and/or cooking foods

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58171130A (en) * 1982-03-31 1983-10-07 Matsushita Electric Ind Co Ltd Programmable counter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180020510A1 (en) * 2015-02-17 2018-01-18 Illinois Tool Works, Inc. Apparatus and method for defrosting and/or cooking foods
US10681781B2 (en) * 2015-02-17 2020-06-09 Illinois Tool Works Inc. Apparatus and method for defrosting and/or cooking foods

Also Published As

Publication number Publication date
JPS54114967A (en) 1979-09-07

Similar Documents

Publication Publication Date Title
US5001374A (en) Digital filter for removing short duration noise
US3836956A (en) Method and apparatus for decoding biphase signals
US4160154A (en) High speed multiple event timer
JPS601785B2 (en) Count comparison detection circuit for synchronous counter circuit
CN113821075A (en) Clock domain crossing processing method and device for asynchronous multi-bit signal
US4741005A (en) Counter circuit having flip-flops for synchronizing carry signals between stages
US6150861A (en) Flip-flop
JPS61148939A (en) Frame synchronization system
JP2506407B2 (en) Clock synchronous data transmission system
JP2638286B2 (en) Phase comparison circuit
JPS6150428B2 (en)
RU28263U1 (en) SIGNATURE ANALYZER WITH RECOGNITION UNIT
JP3222377B2 (en) Bit synchronization circuit
SU1185644A1 (en) Device for detecting errors
JPH0789653B2 (en) Horizontal sync signal processing circuit
JPH0450777B2 (en)
KR870006739A (en) Frame Sync Detection Method and Circuit
JP2853374B2 (en) Frame synchronization circuit
JPH06252927A (en) Automatic logic inverting circuit for received data
JPH0392016A (en) Parity circuit
JPH03187542A (en) Synchronizing circuit
JPH03202910A (en) Synchronizing circuit
JPS5896327A (en) Interface circuit
JPS61154330A (en) Frame synchronizing circuit
JPS6152570B2 (en)