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

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

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

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

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

ECEN689: Special Topics in High-Speed Links Circuits and Systems Spring 2011

12-bit Wallace Tree Multiplier CMPEN 411 Final Report Matthew Poremba 5/1/2009

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

ECE321 Electronics I

Flip-Flops A) Synchronization: Clocks and Latches B) Two Stage Latch C) Memory Requires Feedback D) Simple Flip-Flop Gate

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

Parametric Optimization of Clocked Redundant Flip-Flop Using Transmission Gate

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

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1

Sequential Circuit Design: Part 1

CMOS Latches and Flip-Flops

EECS150 - Digital Design Lecture 17 - Circuit Timing. Performance, Cost, Power

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

55:131 Introduction to VLSI Design Project #1 -- Fall 2009 Counter built from NAND gates, timing Due Date: Friday October 9, 2009.

11. Sequential Elements

ELEC 4609 IC DESIGN TERM PROJECT: DYNAMIC PRSG v1.2

Sequential Circuit Design: Part 1

ECEN620: Network Theory Broadband Circuit Design Fall 2014

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

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

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

A Power Efficient Flip Flop by using 90nm Technology

Sequential Logic. References:

UNIT III COMBINATIONAL AND SEQUENTIAL CIRCUIT DESIGN

ELE2120 Digital Circuits and Systems. Tutorial Note 7

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

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

ELCT201: DIGITAL LOGIC DESIGN

Design and Analysis of Custom Clock Buffers and a D Flip-Flop for Low Swing Clock Distribution Networks. A Thesis presented.

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

ESE 570 STATIC SEQUENTIAL CMOS LOGIC CELLS. Kenneth R. Laker, University of Pennsylvania, updated 25Mar15

WINTER 15 EXAMINATION Model Answer

Project 6: Latches and flip-flops

Logic Design. Flip Flops, Registers and Counters

Chapter 5 Flip-Flops and Related Devices

EECS150 - Digital Design Lecture 3 - Timing

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

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

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

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

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Topic 8. Sequential Circuits 1

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

Sequential Circuits: Latches & Flip-Flops

IT T35 Digital system desigm y - ii /s - iii

Lecture 10: Sequential Circuits

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

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).

Hardware Design I Chap. 5 Memory elements

P.Akila 1. P a g e 60

EE-382M VLSI II FLIP-FLOPS

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

EE 447/547 VLSI Design. Lecture 9: Sequential Circuits. VLSI Design EE 447/547 Sequential circuits 1

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

Asynchronous (Ripple) Counters

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

Chapter 7 Sequential Circuits

Cascadable 4-Bit Comparator

LOW-POWER CLOCK DISTRIBUTION IN EDGE TRIGGERED FLIP-FLOP

VLSI Design: 3) Explain the various MOSFET Capacitances & their significance. 4) Draw a CMOS Inverter. Explain its transfer characteristics

6. Sequential Logic Flip-Flops

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

New Single Edge Triggered Flip-Flop Design with Improved Power and Power Delay Product for Low Data Activity Applications

SA4NCCP 4-BIT FULL SERIAL ADDER

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

LFSR Counter Implementation in CMOS VLSI

EFFICIENT POWER REDUCTION OF TOPOLOGICALLY COMPRESSED FLIP-FLOP AND GDI BASED FLIP FLOP

data and is used in digital networks and storage devices. CRC s are easy to implement in binary

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS

D Latch (Transparent Latch)

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

EEC 116 Fall 2011 Lab #5: Pipelined 32b Adder

Digital Integrated Circuits EECS 312

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

AN EFFICIENT DOUBLE EDGE TRIGGERING FLIP FLOP (MDETFF)

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

Combinational vs Sequential

ECEN454 Digital Integrated Circuit Design. Sequential Circuits. Sequencing. Output depends on current inputs

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers

Developing Standard Cells for TSMC 0.25 µm Technology with MOSIS DEEP Rules

Efficient Architecture for Flexible Prescaler Using Multimodulo Prescaler

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

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

Introduction to Sequential Circuits

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

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

ELEN Electronique numérique

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Integrated Circuit Design ELCT 701 (Winter 2017) Lecture 1: Introduction

Design Project: Designing a Viterbi Decoder (PART I)

GLITCH FREE NAND BASED DCDL IN PHASE LOCKED LOOP APPLICATION

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Experiment 8 Introduction to Latches and Flip-Flops and registers

Transcription:

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

1. INTRODUCTION: In this project we are going to design a CMOS positive edge triggered master-slave type D flip-flop using AMS 0.35 µm CMOS technology with the following criteria: Clock signal parameters: t rise = t fall = 100 ps, duty cycle = 50%, f clk (min) = 1 GHz Output load: 50 ff Standard cell layout. Design parameters for AMS 0.35u technology are in Table.2 at the end. Standard Cell Layout rules are as follows: Width (W) and height (H) are multiple of 1.4 µm with W > 2.8 µm VDD and GND rails in MET1 layer with H m = 1.8 µm VDD rail with n+ type n-well contact. No DRC errors when cells are merged. GND rail with p+ substrate contact. No DRC errors when cells are merged. All I/O pads 0.9 x 0.9 µm 2 MET1, center point x and y offsets are multiple of 0.7 µm. All cells have an n-well are of same height. A positive edge, master-slave type D flip-flop is shown on Fig.1. Flip-flop is composed two level triggered latches, called master and slave. Basic principle is that second latch (slave) is driven by the clock signal, while the first one (master) is driven by the inverted version of the clock signal. While master latch is transparent, which occurs when clock is low, slave latch holds its value and while master latch holds its value, which occurs when clock is high, slave latch becomes transparent, thus making the flip-flop sensitive to low-to-high transition of the clock. Figure 1: Master-Slave D Flip-Flop Above figure shows a generic way to implement D Flip-Flop, since we can implement many kinds of D latches, there are many different ways of implementing D flip-flop. On the next part, we are going to investigate different topologies used to implement D flip-flop, and choose which one we are going to use in this design.

2. TOPOLOGY: Figure 2: NAND2 based D-Latch Above figure shows a basic implementation of a D-Latch, using NAND2 gates and an inverter. Similarly we can use NOR2 gates as well, to build D-Latch, as can be seen in Fig.3. Figure 3: NOR2 and AND2 based D-Latch However, it is not a wise idea to use AND or NOR gates in our design. Because, in CMOS technology there is no direct implementation of AND gate, thus actually AND gate is nothing but a NAND gate driving an inverter. Also, as can be seen in previous lab reports; propagation, rise and fall times of NOR gate is worse than NAND gate in CMOS technology, as well as NAND implementation has better device dimension ratios between NMOS and PMOS transistors. Thus, we will use NAND2 gates in our D flip-flop design. Basically we will cascade two level-sensitive NAND2 based D-Latches and drive them with clock signals which are out of phase by 180 degrees. However, there other types of building a D Flip-Flop as follows:

Figure 4: NAND3 based D Flip-Flop Fig.4 shows an implementation of D Flip-Flop using NAND2 and NAND3 gates. In transistor count, this implementation includes 5x4 (NAND2) + 1x6 (NAND3) = 26 transistors. However, this topology includes a 3 input NAND gate, which will cause extra work to design NAND3 gate. We will not choose this topology, since we previously designed NAND2 gates. Figure 5: D Flip-Flop with Inverters and Transmission Gates Transmission gates are very useful to design many sequential circuit components. Fig.5 shows the implementation of D flip-flop with inverters and transmission gates. In transistor count, this topology is very advantages with only 16 transistors used. Transmission gates also help to include asynchronous set and reset functionalities by using NAND2 or NOR2 gates instead of inverters.

However the main drawback of these topologies is that transmission gate is actually a passive component; in other words, it cannot actively drive its output. When transmission gate is on, it is simply a resistor. In CMOS technology, capacitive effect of the load dominates due to gate oxide capacitance, interconnect capacitance and drain to bulk capacitance of the output stage. Thus, the load is always considered as capacitance and since transmission gate is actually a resistor, they form an RC network. The more transmission gates are used, the more RC network is formed and it means more propagation time delays occur in our design. Because of this reason, although the topology in Fig.5 is advantages in terms of transistor count, we will not use it. Figure 6: D Flip-Flop based on NAND2 and Inverter Finally, we will use the topology shown in Fig.6, which is basically two D-Latches cascaded. Total transistor count is slightly large: 8x4 (NAND2) + 2x2 (INV2) = 36. However since only active components are used, smaller propagation delays, rise and fall times are expected. Moreover, in previous labs, we have designed CMOS NAND2 gate and inverter using standard cell layout rules. Thus, it will be very easy to draw layout view of this D flip-flop. This advantage should not be underestimated.

3. DESIGN and HAND CALCULATIONS: Since NAND2 gates and inverters are used, which we have previously designed, there is no need to make hand calculations for this D flip-flop. After simulations, if results do not meet the requirements (e.g. propagation time delay is so large that flip-flop does not work properly with 1 GHz clock frequency), then we must upgrade our NAND gates and inverters. Below Fig.7 shows the schematic view of the D flip-flop. Figure 7: Schematic View of D Flip-Flop However, there is critical point to be considered in this design to minimize time delays. Our NAND2 gates are not symmetrical! This can be seen in previous lab reports. Thus we should cleverly choose which output to tie to which input. Let us remind that propagation time delays of our NAND gate are worse when transition is triggered by the input B. Thus from now on, we will call input-a faster and input-b slower. So to reduce overall propagation time delay of the flip-flop we should choose input-output relations as follows: 1. D and D must be tied to faster input of 1 st and 2 nd NAND gates. 2. Output of 1 st and 2 nd NAND gates must be tied to faster inputs of the 3 rd and 4 th NAND gates. 3. When rising edge of the clock comes, 5 th and 6 th NAND gates should update their output as quick as possible, thus clock signal must be applied to faster inputs of the 5 th and 6 th NAND gates. 4. Similar to second argument, outputs of 5 th and 6 th gates must be tied to faster inputs of the 7 th and 8 th gates. By making these connections we reduce the overall propagation time delay as much as possible. Also we will use maximum inverters build in previous labs to make the flip flop operate as quickly as possible.

Figure 8: Layout View of D Flip-Flop Figure 9: Extracted View of D Flip-Flop Total layout area is 19.6 x 44.8 µm 2, which are both multiples of 1.4 µm. MET3 layer is used for clock distribution while MET2 layer is used for other interconnections. Fig.9 shows the layout after RC extraction. As we will observe after post-layout simulations, maximum parasitic capacitances are 27.15 ff and 22.72 ff shown in VDD and GND nets respectively.

Below Fig.10 and Fig.11 shows the details about input and output pins which are important in terms of Standard Cell Layout rules. Measurements are performed by choosing the only visible layer as PIN-M1. Figure 10: Dimensions and Placing of Input Pins Figure 11: Dimension and Placing of Output Pins

4. SCHEMATIC SIMULATION RESULTS: To make simulations for D flip-flop, we used the circuitry shown in Fig.12. As specified in introduction, output load is a 50 ff capacitor. Frequency of the clock signal is chosen as 1 GHz, with 100 ps rise and fall times and 50% duty cycle. We supplied square wave to input D with 2 ns period so as to see both high-to-low and low-to-high transition in as much small time period as possible. Figure 12: Simulation Circuitry for D Flip-Flop Figure 13: Schematic Simulation Timing Results

Fig.13. shows the schematic simulation results. Propagation time delay for high-to-low transition is 355.6 ps, for low-to-high transition it is 224.9 ps. Propagation time delays are measured from the point when clock signal comes to 50% value (1.65 V) to the point when output (Q) comes to its 50% value (1.65 V). Rise and fall times are measured between the 10% (0.33 V) and 90% (2.97 V) values of the output signal. Fall time is measured as 204.4 ps while rise time measured as 296.3 ps. Observe that τ low-to-high < τ low-to-high and t fall < t rise. As important as timing results, Fig.13 also shows the stable behavior of the D flip-flop. As can be seen, there is not a settling problem at the output of the flip-flop. Figure 14: Schematic Simulation Power Consumption Results Fig.14 shows the power consumption results of D flip flop after schematic simulations. As can be seen, power consumption values peak at the start of the transitions. While output stays constant, power consumption values are considerably low. Peak power consumption for high-to-low transition is 14.36 mw, while 13.01 mw for low-tohigh transition. Another metric to measure power consumption is rms value of the total power consumed. In our case, rms power is measured as 5.72 mw. Observe that peak powers, P low-to-high < P high-to-low

5. POST LAYOUT SIMULATION RESULTS: Same circuitry (Fig.12) is used for post-layout simulations. In post-layout simulations, RC extracted view of the layout is used to get more realistic simulation results. Figure 15: Post-Layout Simulations Timing Results After post-layout simulations propagations time delays are measured as follows: propagation high-to-low is 376.6 ps, propagation low-to-high is 233.5 ps. Fall time is measured as 205.1 ps while rise time is 303 ps. Observe that in post-layout simulation, all timing values are larger than schematic simulation. Again observe that, still τ low-to-high < τ low-to-high and t fall < t rise. Below Fig.16 shows the power consumption behavior of the D flip-flop. As you can see the behavior is quite similar with values high-to-low peak power consumption of 15 mw, low-to-high peak power consumption of 13.99 mw and rms power of 6.062 mw. Again we have, P low-to-high < P high-to-low. As you see, all power consumption values are larger in post-layout simulations.

Figure 16: Post-Layout Simulations Power Consumption Results Fig.17 on the left shows the parasitic capacitances found in the design after RC extraction. As you can see, maximum capacitances seen at any node is 27.15 ff and 22.72 ff, seen at VDD and GND nodes. Since VDD and GND nodes include huge MET1 rails, it is normal to see such large capacitance at these nodes. If you look at the parasitic capacitances seen at output nodes they are 6.243 ff for Q and 5.954 ff for QBAR output, which reasonably small parasitic values. So we can state that layout of the design is acceptable. Figure 17: Parasitic Capacitances of D Flip-Flop

6. OVERALL DISCUSSION and CONCLUSION: Below Table.1 shows the all simulation results, and includes a comparison between schematic simulations and post-layout simulations. As you can see, worst timing result is propagation delay high-to-low, 376.6 ps, which is much smaller than the clock frequency. Thus we can conclude that our design works properly at 1 GHz. (By looking at simulation results, our D Flip-Flop can even work at 2.5 GHz! 376.6 ps x 2.5 GHz = 0.9415 < 1) Schematic Simulation Post-Layout Simulation τ prop, low-to-high 224.9 ps 233.5 ps τ prop, high-to-low 355.6 ps 376.6 ps t rise 296.3 ps 303 ps t fall 204.4 ps 205.1 ps PeakPower low-to-high 13.01 mw 13.99 mw PeakPower high-to-low 14.36 mw 15 mw rms power 5.752 mw 6.062 mw Table 1: Overall Simulation Results In overall, our D Flip-Flop works properly and in very fast manner. The trade-off for this is high power consumption. For better performance, a super buffer can be added to the output of the D flip-flop to further decrease rise and fall times. If the use of MET3 layer is not possible, then other topologies should be used. VDD V T0,n V T0,p µ n C OX µ p C OX 3.3 V 0.55 V 0.62 V 160 µa/v 2 56.7 µa/v 2 Table 2: AMS 0.35u design parameters