Professional Documents
Culture Documents
Laboratory Report 3
Laboratory Report 3
ECE-111
Digital Systems Lab
Instructor: Neophytou Stelios
1
Table of Contents
MAIN OBJECTIVES...............................................................................................3
INTRODUCTION....................................................................................................3
EQUIPMENT USED................................................................................................3
Part 1........................................................................................................................4
Part 2........................................................................................................................6
2
1. The Objectives of this Experiment :-
Building counters using flip flops. Designing two different counters, one synchronous
and one asynchronous. The 4-bit Up/Down asynchronous counter will be built using D-
Flip Flops. The 4-bit synchronous counter with enable will be designed using J-K Flip
Flops.
2. A General Introduction
A counter is a sequential circuit that has a number of different uses in computer systems.
The main operation of a k bit counter is to circulate among some or all of the 2k possible
values, one every clock cycle. Counters are usually built using flip flops. A flip flop is a
memory element that can store only one bit (either a 0 or a 1) at a time.
An Up counter is a counter that counts in the increasing order of the binary numbers and
a down counter counts in a decreasing order of binary number.
An asynchronous counter is a counter where not all the flip flops are synchronized with
an external clock signal. The least significant flip-flop is driven by the external clock
signal and the clock inputs of all the other flip flops are driven by the output of the
previous level flip flop. Additionally, an up/down counter is a counter that can be set to
count both upwards and downwards, usually by giving the appropriate value to an extra
input.
A synchronous counter is a counter where all flip flops are synchronized with an external
clock signal. The difference here is that the clock is driving all the clock inputs of the flip
flops, the remaining inputs of the flip flops should be used to control the toggling of each
flip flop. A counter with an Enable input is a counter which has an extra input (enable)
that activates or terminates the counting procedure.
3. Instruments Used
3
Part 1 Software Part
Counter Designs
4
Counter Design Simulation
5
In this section, we assign the pins on the FPGA to inputs and outputs of
both the designs.