DESIGN AND IMPLEMENTATION OF SYNCHRONOUS 4-BIT UP COUNTER USING 180NM CMOS PROCESS TECHNOLOGY

Similar documents
A NOVEL DESIGN OF COUNTER USING TSPC D FLIP-FLOP FOR HIGH PERFORMANCE AND LOW POWER VLSI DESIGN APPLICATIONS USING 45NM CMOS TECHNOLOGY

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

LFSR Counter Implementation in CMOS VLSI

Design of a High Frequency Dual Modulus Prescaler using Efficient TSPC Flip Flop using 180nm Technology

Electrical & Computer Engineering ECE 491. Introduction to VLSI. Report 1

Analysis of Digitally Controlled Delay Loop-NAND Gate for Glitch Free Design

CMOS DESIGN OF FLIP-FLOP ON 120nm

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

Design of Low Power D-Flip Flop Using True Single Phase Clock (TSPC)

LOW-POWER CLOCK DISTRIBUTION IN EDGE TRIGGERED FLIP-FLOP

International Journal Of Global Innovations -Vol.6, Issue.I Paper Id: SP-V6-I1-P46 ISSN Online:

CMOS Low Power, High Speed Dual- Modulus32/33Prescalerin sub-nanometer Technology

Parametric Optimization of Clocked Redundant Flip-Flop Using Transmission Gate

Dual Edge Adaptive Pulse Triggered Flip-Flop for a High Speed and Low Power Applications

PERFORMANCE ANALYSIS OF AN EFFICIENT PULSE-TRIGGERED FLIP FLOPS FOR ULTRA LOW POWER APPLICATIONS

DESIGN OF DOUBLE PULSE TRIGGERED FLIP-FLOP BASED ON SIGNAL FEED THROUGH SCHEME

Asynchronous (Ripple) Counters

AN EFFICIENT LOW POWER DESIGN FOR ASYNCHRONOUS DATA SAMPLING IN DOUBLE EDGE TRIGGERED FLIP-FLOPS

Efficient Architecture for Flexible Prescaler Using Multimodulo Prescaler

A Low-Power CMOS Flip-Flop for High Performance Processors

GLITCH FREE NAND BASED DCDL IN PHASE LOCKED LOOP APPLICATION

Low Power Area Efficient Parallel Counter Architecture

DIFFERENTIAL CONDITIONAL CAPTURING FLIP-FLOP TECHNIQUE USED FOR LOW POWER CONSUMPTION IN CLOCKING SCHEME

High speed, Low power N/ (N+1) prescaler using TSPC and E-TSPC: A survey Nemitha B 1, Pradeep Kumar B.P 2

Experiment 8 Introduction to Latches and Flip-Flops and registers

HIGH PERFORMANCE AND LOW POWER ASYNCHRONOUS DATA SAMPLING WITH POWER GATED DOUBLE EDGE TRIGGERED FLIP-FLOP

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Design of an Efficient Low Power Multi Modulus Prescaler

ASYNCHRONOUS COUNTER CIRCUITS

Design of Low Power Universal Shift Register

Optimized Design and Simulation of 4-Bit Johnson Ring Counter Using 90nm Technology

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

ELE2120 Digital Circuits and Systems. Tutorial Note 7

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Research Article Ultra Low Power, High Performance Negative Edge Triggered ECRL Energy Recovery Sequential Elements with Power Clock Gating

Unit 11. Latches and Flip-Flops

Design of a Low Power Four-Bit Binary Counter Using Enhancement Type Mosfet

Modified Ultra-Low Power NAND Based Multiplexer and Flip-Flop

High Speed 8-bit Counters using State Excitation Logic and their Application in Frequency Divider

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Sequential Design Basics

Power Optimization by Using Multi-Bit Flip-Flops

A Power Efficient Flip Flop by using 90nm Technology

P.Akila 1. P a g e 60

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Design of Low Power and Area Efficient Pulsed Latch Based Shift Register

Design of High Speed Phase Frequency Detector in 0.18 μm CMOS Process for PLL Application

D Latch (Transparent Latch)

Introduction to Sequential Circuits

Gated Driver Tree Based Power Optimized Multi-Bit Flip-Flops

ECE 341. Lecture # 2

A Low Power Delay Buffer Using Gated Driver Tree

Modeling and designing of Sense Amplifier based Flip-Flop using Cadence tool at 45nm

Design Low-Power and Area-Efficient Shift Register using SSASPL Pulsed Latch

LOW POWER LEVEL CONVERTING FLIP-FLOP DESIGN BY USING CONDITIONAL DISCHARGE TECHNIQUE

Novel Low Power and Low Transistor Count Flip-Flop Design with. High Performance

Other Flip-Flops. Lecture 27 1

EKT 121/4 ELEKTRONIK DIGIT 1

Improve Performance of Low-Power Clock Branch Sharing Double-Edge Triggered Flip-Flop

DESIGN OF LOW POWER TEST PATTERN GENERATOR

International Journal of Computer Trends and Technology (IJCTT) volume 24 Number 2 June 2015

CS/EE 6710 Digital VLSI Design CAD Assignment #3 Due Thursday September 21 st, 5:00pm

A Design for Improved Very Low Power Static Flip Flop Using Two Inverters and Five NORs

LOW POWER AND HIGH PERFORMANCE SHIFT REGISTERS USING PULSED LATCH TECHNIQUE

Digital Fundamentals

Power Analysis of Double Edge Triggered Flip-Flop using Signal Feed-Through Technique

Reduction of Area and Power of Shift Register Using Pulsed Latches

ANALYSIS OF POWER REDUCTION IN 2 TO 4 LINE DECODER DESIGN USING GATE DIFFUSION INPUT TECHNIQUE

UNIT IV. Sequential circuit

Power Efficient Design of Sequential Circuits using OBSC and RTPG Integration

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

Abstract 1. INTRODUCTION. Cheekati Sirisha, IJECS Volume 05 Issue 10 Oct., 2016 Page No Page 18532

Low Power D Flip Flop Using Static Pass Transistor Logic

SYNCHRONOUS DERIVED CLOCK AND SYNTHESIS OF LOW POWER SEQUENTIAL CIRCUITS *

Energy Recovery Clocking Scheme and Flip-Flops for Ultra Low-Energy Applications

Novel Design of Static Dual-Edge Triggered (DET) Flip-Flops using Multiple C-Elements

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

High Performance Dynamic Hybrid Flip-Flop For Pipeline Stages with Methodical Implanted Logic

Implementation of New Low Glitch and Low Power dual Edge Triggered Flip-Flops Using Multiple C-Elements

Design of a Low Power and Area Efficient Flip Flop With Embedded Logic Module

An efficient Sense amplifier based Flip-Flop design

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

ADVANCES in NATURAL and APPLIED SCIENCES

RS flip-flop using NOR gate

Vignana Bharathi Institute of Technology UNIT 4 DLD

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

Efficient 500 MHz Digital Phase Locked Loop Implementation sin 180nm CMOS Technology

Switching Theory And Logic Design UNIT-IV SEQUENTIAL LOGIC CIRCUITS

Chapter 4. Logic Design

Lecture 8: Sequential Logic

Design and Analysis of Modified Fast Compressors for MAC Unit

Timing Error Detection: An Adaptive Scheme To Combat Variability EE241 Final Report Nathan Narevsky and Richard Ott {nnarevsky,

RS flip-flop using NOR gate

Module -5 Sequential Logic Design

CHAPTER 1 LATCHES & FLIP-FLOPS

Minimization of Power for the Design of an Optimal Flip Flop

LOW POWER DOUBLE EDGE PULSE TRIGGERED FLIP FLOP DESIGN

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Transcription:

DESIGN AND IMPLEMENTATION OF SYNCHRONOUS 4-BIT UP COUNTER USING 180NM CMOS PROCESS TECHNOLOGY Yogita Hiremath 1, Akalpita L. Kulkarni 2, J. S. Baligar 3 1 PG Student, Dept. of ECE, Dr.AIT, Bangalore, Karnataka, India 2 Associate Professor, Dept. of ECE, Dr.AIT, Bangalore, Karnataka, India 3 M.Tech. Coordinator, Dept. of ECE, Dr.AIT, Bangalore, Karnataka, India 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. --------------------------------------------------------------------***------------------------------------------------------------------ 1. INTRODUCTION Counting is a fundamental function of digital circuits. A digital counter consists of a collection of flip-flops that change state (set or reset) in a prescribed sequence. The primary function of a counter is to produce a specified output pattern sequence. For this reason it is also a pattern generator [2]. This pattern sequence might correspond to the number of occurrences of an event or it might be used to control various portions of a digital system. In this latter case each pattern is associated with a distinct operation that the digital system must perform. There are tremendous applications of a counter in the digital consumer electronics market. A counter can play a vital role in several circuits ranging from a simple display to complex microcontroller circuits. Some of the apparent applications of a counter are: frequency divider in phase-locked loops, frequency synthesizers, signal generation and processing circuits, microcontrollers, digital memories and in digital clock and timing circuits. A counter is another example of a register [2]. As in the case of a register each of the 0-1 combinations that are stored in the collection of flip-flops that comprise the counter, that is the output pattern, is known as a state of the counter. The total number of states is called its modulus. Thus if a counter has m distinct states, then it is called a modulus-m counter or mod-m counter. The order in which the states appear is referred to as its counting sequence. design, Cadence Virtuoso Layout Suite that speeds up the physical layout of the design and Cadence Assura Physical Verification reduces overall verification time because it incorporates a fast and intuitive debug capability integrated within the Virtuoso custom design environment. It helps to easily recognize, fix, extract and compare errors. Several counter circuits have been proposed targeting on design accents such as power, delay and area. Among those designs synchronous counters using master-slave D flipflops have been widely used. The paper is organized as follows: in section 2, the design of the proposed counter is presented. In section 3, the schematic and layout are presented. In section 4, the simulation results are given and discussed. The area, power and delay of the counter are estimated. Finally a conclusion will be made in the last section. 2. THE PROPOSED COUNTER Synchronous counter is the most popular type of counter. It typically consists of a memory element, which is implemented using flip-flops and a combinational element, which is traditionally implemented using logic gates. Logic gates are logic circuits with one or more input terminals and one output terminal in which the output is switched between two voltage levels determined by a combination of input signals. The use of logic gates for combinational logic typically reduces the cost of components for counter circuits to an absolute minimum, so it remains a popular approach. The proposed synchronous 4-bit up counter is implemented using Cadence EDA tool [1]. The tool provides sophisticated features such as Cadence Virtuoso schematic editor which provides sophisticated capabilities which speed and ease the design, Cadence Virtuoso Visualization and Analysis which efficiently analyzes the performance of the Synchronous counters have an internal clock, whereas asynchronous counters do not. As a result, all the flip-flops in a synchronous counter are driven simultaneously by a single, common clock pulse. In an asynchronous counter, the first flip-flop is driven by a pulse from an external clock and each successive flip-flop is driven by the output of the Volume: 03 Issue: 05 May-2014, Available @ http://www.ijret.org 810

preceding flip-flop in the sequence. This is the essential difference between synchronous and asynchronous counters. The propagation delay of synchronous counter is comparatively lower than asynchronous counter. Its performance is also better from a reliability perspective because there is no glitch. 2.1. Master-Slave D Flip-Flop A master-slave D flip-flop is created by connecting two gated D latches in series and inverting the enable input to 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 pulsetriggered 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. The purpose of master-slave flip-flops is to protect a flipflop s output from inadvertent changes caused by glitches on the input. Master-slave flip-flops are used in applications where glitches may be prevalent on inputs. The master-slave configuration has the advantage of being pulse-triggered, making it easier to use in larger circuits, since the inputs to a flip-flop often depend on the state of its output. Master changes its state when clock is high while the latter changes its state when clock is low. When the clock is high the master tracks the value of D but since the slave is in inactive state, Qs also remains unchanged. When the clock signal goes low, the master goes to inactive state and the slave which is now in active state tracks the value of Qm. While clock is low, Qm does not change its value. Thus only once during the clock cycle the slave can undergo change in its value. It can also be observed that only during the transition from high to low, the output gets change. This transition is referred to as "negative pulse-triggered" [5]. Fig-2: Master-slave D flip-flop with clear input Fig.2 shows the implementation of master-slave D flip-flop with clear input. The circuit is designed using the truth table given in table.2. When the clr (clear) input goes high, irrespective of the inputs D and clock, the output goes low. Table-2: Truth table of master-slave D flip-flop with clear input Clr Clk Q n+1 (next state) 0 0 D 0 1 Q n (present state) 1 X 0 Fig-1: Master-slave D flip-flop Fig.1 shows negative pulse-triggered master-slave D flipflop. It responds on the negative edge of the enable input (usually a clock). The circuit consists of two D flip-flops connected together. When the clock is high, the D input is stored in the first latch, but the second latch cannot change state. When the clock is low, the first latch's output is stored in the second latch, but the first latch cannot change state. The result is that output can only change state when the clock makes a transition from high to low. Table-1: Truth table of master-slave D flip-flop Clk 0 D Q n+1 (next state) 1 Q n (present state) 2.2. Synchronous 4-Bit Up Counter The proposed synchronous 4-bit up counter has 3 AND gates, 4 XOR gates and 4 master-slave D flip-flops. Same clock pulse is given to each flip-flop. So with every clock pulse the counter counts one step up. It is an up counter and starts from 0000. Then with clock pulse counts like 0001, 0010, 0011, 0100 up to 1111. Then it starts from 0000 again. Q0 is the LSB and Q3 is the MSB. The master-slave D flip-flop actually works at the falling edge of the clock. But because it is a master slave configuration [8], it actually stores the input at rising edge and it is given to the output at the falling edge of the clock. So change in counter output is observed in the falling edge of the clock. There are 2 additional inputs in the counter, count enable (CE) and clear (clr). 1. Count Enable (CE) input: If CE=0, then counter stops counting. IF CE=1, each clock pulse results in a counting action. Volume: 03 Issue: 05 May-2014, Available @ http://www.ijret.org 811

2. Clear (clr) input: If clr=1, then the counter output clears to 0000. If clr=0, each clock pulse results in a counting action. The schematic diagram of inverter, NAND gate, AND gate and XOR gate are as shown in fig.4. The control logic of the counter is as follows: The XOR gate complements each bit. The AND chain causes complement of a bit if all the bits toward LSB from it equal 1.The Count Enable forces all outputs of AND chain to 0 to hold the state. Fig-4(a): Inverter schematic diagram Fig-3: Synchronous 4-bit up counter 3. SCHEMATIC AND LAYOUT The proposed counter is implemented in Cadence EDA tool. The transistor level diagram is implemented using Cadence Virtuoso schematic editor [1]. The optimized layout is designed using Cadence Virtuoso Layout Suite. Fig-4(b): NAND gate schematic diagram 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

3.2. Layout The optimized layout of all the gates, master-slave D flipflop 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-4(d): XOR gate schematic diagram Using the instances of inverter, NAND gate and AND gate gates discussed above, master-slave D flip-flop is implemented as shown in fig.5. Subsequently using the instances of master-slave D flip-flop, AND gate and XOR gate the proposed synchronous 4-bit up counter is implemented as shown in fig.6. Fig-7(a): Inverter layout Fig-5: Master-slave D flip-flop schematic diagram Fig-7(b): NAND gate layout 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

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-7(d): XOR gate layout The final layout of the master-slave D flip-flop is designed by integrating the layout instances of the NAND gates and subsequently the layout of the synchronous 4-bit up counter is designed by integrating the layout instances of the basic AND, XOR gates and master-slave D flip-flop. Fig-10(a): Transient response of master-slave D flip-flop Fig-10(b): Transient response of counter with CE=1, clr=0 Fig-8: Master-slave D flip-flop layout Fig-10(c): Transient response of counter with CE=1, clr=1 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

Table-3: Transistor count, delay and power estimation of the gates, flip-flop and counter Circuits Transistor count Delay Power Inverter 2 11.04 ns 4.70 μw NAND gate 4 20.92 ns 5.22 μw AND gate 6 195.50 ps 7.87 μw XOR gate 6 5.985 ns 9.93 μw Master-slave D flip-flop Synchronous 4-bit up counter 5. CONCLUSIONS 42 11.22 ns 26.23 μw 210 20.39 ns 97.90 μw In this paper, synchronous 4-bit up counter has been implemented, simulated and analyzed. The performance of the counter is assessed in terms of area, delay and power consumption. The main goal to optimize the layout is met satisfactorily using Cadence tool with the sea of gate arrays concept. The logic and characteristics of the master-slave D flip-flop and synchronous 4-bit up counter are easily verified with the simulation results. Thus we present the design and implementation of synchronous 4-bit up counter which is optimized in terms of area. REFERENCES [1]. Cadence Analog and Mixed signal labs, revision 1.0, IC613, Assura 32, incisive unified simulator 82, Cadence design systems, Bangalore. [2]. Donald D. Givone, Digital principles and Design, TataMC Grawhill 1 st edition. [3]. D. Prasanna Kumari, R. Surya Prakasha Rao, B. Vijaya Bhaskar, A Future Technology For Enhanced Operation In Flip-Flop Oriented Circuits, International Journal of Engineering Research and Applications, Vol. 2, Issue4, July-August 2012, pp.2177-2180. [4]. H. Mahmoodi, V. Tirumalashetty, M. Cooke, and K. Roy, Ultra low power clocking scheme using energy recovery and clock gating IEEE Transactions on Very Large Scale Integration (VLSI) System, Vol. 17, pp. 33-44, 2009. [5]. John M. Yarbrough, Digital logic- Applications and Design. [6]. M. Nogawa and Y. Ohtomo, A data-transition lookahead DFF circuit for statistical reduction in power consumption, IEEE Transactions on Solid-State Circuits, Vol. 33, pp. 702-706, 1998. [7]. Sung-Hyun YANG, Younggap YOU, Kyoung-Rok CHO, A new Dynamic D-flip-flop aiming at Glitch and Charge Sharing Free, ICICE TRANS. ELECTRON., VOl.E86-C, NO.3 MARCH 2003. [8]. Upwinder Kaur, Rajesh Mehra, Low Power CMOS Counter Using Clock Gated Flip-Flop,International Journal of Engineering and Advanced Technology (IJEAT) ISSN: 2249 8958, Volume-2, Issue-4, April 2013. BIOGRAPHIES Yogita Hiremath completed her Bachelor of engineering at Hirasugar Institute of Technology, Nidasoshi, Karnataka, India in 2012. She is pursuing Master in Technology at Dr. Ambedkar Institute of Technology, Bangalore, Karnataka, India. Her areas of interest are VLSI Design and digital design. Akalpita L. Kulkarni completed her Bachelor of Engineering in ECE branch at PDACEM, Gulbarga, Karnataka, India in 1990. She completed her Masters Degree in Applied Electronics at Anna University, Chennai, India in 1998. She is working as Associate Professor in ECE department at Dr.Ambedkar Institute of Technology, Bangalore, Karnataka, India. Her areas of interest include Microprocessors and Microcontrollers. Dr. J. S. Baligar completed his Ph.D. in 2003 from Bangalore University in Electronic Science Department. He has published around 10 papers in international journals. He is working as Associate Professor in ECE department at Dr.Ambedkar Institute of Technology, Bangalore, Karnataka India. His areas of interest are RF circuit design, micro strip antennas and VLSI design. Volume: 03 Issue: 05 May-2014, Available @ http://www.ijret.org 815