DIGITAL INTEGRATED CIRCUITS FOR COMMUNICATION احسان احمد عرساڻِي Every Wednesday: 15:00 hrs to 18:00 hrs هر اربع: شام 3 وڳي کان 6 وڳي تائين.

Slides:



Advertisements
Similar presentations
ECE555 Lecture 5 Nam Sung Kim University of Wisconsin – Madison
Advertisements

Fig Typical voltage transfer characteristic (VTC) of a logic inverter, illustrating the definition of the critical points.
Transmission Gate Based Circuits
CSET 4650 Field Programmable Logic Devices
Circuiti sequenziali1 Progettazione di circuiti e sistemi VLSI Anno Accademico Lezione Circuiti sequenziali.
Latch versus Register  Latch stores data when clock is low D Clk Q D Q Register stores data when clock rises Clk D D QQ.
EE415 VLSI Design Sequential Logic [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Sequential MOS Logic Circuits
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Designing Sequential Logic Circuits
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 16 - Sequential.
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
CP208 Digital Electronics Class Lecture 11 May 13, 2009.
Introduction to CMOS VLSI Design Lecture 1: Circuits & Layout
(Neil west - p: ). Finite-state machine (FSM) which is composed of a set of logic input feeding a block of combinational logic resulting in a set.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential Circuits IEP on Synthesis of Digital Design Sequential Circuits S. Sundar Kumar Iyer.
Chapter 09 Advanced Techniques in CMOS Logic Circuits
CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 17: Dynamic Sequential Circuits And Timing Issues [Adapted from Rabaey’s Digital Integrated Circuits,
ECE 424 – Introduction to VLSI Design Emre Yengel Department of Electrical and Communication Engineering Fall 2014.
SEQUENTIAL LOGIC Digital Integrated Circuits© Prentice Hall 1995 Introduction.
Designing Combinational Logic Circuits: Part2 Alternative Logic Forms:
Digital Integrated Circuits© Prentice Hall 1995 Sequential Logic SEQUENTIAL LOGIC.
Lecture #24 Gates to circuits
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Memory elements. n Basics of sequential machines.
Circuit Families Adopted from David Harris of Harvey Mudd College.
© Digital Integrated Circuits 2nd Sequential Circuits Cascading Dynamic Gates  Dynamic gates rely on temporary capacitive storage, while static gates.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Digital Integrated Circuits for Communication
Digital Integrated Circuits© Prentice Hall 1995 Sequential Logic SEQUENTIAL LOGIC.
CSE477 L17 Static Sequential Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 17: Static Sequential Circuits Mary Jane Irwin.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Digital Integrated Circuits A Design Perspective
MOS Transistors The gate material of Metal Oxide Semiconductor Field Effect Transistors was original made of metal hence the name. Present day devices’
EE415 VLSI Design DYNAMIC LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Chapter 7 Sequential Circuits
Chapter 07 Electronic Analysis of CMOS Logic Gates
CSE477 L17 Static Sequential Logic.1Irwin&Vijay, PSU, 2002 CSE477 VLSI Digital Circuits Fall 2002 Lecture 17: Static Sequential Circuits Mary Jane Irwin.
FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Topics n Latches and flip-flops. n RAMs and ROMs.
Ratioed Circuits Ratioed circuits use weak pull-up and stronger pull-down networks. The input capacitance is reduced and hence logical effort. Correct.
Digital Integrated Circuits© Prentice Hall 1995 Sequential Logic SEQUENTIAL LOGIC.
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
Lecture 10: Circuit Families. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 10: Circuit Families2 Outline  Pseudo-nMOS Logic  Dynamic Logic  Pass Transistor.
Digital Integrated Circuits for Communication
Sp09 CMPEN 411 L18 S.1 CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 16: Static Sequential Circuits [Adapted from Rabaey’s Digital Integrated Circuits,
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Designing Sequential Logic Circuits Ilam university.
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 A few notes for your design  Finger and multiplier in schematic design  Parametric analysis.
EKT 121 / 4 ELEKTRONIK DIGIT I
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Dynamic Logic.
1 Dynamic CMOS Chapter 9 of Textbook. 2 Dynamic CMOS  In static circuits at every point in time (except when switching) the output is connected to either.
EE141 Combinational Circuits 1 Chapter 6 (I) Designing Combinational Logic Circuits Dynamic CMOS LogicDynamic CMOS Logic V1.0 5/4/2003.
© Digital Integrated Circuits 2nd Sequential Circuits Digital Integrated Circuits A Design Perspective Designing Sequential Logic Circuits Jan M. Rabaey.
Review: Sequential Definitions
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
Digital Integrated Circuits A Design Perspective
Digital Integrated Circuits for Communication
Digital Integrated Circuits A Design Perspective
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
Flip Flops.
SEQUENTIAL LOGIC -II.
Satish Pradhan Dnyanasadhana college, Thane
Day 21: October 29, 2010 Registers Dynamic Logic
Presentation transcript:

DIGITAL INTEGRATED CIRCUITS FOR COMMUNICATION احسان احمد عرساڻِي Every Wednesday: 15:00 hrs to 18:00 hrs هر اربع: شام 3 وڳي کان 6 وڳي تائين

My Introduction منهنجو تعارف  Ahsan Ahmad Ursani  Associate Professor  Dept. of Telecommunication Engineering  Office No: TL-117  Institute of Communication Technologies   Web page:  احسان احمد عرساڻي  ايسوسيئيٽ پروفيسر  شعبو ڏور ربطيات  دفتر نمبر: TL-117  انسٽيٽيوٽ آف ڪميونيڪيشن ٽيڪنالاجيز  برق ٽپال:  ويب صفحو: edu.pk ulty.muet.edu.pk/aau/home

The Teaching Plan تدريسي رٿا S. No.ChapterHours 1Dynamc Combinational CMOS Logic10 2Designing Sequential Logic17 3Designing Memory and Array Structures21 Total48 Pre-Requisite:IC Design

The Textbook نصابي ڪتاب Digital Integrated Circuits A Design Perspective Jan M. Rabaey Chapter 6, 7, & 12

Chapter 2 باب پهريون S. No.TopicHours 1Introduction1 2Static Latches and Registers1 3Dynamic Latches and Registers1 4Alternative Register Styles1 5Pipelining: An approach to optimize sequential1 6Speed and Power Dissipation1 7Non-Bistable Sequential Circuits1 8Perspective: Choosing a Clocking Strategy Total10

Introduction

Timing Metrics for Sequential Circuits  Set-Up time t su  Time before clock transition  Hold time t hold  Time After clock transition  worst-case propagation delay tc-q  minimum delay (contamination delay) t cd  Propagation Delay of combinational logic t plogic  Time period of the Clock signal T

Timing Metrics for Sequential Circuits

Classification of Memory Elements  Foreground Memory  embedded into logic  organized as individual registers of register banks  Background Memory  Large amounts of centralized memory core  Not the subject of this chapter

Two types of memory  Not refreshed frequently  Circuits with Positive feedback  Multivibrators  Refreshed frequently  In order of miliseconds  Store state of parasitic capacitances of MOS  Higher performance  Lower Power Dissipation StaticDynamic

Latch  Level-sensitive circuit  Passes input D to the Output Q  Output does not change in the HOLD MODE  Input just before the going into HOLD phase is held stable during the following HOLD phase  An essential component of Edge-triggered Register

The +ve and the –ve Latches

A Bistable Circuit  Basic Part of a memory  Having two stable states  Use +ve feedback

The Bistability Principle

Metastability loop gain is greater than unity loop gain is much smaller than unity

Transition from one state to the other  This is generally done by applying a trigger pulse at Vi1 or Vi2  The width of the trigger pulse need be only a little larger than the total propagation delay around the circuit loop, which is twice the average propagation delay of the inverters

SR Flip Flop

SR Flip-Flop Using NAND Gates Using NOR Gates

CMOS clocked SR flip-flop  Fully fully-complimentary CMOS implementation of SR flip Flop requires 8 transistors  Clocked operation will require extra transistors  Two Crossed Coupled Inverters  4 extra transistors for R, S, and CLK inputs

CMOS clocked SR flip-flop  M4, M7, and M8 forms a ratioed Inverter  Q is high and R is applied  we must succeed in bringing Q below the switching threshold of the inverter M1-M2  Must increase the size of M5, M6, M7, and M8

Example 7.1: Transistor Sizing of Clocked SR Latch  (W/L) M1 = (W/L) M3 = 0.5mm/0.25mm  (W/L) M2 =(W/L) M4 =1.5mm/0.25mm  V M = V DD /2  Q = 0  V OL (Q=0) < V M  (W/L) M5-6 ≥ 2.26  (W/L) M5 = (W/L) M6 ≥ 4.5

DC output voltage vs. individual pulldown device Transient Response

Example 7.2: Propagation Delay of Static SR Flip-Flop

Problem 7.2 Complimentary CMOS SR FF  Instead of using the modified SR FF of Figure 7.8, it is also possible to use complementary logic to implement the clocked SR FF. Derive the transistor schematic (which consists of 12 transistors). This circuit is more complex, but switches faster and consumes less switching power. Explain why.

Multiplexer-Based Latches

 The feedback loop is off while output is changing  Feedback is not to be overridden to change the output  Transistor sizing is not critical to fuctionality  Clock load is 4 AdvantagesDisadvantages

NMOS latch using Pass Transistors  Clock load = 2  Degraded logic 1 passed to the first inverter (V DD -V TN )  For smaller values of V DD Less noise margin Less switching performance Static Power Dissipation

Master Slave Edge-triggered Register: Positive edge-triggered

Problem 7.3: Optimization of the Master Slave Register  I 1 and I 2 can be removed  Functionality affected ?

Timing properties of Multiplexer-based Master-Slave Register  Set-up time  Hold time  Propagation Delay  Propagation Delay of Inverter (t pd_inv )  Propagation Delay of Transmision Gate (t pd_tx )  t su = 3 t pd_inv + t pd_tx  t c-q = t pd_tx (T 3 ) + t pd_inv (I 6 )  t hold = 0

Master Slave Edge-triggered Register: Negative Edge-trggerred  Draw a circuit based on transmission gate multiplexers

Set-up time simulation in SPICE  Progressively skew the input with respect to the clock edge until the circuit fails

Set-up time simulation Tsetup = 0.21 nsecTsetup = 0.20 nsec

Simulation of propagation delay  Tc-q = t pd_tx (T 3 ) + t pd_inv (I 6 )   T c-q(LH) = 160 ps  T c-q(HL) = 180 ps

Reduced Clock Load  Feedback transmission gates removed  Clock load = 4  Ratioed Logic  T 1 should be properly sized so as to be able to change the I 1 I 2 state

Reverse Conduction  T 2 can also drive T 1  I 4 must be a weak device to prevent it from driving T 2

Non Ideal Clock Signals  Assumption that clock inversion takes ZERO time  Effects of Capacitive loads dissimilar capacitive loads due to different data stored in the connecting latches  Different routing conditions of the two signals  Clock Skew

Problems due to Clock Skew  Direct Path B/W D and Q  Race Condition  Can conduct on +ve edge of clock

Solution to Clock Skew: Pseudostatic 2-phase D register  Two phase Clock signal  2 non-overlaping phases

Dynamic Transmission Gate Edge triggered Register  t su = t pinv  t cq = 2t pinv + t ptgate  Needs Refereshing  Clock Overlap can cause the problem called Race  1-1 Overlap  Increasing hold time  0-0 Overlap  T overlap0-0 < t T1 + t I1 + t T2  Input Signal D must not be able to propagate through T 2 During 0-0 o overlap

C 2 MOS – Clocked CMOS A Clock Skew Insensitive Approach  Positive Edge Triggered Master –Slave Register  Clocked CMOS  CLK=0; Master samples the inverted version of D on X  CLK=1; Master is in the HOLD mode and Slave passes the value on X to Q

0 – 0 Overlap

1 – 1 Overlap

C 2 MOS – Clock Overlap  0 – 0 overlap does not create any problem  1 – 1 overlap puts a HOLD constraint

Dual Edge Registers  It consists of two parallel masterslave based edge-triggered registers, whose outputs are multiplexed using the tri-state drivers  The advantage of this scheme is that a lower frequency clock (half of the original rate) is distributed for the same functional throughput, resulting in power savings in the clock distribution network

True Single-Phase Clocked Register (TSPCR) Positive LatchNegative Latch

Embedded logic

Example 7.4 Impact of embedding logic into latches on performance  Consider embedding an AND gate into the TSPC latch, as shown in Figure 7.31b. In a 0.25  mm, the set-up time of such a circuit using minimum- size devices is 140 psec. A conventional  approach, composed of an AND gate followed by a positive latch has an effective set-up time  of 600 psec (we treat the AND plus latch as a black box that performs both functions). The  embedded logic approach hence results in significant performance improvements.

Simplified TSPC latch / Split Output

Simplified TSPC Register  Reduced Implementaiton Area  Less Power Consumption  Reduced Clock Load  All nodes do not experience full logic swing  Reduced Performance  This also limits the amount of VDD scaling possible on the latch ADVANTAGESDISADVANTAGES

Single-phase edge-triggered register  CLK = 0  Sampling inverted D on node X.  The second inverter is in the precharge mode  M6 charging up node Y to VDD.  3 rd inverter is in HOLD, M8 and M9 are off.

Positive Edge Triggered Single-phase edge-triggered register  On the rising edge of the clock, the dynamic inverter M4-M6 evaluates. If X is high on the rising edge, node Y discharges.  The third inverter M7- M8 is ON during the high phase, and the node value on Y is passed to the output Q.

Positive Edge Triggered Single-phase edge-triggered register  On the +ve phase of the clock, X transitions to a low if D transitions to a high level.  Input must be kept stable till the value on node X before the rising edge of the clock propagates to Y. This represents the hold time of the register  hold time less than 1 inverter delay since it takes 1 delay for the input to affect X.  The propagation delay of the register is 3 inverters since the value on node X must propagate to the output Q.  Finally, the set-up time is the time for node X to be valid, which is 1 inverter delay.

TSPC Edge-Triggered Register Transistor Sizing  D is low & X=Q~=1; Q=0.  CLK is low, Y is precharged high turning on M7.  CLK transitions from low to high, Y and Q~ start dis- charging simultaneously (through M4-M5 & M7-M8, respectively).  Once Y is sufficiently low, the trend on Q~ is reversed and the node is pulled high anew through M9.

Effects of Glitch and Solution  fatal errors, as it may create unwanted events  when the output of the latch is used as a clock signal input to another register). It  reduces the contamination delay of the register.  The problem can be corrected by resizing the relative strengths of the pull-down paths through M4-M5 and M7-M8, so that Y discharges much faster than Q.  This is accomplished by reducing the strength of the M7-M8 pulldown path, and by speeding up the M4 - M5 pulldown path.

TSPC Edge-Triggered Register Transistor Sizing