Topics. Flip-flop-based sequential machines. Signals in flip-flop system. Flip-flop rules. Latch-based machines. Two-sided latch constraint



Similar documents
Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology

Sequential Circuit Design

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

Lecture 7: Clocking of VLSI Systems

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Lecture 11: Sequential Circuit Design

Lecture 10: Sequential Circuits

Timing Methodologies (cont d) Registers. Typical timing specifications. Synchronous System Model. Short Paths. System Clock Frequency

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

Two-Phase Clocking Scheme for Low-Power and High- Speed VLSI

Engr354: Digital Logic Circuits

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

EE552. Advanced Logic Design and Switching Theory. Metastability. Ashirwad Bahukhandi. (Ashirwad Bahukhandi)

Design: a mod-8 Counter

路 論 Chapter 15 System-Level Physical Design

Lesson 12 Sequential Circuits: Flip-Flops

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

VHDL GUIDELINES FOR SYNTHESIS

CSE140: Components and Design Techniques for Digital Systems

Sequential Logic: Clocks, Registers, etc.

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Weste07r4.fm Page 183 Monday, January 5, :39 AM. 7.1 Introduction

CHAPTER 11 LATCHES AND FLIP-FLOPS

Lecture-3 MEMORY: Development of Memory:

Clocking. Figure by MIT OCW Spring /18/05 L06 Clocks 1

Sequential Logic Design Principles.Latches and Flip-Flops

Flip-Flops, Registers, Counters, and a Simple Processor

Hunting Asynchronous CDC Violations in the Wild

Finite State Machine. RTL Hardware Design by P. Chu. Chapter 10 1

Admin. ECE 550: Fundamentals of Computer Systems and Engineering. Last time. VHDL: Behavioral vs Structural. Memory Elements

Set-Reset (SR) Latch

RETRIEVING DATA FROM THE DDC112

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 16 Timing and Clock Issues

A New Paradigm for Synchronous State Machine Design in Verilog

Memory Elements. Combinational logic cannot remember

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Sequential 4-bit Adder Design Report

Understanding Verilog Blocking and Non-blocking Assignments

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Lecture 8: Synchronous Digital Systems

Lecture 10: Latch and Flip-Flop Design. Outline

if-then else : 2-1 mux mux: process (A, B, Select) begin if (select= 1 ) then Z <= A; else Z <= B; end if; end process;

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

CLOCK DOMAIN CROSSING CLOSING THE LOOP ON CLOCK DOMAIN FUNCTIONAL IMPLEMENTATION PROBLEMS

A Survey on Sequential Elements for Low Power Clocking System

Lecture 10 Sequential Circuit Design Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Low Power AMD Athlon 64 and AMD Opteron Processors

White Paper Understanding Metastability in FPGAs

Chapter 9 Latches, Flip-Flops, and Timers

Chapter 2 Clocks and Resets

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

2.1 CAN Bit Structure The Nominal Bit Rate of the network is uniform throughout the network and is given by:

DIGITAL SYSTEM CLOCKING. High-Performance and Low-Power Aspects

ENEE 244 (01**). Spring Homework 5. Due back in class on Friday, April 28.

Combinational Logic Design Process

ECE380 Digital Logic

Advanced Logic Design Techniques in Asynchronous Sequential Circuit Synthesis

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Phase-Locked Loop Based Clock Generators

Wiki Lab Book. This week is practice for wiki usage during the project.

CNC FOR EDM MACHINE TOOL HARDWARE STRUCTURE. Ioan Lemeni

ECE 3401 Lecture 7. Concurrent Statements & Sequential Statements (Process)

Multiple clock domains

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

CS311 Lecture: Sequential Circuits

Digital Logic Design Sequential circuits

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

ECE124 Digital Circuits and Systems Page 1

(Refer Slide Time: 00:01:16 min)

TIMBER: Time borrowing and error relaying for online timing error resilience

Register File, Finite State Machines & Hardware Control Language

Programmable Logic Design Grzegorz Budzyń Lecture. 10: FPGA clocking schemes

Instruction scheduling

DDR subsystem: Enhancing System Reliability and Yield

RTL Low Power Techniques for System-On-Chip Designs

Module 3: Floyd, Digital Fundamental

Systolic Computing. Fundamentals

Demystifying Data-Driven and Pausible Clocking Schemes

Minimizing the Eect of Clock Skew. Via Circuit Retiming 1. Technical Report May, 1992

DS2187 Receive Line Interface

Counters are sequential circuits which "count" through a specific state sequence.

Asynchronous counters, except for the first block, work independently from a system clock.

CHAPTER 3 Boolean Algebra and Digital Logic

Systems Analysis and Design

Design Verification & Testing Design for Testability and Scan

Distributed Elastic Switch Architecture for efficient Networks-on-FPGAs

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Alpha CPU and Clock Design Evolution

Transcription:

Topics Flip-flop-based sequential machines! Clocking disciplines. Flip-flop rules! Primary inputs change after clock (φ) edge.! Primary inputs must stabilize before next clock edge.! Rules allow changes to propagate through for next cycle.! Flip-flop outputs hold current-state values for next-state computation. Signals in flip-flop system positive clock edge Latch-based machines! Latches do not cut when clock is active.! Latch-based machines must use multiple ranks of latches.! Multiple ranks require multiple phases of clock. Two-sided latch constraint! Latch must be open less than the shortest delay.! Period between latching operations must be longer than the longest delay.! Note: difference between shortest and longest delay may be large (sum 0 vs. sum 31 ).

Latch shoot-through Latch may allow data to shoot through: Strict two-phase clocking discipline! Strict two-phase discipline is conservative but works.! Can be relaxed later with proper knowledge of constraints.! Strict two-phase machine makes latch-based machine behave more like flip-flop design, but requires multiple phases. Strict two-phase architecture Two-phase clock Phases must not overlap: non-overlap region Why it works! Each phase has a one-sided constraint: phase must be long enough for all delays.! If there are no loops, phases can always be stretched to make that section of the machine work.! Total clock period depends on sum of phase periods. Clocking types! Logic on different phases operate at different times can t mix signals from different phases.! Primary inputs must obey the same rules as internal signals.! Clocking types are bookkeeping that help us ensure that machine structure is valid.

Stable signals! A signal is always stable during one phase phase in which the latch which produced it is not active.! Easiest to think of machine behavior in terms of stable signals, though signals propagate while not stable. Signal types! Clocks are separate type: φ 1,.! Two types of stable data signal:! stable φ 1 ( )! stable ( )! A stable signal has a complementary valid signal:! stable ( ) = valid φ 1 (v φ 1 ) Stable data signal How clocking types combine inactive clock stable becomes valid at end of φ 1 stable until latch feeding this goes active Clocking types in the two-phase machine Clocking type propagation I 1 ( ) φ 1 O 1 ( ) O 2 ( ) I 2 ( )! Combinational does not change type of signal.! Primary inputs must be compatible.! Latches change signals from one clock type to another.! In strict system, never mix clocks with data signals in.

Two-coloring Example: shift register I 1 ( )! Want to displace bit by n registers in n cycles.! Each register requires two phases: φ 1 O 1 ( ) I 2 ( ) O 2 ( ) Shift register layout Forms a linear array: Shift register operation V in out φ 1 = 1, = 0 V SS c1(latch) c2(latch) c3(latch) c4(latch) φ 1 φ 1 φ 1 φ 1 φ 1 = 0, = 1 Non-strict disciplines! Some relaxation of the rules can be useful:! reduce area;! increase performance.! Rules must be relaxed in a way that ensures the machine will still work. ualified clocks! Use to generate a clock signal which is not always active.! ualification must not introduce glitches into the clock glitches violate the fundamental definition of a clock by introducing extra edges.! Use stable signals to qualify clocks.

Uses of qualified clocks Recirculating latch! May want to conditionally load a register.! May qualify a clock to turn off machine for low-power operation.! Latch must be not lose its value during inactive period. qφ 1! ifficult to ensure that value will come high in time use quasi-static latch. ualified clocks and skew ualification skew example! Logic in the clocking path introduces delay.! elay can cause clock to arrive at latches at different times, violating clocking assumptions.! When designing qualification :! minimize and check skew;! sharpen clock edge.