KR19980065271A - Asynchronous counter circuit - Google Patents

Asynchronous counter circuit Download PDF

Info

Publication number
KR19980065271A
KR19980065271A KR1019970000157A KR19970000157A KR19980065271A KR 19980065271 A KR19980065271 A KR 19980065271A KR 1019970000157 A KR1019970000157 A KR 1019970000157A KR 19970000157 A KR19970000157 A KR 19970000157A KR 19980065271 A KR19980065271 A KR 19980065271A
Authority
KR
South Korea
Prior art keywords
signal
reset
flip
output
signals
Prior art date
Application number
KR1019970000157A
Other languages
Korean (ko)
Inventor
김상영
Original Assignee
김광호
삼성전자 주식회사
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 김광호, 삼성전자 주식회사 filed Critical 김광호
Priority to KR1019970000157A priority Critical patent/KR19980065271A/en
Publication of KR19980065271A publication Critical patent/KR19980065271A/en

Links

Abstract

본 발명은 비동기식 카운터 회로에 관한 것으로, 외부 클락에 응답하여, 적어도 2 비트의 2 진 계수 출력신호들을 발생하는 카운터 수단과, 상기 카운터 수단은 직렬로 접속되는 적어도 2 개의 D-플립플롭들을 구비하고, 상기 각 플립플롭들은 데이터를 받아들이기 위한 입력단자, 정출력 신호를 출력하기 위한 정출력 단자, 상기 정출력 신호와 상보적인 부출력 신호를 출력하기 위한 부출력 단자, 클락 단자 및 리셋신호를 받아들이기 위한 리셋 단자를 구비하며, 상기 각 플립플롭의 상기 부출력 단자는 해당 플립플롭의 상기 입력 단자와 접속됨과 아울러 다음 플립플롭의 상기 클락 단자에 접속되며, 적어도 2 개의 선택제어신호들에 응답하여 상기 각 플립플롭들의 상기 정출력 및 부출력 신호들 중 어느 하나를 선택적으로 출력하는 선택 수단 및, 상기 선택된 신호들을 논리적으로 조합하는 것에 의해 상기 리셋신호를 발생하는 리셋 발생수단을 포함하여, 내부에서 발생되는 카운터 리셋신호를 자유롭게 제어 할 수 있고, 이상신호 발생률을 줄일 수 있다.The present invention relates to an asynchronous counter circuit, comprising: counter means for generating at least two bits of binary coefficient output signals in response to an external clock, the counter means having at least two D-flip flops connected in series; Each of the flip-flops may receive an input terminal for receiving data, a positive output terminal for outputting a positive output signal, a negative output terminal for outputting a negative output signal complementary to the positive output signal, a clock terminal, and a reset signal. And a reset terminal for each flip-flop, wherein the sub-output terminal of each flip-flop is connected to the input terminal of a corresponding flip-flop and to the clock terminal of a next flip-flop, in response to at least two selection control signals. Selecting means for selectively outputting any one of the positive output and sub output signals of the flip-flops; Including the reset generating means for generating the reset signal by logically combining the selected signals, it is possible to freely control the counter reset signal generated therein, and to reduce the occurrence rate of the abnormal signal.

Description

비동기식 카운터 회로Asynchronous counter circuit

본 발명은 비동기식 카운터 회로에 관한 것으로, 좀 더 구체적으로는 리셋(reset)에 의한 비동기식 카운터를 보완하여 이상신호를 줄일 수 있는 비동기식 카운터 회로에 관한 것이다.The present invention relates to an asynchronous counter circuit, and more particularly, to an asynchronous counter circuit that can reduce an abnormal signal by complementing an asynchronous counter by a reset.

우선 카운터는 크게 계수 방식 및 동작 클락 펄스 인가 방식에 따라 구분될 수 있고, 이 중 동작 클락 펄스의 입력 방법에 따라 동기식 카운터(synchronous counter) 및 비동기식 카운터(asynchronous counter)로 구분된다.First of all, the counter can be largely divided according to the counting method and the operation clock pulse application method, and among these, the counter is divided into a synchronous counter and an asynchronous counter according to the input method of the operation clock pulse.

상기 동기식 카운터는 입력 클락 펄스가 각단의 클락값을 동시에 동기 시키는 방식이고, 상기 비동기식 카운터는 입력 클락 펄스가 앞단의 출력값에 의해 영향을 받게 되는 방식이다.The synchronous counter is a method in which an input clock pulse synchronizes the clock values of each stage at the same time, and the asynchronous counter is a method in which the input clock pulse is affected by the output value of the previous stage.

종래의 비동기식 카운터 회로는 리셋-셋 플립플롭(Reset/Set flipflop; R/S flipflop)을 사용한 리셋 방식의 비동기식 N 진 카운터 회로이다.The conventional asynchronous counter circuit is a reset asynchronous N-gin counter circuit using a reset / set flipflop (R / S flipflop).

이러한 리셋 방식의 비동기식 N진 카운터 회로는 0 에서부터 N-1 까지 수행되고 나면 다음에 0 으로 귀환되는 카운터 회로이고, 그 사이의 상태 값은 0 내지 N-1 즉, N 가지의 상태가 된다.The reset asynchronous N-count counter circuit is a counter circuit that returns to 0 after performing from 0 to N-1, and the state values therebetween are 0 to N-1, that is, N states.

따라서, 카운트(count)해 나가면서 카운트 수가 N 이 되었을 때 카운터의 모든 비트를 리셋 하여 0 으로 초기화하게 된다.Therefore, when the count reaches N while counting, all bits of the counter are reset and initialized to zero.

도 1은 종래의 비동기식 카운터 회로이다.1 is a conventional asynchronous counter circuit.

도 1을 참조하면, 종래의 비동기식 카운터 회로는 카운터 수단(10)과, 리셋 발생수단(20)과, 리셋 검출수단(30)으로 구성된다.Referring to Fig. 1, the conventional asynchronous counter circuit includes a counter means 10, a reset generating means 20, and a reset detecting means 30.

상기 카운터 수단(10)은, 외부로부터 입력된 소정의 클락(CLK)에 응답하여 출력 단자 Q를 통해 이전신호를 출력하고(OUT1), 출력단자 QN을 통해 상기 이전신호에 대한 반전신호를 출력하며, 다시 이 반전신호를 입력 단자 D에 궤환시키는 제 1 플립플롭(12)과, 상기 제 1 플립플롭(12)의 반전신호에 응답하여 출력 단자 Q를 통해 이전신호를 출력하고(OUT2), 출력 단자 QN을 통해 상기 이전신호에 대한 반전신호를 출력하며, 다시 이 반전신호를 입력 단자 D에 궤환시키는 제 2 플립플롭(14)과, 상기 제 2 플립플롭(14)의 반전신호에 응답하여 출력 단자 Q를 통해 이전신호를 출력하고(OUT3), 출력 단자 QN을 통해 상기 이전신호에 대한 반전신호를 출력하며, 다시 이 반전신호를 입력 단자 D에 궤환시키는 제 3 플립플롭(16)으로 구성된다.The counter means 10 outputs a previous signal through the output terminal Q in response to a predetermined clock CLK input from the outside (OUT1), and outputs an inverted signal with respect to the previous signal through the output terminal QN. In response to the inverted signal of the first flip-flop 12 and the first flip-flop 12 feeding the inverted signal back to the input terminal D, the previous signal is output through the output terminal Q (OUT2) A second flip-flop 14 for outputting an inverted signal with respect to the previous signal through the terminal QN, and in response to an inverted signal of the second flip-flop 14 and a second flip-flop 14 for feeding the inverted signal back to the input terminal D A third flip-flop 16 for outputting a previous signal through terminal Q (OUT3), outputting an inverted signal for the previous signal through output terminal QN, and returning the inverted signal to input terminal D again. .

이 때, 상기 제 1 및 제 2, 그리고 제 3 플립플롭(12, 14, 16)은, D-플립플롭으로서 각각이 상기 리셋 검출수단(30)으로부터 리셋 단자(RN)에 소정의 로우레벨(low level) 신호를 입력받아 각각 리셋 된다.At this time, the first, second, and third flip-flops 12, 14, and 16 are D-flip flops, each of which has a predetermined low level (from the reset detecting means 30 to the reset terminal RN). low level) signals are reset.

다음, 상기 리셋 발생수단(20)은, 익스클루시브 OR 게이트(XOR)로서, 상기 제 1 및 제 2, 그리고 제 3 플립플롭(12, 14, 16)의 출력 단자 Q로부터 각각의 상기 이전신호를 입력받고, 이 입력신호가 각각 하이레벨(high level) 신호 또는 로우레벨 신호로 일치하는가를 검출하고 검출 결과, 상기 각각의 출력신호가 하이레벨 신호 또는 로우레벨 신호로 일치하는 경우, 소정의 로우레벨 신호를 출력시킨다.Next, the reset generating means 20 is an exclusive OR gate (XOR), and each of the previous signals from the output terminals Q of the first, second, and third flip-flops 12, 14, and 16, respectively. Is inputted, and it is detected whether the input signal coincides with a high level signal or a low level signal, respectively, and as a result of the detection, when each output signal matches with a high level signal or a low level signal, a predetermined low Output the level signal.

한 편, 상기 리셋 검출수단(30)은, 상기 리셋 발생수단(20)으로부터 상기 소정의 로우레벨 신호를 입력받고, 상기 제 1 및 제 2, 그리고 제 3 플립플롭(12, 14, 16)을 각각 리셋 시키는 소정의 리셋신호를 상기 제 1 및 제 2, 그리고 제 3 플립플롭(12, 14, 16)에 각각 출력시킨다.On the other hand, the reset detecting means 30 receives the predetermined low-level signal from the reset generating means 20 and receives the first, second, and third flip-flops 12, 14, and 16. Predetermined reset signals are respectively output to the first, second, and third flip-flops 12, 14, and 16, respectively.

그리고, 상기 리셋 검출수단(30)은, 리셋-셋 플립플롭으로서 상기 리셋 발생수단(20)의 출력단에 제 1 입력 단자(A)가 연결된 제 1 NAND 게이트(32)와, 상기 제 1 NAND 게이트(32)의 출력 단자(Y)에 제 1 입력 단자(A)가 연결되고, 외부로부터 상기 클락(CLK)을 입력받는 클락 단자에 제 2 입력 단자(B)가 연결되며, 상기 제 1 NAND 게이트(32)의 제 2 입력 단자(B)에 출력 단자(Y)가 연결된 제 2 NAND 게이트(34)로 구성된다.The reset detecting means 30 includes a first NAND gate 32 having a first input terminal A connected to an output terminal of the reset generating means 20 as a reset-set flip-flop, and the first NAND gate. A first input terminal A is connected to an output terminal Y of 32, a second input terminal B is connected to a clock terminal that receives the clock CLK from the outside, and the first NAND gate. It consists of a 2nd NAND gate 34 connected with the output terminal Y to the 2nd input terminal B of (32).

이 때, 상기 제 2 NAND 게이트(34)의 출력 단자(Y)는 상기 제 1 및 제 2, 그리고 제 3 플립플롭(12, 14, 16)의 리셋 단자(RN)에 각각 연결된다.In this case, the output terminal Y of the second NAND gate 34 is connected to the reset terminals RN of the first, second, and third flip-flops 12, 14, and 16, respectively.

이처럼 상기 리셋 발생수단(20)으로부터 출력된 로우레벨의 일치 신호를 상기 리셋-셋 플립플롭에 입력시키면, 이 리셋-셋 플립플롭의 출력신호가 N 비트의 카운터를 리셋 하는 방식의 비동기식 카운터가 설계된다.When a low level coincidence signal output from the reset generating means 20 is input to the reset-set flip-flop, an asynchronous counter is designed in which the output signal of the reset-set flip-flop resets the counter of N bits. do.

이와 같은 종래의 리셋-셋 플립플롭을 사용한 비동기식 카운터 회로는 해저드(hazard)와 같은 이상신호가 발생될 확률이 높은 문제점이 발생된다.The conventional asynchronous counter circuit using a reset-set flip-flop has a high probability of generating an abnormal signal such as a hazard.

본 발명은 상술한 제반 문제점을 해결하기 위해 제안된 것으로서, 이상신호가 거의 발생되지 않는 비동기식 카운터 회로를 제공함에 그 목적이 있다.The present invention has been proposed to solve the above-mentioned problems, and an object thereof is to provide an asynchronous counter circuit in which an abnormal signal is hardly generated.

도 1은 종래의 비동기식 카운터 회로도;1 is a conventional asynchronous counter circuit diagram;

도 2는 본 발명의 실시예에 따른 비동기식 카운터 회로도;2 is an asynchronous counter circuit diagram in accordance with an embodiment of the present invention;

도 3은 본 발명의 실시예에 따른 비동기식 카운터 회로의 파형도.3 is a waveform diagram of an asynchronous counter circuit in accordance with an embodiment of the present invention.

* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

10, 50 : 카운터 수단 20, 70 : 리셋 발생수단10, 50: counter means 20, 70: reset generating means

30, 40 : 리셋 검출수단 32 : 제 1 NAND 게이트30, 40: reset detection means 32: first NAND gate

34 : 제 2 NAND 게이트 60 : 선택 수단34: second NAND gate 60: selection means

12, 52 : 제 1 플립플롭 14, 54 : 제 2 플립플롭12, 52: first flip-flop 14, 54: second flip-flop

16, 56 : 제 3 플립플롭 62 : 제 1 멀티플랙서16, 56: third flip-flop 62: first multiplexer

64 : 제 2 멀티플랙서 66 : 제 3 멀티플랙서64: second multiplexer 66: third multiplexer

68 : 신호 발생수단68: signal generating means

상술한 목적을 달성하기 위해 제안된 본 발명의 특징에 의하면, 비동기식 카운터 회로는, 외부 클락에 응답하여, 적어도 2 비트의 2 진 계수 출력신호들을 발생하는 카운터 수단과; 상기 카운터 수단은 직렬로 접속되는 적어도 2 개의 D-플립플롭들을 구비하고, 상기 각 플립플롭들은 데이터를 받아들이기 위한 입력 단자, 정출력 신호를 출력하기 위한 정출력 단자, 상기 정출력 신호와 상보적인 부출력 신호를 출력하기 위한 부출력 단자, 클락 단자 및 리셋신호를 받아들이기 위한 리셋 단자를 구비하며, 상기 각 플립플롭의 상기 부출력 단자는 해당 플립플롭의 상기 입력 단자와 접속됨과 아울러 다음 플립플롭의 상기 클락 단자에 접속되며, 적어도 2 개의 선택제어신호들에 응답하여 상기 각 플립플롭들의 상기 정출력 및 부출력 신호들 중 어느 하나를 선택적으로 출력하는 선택 수단 및; 상기 선택된 신호들을 논리적으로 조합하는 것에 의해 상기 리셋신호를 발생하는 리셋 발생수단을 포함한다.According to a feature of the invention proposed to achieve the above object, an asynchronous counter circuit comprises: counter means for generating at least two bits of binary coefficient output signals in response to an external clock; The counter means has at least two D-flip flops connected in series, each flip-flop having an input terminal for receiving data, a constant output terminal for outputting a constant output signal, and complementary to the constant output signal. A sub-output terminal for outputting a sub-output signal, a clock terminal, and a reset terminal for receiving a reset signal, wherein the sub-output terminal of each flip-flop is connected to the input terminal of the corresponding flip-flop and the next flip-flop Selection means connected to the clock terminal of and selectively outputting any one of the positive and negative output signals of the respective flip-flops in response to at least two selection control signals; Reset generating means for generating the reset signal by logically combining the selected signals.

이 특징의 바람직한 실시예에 있어서, 상기 리셋신호와 외부 리셋신호를 받아들이고, 상기 두 리셋신호 중의 어느 하나가 활성화될 때 상기 플립플롭들을 리셋 시키는 리셋 검출수단을 부가적으로 포함한다.In a preferred embodiment of this aspect, it further comprises reset detection means for receiving said reset signal and an external reset signal and for resetting said flip-flops when either one of said two reset signals is activated.

이 특징의 바람직한 실시예에 있어서, 상기 선택 수단은, 상기 카운터 수단으로부터 각각 출력되는 상기 정출력 및 부출력 신호를 각각 입력받고, 이 입력받은 신호 중 어느 하나의 신호를 상기 리셋 발생수단에 각각 출력하는 멀티플랙서들과; 상기 각 멀티플랙서들이 상기 정출력 및 부출력 신호 중 어느 하나의 신호를 출력하도록 하는 상기 선택제어신호들을 발생하는 신호 발생수단을 포함한다.In a preferred embodiment of this aspect, the selection means receives the positive output and the sub output signals respectively output from the counter means, and outputs any one of the input signals to the reset generating means, respectively. Multiplexers; And signal generation means for generating the selection control signals to cause the multiplexers to output one of the positive output signal and the negative output signal.

이 특징의 바람직한 실시예에 있어서, 상기 리셋 발생수단은, 상기 선택 수단으로부터 입력받은 각각의 신호들이 하이레벨 신호로 일치하는 경우, 로우레벨의 상기 리셋신호를 발생하는 논리 게이트이다.In a preferred embodiment of this aspect, the reset generating means is a logic gate that generates the low level reset signal when the respective signals input from the selection means coincide with the high level signal.

본 발명의 다른 특징에 의하면, 외부로부터 소정 레벨의 신호 및 내부로부터 소정 레벨의 신호를 입력받고, 상기 외부로부터의 소정 레벨의 신호 또는 상기 내부로부터 입력받은 소정 레벨의 신호가 리셋 기능을 갖는 소정 레벨의 신호인 경우 소정의 리셋신호를 출력하는 리셋 검출수단과; 외부로부터 입력된 클락에 응답하여 소정의 입력신호에 대한 이전신호 및 이 이전신호에 대한 반전신호를 출력하고, 상기 소정의 리셋신호를 입력받아 리셋 되는 카운터 수단과; 상기 카운터 수단으로부터 입력받은 각각의 상기 이전신호 및 이 이전신호에 대한 반전신호 중 어느 하나의 신호를 각각 선택하여 출력하는 선택 수단과; 상기 선택 수단으로부터 선택하여 출력된 각각의 신호를 입력받고, 이 입력받은 각각의 신호가 소정 레벨의 신호로 일치하는 경우 상기 카운터 수단을 리셋 하기 위한 소정 레벨의 신호를 상기 리셋 검출수단에 출력하는 리셋 발생수단을 포함한다.According to another feature of the present invention, a predetermined level signal having a predetermined level signal received from the outside and a predetermined level signal from the inside, and a predetermined level signal received from the outside or a predetermined level signal received from the inside have a reset function. Reset detection means for outputting a predetermined reset signal in the case of a signal of? Counter means for outputting a previous signal for a predetermined input signal and an inverted signal for the previous signal in response to a clock input from the outside, and receiving and resetting the predetermined reset signal; Selecting means for selecting and outputting each one of each of the previous signal received from the counter means and an inverted signal with respect to the previous signal; A reset which receives the respective signals selected and outputted from the selection means and outputs a signal of a predetermined level to the reset detection means for resetting the counter means when each of the received signals coincides with a signal of a predetermined level; Generating means;

본 발명은 비동기식 카운터 회로에 관한 것으로, 외부 클락에 응답하여, 적어도 2 비트의 2 진 계수 출력신호들을 발생하는 카운터 수단과, 상기 카운터 수단은 직렬로 접속되는 적어도 2 개의 D-플립플롭들을 구비하고, 상기 각 플립플롭들은 데이터를 받아들이기 위한 입력 단자, 정출력 신호를 출력하기 위한 정출력 단자, 상기 정출력 신호와 상보적인 부출력 신호를 출력하기 위한 부출력 단자, 클락 단자 및 리셋신호를 받아들이기 위한 리셋 단자를 구비하며, 상기 각 플립플롭의 상기 부출력 단자는 해당 플립플롭의 상기 입력 단자와 접속됨과 아울러 다음 플립플롭의 상기 클락 단자에 접속되며, 적어도 2 개의 선택제어신호들에 응답하여 상기 각 플립플롭들의 상기 정출력 및 부출력 신호들 중 어느 하나를 선택적으로 출력하는 선택 수단 및, 상기 선택된 신호들을 논리적으로 조합하는 것에 의해 상기 리셋신호를 발생하는 리셋 발생수단을 포함하여, 리셋 입력신호를 자유롭게 제어 할 수 있고, 이상신호 발생률을 줄일 수 있다.The present invention relates to an asynchronous counter circuit, comprising: counter means for generating at least two bits of binary coefficient output signals in response to an external clock, the counter means having at least two D-flip flops connected in series; Each of the flip-flops may receive an input terminal for receiving data, a positive output terminal for outputting a constant output signal, a negative output terminal for outputting a negative output signal complementary to the constant output signal, a clock terminal, and a reset signal. And a reset terminal for each flip-flop, wherein the sub-output terminal of each flip-flop is connected to the input terminal of a corresponding flip-flop and to the clock terminal of a next flip-flop, in response to at least two selection control signals. Selection means for selectively outputting any one of the positive output and sub output signals of the respective flip-flops; By logically combining the selected signals including a reset generating means for generating the reset signal, it is possible to freely control a reset input signal, it is possible to reduce the error signal rate.

(실시예)(Example)

이하, 도 2 내지 도 3을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 2 to 3.

도 2는 본 발명의 실시예에 따른 비동기식 카운터 회로이다.2 is an asynchronous counter circuit according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 실시예에 따른 비동기식 카운터 회로는, 카운터 수단(50)과, 선택 수단(60)과, 리셋 발생수단(70)을 포함하고, 부가적으로 리셋 검출수단(40)을 포함한다.Referring to FIG. 2, the asynchronous counter circuit according to the embodiment of the present invention includes a counter means 50, a selection means 60, and a reset generating means 70, and additionally reset detection means 40. ).

상기 카운터 수단(50)은, 외부 클락(CLK)에 응답하여, 적어도 2 비트의 2 진 계수 출력신호들을 발생한다.The counter means 50 generates at least two bits of binary coefficient output signals in response to an external clock CLK.

그리고, 상기 카운터 수단(50)은, 직렬로 접속되는 적어도 2 개의 D-플립플롭들(52, 54, 56)을 구비하고, 상기 각 플립플롭들(52, 54, 56)은 데이터를 받아들이기 위한 입력 단자(D), 정출력 신호를 출력하기 위한 정출력 단자(Q), 상기 정출력 신호와 상보적인 부출력 신호를 출력하기 위한 부출력 단자(QN), 클락 단자(CK) 및 리셋신호를 받아들이기 위한 리셋 단자(RN)를 구비하며, 상기 각 플립플롭의 상기 부출력 단자(QN)는 해당 플립플롭의 상기 입력 단자(D)와 접속됨과 아울러 다음 플립플롭의 상기 클락 단자(CK)에 접속된다.The counter means 50 comprises at least two D-flip flops 52, 54, 56 connected in series, each flip-flop 52, 54, 56 receiving data. Input terminal (D) for output, constant output terminal (Q) for outputting constant output signal, negative output terminal (QN), clock terminal (CK) and reset signal for outputting negative output signal complementary to the constant output signal. And a reset terminal (RN) for receiving a voltage, wherein the sub-output terminal (QN) of each flip-flop is connected to the input terminal (D) of the corresponding flip-flop and the clock terminal (CK) of the next flip-flop. Is connected to.

여기서, 제 1 플립플롭(52)은, 상기 클락(CK)에 응답하여 소정의 입력신호에 대한 정출력 신호 및 이 정출력 신호와 상보적인 부출력 신호를 출력하고, 이 중 부출력 신호를 궤환하여 상기 입력신호로 가지며, 상기 리셋 검출수단(40)으로부터 소정의 리셋신호를 입력받는다.Here, the first flip-flop 52 outputs a positive output signal for a predetermined input signal and a negative output signal complementary to the positive output signal in response to the clock CK, and feedbacks the negative output signal. The input signal, and receives a predetermined reset signal from the reset detecting means (40).

그리고, 제 2 플립플롭(54)은, 상기 제 1 플립플롭(52)의 상기 부출력 신호에 응답하여 소정의 정출력 신호 및 이 정출력 신호와 상보적인 부출력 신호를 출력하고, 이 중 부출력 신호를 궤환하여 입력신호로 가지며, 상기 리셋 검출수단(40)으로부터 소정의 리셋신호를 입력받는다.The second flip-flop 54 outputs a predetermined positive output signal and a sub-output signal complementary to the positive output signal in response to the negative output signal of the first flip-flop 52. The output signal is fed back to be an input signal, and a predetermined reset signal is received from the reset detecting means 40.

또한, 제 3 플립플롭(56)은, 상기 제 2 플립플롭(54)의 부출력 신호에 응답하여 소정의 정출력 신호 및 이 정출력 신호와 상보적인 부출력 신호를 출력하고, 이 중 부출력 신호를 궤환하여 입력신호로 가지며, 상기 리셋 검출수단(40)으로부터 소정의 리셋신호를 입력받는다.In addition, the third flip-flop 56 outputs a predetermined constant output signal and a sub-output signal complementary to the positive output signal in response to the sub-output signal of the second flip-flop 54. The signal is fed back as an input signal and receives a predetermined reset signal from the reset detecting means 40.

다음, 상기 선택 수단(60)은, 적어도 2 개의 선택 제어신호들(S0S2)에 응답하여 상기 각 플립플롭들(52, 54, 56)의 상기 정출력 및 부출력 신호들 중 어느 하나를 선택적으로 출력하는 기능을 갖고, 제 1 및 제 2, 그리고 제 3 멀티플랙서(62, 64, 66)와, 신호 발생수단(68)을 포함한다.Next, the selection means 60 selectively selects any one of the positive and negative output signals of the respective flip-flops 52, 54, 56 in response to at least two selection control signals SOS2. It has a function to output, and includes first, second, and third multiplexers 62, 64, 66, and signal generating means 68.

여기서, 상기 멀티플랙서들(62, 64, 66)은 상기 카운터 수단(50)으로부터 각각 출력되는 상기 정출력 및 부출력 신호를 각각의 입력 단자(D1, D0)에 입력받고, 이 입력받은 신호 중 어느 하나의 신호를 상기 리셋 발생수단(70)에 각각 출력한다.Here, the multiplexers 62, 64, and 66 receive the positive and negative output signals output from the counter means 50, respectively, to the respective input terminals D1 and D0, and the received signals. Any one of the signals is output to the reset generating means 70, respectively.

그리고, 상기 신호 발생수단(68)은, 상기 제 1 및 제 2, 그리고 제 3 멀티플랙서(62, 64, 66) 각각에 상기 정출력 신호 및 이 정출력 신호와 상보적인 부출력 신호 중 어느 하나의 신호를 출력하도록 하는 소정의 선택 제어신호들(S0S2)을 발생하고, 상기 제 1 및 제 2, 그리고 제 3 멀티플랙서(62, 64, 66)의 선택 단자(S)에 각각 상기 각각의 선택 제어신호들(S0S2)을 출력하는 소정의 레지스터 내지 딥 스위치(DIP switch) 등과 같은 신호 발생장치이다.The signal generating means 68 may include any one of the constant output signal and the sub output signal complementary to the constant output signal to the first, second, and third multiplexers 62, 64, and 66, respectively. Generate predetermined selection control signals S0S2 for outputting one signal, and each of the above select terminals S of the first, second, and third multiplexers 62, 64, 66, respectively. A signal generator such as a predetermined register or a dip switch that outputs the select control signals S0S2.

이어서, 상기 리셋 발생수단(70)은, 상기 선택된 신호들을 논리적으로 조합하는 것에 의해 상기 리셋신호를 발생하는 기능을 갖고, 상기 제 1 및 제 2, 그리고 제 3 멀티플랙서(62, 64, 66)로부터 상기 선택 제어신호들(S0S2)에 따라 선택 출력된 각각의 신호를 입력받고, 이 입력받은 신호가 하이레벨의 신호로 일치하는 경우 상기 카운터 수단(50)을 리셋 하기 위한 소정의 로우레벨 신호를 상기 리셋 검출수단(40)에 출력하는 NAND 게이트이다.Subsequently, the reset generating means 70 has a function of generating the reset signal by logically combining the selected signals, and the first, second, and third multiplexers 62, 64, 66. A predetermined low level signal for resetting the counter means 50 when the respective signals selected and output according to the selection control signals SOS2 are input, and the received signals coincide with a high level signal. Is a NAND gate for outputting to the reset detection means (40).

한편, 상기 리셋 검출수단(40)은, 상기 리셋신호와 외부 리셋신호(reset)를 받아들이고, 상기 두 리셋신호들 중의 어느 하나가 활성화될 때 상기 제 1 및 제 2, 그리고 제 3 플립플롭(52, 54, 56)을 리셋 시키는 AND 게이트이다.On the other hand, the reset detection means 40 receives the reset signal and the external reset signal (reset), when the one of the two reset signal is activated the first, second and third flip-flop 52 54 and 56 are AND gates for resetting.

이와 같이, 상기 리셋 검출수단(40)이 상기 리셋 발생수단(70)으로부터 출력된 입력 일치 신호인 로우레벨 신호 및 외부에서 제어할 수 있는 상기 외부 리셋신호(reset)를 AND하여 로우레벨의 리셋신호를 출력시킴으로써, 원하는 N진 카운터에서 리셋 되는 비동기식 카운터 회로를 구현하게 된다.In this way, the reset detection means 40 ANDs the low level signal, which is an input coincidence signal output from the reset generation means 70, and the external reset signal reset that can be controlled externally, and resets the low level reset signal. By outputting this, we implement an asynchronous counter circuit that is reset at the desired N-count counter.

또한, 상기 외부 리셋신호(reset)를 로우레벨 신호로 인가하게 되면, 상기 리셋 발생수단(70)으로부터의 입력신호에 관계없이, 이 두 신호를 AND하여 로우레벨의 리셋신호를 출력시킴으로써, 카운터를 임의로 리셋 시킬 수 있다.In addition, when the external reset signal reset is applied as a low level signal, regardless of the input signal from the reset generating means 70, the two signals are ANDed to output a low level reset signal. You can reset it arbitrarily.

다음은 상기 선택신호(S0S2)가 가질 수 있는 가능한 경우에 대한 진리표이다.The following is a truth table of possible cases that the selection signal SOS2 may have.

[표 1]TABLE 1

NN S2S2 S1S1 S0S0 00 00 00 00 1One 00 00 1One 22 00 1One 00 33 00 1One 1One 44 1One 00 00 55 1One 00 1One 66 1One 1One 00 77 1One 1One 1One

상기 표 1을 참조하면, 상기 선택신호 S2가 최상위 비트가 되며, 상기 선택신호(S0S2)에 따라 리셋 되는 시점을 자유롭게 선택할 수 있는 N진 카운터를 구현할 수 있다.Referring to Table 1, the selection signal S2 is the most significant bit, it is possible to implement an N-count counter to freely select the time point to be reset according to the selection signal (S0S2).

도 3은 본 발명의 실시예에 따른 비동기식 카운터 회로의 파형도이다.3 is a waveform diagram of an asynchronous counter circuit according to an embodiment of the present invention.

도 3을 참조하면, 상기 로우레벨의 외부 리셋신호(reset)에 따라 로우레벨 신호가 상기 카운터 수단(50)에 입력되고, 외부로부터 입력되는 클락(CLK)에 따라 상기 제 1 및 제 2, 그리고 제 3 플립플롭(52, 54, 56)은 순차적으로 각각의 출력신호들(OUT1OUT3)을 발생시킨다.Referring to FIG. 3, a low level signal is input to the counter means 50 according to the low level external reset signal, and the first and second, and according to a clock CLK input from the outside. The third flip-flops 52, 54, 56 sequentially generate respective output signals OUT1 OUT3.

그리고, 상기 제 1 및 제 2, 그리고 제 3 플립플롭(52, 54, 56)으로부터 출력된 각각의 두 출력신호 즉, 상기 정출력 신호 및 이 정출력 신호와 상보적인 부출력 신호가 각각 상기 제 1 및 제 2, 그리고 제 3 멀티플랙서(62, 64, 66)에 입력되고, 이 두 입력신호 중 어느 하나의 신호가 각각의 선택 단자(S)에 입력되는 선택제어신호들(S0S2)에 따라 각각 선택 출력된다.Each of the two output signals output from the first, second, and third flip-flops 52, 54, 56, that is, the positive output signal and the sub-output signal complementary to the positive output signal, respectively, is the first output signal. The first and second and third multiplexers 62, 64, and 66 are inputted, and either of these two input signals is inputted to the selection control signals S0S2 input to the respective selection terminals S. According to each selected output.

여기서는, 상기 선택제어신호들(S0S2)이 상기 표 1에 나타낸 바와 같이 N이 5인 경우, 즉 두 선택신호(S0, S2)는 하이레벨 신호(1), 나머지 하나의 선택신호(S1)는 로우레벨 신호(0)로서, 상기 제 1 및 제 2, 그리고 제 3 멀티플랙서(62, 64, 66)에 각각 입력되어 5진 카운터로서 동작하고 있다.Herein, when the selection control signals S0S2 are N as 5 as shown in Table 1, that is, the two selection signals S0 and S2 are the high level signal 1 and the other selection signal S1 is the same. As the low level signal 0, it is input to the first, second and third multiplexers 62, 64 and 66, respectively, and operates as a binary counter.

한편, 상기 선택제어신호들(S0S2)이 각각 하이레벨 신호인 경우 즉, 상기 N이 7인 경우 7진 카운터로서 동작하게 된다.On the other hand, when the selection control signals S0S2 are high level signals, that is, when N is 7, the operation is performed as a seventh counter.

이상과 같은 비동기식 카운터 회로는 멀티플랙서를 사용하여 설계한 비동기식 카운터 회로로서, 종래의 리셋-셋 플립플롭을 사용한 비동기식 카운터 회로에 비해 이상신호가 발생될 확률이 줄어들며, 2×1 멀티플랙서 대신 4×1 멀티플랙서를 사용하면, 최대 16진 비동기식 카운터를 구현할 수 있는 포터블(portable)한 비동기식 카운터로서 동작시킬 수 있고, 그 응용 범위를 상당히 폭 넓게 사용할 수 있다.The asynchronous counter circuit described above is an asynchronous counter circuit designed using a multiplexer. The asynchronous counter circuit has a lower probability of generating an abnormal signal than a conventional counter-circuit using a reset-set flip-flop. Using the x1 multiplexer, it can be operated as a portable asynchronous counter that can implement up to hexadecimal asynchronous counters, and its use can be used quite widely.

본 발명은 종래의 리셋-셋 플립플롭을 사용하는 비동기식 카운터 회로가 이상신호가 발생될 확률이 비교적 높은 문제점을 해결한 것으로서, 내부에서 발생되는 카운터 리셋신호를 자유롭게 제어 할 수 있고, 이상신호 발생률을 줄일 수 있는 효과가 있다.The present invention solves the problem that the asynchronous counter circuit using a conventional reset-set flip-flop has a relatively high probability of generating an abnormal signal, and can freely control the counter reset signal generated internally, There is an effect that can be reduced.

Claims (5)

외부 클락(CLK)에 응답하여, 적어도 2 비트의 2 진 계수 출력신호들을 발생하는 카운터 수단(50)과;Counter means (50) for generating at least two bits of binary coefficient output signals in response to an external clock (CLK); 상기 카운터 수단(50)은 직렬로 접속되는 적어도 2 개의 D-플립플롭들(52, 54, 56)을 구비하고, 상기 각 플립플롭들(52, 54, 56)은 데이터를 받아들이기 위한 입력 단자(D), 정출력 신호를 출력하기 위한 정출력 단자(Q), 상기 정출력 신호와 상보적인 부출력 신호를 출력하기 위한 부출력 단자(QN), 클락 단자(CK) 및 리셋신호를 받아들이기 위한 리셋 단자(RN)를 구비하며, 상기 각 플립플롭의 상기 부출력 단자(QN)는 해당 플립플롭의 상기 입력 단자(D)와 접속됨과 아울러 다음 플립플롭의 상기 클락 단자(CK)에 접속되며,The counter means 50 has at least two D-flip flops 52, 54, 56 connected in series, each of the flip-flops 52, 54, 56 having an input terminal for receiving data. (D) receiving a positive output terminal Q for outputting a constant output signal, a negative output terminal QN for outputting a negative output signal complementary to the constant output signal, a clock terminal CK, and a reset signal; And a reset terminal (RN) for connecting the sub-output terminal (QN) of each flip-flop to the input terminal (D) of the corresponding flip-flop and to the clock terminal (CK) of the next flip-flop. , 적어도 2 개의 선택제어신호들(S0S2)에 응답하여 상기 각 플립플롭들(52, 54, 56)의 상기 정출력 및 부출력 신호들 중 어느 하나를 선택적으로 출력하는 선택 수단(60) 및;Selection means (60) for selectively outputting any one of the positive and negative output signals of the respective flip-flops (52, 54, 56) in response to at least two selection control signals (S0S2); 상기 선택된 신호들을 논리적으로 조합하는 것에 의해 상기 리셋신호를 발생하는 리셋 발생수단(70)을 포함하는 비동기식 카운터 회로.And a reset generating means (70) for generating the reset signal by logically combining the selected signals. 제 1 항에 있어서,The method of claim 1, 상기 리셋신호와 외부 리셋신호(reset)를 받아들이고, 상기 두 리셋신호들 중의 어느 하나가 활성화될 때 상기 플립플롭들(52, 54, 56)을 리셋 시키는 리셋 검출수단(40)을 부가적으로 포함하는 비동기식 카운터 회로.And additionally detecting reset means (40) for receiving the reset signal and an external reset signal (reset) and for resetting the flip-flops (52, 54, 56) when either one of the two reset signals is activated. Asynchronous counter circuit. 제 1 항에 있어서,The method of claim 1, 상기 선택 수단(60)은, 상기 카운터 수단(50)으로부터 각각 출력되는 상기 정출력 및 부출력 신호(Q, QN)를 각각 입력받고, 이 입력받은 신호 중 어느 하나의 신호를 상기 리셋 발생수단(70)에 각각 출력하는 멀티플랙서들(62, 64, 66)과;The selecting means 60 receives the positive output and the negative output signals Q and QN respectively output from the counter means 50, and outputs any one of the input signals to the reset generating means ( Multiplexers 62, 64, and 66 respectively output to 70; 상기 각 멀티플랙서들(62, 64, 66)이 상기 정출력 및 부출력 신호(Q, QN) 중 어느 하나의 신호를 출력하도록 하는 상기 선택제어신호들(S0S2)을 발생하는 신호 발생수단(68)을 포함하는 비동기식 카운터 회로.Signal generating means for generating the selection control signals S0S2 such that each of the multiplexers 62, 64, 66 outputs any one of the positive and negative output signals Q, QN; Asynchronous counter circuit. 제 1 항에 있어서,The method of claim 1, 상기 리셋 발생수단(70)은, 상기 선택 수단(60)으로부터 입력받은 각각의 신호들이 하이레벨 신호로 일치하는 경우, 로우레벨의 상기 리셋신호를 발생하는 논리 게이트인 비동기식 카운터 회로.And the reset generating means (70) is a logic gate that generates the low level reset signal when each of the signals inputted from the selecting means (60) matches the high level signal. 외부로부터 소정 레벨의 신호 및 내부로부터 소정 레벨의 신호를 입력받고, 상기 외부로부터의 소정 레벨의 신호 또는 상기 내부로부터 입력받은 소정 레벨의 신호가 리셋 기능을 갖는 소정 레벨의 신호인 경우 소정의 리셋신호를 출력하는 리셋 검출수단(40)과;A predetermined reset signal when a predetermined level signal is input from the outside and a predetermined level signal from the inside, and the predetermined level signal from the outside or the predetermined level signal received from the inside is a predetermined level signal having a reset function Reset detection means (40) for outputting; 외부로부터 입력된 클락(CLK)에 응답하여 소정의 입력신호(D)에 대한 이전신호(Q) 및 이 이전신호(Q)에 대한 반전신호(QN)를 출력하고, 상기 소정의 리셋신호를 입력받아 리셋 되는 카운터 수단(50)과;In response to the clock CLK input from the outside, the previous signal Q for the predetermined input signal D and the inversion signal QN for the previous signal Q are outputted, and the predetermined reset signal is input. Counter means (50) that is received and reset; 상기 카운터 수단(50)으로부터 입력받은 각각의 상기 이전신호(Q) 및 이 이전신호(Q)에 대한 반전신호(QN) 중 어느 하나의 신호를 각각 선택하여 출력하는 선택 수단(60)과;Selecting means (60) for selecting and outputting any one of each of the previous signal (Q) received from the counter means (50) and an inverted signal (QN) with respect to the previous signal (Q); 상기 선택 수단(60)으로부터 선택하여 출력된 각각의 신호를 입력받고, 이 입력받은 각각의 신호가 소정 레벨의 신호로 일치하는 경우 상기 카운터 수단(50)을 리셋 하기 위한 소정 레벨의 신호를 상기 리셋 검출수단(40)에 출력하는 리셋 발생수단(70)을 포함하는 비동기식 카운터 회로.Receives the respective signals selected and output from the selection means 60, and resets the signal of the predetermined level for resetting the counter means 50 when the respective received signals coincide with the signals of the predetermined level. An asynchronous counter circuit comprising reset generating means (70) output to the detecting means (40).
KR1019970000157A 1997-01-07 1997-01-07 Asynchronous counter circuit KR19980065271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970000157A KR19980065271A (en) 1997-01-07 1997-01-07 Asynchronous counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970000157A KR19980065271A (en) 1997-01-07 1997-01-07 Asynchronous counter circuit

Publications (1)

Publication Number Publication Date
KR19980065271A true KR19980065271A (en) 1998-10-15

Family

ID=65952761

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970000157A KR19980065271A (en) 1997-01-07 1997-01-07 Asynchronous counter circuit

Country Status (1)

Country Link
KR (1) KR19980065271A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100418572B1 (en) * 2002-04-02 2004-02-14 주식회사 하이닉스반도체 Asynchronous counting circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100418572B1 (en) * 2002-04-02 2004-02-14 주식회사 하이닉스반도체 Asynchronous counting circuit

Similar Documents

Publication Publication Date Title
KR920005171A (en) Semiconductor memory with successively clocked call codes for entering test mode
KR890017866A (en) Filter circuit
EP0017091A1 (en) Two-mode-shift register/counter device
JPS6152499B2 (en)
KR20020049387A (en) High speed counter having sequential binary order and the method thereof
US5969553A (en) Digital delay circuit and digital PLL circuit with first and second delay units
EP0631391B1 (en) Decoded counter with error check and self-correction
US6504407B2 (en) Programmable high speed frequency divider
US6725245B2 (en) High speed programmable counter architecture
US4400615A (en) Programmable counter circuit
KR19980065271A (en) Asynchronous counter circuit
US6091794A (en) Fast synchronous counter
US4193038A (en) Key input apparatus
KR100594315B1 (en) Multiple pulse generator
US4759042A (en) Parallel-to-serial converter
KR0170720B1 (en) Digital/analog converter interface apparatus
JPH11509658A (en) Extended chip select reset device and method
US5937024A (en) Counter for counting high frequency
US7123679B2 (en) Counter having improved counting speed
KR200155054Y1 (en) Counter circuit
KR100300548B1 (en) Bounce Elimination Circuit
SU1162044A1 (en) Number-to-pulse rate converter
KR20000045407A (en) Device for delaying
KR0153112B1 (en) Counter enable to program
JPH0683066B2 (en) Counter circuit

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination