0% found this document useful (0 votes)
20 views1 page

Digital Circuits - Counters

Uploaded by

Lakshya Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

Digital Circuits - Counters

Uploaded by

Lakshya Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Menu Categories Login

Search tutorials, courses and ebooks...

HTML CSS Javascript SQL Python

Digital Circuits - Counters

Previous Next

In previous two chapters, we discussed various


shift registers & counters using D flipflops.
Now, let us discuss various counters using T
flip-flops. We know that T flip-flop toggles the
output either for every positive edge of clock
signal or for negative edge of clock signal.

flops. If the counter counts from 0 to 2𝑁 − 1,


An ‘N’ bit binary counter consists of ‘N’ T flip-

Similarly, if the counter counts down from 2𝑁 −


then it is called as binary up counter.

1 to 0, then it is called as binary down


counter.

There are two types of counters based on the


flip-flops that are connected in synchronous or
not.

Asynchronous counters

Synchronous counters

Asynchronous Counters
If the flip-flops do not receive the same clock
signal, then that counter is called as
Asynchronous counter. The output of system
clock is applied as clock signal only to first flip-
flop. The remaining flip-flops receive the clock
signal from output of its previous stage flip-
flop. Hence, the outputs of all flip-flops do not
change affect at the same time.

Now, let us discuss the following two counters


one by one.

Asynchronous Binary up counter

Asynchronous Binary down counter

Asynchronous Binary Up Counter

An ‘N’ bit Asynchronous binary up counter

2𝑁 − 1. The block diagram of 3-bit


consists of ‘N’ T flip-flops. It counts from 0 to

Asynchronous binary up counter is shown in the


following figure.

The 3-bit Asynchronous binary up counter


contains three T flip-flops and the T-input of all
the flip-flops are connected to ‘1’. All these flip-
flops are negative edge triggered but the
outputs change asynchronously. The clock
signal is directly applied to the first T flip-flop.
So, the output of first T flip-flop toggles for
every negative edge of clock signal.

The output of first T flip-flop is applied as clock


signal for second T flip-flop. So, the output of
second T flip-flop toggles for every negative
edge of output of first T flip-flop. Similarly, the
output of third T flip-flop toggles for every
negative edge of output of second T flip-flop,
since the output of second T flip-flop acts as
the clock signal for third T flip-flop.

Assume the initial status of T flip-flops from


rightmost to leftmost is Q2 Q1 Q0 = 000 . Here,
Q2 & Q0 are MSB & LSB respectively. We can
understand the working of 3-bit asynchronous
binary counter from the following table.

No of
negative edge Q0LSB Q1 Q2M SB
of Clock

0 0 0 0

1 1 0 0

2 0 1 0

3 1 1 0

4 0 0 1

5 1 0 1

6 0 1 1

7 1 1 1

Here Q0 toggled for every negative edge of


clock signal. Q1 toggled for every Q0 that goes
from 1 to 0, otherwise remained in the previous
state. Similarly, Q2 toggled for every Q1 that
goes from 1 to 0, otherwise remained in the
previous state.

The initial status of the T flip-flops in the


absence of clock signal is Q2 Q1 Q0 = 000 . This
is incremented by one for every negative edge
of clock signal and reached to maximum value
at 7th negative edge of clock signal. This
pattern repeats when further negative edges of
clock signal are applied.

Asynchronous Binary Down Counter

consists of ‘N’ T flip-flops. It counts from 2𝑁 −


An ‘N’ bit Asynchronous binary down counter

1 to 0. The block diagram of 3-bit


Asynchronous binary down counter is shown in
the following figure.

The block diagram of 3-bit Asynchronous binary


down counter is similar to the block diagram of
3-bit Asynchronous binary up counter. But, the
only difference is that instead of connecting the
normal outputs of one stage flip-flop as clock
signal for next stage flip-flop, connect the
complemented outputs of one stage flip-flop
as clock signal for next stage flip-flop.
Complemented output goes from 1 to 0 is same
as the normal output goes from 0 to 1.

Assume the initial status of T flip-flops from


rightmost to leftmost is Q2 Q1 Q0 = 000 . Here,
Q2 & Q0 are MSB & LSB respectively. We can
understand the working of 3-bit asynchronous
binary down counter from the following table.

No of
negative edge Q0LSB Q1 Q2M SB
of Clock

0 0 0 0

1 1 1 1

2 0 1 1

3 1 0 1

4 0 0 1

5 1 1 0

6 0 1 0

7 1 0 0

Here Q0 toggled for every negative edge of


clock signal. Q1 toggled for every Q0 that goes
from 0 to 1, otherwise remained in the previous
state. Similarly, Q2 toggled for every Q1 that
goes from 0 to 1, otherwise remained in the
previous state.

The initial status of the T flip-flops in the


absence of clock signal is Q2 Q1 Q0 = 000 . This
is decremented by one for every negative edge
of clock signal and reaches to the same value
at 8th negative edge of clock signal. This
pattern repeats when further negative edges of
clock signal are applied.

Synchronous Counters
If all the flip-flops receive the same clock
signal, then that counter is called as
Synchronous counter. Hence, the outputs of
all flip-flops change affect at the same time.

Now, let us discuss the following two counters


one by one.

Synchronous Binary up counter

Synchronous Binary down counter

Synchronous Binary Up Counter

An ‘N’ bit Synchronous binary up counter

2𝑁 − 1. The block diagram of 3-bit


consists of ‘N’ T flip-flops. It counts from 0 to

Synchronous binary up counter is shown in the


following figure.

The 3-bit Synchronous binary up counter


contains three T flip-flops & one 2-input AND
gate. All these flip-flops are negative edge
triggered and the outputs of flip-flops change
affect synchronously. The T inputs of first,
second and third flip-flops are 1, Q0 & Q1 Q0
respectively.

The output of first T flip-flop toggles for every


negative edge of clock signal. The output of
second T flip-flop toggles for every negative
edge of clock signal if Q0 is 1. The output of
third T flip-flop toggles for every negative edge
of clock signal if both Q0 & Q1 are 1.

Synchronous Binary Down Counter

consists of ‘N’ T flip-flops. It counts from 2𝑁 −


An ‘N’ bit Synchronous binary down counter

1 to 0. The block diagram of 3-bit


Synchronous binary down counter is shown in
the following figure.

The 3-bit Synchronous binary down counter


contains three T flip-flops & one 2-input AND
gate. All these flip-flops are negative edge
triggered and the outputs of flip-flops change
affect synchronously. The T inputs of first,
′ ′
second and third flip-flops are 1, Q0 &' Q1
Q0 ′ respectively.

The output of first T flip-flop toggles for every


negative edge of clock signal. The output of
second T flip-flop toggles for every negative

edge of clock signal if Q0 is 1. The output of
third T flip-flop toggles for every negative edge
′ ′
of clock signal if both Q1 & Q0 are 1.

Print Page Previous Next

Advertisements

Tutorials Point is a leading Ed Tech


company striving to provide the best
learning material on technical and non-
technical subjects.

About us
Company Terms of use

Our Team Privacy Policy

Careers Refund Policy

Jobs Cookies Policy

Contact Us FAQ's

Tutorials Point India Private Limited,


Incor9 Building, Kavuri Hills,
Madhapur, Hyderabad, Telangana -
500081, INDIA

TUTORIALS COURSES

ARTICLES CERTIFICATIONS

JOBS ANNUAL MEMBERSHIP

Languages

Python Tutorial

Java Tutorial

C++ Tutorial

C Programming Tutorial

C# Tutorial

PHP Tutorial

R Tutorial

Go Tutorial

Web Technologies

HTML Tutorial

CSS Tutorial

JavaScript Tutorial

ReactJS Tutorial

Bootstrap Tutorial

AngularJS Tutorial

Node.js Tutorial

TypeScript Tutorial

Database

SQL Tutorial

MySQL Tutorial

DBMS Tutorial

MongoDB Tutorial

SQLite Tutorial

PL/SQL Tutorial

PostgreSQL Tutorial

Excel Tutorial

Editors

Online SQL Editor

Online Html Editor

Online Css Editor

Online Javascript Editor

Online Latext Editor

Online TEX Editor

Online Mathml Compiler

Online Markdown Editor

Trending Technologies

Cloud Computing Tutorial

Amazon Web Services Tutorial

Microsoft Azure Tutorial

Git Tutorial

Ethical Hacking Tutorial

Docker Tutorial

Kubernetes Tutorial

Compilers

Online Java Compiler

Online C Compiler

Online C++ Compiler

Online C# Compiler

Online Php Compiler

Online Matlab Compiler

Online Bash Compiler

Terminals

Online Unix Terminal

Online Python3 Terminal

Online Php Terminal

Online Nodejs Terminal

Online R Terminal

Online Numpy Terminal

Online Octave Terminal

Data Science & ML

NLP Tutorial

NumPy Tutorial

Python Pandas Tutorial

Machine Learning Tutorial

Big Data Analytics Tutorial

Cryptography Tutorial

Power BI Tutorial

Computer Science

DSA Tutorial

Spring Boot Tutorial

SDLC Tutorial

Unix Tutorial

Operating System Tutorial

Assembly Programming Tutorial

Digital Circuits Tutorial

Microprocessor Tutorial

System Analysis and Design Tutorial

Flutter Tutorial

Top Certifications

Business Analytics Certification

Java & Spring Boot Advanced Certification

Data Science Advanced Certification

Advanced Certification In Cloud Computing


And DevOps

Advanced Certification In Business Analytics

Artificial Intelligence And Machine Learning


Certification

DevOps Certification

Game Development Certification

Front-End Developer Certification

AWS Certification Training

Python Programming Certification

Generative AI Certification

Microsoft Excel Certification Training

Java Certification

Cyber Security Certification

Coding For Beginners Certification

JavaScript Certification

Apache Spark Certification

Advanced Python Certification

Back-End Developer Certification

Front-End Developer Certification

Web Developer Advanced Certification

Linux System Administrator Certification

Automation Testing Certification Training

© Copyright 2024. All Rights Reserved.


x

You might also like