Synchronous Digital Design Methodology and Guidelines

Slides:



Advertisements
Similar presentations
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
Advertisements

Synchronous Counters with SSI Gates
COUNTERS Counters with Inputs Kinds of Counters Asynchronous vs
Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Aug Data/Clock Synchronization Fourteen ways to fool your synchronizer Ginosar, R.; Asynchronous Circuits and Systems, Proceedings. Ninth International.
Leonardo da Vinci ALLEGRO © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Scan design techniques J. M. Martins Ferreira FEUP / DEEC - Rua.
Sequential Circuits : Part I Read Sections 5-1, 5-2, 5-3.
Ch 8. Sequential logic design practices 1. Documentation standards ▶ general requirements : signal name, logic symbol, schematic logic - state machine.
Synchronous Digital Design Methodology and Guidelines
1 Digital Design: State Machines Timing Behavior Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals.
RTL Hardware Design by P. Chu Chapter 161 Clock and Synchronization.
Assume array size is 256 (mult: 4ns, add: 2ns)
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Embedded Systems Hardware:
Embedded Systems Hardware: Storage Elements; Finite State Machines; Sequential Logic.
1 EE365 Synchronous Design Methodology Asynchronous Inputs Synchronizers and Metastability.
CS 151 Digital Systems Design Lecture 28 Timing Analysis.
CS 140L Lecture 4 Professor CK Cheng 10/22/02. 1)F-F 2)Shift register 3)Counter (Asynchronous) 4)Counter (Synchronous)
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
ASIC/FPGA design flow. FPGA Design Flow Detailed (RTL) Design Detailed (RTL) Design Ideas (Specifications) Design Ideas (Specifications) Device Programming.
August VLSI Testing and Verification Shmuel Wimer Bar Ilan University, School of Engineering.
© BYU 18 ASYNCH Page 1 ECEn 224 Handling Asynchronous Inputs.
1 CSE370, Lecture 17 Lecture 17 u Logistics n Lab 7 this week n HW6 is due Friday n Office Hours íMine: Friday 10:00-11:00 as usual íSara: Thursday 2:30-3:20.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2007.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Digital Design: Sequential Logic Blocks
Class Exercise 1B.
LATCHED, FLIP-FLOPS,AND TIMERS
Registers and Counters
Flip Flops Lecture 10 CAP
Flip-Flops and Related Devices
Sequential circuit design with metastability
Instructor: Alexander Stoytchev
Hardware Testing and Designing for Testability
Clock in Digital Systems
Sequential Logic Counters and Registers
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
Counters Next, we’ll look at different kinds of counters and discuss how to build them. These are not only examples of sequential analysis and design,
FLIP FLOPS.
Flip-Flop.
Malik Najmus Siraj Digital Logic Design Malik Najmus Siraj
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Instructor: Alexander Stoytchev
332:437 Lecture 12 Finite State Machine Design
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #21 State Elements: Circuits that Remember Hello to James Muerle in the.
LECTURE 15 – DIGITAL ELECTRONICS
Clock Domain Crossing Keon Amini.
Elec 2607 Digital Switching Circuits
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
COE 202: Digital Logic Design Sequential Circuits Part 4
Introduction to Static Timing Analysis:
STATIC TIMING ANALYSIS, CROSS TALK AND NOISE
Counters and Registers
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
CSE 370 – Winter Sequential Logic - 1
Lecture 15 Logistics Last lecture Today HW4 is due today
CSE 370 – Winter Sequential Logic-2 - 1
Counters Next, we’ll look at different kinds of counters and discuss how to build them. These are not only examples of sequential analysis and design,
ECE 352 Digital System Fundamentals
VLSI Testing Lecture 7: Delay Test
Lecture 26 Logic BIST Architectures
Lecture 19 Logistics Last lecture Today
Outline Registers Counters 5/11/2019.
Synchronous Digital Design Methodology and Guidelines
Counters Next, we’ll look at different kinds of counters and discuss how to build them. These are not only examples of sequential analysis and design,
ECE 352 Digital System Fundamentals
ECE 352 Digital System Fundamentals
Presentation transcript:

Synchronous Digital Design Methodology and Guidelines Digital System Design

Synchronous Design All flip-flops clocked by one common clock Reset only used for initialization Races and hazards are no problem

Synchronous Design Three things must be ensured by the designer: Minimize and determine clock skew Account for flip-flop setup and hold times Reliably synchronize asynchronous inputs

Timing Analysis

Clock skew

Example Determine the maximum frequency of the following circuit with and without skew

Clock Jitter

Clock Gating Clock gating is done to disable the clock for low power consumption using a clken signal It is wrong to gate the clock in the following way, instead use a synchronous load (enable) signal

Asynchronous Inputs It is impossible to guarantee setup and hold timing constraints on inputs synchronized with a clock unrelated to the system clock

Asynchronous inputs Synchronize only in one place

Metastability Metastability is a phenomenon that may occur if the setup and hold time requirements of the FF are not met, leading in the output settling in an unknown value after unspecified time.

MTBF

Reliable synchronizer design

Multi-cycle synchronizer

Example Design a synchronizer that synchronizes two inputs async1 and async2 generated with a 50 MHz clock CLK1, to a system with a 33 MHz clock CLK2 totally independent of CLK1. Draw appropriate timing diagrams.

Multi-cycle synchronizer with deskewing

Cascaded synchronizer

Example Design a digital synchronizer to capture valid data according to the following timing diagram

Solution

Synchronizing high-speed data transfers What happens when the asynchronous inputs are clocked faster than the system clock?

Case study: Ethernet receiver

Byte holding register

SCTRL circuit

Testing Basics Defect: A difference between intended design and actual hardware Error: A wrong output produced through a defect Fault: A defect in a higher abstraction level

Example

Controllability and observability Controllability: The difficulty of setting a specific signal to 0 or 1 Observability: The difficulty of reading a specific signal Electron beam testing is too expensive Must set signal through primary inputs and observe through primary outputs

Design For Testability (DFT)

Boundary scan In boundary scan, all flip-flops enter a test mode where they are controllable and observable After functional verification, normal flip-flops are replaced by scan flip-flops Only D flip-flops must be used Clocks must not be generated internally

Built-In Self-Test (BIST)