JPH0522411B2 - - Google Patents

Info

Publication number
JPH0522411B2
JPH0522411B2 JP58003680A JP368083A JPH0522411B2 JP H0522411 B2 JPH0522411 B2 JP H0522411B2 JP 58003680 A JP58003680 A JP 58003680A JP 368083 A JP368083 A JP 368083A JP H0522411 B2 JPH0522411 B2 JP H0522411B2
Authority
JP
Japan
Prior art keywords
flip
output
binary
stages
unit
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 - Lifetime
Application number
JP58003680A
Other languages
Japanese (ja)
Other versions
JPS59128831A (en
Inventor
Tadashi Kunihira
Hiroshi Mizuguchi
Yutaka Oota
Shinji Okada
Minoru Nakamura
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP368083A priority Critical patent/JPS59128831A/en
Publication of JPS59128831A publication Critical patent/JPS59128831A/en
Publication of JPH0522411B2 publication Critical patent/JPH0522411B2/ja
Granted 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

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、バイナリーカウンタのバイナリー出
力に応じてパルス信号を発生するパルス信号発生
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a pulse signal generator that generates a pulse signal in response to a binary output of a binary counter.

従来例の構成とその問題点 従来、この種のパルス信号発生装置は、第1図
に示すように構成されている。1〜8はそれぞれ
セツト機能を有するフリツプフロツプで、各単位
ステージを縦続接続してバイナリーダウンカウン
タ21を構成している。9〜16は各単位ステー
ジのデータ端子Dに接続されたプログラム端子
で、各ビツトのプログラム値が印加される。17
は最下位ビツトLSBのフリツプフロツプ1のク
ロツク端子CLに接続されたクロツク信号入力端
子、18はそれぞれのフリツプフロツプ1〜8の
セツト端子Sに接続された共通のセツト信号入力
端子、19,20はカウンタのバイナリー出力が
所定の組み合わせになつたことを検出する検出ゲ
ートで、ここではNANDゲートから成つており、
検出すべきバイナリー出力に従つて各単位ステー
ジの出力端子がゲート入力端子に接続されてい
る。22は検出ゲート19,20の出力端子がセ
ツト端子S1、リセツト端子R1に接続されたRSフ
リツプフロツプで、このRSフリツプフロツプ2
2の出力端子はパルス信号出力端子23に接続さ
れている。
Conventional Structure and Problems Conventionally, this type of pulse signal generator has been structured as shown in FIG. Flip-flops 1 to 8 each have a set function, and a binary down counter 21 is constructed by cascading unit stages. Program terminals 9 to 16 are connected to the data terminal D of each unit stage, to which the program value of each bit is applied. 17
is a clock signal input terminal connected to the clock terminal CL of flip-flop 1 of the least significant bit LSB, 18 is a common set signal input terminal connected to the set terminal S of each flip-flop 1 to 8, and 19 and 20 are the counter terminals. A detection gate that detects when the binary output has become a predetermined combination, and here it consists of a NAND gate.
The output terminal of each unit stage is connected to the gate input terminal according to the binary output to be detected. 22 is an RS flip-flop in which the output terminals of the detection gates 19 and 20 are connected to the set terminal S 1 and the reset terminal R 1 ;
The second output terminal is connected to the pulse signal output terminal 23.

次に動作を説明する。今、仮にRSフリツプフ
ロツプ22の出力レベルはローレベルとし、例え
ばバイナリーダウンカウンタ21のプログラム値
が2進数でMSB側からLSB側に向かつて
〔00011000〕であつたとすると、この値からダウ
ンカウントが行なわれて、検出ゲート19,20
の入力を第1図のように設定すると、カウンタ出
力がNPI〔00001100〕になつた時点で検出ゲート
19が出力信号を発生する。この信号によりRS
フリツプフロツプ22はセツトされ、パルス信号
出力端子23のレベルはローレベルからハイレベ
ルに変化する。さらにカウントを続けると、カウ
ンタ出力がNP2〔11010100〕になつた時点で検出
ゲート20が出力信号を発生し、この信号により
RSフリツプフロツプ22はリセツトされ、パル
ス信号出力端子23のレベルは、ハイレベルから
ローレベルに変化し、所定のパルス信号を発生し
たことになる。
Next, the operation will be explained. Now, suppose that the output level of the RS flip-flop 22 is set to a low level and, for example, the program value of the binary down counter 21 is a binary number [00011000] from the MSB side to the LSB side, then the down count is performed from this value. Detection gates 19, 20
When the input of is set as shown in FIG. 1, the detection gate 19 generates an output signal when the counter output reaches NPI [00001100]. This signal causes RS
The flip-flop 22 is set, and the level of the pulse signal output terminal 23 changes from low level to high level. As the count continues, the detection gate 20 generates an output signal when the counter output reaches NP2 [11010100], and this signal causes
The RS flip-flop 22 is reset, and the level of the pulse signal output terminal 23 changes from high level to low level, indicating that a predetermined pulse signal has been generated.

しかしながら、この第1図のような構成では、
出力パルス信号のレベルがローレベルからハイレ
ベルに、またハイレベルからローレベルに変化す
る時刻を検出するのに各単位ステージのすべての
出力を用いているので、検出ゲート19,20の
入力端子は単位ステージの数だけ必要となる。同
様に、各単位ステージの出力端子と検出ゲート1
9,20の入力端子とを結ぶ配線も同様の本数だ
け必要となる。特に発生すべきパルス信号が複数
個ある場合、配線本数は 配線本数=(単位ステージの数)×(発生すべき
パルス信号数)×2 で表わされる。従つてパルス信号を複数個発生さ
せる場合には、配線本数が多くなると共に、各単
位ステージのドライブ能力も大きなものが必要と
なり、集積回路においては問題となる。
However, in the configuration shown in Figure 1,
Since all outputs of each unit stage are used to detect the time when the level of the output pulse signal changes from low level to high level or from high level to low level, the input terminals of detection gates 19 and 20 are Only the number of unit stages is required. Similarly, the output terminal of each unit stage and the detection gate 1
The same number of wires are required to connect the input terminals 9 and 20. In particular, when there are multiple pulse signals to be generated, the number of wires is expressed as follows: Number of wires=(number of unit stages)×(number of pulse signals to be generated)×2. Therefore, when a plurality of pulse signals are generated, the number of wires increases and each unit stage requires a large drive capacity, which poses a problem in integrated circuits.

発明の目的 本発明は上記従来の欠点を解消するもので、カ
ウンタのカウント値をもとに、より少ない配線数
や素子数でパルス信号を発生することができるパ
ルス信号発生装置を提供することを目的とする。
OBJECT OF THE INVENTION The present invention solves the above-mentioned conventional drawbacks, and aims to provide a pulse signal generation device that can generate pulse signals with a smaller number of wires and elements based on the count value of a counter. purpose.

発明の構成 上記目的を達するため、本発明のパルス信号発
生装置は、セツト機能を有するフリツプフロツプ
を単位ステージとして、この単位ステージをN個
(N≧4)縦続接続してなるバイナリーダウンカ
ウンタと、このバイナリーダウンカウンタの上位
L個(L≧1)の単位ステージのバイナリー出力
により区別でき、かつ中間段のK個(K≧2)の
単位ステージのバイナリー出力がすべて「0」で
なく、下位J個(J≧1)の単位ステージのバイ
ナリー出力が「0」である第1,第2の所定のカ
ウント値NP1,NP2に対して、前記第1の所定
のカウント値NP1の上位L個の「1」となるす
べての単位ステージの非反転出力端及び「0」と
なるすべての単位ステージの反転出力端が、また
下位J個の単位ステージについてはすべての反転
出力端が、また中間段のK個については前記所定
のカウント値NP1の値において「0」となる単
位ステージの反転出力端のみがそれぞれ入力端に
接続された第1の検出ゲートと、前記第2の所定
のカウント値NP2の上位L個の「1」となるす
べての単位ステージの非反転出力端及び「0」と
なるすべての単位ステージの反転出力端が、また
下位J個の単位ステージについてはすべての反転
出力端が、また中間段のK個については前記所定
のカウント値NP2の値において「0」となる単
位ステージの反転出力端のみがそれぞれ入力端に
接続された第2の検出ゲートと、前記第1の検出
ゲートの出力端がセツト入力端に接続されかつ前
記第2の検出ゲートの出力端がリセツト入力端に
接続されたRSフリツプフロツプとを備えた構成
としている。
Structure of the Invention In order to achieve the above object, the pulse signal generating device of the present invention includes a binary down counter formed by using a flip-flop having a set function as a unit stage and connecting N unit stages (N≧4) in cascade; It can be distinguished by the binary outputs of the upper L (L≧1) unit stages of the binary down counter, and the binary outputs of the middle K (K≧2) unit stages are not all “0” and the lower J (J≧1), for the first and second predetermined count values NP1 and NP2 whose binary output is “0”, the upper L “1” of the first predetermined count value NP1 The non-inverting output terminals of all unit stages which become "0" and the inverting output terminals of all unit stages which become "0", all the inverting output terminals of the lower J unit stages, and the K intermediate stage , a first detection gate in which only the inverting output terminal of the unit stage which becomes "0" at the value of the predetermined count value NP1 is connected to the input terminal, and an upper L of the second predetermined count value NP2. The non-inverting output terminals of all the unit stages that become "1" and the inverting output terminals of all the unit stages that become "0", and all the inverting output terminals of the lower J unit stages, and the intermediate For the K stages, a second detection gate in which only the inverted output terminal of the unit stage which becomes "0" at the value of the predetermined count value NP2 is connected to the input terminal, and an output of the first detection gate. The RS flip-flop has an end connected to the set input end and an output end of the second detection gate connected to the reset input end.

実施例の説明 以下、本発明の一実施例について、図面に基づ
いて説明する。第2図は本発明のパルス信号発生
装置の回路図であり、第1図に示す構成要素と同
一の構成要素には同一の符号を付してその説明を
省略する。第2図と第1図とでは次の点が異な
る。第2図では検出ゲート19の入力端子に、例
えば検出すべきバイナリー値がMSB側からLSB
側に向つてNP1〔00001100〕の場合、J=2、K
=4、L=2とすると、上位2個の単位ステージ
の反転出力端子と、下位2個の単位ステージの反
転出力端子と、中間段4個の単位ステージのうち
論理レベル「0」となるフリツプフロツプ5,6
の反転出力端子との合計6本が接続されており、
フリツプフロツプ3,4と検出ゲート19とは接
続されていない。第2図ではJ=2、K=4、L
=2としたが、中間段数Kを多くするようにJ,
K,Lを適当に設定すれば、配線数の削減を多く
することができる。例えば、J=2、K=5、L
=1とすると、バイナリー値NP1では上位1個
の単位ステージの反転出力端子と、下位2個の単
位ステージの反転出力端子と、中間段5個の単位
ステージのうち論理レベル「0」となるフリツプ
フロツプ5,6,7の反転出力端子との合計6本
が検出ゲート19の入力端子に接続され、フリツ
プフロツプ3,4と検出ゲート19とは接続され
ない。すなわち、フリツプフロツプ3,4と検出
ゲート19とを接続する2本の配線が削減される
ことになる。バイナリー値NP2も同様になり、
上位1個の単位ステージの非反転出力端子と、下
位2個の単位ステージの反転出力端子と、中間段
5個の単位ステージのうち論理レベル「0」とな
るフリツプフロツプ4,6の反転出力端子との合
計5本が検出ゲート20の入力端子に接続され、
フリツプフロツプ3,5,7と検出ゲート20と
は接続されない。すなわち、フリツプフロツプ
3,5,7と検出ゲート20とを接続する3本の
配線が削減されることになる。従つて、この場合
には第2図の接続、すなわちJ=2、K=4、L
=2の場合に比べて、検出ゲート20における配
線数をさらに1本削減することができる。ここ
で、検出すべきバイナリー値の中間段の単位ステ
ージの論理レベルがすべて「0」の時には、フリ
ツプフロツプ3,4,5,6,7のすべての非反
転出力端子が検出ゲートに接続されるので、配線
数を削減することができない。従つて、検出すべ
きバイナリー値の中間段の論理レベルはすべて
「0」であつてはならない。検出ゲート20も同
様になり、検出すべきバイナリー値がNP2
〔11010100〕の場合、上位2個の単位ステージの
非反転出力端子と、下位2個の単位ステージの反
転出力端子と、中間段4個の単位ステージのうち
論理レベル「0」となるフリツプフロツプ4,6
の反転出力端子との合計6本が接続されており、
フリツプフロツプ3,5と検出ゲート20とは接
続されていない。すなわち、フリツプフロツプ
4,6と検出ゲート20との2本の配線が削減さ
れている。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a circuit diagram of the pulse signal generator of the present invention, and the same components as those shown in FIG. 1 are given the same reference numerals and their explanations will be omitted. The following points differ between FIG. 2 and FIG. 1. In FIG. 2, the binary value to be detected is input to the input terminal of the detection gate 19 from the MSB side to the LSB side.
In the case of NP1 [00001100] towards the side, J = 2, K
= 4, L = 2, the inverting output terminals of the upper two unit stages, the inverting output terminals of the lower two unit stages, and the flip-flop whose logic level is "0" among the four intermediate unit stages. 5,6
A total of 6 wires are connected to the inverted output terminal of
Flip-flops 3 and 4 and detection gate 19 are not connected. In Figure 2, J=2, K=4, L
= 2, but in order to increase the number of intermediate stages K, J,
By appropriately setting K and L, the number of wiring lines can be reduced. For example, J=2, K=5, L
= 1, in the binary value NP1, the inverting output terminal of the upper one unit stage, the inverting output terminal of the lower two unit stages, and the flip-flop whose logic level is "0" among the five intermediate unit stages. A total of six inverting output terminals 5, 6, and 7 are connected to the input terminal of the detection gate 19, and the flip-flops 3 and 4 are not connected to the detection gate 19. In other words, two wires connecting the flip-flops 3 and 4 and the detection gate 19 are eliminated. Similarly, the binary value NP2 becomes
The non-inverting output terminal of the upper unit stage, the inverting output terminal of the lower two unit stages, and the inverting output terminals of flip-flops 4 and 6 that have a logic level of "0" among the five intermediate unit stages. A total of five wires are connected to the input terminal of the detection gate 20,
Flip-flops 3, 5, 7 and detection gate 20 are not connected. That is, three wires connecting the flip-flops 3, 5, and 7 and the detection gate 20 are reduced. Therefore, in this case, the connections in FIG. 2, J=2, K=4, L
Compared to the case where =2, the number of wires in the detection gate 20 can be further reduced by one. Here, when the logic levels of the intermediate unit stages of the binary value to be detected are all "0", all non-inverting output terminals of flip-flops 3, 4, 5, 6, and 7 are connected to the detection gate. , the number of wires cannot be reduced. Therefore, all intermediate logic levels of the binary value to be detected must not be "0". The same goes for the detection gate 20, and the binary value to be detected is NP2.
In the case of [11010100], the non-inverting output terminals of the upper two unit stages, the inverting output terminals of the lower two unit stages, and the flip-flop 4 whose logic level is "0" among the four intermediate unit stages, 6
A total of 6 wires are connected to the inverted output terminal of
Flip-flops 3 and 5 and detection gate 20 are not connected. That is, two wiring lines between the flip-flops 4 and 6 and the detection gate 20 are eliminated.

第3図は第2図に示す回路の動作を示すタイム
チヤートで、17aはクロツク信号入力端子17
に供給されるクロツク信号、1Q〜8Qは各単位
ステージのフリツプフロツプ1〜8の非反転出力
端子Qから出力される信号、18aはバイナリー
ダウンカウンタ21の各フリツプフロツプ1〜8
のセツト信号入力端子Sに供給されるセツト信
号、19aは検出ゲート19の出力信号、20a
は検出ゲート20の出力信号、22aはRSフリ
ツプフロツプ22の出力信号である。
FIG. 3 is a time chart showing the operation of the circuit shown in FIG. 2, and 17a is a clock signal input terminal 17.
1Q to 8Q are signals output from the non-inverting output terminals Q of flip-flops 1 to 8 of each unit stage, and 18a is a signal supplied to each flip-flop 1 to 8 of the binary down counter 21.
The set signal 19a is supplied to the set signal input terminal S of the detection gate 19, and 20a is the output signal of the detection gate 19.
is the output signal of the detection gate 20, and 22a is the output signal of the RS flip-flop 22.

時刻t0以前にセツト信号入力端子18の論理レ
ベルがハイレベルで、各単位ステージにプリセツ
トデータとしてMSB側からLSB側に向つて、
〔00011000〕がセツトされているものとすると、
検出ゲート19,20の出力信号19a,20a
は論理レベルがハイレベルとなつている。また、
パルス信号出力端子23の論理レベルはローレベ
ルとする。そしてセツト信号入力端子18のセツ
ト信号18aが論理レベルでハイレベルからロー
レベルに反転すると、バイナリーダウンカウンタ
21はクロツク信号17aをダウンカウントす
る。時刻t1にバイナリーダウンカウンタ21のバ
イナリー出力が所定のカウント値NP1
〔00001100〕となると、検出ゲート19の出力レ
ベルはローレベルとなり、検出信号19aを出力
する。この信号19aによりRSフリツプフロツ
プ22はセツトされ、パルス信号出力端子23の
レベルはローレベルからハイレベルに変化する。
時刻t2にバイナリーダウンカウンタ21のバイナ
リー出力が〔00001011〕になると、検出ゲート1
9の出力レベルはハイレベルに復帰して、検出が
終了したことになる。検出ゲート19の出力は、
出力を検出しない単位ステージがあるため、時刻
t3,t5,t7において同様にローレベルとなり、時
刻t4,t6,t8においてハイレベルとなる。従つて、
検出ゲート19は4回検出信号19aを出力する
ことになり、検出すべきバイナリー出力以外のバ
イナリー出力値においても検出信号19aを出力
している。しかし、バイナリーダウンカウンタ2
1にデータがプリセツトされた後、検出ゲート1
9が最初に検出信号19aを出力するのは時刻t1
であり、そのときのバイナリーダウンカウンタ2
1のバイナリー出力は、検出すべきバイナリー値
〔00001100〕になつている。最初の検出信号19
aでRSフリツプフロツプ22をセツトするので、
RSフリツプフロツプ22の出力は時刻t1にロー
レベルからハイレベルになり、時刻t3,t5,t7
おいて検出信号19aが出力されたときには、す
でにパルス信号出力端子23はハイレベルとなつ
ている。同様に、時刻t13にバイナリーダウンカ
ウンタ21のバイナリー出力が所定のカウント値
NP2〔11010100〕となると、検出ゲート20の出
力レベルはローレベルとなり、検出信号20aを
出力する。この信号20aによりRSフリツプフ
ロツプ22はリセツトされ、パルス信号出力端子
23のレベルはハイレベルからローレベルに変化
する。時刻t15,t21,t23においても検出信号20
aが出力されるが、すでにパルス信号出力端子2
3はローレベルとなつており、パルス信号22a
には何ら影響を与えない。よつて出力されるパル
ス信号22aのパルス幅はバイナリーダウンカウ
ンタ21に入力されるクロツク信号17aの周期
と所定のカウント値NP1,NP2とで決定される。
Before time t0 , the logic level of the set signal input terminal 18 is high level, and the preset data is sent to each unit stage from the MSB side to the LSB side.
Assuming that [00011000] is set,
Output signals 19a, 20a of detection gates 19, 20
has a high logic level. Also,
The logic level of the pulse signal output terminal 23 is set to low level. When the set signal 18a at the set signal input terminal 18 is inverted from a high level to a low level, the binary down counter 21 counts down the clock signal 17a. At time t 1 , the binary output of the binary down counter 21 reaches the predetermined count value NP1.
When it becomes [00001100], the output level of the detection gate 19 becomes low level and outputs the detection signal 19a. The RS flip-flop 22 is set by this signal 19a, and the level of the pulse signal output terminal 23 changes from low level to high level.
When the binary output of the binary down counter 21 becomes [00001011] at time t2 , the detection gate 1
The output level of No. 9 returns to high level, indicating that the detection has ended. The output of the detection gate 19 is
Since there is a unit stage that does not detect the output, the time
Similarly, it becomes a low level at times t 3 , t 5 , and t 7 , and becomes a high level at times t 4 , t 6 , and t 8 . Therefore,
The detection gate 19 outputs the detection signal 19a four times, and also outputs the detection signal 19a for binary output values other than the binary output to be detected. However, binary down counter 2
After the data is preset to 1, the detection gate 1
9 outputs the detection signal 19a for the first time at time t 1
and the binary down counter 2 at that time
The binary output of 1 is the binary value [00001100] to be detected. First detection signal 19
Since the RS flip-flop 22 is set at a,
The output of the RS flip-flop 22 changes from low level to high level at time t1 , and when the detection signal 19a is output at times t3 , t5 , and t7 , the pulse signal output terminal 23 is already at high level. . Similarly, at time t13 , the binary output of the binary down counter 21 reaches the predetermined count value.
When NP2 [11010100] is reached, the output level of the detection gate 20 becomes low level and outputs the detection signal 20a. The RS flip-flop 22 is reset by this signal 20a, and the level of the pulse signal output terminal 23 changes from high level to low level. The detection signal 20 is also present at times t 15 , t 21 , and t 23 .
a is output, but it is already connected to the pulse signal output terminal 2.
3 is at low level, and the pulse signal 22a
has no effect on. Therefore, the pulse width of the output pulse signal 22a is determined by the period of the clock signal 17a input to the binary down counter 21 and the predetermined count values NP1 and NP2.

また、バイナリーダウンカウンタ21の上位ビ
ツトを検出する個数Lは、出力パルス信号22a
がハイレベルの間に検出信号19が検出する検出
信号19aの信号列(時刻t3,t5,t7の検出信号)
の出力が終了し、出力パルス信号22aがローレ
ベルの間に検出信号20が検出する検出信号20
aの信号列(時刻t15,t21,t23の検出信号)の出
力が終了するように選ぶ。すなわち、上位Lビツ
トによりカウント値NP1,NP2が区別されなけ
ればならない。従つて、第2図の実施例ではL=
2としたが、Lの値は1〜4のどれかであればよ
い。しかし、Lの値を大きくすればKの値が小さ
くなり、削減できる配線数が少なくなるので、適
当なLの値を選択しなければならない。
Furthermore, the number L of upper bits detected by the binary down counter 21 is determined by the output pulse signal 22a.
A signal sequence of the detection signal 19a detected by the detection signal 19 while the detection signal 19 is at a high level (detection signals at times t 3 , t 5 , t 7 )
The detection signal 20 is detected while the output of the output pulse signal 22a is at low level.
It is selected so that the output of the signal sequence a (detection signals at times t 15 , t 21 , and t 23 ) ends. That is, the count values NP1 and NP2 must be distinguished by the upper L bits. Therefore, in the embodiment of FIG. 2, L=
2, but the value of L may be any value from 1 to 4. However, if the value of L is increased, the value of K becomes smaller, and the number of wiring lines that can be reduced decreases, so an appropriate value of L must be selected.

バイナリーダウンカウンタ21の下位J個の単
位ステージの反転出力を検出しているのは、カウ
ント値を検出するときに生じるハザードを防止す
るためである。ハザードは入力されるクロツク信
号に対してバイナリーダウンカウンタ21の動作
速度が遅いときなどに生じる。例えば、カウント
値が〔11010000〕のときにクロツク信号が入力さ
れると、本来カウント値は〔11001111〕
〔11001110〕と変化していくが、バイナリーダウ
ンカウンタ21の動作速度が遅いことによりバイ
ナリーダウンカウンタ21が一瞬〔11010111〕と
いう値を出力すると、バイナリーダウンカウンタ
21の下位ビツトの出力を検出ゲート20に入力
していないと、検出ゲート20は誤検出してしま
う。従つて、検出ゲート20が誤検出しないよう
にバイナリーダウンカウンタ21の全ビツトの動
作が確定する時間に相当するビツト数Jを検出ゲ
ート20に入力している。
The reason why the inverted outputs of the lower J unit stages of the binary down counter 21 are detected is to prevent a hazard that may occur when detecting the count value. A hazard occurs when the operating speed of the binary down counter 21 is slow relative to the input clock signal. For example, if a clock signal is input when the count value is [11010000], the original count value is [11001111].
However, due to the slow operation speed of the binary down counter 21, when the binary down counter 21 momentarily outputs the value [11010111], the output of the lower bit of the binary down counter 21 is sent to the detection gate 20. If it is not input, the detection gate 20 will make a false detection. Therefore, in order to prevent the detection gate 20 from erroneously detecting, the number J of bits corresponding to the time required for the operation of all bits of the binary down counter 21 to be determined is inputted to the detection gate 20.

なお、第2図の実施例ではNP1〔00001100〕,
NP2〔00010100〕として説明したが、例えば、第
1の所定カウント値NP1と第2の所定カウント
値NP2の各上位L個(L=2)の値として両者
がいずれも()の場合、例えば、NP1
〔00001100〕,NP2〔00010100〕の場合については
NP1,NP2を区別するのに必要な上位ビツト数
は4ビツトであるので、L=4となる。また、J
=2とするとK=2となり、削減できる配線数は
NP1が2本、NP2が1本となる。
In addition, in the example of FIG. 2, NP1 [00001100],
Although explained as NP2 [00010100], for example, if both of the upper L (L=2) values of the first predetermined count value NP1 and the second predetermined count value NP2 are (), for example, NP1
For [00001100], NP2 [00010100],
Since the number of upper bits required to distinguish between NP1 and NP2 is 4 bits, L=4. Also, J
= 2, then K = 2, and the number of wires that can be reduced is
There will be two NP1s and one NP2.

次に、本発明の他の実施例について説明する。
第4図は他の実施例におけるパルス信号発生装置
の回路図であり、第1図及び第2図に示す構成要
素と同一の構成要素には同一の符号を付してその
説明を省略する。本実施例は必要なパルス信号を
複数個発生させるものである。第4図と第2図と
では次の点が異なる。第4図では検出ゲート24
とRSフリツプフロツプ25とが追加され、検出
ゲート24の入力端子に例えば検出すべきバイナ
リー値がNP3〔11011100〕の場合、J=2,K=
4,L=2とすると、上位2個の単位ステージの
非反転出力端子と、下位2個の単位ステージの反
転出力端子と、中間段4個の単位ステージのうち
論理レベル「0」となるフリツプフロツプ6の反
転出力端子との合計5本が接続されており、フリ
ツプフロツプ3,4,5と検出ゲート24とは接
続されていない。すなわち、フリツプフロツプ
3,4,5と検出ゲート24との3本の配線が削
減されている。検出ゲート24の出力端子はRS
フリツプフロツプ25のセツト端子S2に、RSフ
リツプフロツプ22のQ出力端子がRSフリツプ
フロツプ25のリセツト端子R2に接続されてい
る。
Next, other embodiments of the present invention will be described.
FIG. 4 is a circuit diagram of a pulse signal generator according to another embodiment, and the same components as those shown in FIGS. 1 and 2 are given the same reference numerals and their explanations will be omitted. In this embodiment, a plurality of necessary pulse signals are generated. The following points differ between FIG. 4 and FIG. 2. In FIG. 4, the detection gate 24
and RS flip-flop 25 are added, and if the binary value to be detected is NP3 [11011100] at the input terminal of the detection gate 24, J=2, K=
4, L=2, the non-inverting output terminals of the upper two unit stages, the inverting output terminals of the lower two unit stages, and the flip-flop which has a logic level of "0" among the four intermediate unit stages. The flip-flops 3, 4, 5 and the detection gate 24 are not connected. That is, three wiring lines between the flip-flops 3, 4, and 5 and the detection gate 24 are reduced. The output terminal of the detection gate 24 is RS
The Q output terminal of the RS flip-flop 22 is connected to the set terminal S 2 of the flip-flop 25 and the reset terminal R 2 of the RS flip-flop 25 .

第5図は第4図に示す回路の動作を示すタイム
チヤートである。なお、第3図に示す信号と同一
の信号には同一の符号を付してその説明を省略す
る。24aは検出ゲート24の出力信号、25a
はRSフリツプフロツプ25の反転出力信号であ
る。
FIG. 5 is a time chart showing the operation of the circuit shown in FIG. 4. Note that the same signals as those shown in FIG. 3 are given the same reference numerals, and their explanations will be omitted. 24a is the output signal of the detection gate 24, 25a
is the inverted output signal of the RS flip-flop 25.

バイナリーダウンカウンタ21がクロツク信号
をダウンカウントする。時刻t9にバイナリーダウ
ンカウンタ21のバイナリー出力が所定のカウン
ト値NP3〔11011100〕となると、検出ゲート24
の出力はローレベルとなり、検出信号24aを出
力する。この信号24aによりRSフリツプフロ
ツプ25はセツトされ、パルス信号出力端子26
の出力レベルはハイレベルからローレベルに変化
する。さらに検出ゲート24は時刻t11,t13,t15
t17,t19,t21,t23においても検出信号24aを出
力し、フリツプフロツプ25をセツトしようとす
る。しかし、フリツプフロツプ25のリセツト端
子R2には、フリツプフロツプ22のQ出力端子
が接続されており、Q出力がローレベルとなる時
刻t13にフリツプフロツプ25はリセツトされ、
パルス信号出力端子26はハイレベルとなる。パ
ルス信号出力端子26をフリツプフロツプ25の
反転出力端子Qに接続しているので、時刻t13
後の検出ゲート24によるセツト信号は、フリツ
プフロツプ22のQ信号により禁止され、パルス
信号出力端子26に影響を与えない。第5図の2
5Qのように、フリツプフロツプ25の非反転出
力端子Qには、検出ゲート24の検出信号である
セツト信号24aの影響があらわれる。
A binary down counter 21 counts down the clock signal. When the binary output of the binary down counter 21 reaches the predetermined count value NP3 [11011100] at time t9 , the detection gate 24
The output becomes low level and outputs the detection signal 24a. The RS flip-flop 25 is set by this signal 24a, and the pulse signal output terminal 26 is set.
The output level changes from high level to low level. Furthermore, the detection gate 24 is activated at times t 11 , t 13 , t 15 ,
Also at t 17 , t 19 , t 21 , and t 23 , the detection signal 24a is output and the flip-flop 25 is attempted to be set. However, the Q output terminal of the flip-flop 22 is connected to the reset terminal R2 of the flip-flop 25, and the flip-flop 25 is reset at time t13 when the Q output becomes low level.
The pulse signal output terminal 26 becomes high level. Since the pulse signal output terminal 26 is connected to the inverted output terminal Q of the flip-flop 25, the set signal from the detection gate 24 after time t13 is inhibited by the Q signal of the flip-flop 22, and has no effect on the pulse signal output terminal 26. I won't give it. Figure 5 2
5Q, the influence of the set signal 24a, which is the detection signal of the detection gate 24, appears on the non-inverting output terminal Q of the flip-flop 25.

このように、第2のパルス信号25aを発生さ
せるのに、第1のパルス信号22aを用いること
により、バイナリーダウンカウンタ21と検出ゲ
ート24とを結ぶ配線数を少なくすることができ
る。第2のパルス信号25aのパルス幅は、検出
ゲート24が最初に検出するカウント値NP3と、
フリツプフロツプ22のQ出力がローレベルにな
るカウント値NP2と、バイナリーダウンカウン
タ21に入力されるクロツク信号17aの周期と
で決定される。
In this way, by using the first pulse signal 22a to generate the second pulse signal 25a, the number of wires connecting the binary down counter 21 and the detection gate 24 can be reduced. The pulse width of the second pulse signal 25a is the count value NP3 first detected by the detection gate 24, and
It is determined by the count value NP2 at which the Q output of the flip-flop 22 becomes low level and the period of the clock signal 17a input to the binary down counter 21.

発明の効果 以上説明したように本発明によれば、少ない配
線数および素子数でカウンタのカウント値に応じ
たパルス信号を発生させることができ、したがつ
て、例えば集積回路において集積度を大幅に向上
させることができる等、その工業的利用価値は極
めて大である。
Effects of the Invention As explained above, according to the present invention, it is possible to generate a pulse signal according to the count value of a counter with a small number of wires and elements, and therefore, for example, the degree of integration can be significantly increased in an integrated circuit. It has extremely great industrial utility value, such as being able to improve

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

第1図は従来のパルス信号発生装置の回路図、
第2図は本発明の一実施例におけるパルス信号発
生装置の回路図、第3図は第2図に示す回路のタ
イムチヤート、第4図は別の実施例におけるパル
ス信号発生装置の回路図、第5図は第4図に示す
回路のタイムチヤートである。 1〜8……フリツプフロツプ、9〜16……プ
ログラム端子、17……クロツク信号入力端子、
18……セツト信号入力端子、19,20,24
……検出ゲート、21……バイナリーダウンカウ
ンタ、22,25……RSフリツプフロツプ、2
3,26……パルス信号出力端子。
Figure 1 is a circuit diagram of a conventional pulse signal generator.
2 is a circuit diagram of a pulse signal generator in one embodiment of the present invention, FIG. 3 is a time chart of the circuit shown in FIG. 2, and FIG. 4 is a circuit diagram of a pulse signal generator in another embodiment, FIG. 5 is a time chart of the circuit shown in FIG. 1 to 8...Flip-flop, 9 to 16...Program terminal, 17...Clock signal input terminal,
18...Set signal input terminal, 19, 20, 24
...Detection gate, 21...Binary down counter, 22, 25...RS flip-flop, 2
3, 26...Pulse signal output terminal.

Claims (1)

【特許請求の範囲】[Claims] 1 セツト機能を有するフリツプフロツプを単位
ステージとして、この単位ステージをN個(N≧
4)縦続接続してなるバイナリーダウンカウンタ
と、このバイナリーダウンカウンタの上位L個
(L≧1)の単位ステージのバイナリー出力によ
り区別でき、かつ中間段のK個(K≧2)の単位
ステージのバイナリー出力がすべて「0」でな
く、下位J個(J≧1)の単位ステージのバイナ
リー出力が「0」である第1,第2の所定のカウ
ント値NP1,NP2に対して、前記第1の所定の
カウント値NP1の上位L個の「1」となるすべ
ての単位ステージの非反転出力端及び「0」とな
るすべての単位ステージの反転出力端が、また下
位J個の単位ステージについてはすべての反転出
力端が、また中間段のK個については前記所定の
カウント値NP1の値において「0」となる単位
ステージの反転出力端のみがそれぞれ入力端に接
続された第1の検出ゲートと、前記第2の所定カ
ウント値NP2の上位L個の「1」となるすべて
の単位ステージの非反転出力端及び「0」となる
すべての単位ステージの反転出力端が、また下位
J個の単位ステージについてはすべての反転出力
端が、また中間段のK個については前記所定のカ
ウント値NP2の値において「0」となる単位ス
テージの反転出力端のみがそれぞれ入力端に接続
された第2の検出ゲートと、前記第1の検出ゲー
トの出力端がセツト入力端に接続されかつ前記第
2の検出ゲートの出力端がリセツト入力端に接続
されたRSフリツプフロツプとを備えたパルス信
号発生装置。
1 A flip-flop having a set function is used as a unit stage, and N units of this unit stage (N≧
4) Binary down counters connected in cascade can be distinguished by the binary outputs of the upper L (L≧1) unit stages of this binary down counter, and the binary outputs of the upper K (K≧2) unit stages of the intermediate stage. For the first and second predetermined count values NP1 and NP2 in which the binary outputs are not all "0" and the binary outputs of the lower J unit stages (J≧1) are "0", the first For the predetermined count value NP1, the non-inverting output terminals of all the upper L unit stages that become "1" and the inverting output terminals of all the unit stages that become "0", and for the lower J unit stages, All the inverting output terminals, and for the K intermediate stages, only the inverting output terminals of the unit stages which are "0" at the value of the predetermined count value NP1 are connected to the first detection gates, respectively, to the input terminals. , the non-inverting output terminals of all the upper L unit stages that become "1" and the inverting output terminals of all the unit stages that become "0" of the second predetermined count value NP2 are also the lower J units. For the stages, all the inverting output terminals are connected to the second input terminal, and for the K intermediate stages, only the inverting output terminals of the unit stages that are "0" at the value of the predetermined count value NP2 are connected to the second input terminal. A pulse signal generating device comprising: a detection gate; and an RS flip-flop in which the output terminal of the first detection gate is connected to a set input terminal and the output terminal of the second detection gate is connected to a reset input terminal.
JP368083A 1983-01-12 1983-01-12 Pulse signal generator Granted JPS59128831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP368083A JPS59128831A (en) 1983-01-12 1983-01-12 Pulse signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP368083A JPS59128831A (en) 1983-01-12 1983-01-12 Pulse signal generator

Publications (2)

Publication Number Publication Date
JPS59128831A JPS59128831A (en) 1984-07-25
JPH0522411B2 true JPH0522411B2 (en) 1993-03-29

Family

ID=11564118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP368083A Granted JPS59128831A (en) 1983-01-12 1983-01-12 Pulse signal generator

Country Status (1)

Country Link
JP (1) JPS59128831A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5071258A (en) * 1973-10-26 1975-06-13

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5071258A (en) * 1973-10-26 1975-06-13

Also Published As

Publication number Publication date
JPS59128831A (en) 1984-07-25

Similar Documents

Publication Publication Date Title
US4583008A (en) Retriggerable edge detector for edge-actuated internally clocked parts
EP0463243B1 (en) Semiconductor integrated circuit including a detection circuit
US3838393A (en) Threshold logic gate
JPH0682146B2 (en) Sukiyanpass type logic integrated circuit
JPH0522411B2 (en)
JPH0614609B2 (en) Logic gate array
JPH0734184B2 (en) Semiconductor device having chip select terminal pair
US6027243A (en) Parity check circuit
US4747106A (en) Parity checker circuit
JP2864611B2 (en) Semiconductor memory
JPH0417489B2 (en)
US3706043A (en) Synchronous parallel counter with common steering of clock pulses to binary stages
KR950001439Y1 (en) R-s flip flop
JPH0779247B2 (en) Decode circuit
JPH0227854B2 (en)
JPH04101535A (en) Interface circuit
JPH02112773A (en) Hazard checking system for digital circuit
JP3015454B2 (en) Synchronous counter
JPH05236026A (en) Digital signal monitor circuit
JPH0422220A (en) Synchronous output circuit
JPH0456492B2 (en)
JPS5816487B2 (en) Multiple selection detection device in computer system
JPH0528746A (en) Fifo memory circuit
JPS5981953A (en) Noise preventing circuit
JPH0441383B2 (en)