Design and Implementation of Synchronous 4-Bit Up Counter Using 180Nm Cmos Process Technology
Design and Implementation of Synchronous 4-Bit Up Counter Using 180Nm Cmos Process Technology
Abstract
In this paper design of synchronous 4-bit up counter is proposed using master-slave negative pulse-triggered D flip-flops. The
master slave D flip-flop is implemented using 8 nand gates and an inverter. The counter is provided with additional synchronous
clear and count enable inputs. The main objective is to optimize the layout of the synchronous 4-bit up counter in terms of area.
The design is implemented using Cadence Virtuoso schematic editor and simulated using Cadence Virtuoso analog design
environment at 180nm CMOS process technology. The optimized layout of the counter is designed using Cadence Virtuoso Layout
Suite. The counter has transistor count of 210. The estimated power of the counter is 97.90μW and delay is 20.39ns.
Keywords: Area, Cadence, Counter, Delay, Master-slave D flip-flop, Nand gate, Power and Synchronous.
--------------------------------------------------------------------***------------------------------------------------------------------
The proposed synchronous 4-bit up counter is implemented Synchronous counters have an internal clock, whereas
using Cadence EDA tool [1]. The tool provides asynchronous counters do not. As a result, all the flip-flops
sophisticated features such as Cadence Virtuoso schematic in a synchronous counter are driven simultaneously by a
editor which provides sophisticated capabilities which speed single, common clock pulse. In an asynchronous counter,
and ease the design, Cadence Virtuoso Visualization and the first flip-flop is driven by a pulse from an external clock
Analysis which efficiently analyzes the performance of the and each successive flip-flop is driven by the output of the
_______________________________________________________________________________________
Volume: 03 Issue: 05 | May-2014, Available @ http://www.ijret.org 810
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
preceding flip-flop in the sequence. This is the essential Master changes its state when clock is high while the latter
difference between synchronous and asynchronous counters. changes its state when clock is low. When the clock is high
The propagation delay of synchronous counter is the master tracks the value of D but since the slave is in
comparatively lower than asynchronous counter. Its inactive state, Qs also remains unchanged. When the clock
performance is also better from a reliability perspective signal goes low, the master goes to inactive state and the
because there is no glitch. slave which is now in active state tracks the value of Qm.
While clock is low, Qm does not change its value. Thus only
2.1. Master-Slave D Flip-Flop once during the clock cycle the slave can undergo change in
its value. It can also be observed that only during the
A master-slave D flip-flop is created by connecting two transition from high to low, the output gets change. This
gated D latches in series and inverting the enable input to transition is referred to as "negative pulse-triggered" [5].
one of them. It is called master-slave because the second
(slave) latch in the series only changes in response to a
change in the first (master) latch [2]. The term pulse-
triggered means that data is entered on the rising edge of the
clock pulse, but the output does not reflect the change until
the falling edge of the clock pulse. Master-slave flip-flops
can be constructed to behave as a J-K, R-S, T or D flip-flop.
0 0 D
0 1 Qn (present state)
1 X 0
_______________________________________________________________________________________
Volume: 03 Issue: 05 | May-2014, Available @ http://www.ijret.org 811
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
2. Clear (clr) input: If clr=1, then the counter output The schematic diagram of inverter, NAND gate, AND gate
clears to 0000. If clr=0, each clock pulse results in and XOR gate are as shown in fig.4.
a counting action.
3.1. Schematic
The implementation of the synchronous 4-bit up counter
will be performed progressively by implementing and
creating instances of the components of the counter
independently and subsequently using all the components
together to create the counter. The schematic diagram of all
the components are built using PMOS and NMOS
transistors with the following specifications.
Length : 180 nm
Total width : 2 μm
Finger width : 2 μm
Fingers :1
S/D metal : 400 nm
Threshold : 800 nm Fig-4(c): AND gate schematic diagram
_______________________________________________________________________________________
Volume: 03 Issue: 05 | May-2014, Available @ http://www.ijret.org 812
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
3.2. Layout
The optimized layout of all the gates, master-slave D flip-
flop and synchronous 4-bit up counter are designed using
sea of gate arrays concept in order to reduce the area. All the
layouts are designed using 180nm CMOS process
technology [1]. The cadence tool helps to verify layout
versus schematic effectively.
Fig-6: Synchronous 4-bit up counter schematic diagram Fig-7(c): AND gate layout
_______________________________________________________________________________________
Volume: 03 Issue: 05 | May-2014, Available @ http://www.ijret.org 813
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
4. SIMULATION RESULTS
The layouts of master-slave D flip-flop and synchronous 4-
bit up counter are simulated and the transient responses are
analyzed using Cadence analog design environment.
Fig-9: Synchronous 4-bit up counter layout Fig-10(d): Transient response of counter with CE=0, clr=0
_______________________________________________________________________________________
Volume: 03 Issue: 05 | May-2014, Available @ http://www.ijret.org 814
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308