Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics High-level synthesis. Architectures for low power. GALS design.

Slides:



Advertisements
Similar presentations
Topics Electrical properties of static combinational gates:
Advertisements

Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n State assignment. n Power optimization of sequential machines. n Design validation.
Digital Logic Circuits (Part 2) Computer Architecture Computer Architecture.
The 8085 Microprocessor Architecture
Introduction to Data Flow Graphs and their Scheduling Sources: Gang Quan.
Modern VLSI Design 2e: Chapter 8 Copyright  1998 Prentice Hall PTR Topics n High-level synthesis. n Architectures for low power. n Testability and architecture.
High Performance Embedded Computing © 2007 Elsevier Chapter 7, part 1: Hardware/Software Co-Design High Performance Embedded Computing Wayne Wolf.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Register-transfer Design n Basics of register-transfer design: –data paths and controllers.
Modern VLSI Design 3e: Chapter 10 Copyright  2002 Prentice Hall Adapted by Yunsi Fei ECE 300 Advanced VLSI Design Fall 2006 Lecture 24: CAD Systems &
Introduction to CMOS VLSI Design Lecture 19: Design for Skew David Harris Harvey Mudd College Spring 2004.
Clock Design Adopted from David Harris of Harvey Mudd College.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n Sequential machine implementation: –clocking. n Sequential machine design.
Modern VLSI Design 2e: Chapter4 Copyright  1998 Prentice Hall PTR.
Courseware High-Level Synthesis an introduction Prof. Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
1 EECS Components and Design Techniques for Digital Systems Lec 21 – RTL Design Optimization 11/16/2004 David Culler Electrical Engineering and Computer.
VHDL Coding Exercise 4: FIR Filter. Where to start? AlgorithmArchitecture RTL- Block diagram VHDL-Code Designspace Exploration Feedback Optimization.
Modern VLSI Design 2e: Chapter 5 Copyright  1998 Prentice Hall PTR Topics n State assignment. n Power optimization of sequential machines. n Design validation.
ICS 252 Introduction to Computer Design
George Mason University ECE 448 – FPGA and ASIC Design with VHDL Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts,
Introduction to Data Flow Graphs and their Scheduling Sources: Gang Quan.
FPGA-Based System Design: Chapter 5 Copyright  2004 Prentice Hall PTR Topics n Basics of sequential machines. n Sequential machine specification. n Sequential.
Modern VLSI Design 4e: Chapter 4 Copyright  2008 Wayne Wolf Topics n Interconnect design. n Crosstalk. n Power optimization.
Logic Synthesis for Low Power(CHAPTER 6) 6.1 Introduction 6.2 Power Estimation Techniques 6.3 Power Minimization Techniques 6.4 Summary.
Sub-expression elimination Logic expressions: –Performed by logic optimization. –Kernel-based methods. Arithmetic expressions: –Search isomorphic patterns.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics Testability and architecture. Design methodologies. Multiprocessor system-on-chip.
Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Topics n Sequential machine (§5.2, §5.3) n FSM construction.
Section 10: Advanced Topics 1 M. Balakrishnan Dept. of Comp. Sci. & Engg. I.I.T. Delhi.
ECE Advanced Digital Systems Design Lecture 12 – Timing Analysis Capt Michael Tanner Room 2F46A HQ U.S. Air Force Academy I n t e g r i.
Modern VLSI Design 3e: Chapter 4 Copyright  1998, 2002 Prentice Hall PTR Topics n Combinational network delay. n Logic optimization.
Modern VLSI Design 3e: Chapter 3 Copyright  1998, 2002 Prentice Hall PTR Topics n Pseudo-nMOS gates. n DCVS gates. n Domino gates.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics Basics of register-transfer design: –data paths and controllers; –ASM charts. Pipelining.
Modern VLSI Design 4e: Chapter 3 Copyright  2008 Wayne Wolf Topics n Pseudo-nMOS gates. n DCVS logic. n Domino gates. n Design-for-yield. n Gates as IP.
Topics Design methodologies. Kitchen timer example.
Computer Organization & Programming Chapter 5 Synchronous Components.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics VHDL register-transfer modeling: –basics using traffic light controller; –synthesis.
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Sequential machine implementation: –clocking. n Sequential machine design.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics Modeling with hardware description languages (HDLs).
Modern VLSI Design 3e: Chapter 8 Copyright  1998, 2002 Prentice Hall PTR Topics n Modeling with hardware description languages (HDLs).
Modern VLSI Design 3e: Chapter 7 Copyright  1998, 2002 Prentice Hall PTR Topics n Power/ground routing. n Clock routing. n Floorplanning tips. n Off-chip.
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
L12 : Lower Power High Level Synthesis(3) 성균관대학교 조 준 동 교수
Courtesy RK Brayton (UCB) and A Kuehlmann (Cadence) 1 Logic Synthesis Multi-Level Logic Synthesis.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Introduction to ASIC flow and Verilog HDL
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Modern VLSI Design 4e: Chapter 4 Copyright  2008 Wayne Wolf Topics n Combinational network delay. n Logic optimization.
Modern VLSI Design 3e: Chapter 8 Copyright  1998, 2002 Prentice Hall PTR Topics n Basics of register-transfer design: –data paths and controllers; –ASM.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Topics n Low power design. n Pipelining.
Clocking System Design
Sept. 2005EE37E Adv. Digital Electronics Lesson 4 Synchronous Design Architectures: Control Unit Design (part three)
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
High Performance Embedded Computing © 2007 Elsevier Lecture 4: Models of Computation Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte.
VADA Lab.SungKyunKwan Univ. 1 L5:Lower Power Architecture Design 성균관대학교 조 준 동 교수
RTL Hardware Design by P. Chu Chapter 9 – ECE420 (CSUN) Mirzaei 1 Sequential Circuit Design: Practice Shahnam Mirzaei, PhD Spring 2016 California State.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Chapter #6: Sequential Logic Design
B e h a v i o r a l to R T L Coding
The 8085 Microprocessor Architecture
Topics Performance analysis..
Lesson 4 Synchronous Design Architectures: Data Path and High-level Synthesis (part two) Sept EE37E Adv. Digital Electronics.
CSE 370 – Winter Sequential Logic - 1
HIGH LEVEL SYNTHESIS.
The 8085 Microprocessor Architecture
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL code ECE 448 – FPGA and ASIC Design.
Presentation transcript:

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics High-level synthesis. Architectures for low power. GALS design.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf High-level synthesis Sequential operation is not the most abstract description of behavior. We can describe behavior without assigning operations to particular clock cycles. High-level synthesis (behavioral synthesis) transforms an unscheduled behavior into a register-transfer behavior.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Tasks in high-level synthesis Scheduling: determines clock cycle on which each operation will occur. Binding (allocation): chooses which function units will execute which operations.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Functional modeling code in VHDL o1 <= i1 or i2; if i3 = ‘0’ then o1 <= ‘1; o2 <= a + b; else o1 <= ‘0’; end if; clock cycle boundary can be moved to design different register transfers

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Data dependencies Data dependencies describe relationships between operations: –x <= a + b ; value of x depends on a, b High-level synthesis must preserve data dependencies.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Data flow graph Data flow graph (DFG) models data dependencies. Does not require that operations be performed in a particular order. Models operations in a basic block of a functional model—no conditionals. Requires single-assignment form.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Data flow graph construction original code: x <= a + b; y <= a * c; z <= x + d; x <= y - d; x <= x + c; single-assignment form: x1 <= a + b; y <= a * c; z <= x1 + d; x2 <= y - d; x3 <= x2 + c;

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Data flow graph construction, cont’d Data flow forms directed acyclic graph (DAG):

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Goals of scheduling and allocation Preserve behavior—at end of execution, should have received all outputs, be in proper state (ignoring exact times of events). Utilize hardware efficiently. Obtain acceptable performance.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Data flow to data path-controller One feasible schedule for last DFG:

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Binding values to registers registers fall on clock cycle boundaries

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Choosing function units muxes allow function units to be shared for several operations

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Building the sequencer sequencer requires three states, even with no conditionals

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Choices during high-level synthesis Scheduling determines number of clock cycles required; binding determines area, cycle time. Area tradeoffs must consider shared function units vs. multiplexers, control. Delay tradeoffs must consider cycle time vs. number of cycles.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Finding schedules Two simple schedules: –As-soon-as-possible (ASAP) schedule puts every operation as early in time as possible. –As-late-as-possible (ALAP) schedule puts every operation as late in schedule as possible. Many schedules exist between ALAP and ASAP extremes.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf ASAP and ALAP schedules ASAP ALAP

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Critical path of schedule Longest path through data flow determines minimum schedule length:

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Operator chaining May execute several operations in sequence in one cycle—operator chaining. Delay through function units may not be additive, such as through several adders.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Control implementation Clock cycles are also known as control steps. Longer schedule means more states in controller. Cost of controller may be hard to judge from casual inspection of state transition graph.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Controllers and scheduling functional model: x <= a + b; y <= c + d; one state two states

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Distributed control one centralized controller two distributed controllers

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Synchronized communication between FSMs To pass values between two machines, must schedule output of one machine to coincide with input expected by the other:

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Hardwired vs. microcoded control Hardwired control has a state register and “random logic.” A microcoded machine has a state register which points into a microcode memory. Styles are equivalent; choice depends on implementation considerations.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Data path-controller delay Watch out for long delay paths created by combination of data path and controller:

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Architectures for low power Power controller examines system state, controls subsystems.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Power-down modes CMOS doesn’t consume power when not transitioning. Many systems can incorporate power-down modes: –condition the clock on power-down mode; –add state to control for power-down mode; –modify the control logic to ensure that power- down/power-up don’t corrupt control state.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Gate power control Some gate types have low power modes. –Sleep transistor. Can also change substrate voltage in a region.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Data latching Store data in registers to avoid glitching in combinational logic. Use conditional clocks on existing latches to hold data when not in use. Avoid improper use of dynamic storage.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Clock gating Clock gating can cause clocked logic to freeze state. Must make sure that logic operates properly when frozen, when turned back on. Must carefully design clock network with gating to avoid skew, etc.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Architecture-driven voltage scaling Add extra logic to increase parallelism so that system can run at lower rate. Power improvement for n parallel units over Vref: –P n (n) = [1 + C i (n)/nC ref + C x (n)/C ref ](V/V ref )

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Architecture-driven voltage scaling before after

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Dynamic voltage and frequency scaling Technique for microprocessors: –Control power supply voltage and clock. –Clock frequency must be in legal range for power supply voltage setting. Relies on dynamic workload--- microprocessor may not need to run at full speed. DVFS controller sets power supply, clock.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf GALS design Globally asynchronous, locally synchronous design uses different clock domains for different parts of the chips. Styles: –Pausable clocks. –Asynchronous interfaces. –Loosely synchronous interfaces.

Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf GALS structure