Lab 3 : CMOS Sequential Logic Gates

Similar documents
Lab 3 : CMOS Sequential Logic Gates

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

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

Memory, Latches, & Registers

SEQUENTIAL CIRCUITS SEQUENTIAL CIRCUITS

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

MUX AND FLIPFLOPS/LATCHES

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

Project 6: Latches and flip-flops

Sequential Circuit Design: Part 1

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

Sequential Circuit Design: Part 1

Introduction to Digital Logic Missouri S&T University CPE 2210 Flip-Flops

ECE321 Electronics I

CPE/EE 427, CPE 527 VLSI Design I Sequential Circuits. Sequencing

Engr354: Digital Logic Circuits

Chapter 11 Latches and Flip-Flops

Lecture 21: Sequential Circuits. Review: Timing Definitions

Digital Fundamentals

Lecture 11: Sequential Circuit Design

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

Chapter 5 Sequential Systems. Introduction

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

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

Chapter 7 Sequential Circuits

Topic 8. Sequential Circuits 1

CHAPTER 11 LATCHES AND FLIP-FLOPS

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Combinational vs Sequential

12/31/2010. Overview. 12-Latches and Flip Flops Text: Unit 11. Sequential Circuits. Sequential Circuits. Feedback. Feedback

CMOS Latches and Flip-Flops

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

Lecture 1: Intro to CMOS Circuits

CPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH

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

Digital Circuits ECS 371

Computer Organization

successive approximation register (SAR) Q digital estimate

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

Fundamentals of Computer Systems

11. Sequential Elements

Chapter 6. sequential logic design. This is the beginning of the second part of this course, sequential logic.

LOW POWER AND HIGH PERFORMANCE SHIFT REGISTERS USING PULSED LATCH TECHNIQUE

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

Lecture 10: Sequential Circuits

ELE2120 Digital Circuits and Systems. Tutorial Note 7

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

CS8803: Advanced Digital Design for Embedded Hardware

Clocking Spring /18/05

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

EECS150 - Digital Design Lecture 3 - Timing

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

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

WINTER 15 EXAMINATION Model Answer

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Hardware Design I Chap. 5 Memory elements

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

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

NAME SYMBOL CHARACTERISTIC TABLE EXCITATION TABLE. S R Q(next) 0 0 Q. (hold) (reset) (set) 1 1? (undefined) J K Q(next) (hold) (reset) (set) 1 1 Q'

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

! Two inverters form a static memory cell " Will hold value as long as it has power applied

Sequential Logic. Sequential Circuits. ! Timing Methodologies " Cascading flip-flops for proper operation " Clock skew

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

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

UNIT 11 LATCHES AND FLIP-FLOPS

Lecture 1: Circuits & Layout

1. (1pts) What is the Hamming distance between these two bit patterns: and ?

Keeping The Clock Pure. Making The Impurities Digestible

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Notes on Digital Circuits

2 The Essentials of Binary Arithmetic

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

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Digital Integrated Circuits EECS 312

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Fundamentals of Computer Systems

PGT104 Digital Electronics. PGT104 Digital Electronics

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

LATCHES & FLIP-FLOP. Chapter 7

CprE 281: Digital Logic

Digital Integrated Circuits EECS 312. Review. Combinational vs. sequential logic. Sequential logic. Introduction to sequential elements

Notes on Digital Circuits

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

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

D Latch (Transparent Latch)

EECS150 - Digital Design Lecture 3 - Timing

EECS 270 Final Exam Spring 2012

CSE140: Components and Design Techniques for Digital Systems. More D-Flip-Flops. Tajana Simunic Rosing. Sources: TSR, Katz, Boriello & Vahid

Chapter 3 Unit Combinational

Review of Sequential Logic Circuits

Logic Design. Flip Flops, Registers and Counters

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Chapter 5 Flip-Flops and Related Devices

Clock Generator 82C84A

CprE 281: Digital Logic

Digital Circuits I and II Nov. 17, 1999

2.6 Reset Design Strategy

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

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

EECS150 - Digital Design Lecture 2 - CMOS

Transcription:

CARLETON UNIERSITY epartment of Electronics ELEC-3500 igital Electronics September 30, 2005 Lab 3 : CMOS Seuential Logic Gates esign an Specification of Seuential Logic Gates an Librar Cell igital esigns are compose of combinational logic (gates like last week s IN, NAN an NOR) an seuential elements which contain memor (Flip-Flops an latches). Be warne, o NOT use latches in real life. The ONLY exception is in the lab below where ou buil a flip-flop out of two latches for eucational purposes. In this lab ou will first buil a MUX, then use it to make a latch an then use the latch to create a flip-flop. The seuence of circuits ou will buil are: a) The MUX, both analog an igital. b) The latch built from a MUX c) The master-slave flip-flop, mae from latches.. The Mux The MUX switches an output between two inputs as ictate b a control signal. Here: if(= =) =; else =; Transmission-Gate MUX. Buil a MUX out of two of the transmission gates an an inverter. You will nee to put voltmeters at an. Signal Inputs Set the input waveform = 2, an = 0.5. This allows to be seen to change when the MUX switches from to. Ctrl Ctrl MUX G FIGURE 2. FIGURE 2.2 +2.5 +2.5 0.5pF 0.5 Q. Finish builing the TXGATE MUX as shown in FIGURE 2 from the provie circuits. Plot the output waveforms showing the an signals. Explain what is happening when the is high an when the is low. /home/gallan/courses/350/350_04_ta_fromraghi/lab3f5.fm IGITAL ELECTRONICS J.Knight, /3/94, moifie b

Carleton Universit 97.350, Lab 3 : CMOS Seuential Logic Gates, Testing the MUX etermine the propagation ela between the time the rises an the switche output appears at. This is calle t CHY (time from Control High to Y ali). Most of these propagation elas are measure between 50% points. Make the rise an fall times fast enough (uner ns). Otherwise ou will be reporting that t CHY is proportional to the input rise/fall time. The Spice pulse generator can be set from its attributes as shown in FIGURE 2.3. t RISE t ELAY FIGURE 2.3 t CHY t FALL t PULWITH t PERIO Q2. Recor t CHY an the similar signal t CLY (Control Low Y ali). 2. The -latch Convert the MUX to a -Latch. FIGURE 2.5b will work for a MUX constructe of gates but not transmission gates. The conservation of energ has everthing to o with this. A gate has gain. Q3. A components to our latch work to make it work with transmission gates. FIGURE 2.4 MUX mae from gates In orer to check the setup time of the latch one must change an clk at the same time. Use two suare-wave generators, has a perio about 0.25 ns faster than but with [(/2 perio) + 2ns] larger initial ela (TELAY). This will allow the an clk input eges to slie past each other. FIGURE 2.5 FIGURE 2.5b latch from a MUX MUX G 20K T L T L T L T L Testing The Latch Make sure our latch functions as a transparent latch. If the output ecas with time, ou are just looking at the storage on a charge capacitor. This is not a static latch! It will forget if the clock is slow. The 0K loa resistor was use to be sure the output eca woul be fast enough to see easil Q4. Sketch our circuit an the part of our test waveform that proves the latch functions as a transparent latch. FIGURE 2.6 C LATCH 0K. The emonstration Pspice is limite to 0 transistors. You will have to use the inverter mae without transistors or use the full Pspice simulator. Electronic Engineering September 30, 2005 page 2, of 5

Carleton Universit 97.350, Lab 3 : CMOS Seuential Logic Gates, The Setup Time If the input changes too close to the ege the input will not be capture as. However if the input is stable at least a setup time before the ege, the at stable value will be capture. Q5. Measure the setup time using our sliing waveforms. You ma want to exten the time of the simulation. Show a plot of where ou measure the setup time. Setup time approximate Note was capture as FIGURE 2.7 The smbol for a transmission gate is or Your latch shoul be as shown in FIGURE 2.8 or FIG- URE 2.9. A a 0.5pf capacitive loa to an see if that effects the setup time. Q6. Measure the new setup time. Comment on wh an output loa woul change the setup time which woul appear to be associate onl with the input. Commercial latches a an extra inverter as a buffer amplifier to keep the loa from influencing the setup time. Q The Hol Time Q The hol time is the length of time the signal must be stable after the clock changes FIGURE 2.9 to be sure of capturing the correct value. Goo latches have zero or even a negative hol time. The same sliing waveforms use to measure the setup time can also measure the hol time. Q7. Measure the hol time. FIGURE 2.0 testing for zero hol time 3. The Flip-Flop The master-slave flip-flop is mae b connecting two latches in series. The two are transparent on opposite clock eges. X FIGURE 2.8 20K Longer hol time neee Zero hol time Less than zero hol time STORE Q M STORE Q S Q MASTER SECTION FIGURE 2. SLAE SECTION /home/gallan/courses/350/350_04_ta_fromraghi/lab3f5.fmseptember 30, 2005 page 3, of 5

Carleton Universit 97.350, Lab 3 : CMOS Seuential Logic Gates, When the master is high it hols the output an the transparent slave lets it through. When the master goes transparent, the slave hols the previous output so it oes not change. CLOCK LOW CLOCK HIGH FIGURE 2.2 HOL HOL esign esign a flip-flop an implement a moel in Spice. Use the moel to etermine the following specifications: (i) the setup time, (ii) the hol time, (iii) the clock to output time t CHQ, eliverables: - Fill out a cover sheet. - emo our work to a TA. - Answer all uestions. Electronic Engineering September 30, 2005 page 4, of 5

Carleton Universit 97.350, Lab 3 : CMOS Seuential Logic Gates, /home/gallan/courses/350/350_04_ta_fromraghi/lab3f5.fmseptember 30, 2005 page 5, of 5