Register-Transfer (RT) Synthesis Greg Stitt ECE Department University of Florida.

Slides:



Advertisements
Similar presentations
L30: Partitioning 성균관대학교 조 준 동 교수
Advertisements

ECE 667 Synthesis and Verification of Digital Circuits
FPGA-Based System Design: Chapter 4 Copyright  2004 Prentice Hall PTR Topics n Logic synthesis. n Placement and routing.
Winter 2005ICS 252-Intro to Computer Design ICS 252 Introduction to Computer Design Lecture 5-Scheudling Algorithms Winter 2005 Eli Bozorgzadeh Computer.
Kazi Spring 2008CSCI 6601 CSCI-660 Introduction to VLSI Design Khurram Kazi.
Circuit Retiming with Interconnect Delay CUHK CSE CAD Group Meeting One Evangeline Young Aug 19, 2003.
VLSI Layout Algorithms CSE 6404 A 46 B 65 C 11 D 56 E 23 F 8 H 37 G 19 I 12J 14 K 27 X=(AB*CD)+ (A+D)+(A(B+C)) Y = (A(B+C)+AC+ D+A(BC+D)) Dr. Md. Saidur.
Kazi Fall 2006 EEGN 4941 EEGN-494 HDL Design Principles for VLSI/FPGAs Khurram Kazi.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
VLSI Layout Algorithms CSE 6404 A 46 B 65 C 11 D 56 E 23 F 8 H 37 G 19 I 12J 14 K 27 X=(AB*CD)+ (A+D)+(A(B+C)) Y = (A(B+C)+AC+ D+A(BC+D)) Dr. Md. Saidur.
Chapter 2 – Netlist and System Partitioning
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
EDA (CS286.5b) Day 5 Partitioning: Intro + KLFM. Today Partitioning –why important –practical attack –variations and issues.
Reconfigurable Computing (EN2911X, Fall07)
Evolution of implementation technologies
System Partitioning Kris Kuchcinski
EDA (CS286.5b) Day 3 Clustering (LUT Map and Delay) N.B. no lecture Thursday.
Lecture 9: Multi-FPGA System Software October 3, 2013 ECE 636 Reconfigurable Computing Lecture 9 Multi-FPGA System Software.
EDA (CS286.5b) Day 19 Covering and Retiming. “Final” Like Assignment #1 –longer –more breadth –focus since assignment #2 –…but ideas are cummulative –open.
ICS 252 Introduction to Computer Design
CSE 144 Project Part 2. Overview Multiple rows Routing channel between rows Components of identical height but various width Goal: Implement a placement.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 15: March 18, 2009 Static Timing Analysis and Multi-Level Speedup.
A New Approach for Task Level Computational Resource Bi-Partitioning Gang Wang, Wenrui Gong, Ryan Kastner Express Lab, Dept. of ECE, University of California,
Threshold Voltage Assignment to Supply Voltage Islands in Core- based System-on-a-Chip Designs Project Proposal: Gall Gotfried Steven Beigelmacher 02/09/05.
1 Chapter 7 Design Implementation. 2 Overview 3 Main Steps of an FPGA Design ’ s Implementation Design architecture Defining the structure, interface.
ECE 506 Reconfigurable Computing Lecture 7 FPGA Placement.
Introduction to Routing. The Routing Problem Apply after placement Input: –Netlist –Timing budget for, typically, critical nets –Locations of blocks and.
Graph partition in PCB and VLSI physical synthesis Lin Zhong ELEC424, Fall 2010.
CSE 242A Integrated Circuit Layout Automation Lecture: Partitioning Winter 2009 Chung-Kuan Cheng.
CAD for Physical Design of VLSI Circuits
LOPASS: A Low Power Architectural Synthesis for FPGAs with Interconnect Estimation and Optimization Harikrishnan K.C. University of Massachusetts Amherst.
CprE / ComS 583 Reconfigurable Computing Prof. Joseph Zambreno Department of Electrical and Computer Engineering Iowa State University Lecture #14 – Placement.
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.
1 Moore’s Law in Microprocessors Pentium® proc P Year Transistors.
CSE 494: Electronic Design Automation Lecture 2 VLSI Design, Physical Design Automation, Design Styles.
Hardware Implementation of a Memetic Algorithm for VLSI Circuit Layout Stephen Coe MSc Engineering Candidate Advisors: Dr. Shawki Areibi Dr. Medhat Moussa.
Massachusetts Institute of Technology 1 L14 – Physical Design Spring 2007 Ajay Joshi.
Tools - Implementation Options - Chapter15 slide 1 FPGA Tools Course Implementation Options.
10/25/ VLSI Physical Design Automation Prof. David Pan Office: ACES Lecture 3. Circuit Partitioning.
L11: Lower Power High Level Synthesis(2) 성균관대학교 조 준 동 교수
Introduction to FPGA Created & Presented By Ali Masoudi For Advanced Digital Communication Lab (ADC-Lab) At Isfahan University Of technology (IUT) Department.
Placement. Physical Design Cycle Partitioning Placement/ Floorplanning Placement/ Floorplanning Routing Break the circuit up into smaller segments Place.
High Performance Embedded Computing © 2007 Elsevier Lecture 18: Hardware/Software Codesign Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte.
VLSI Physical Design: From Graph Partitioning to Timing Closure Chapter 6: Detailed Routing © KLMH Lienig 1 What Makes a Design Difficult to Route Charles.
FPGA-Based System Design Copyright  2004 Prentice Hall PTR Logic Design Process n Functional/ Non-functional requirements n Mapping into an FPGA n Hardware.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
Modern VLSI Design 3e: Chapter 10 Copyright  1998, 2002 Prentice Hall PTR Topics n CAD systems. n Simulation. n Placement and routing. n Layout analysis.
Design of a High-Throughput Low-Power IS95 Viterbi Decoder Xun Liu Marios C. Papaefthymiou Advanced Computer Architecture Laboratory Electrical Engineering.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 6: January 23, 2002 Partitioning (Intro, KLFM)
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
1 - CPRE 583 (Reconfigurable Computing): VHDL to FPGA: A Tool Flow Overview Iowa State University (Ames) CPRE 583 Reconfigurable Computing Lecture 5: 9/7/2011.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 23: April 20, 2015 Static Timing Analysis and Multi-Level Speedup.
1 A Min-Cost Flow Based Detailed Router for FPGAs Seokjin Lee *, Yongseok Cheon *, D. F. Wong + * The University of Texas at Austin + University of Illinois.
Circuit Partitioning Divides circuit into smaller partitions that can be efficiently handled Goal is generally to minimize communication between balanced.
ELEC692 VLSI Signal Processing Architecture Lecture 3
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 9: February 9, 2004 Partitioning (Intro, KLFM)
Optimization Problems
FPGA CAD 10-MAR-2003.
An Introduction to Simulated Annealing Kevin Cannons November 24, 2005.
Register-Transfer (RT) Synthesis Greg Stitt ECE Department University of Florida.
Optimization Problems
VLSI Physical Design Automation
Topics The logic design process..
Optimization Problems
Topics Logic synthesis. Placement and routing..
HIGH LEVEL SYNTHESIS.
Register-Transfer (RT) Synthesis
Off-path Leakage Power Aware Routing for SRAM-based FPGAs
ICS 252 Introduction to Computer Design
Reconfigurable Computing (EN2911X, Fall07)
Presentation transcript:

Register-Transfer (RT) Synthesis Greg Stitt ECE Department University of Florida

Introduction Register-transfer (RT) synthesis Definition: Synthesis from register transfer level (RTL) descriptions VHDL, Verilog typically describe circuits as connections of RTL components What are register-transfer level components? Muxes, ALUs, registers, multipliers, etc. One abstraction level above gates Basically, components you use in most structural descriptions What are other levels? Transistor level Gate level Register transfer level High level System level Etc.

RT Synthesis Main Steps Lex/Parsing Analyzes HDL, converts into intermediate representation Resource Allocation Maps intermediate representation into RT components Optimizations Logic minimization State minimization State encoding Etc. Technology Mapping Placement + Routing

Technology Mapping Converts circuit from one technology (e.g. gates) onto technology used by physical device (e.g. LUTs, CLBs, etc) CLB

Placement Input: Technology-mapped circuit For simplicity, just consider CLBs Technology-mapped circuit consists of “virtual” CLBs and “virtual” connections FPGA fabric consists of physical CLBs Simplified Placement Definition: Map “virtual” CLBs onto physical CLBs I.e. Decide on a location in the FPGA for each virtual CLB CLB Technology Mapped Circuit FPGA Fabric Possible Placement

Routing Input: A set of placed components, and a list of “virtual” connections Simplified Routing Definition: Determine how to configure routing resources to implement “virtual” connections 1234CLB Physical CLBs not connected – must configure routing resources to implement these connections:

Placement+Routing (PAR) Placement and routing highly dependent Placement affects how well circuit can be routed Example: CLB Placement 1Placement 2 Clearly, placement 1 is easier to route

Placement+Routing (PAR) Goals: 1) Make sure circuit can be implemented on fabric Trivial for placement, difficult for routing Bad placement may make circuit unroutable 2) Minimize delay of critical path Critical path is the longest register to register delay Important - Determines clock speed of circuit Why is placement and routing important? Bad PAR = slow circuit Even worse, BAD PAR = no circuit 1234CLB Even if routing is possible, placement 2 likely to have longer wires – slower clock Placement 2 Placement 1

Placement Problem: Find a placement for each CLB, such that routing can maximize clock speed Challenges: 1) Huge solution space! Tiny Example: Fabric = 100 physical CLBs, Circuit = 10 “virtual” CLBs Possibilities = 100! / 90! = 6.2 * And, that is for a tiny fabric and tiny circuit!!!!!!!!!!! Guess what … placement is NP-Complete 2) How to know how good the routing will be? One (im)possibility - perform routing for each possible placement Tiny example, cont. - assume same number of routing possibilities as placement possibilities 6.2 * * 6.2 * = A BIG NUMBER! Routing is also NP-complete Cleary, placement needs to estimate quality of routing Estimate known as a cost function

Cost Function Examples Example: average wire length Motivation: short wires faster than long wires Not perfect - many short wires not on critical path may lead to inaccuracy i.e. critical path may still be long despite short average wire length How to determine wire length? Without routing, don’t know length Possibilities: 1) Euclidian distance - measure straight line distance between CLBs Ignores how wire would be routed (can’t route diagonals) 2) Manhattan distance - shortest “zig-zag” distance Includes bends between CLBs CLB Euclidian Distance Manhattan Distance

Placement Techniques Placement is an NP-complete optimization problem Many possible placements, we want the best one What does this suggest for a solution? Remember last lecture! 1) Branch and bound Likely not feasible 2) Map to other NP-complete problem - use heuristic for that problem 3) Use general optimization heuristics Simulated annealing Hill climbing Very common (notice the temperature numbers in Xilinx ISE) How to use general optimization heuristics? Cost function represents quality of placement Neighboring solution – try new location for a “virtual” CLB, swap 2 CLBs, etc.

Placement Techniques Also common to map placement to other NP- complete problems Example: Min-cut problem Background: Given a graph, a cut is a set of edges that divides the graph into two (or more) groups Min-cut problem definition: Find the minimum cut size for a given graph Similar to graph bipartitioning problem Cutsize = 5 Cutsize = 3

Placement Techniques How can graph bipartitioning/min-cut be used for placement? Graph: Nodes are CLBs, Edges are wires Partition divides FPGA into sections Goal: minimize communication between sections Bipartitioning attempts to reduce routing “congestion” i.e. Cost function is cut size We can use common heuristic for graph bipartitioning Kernighan-Lin (KL) Heuristic

Placement Techniques KLFM Heuristic (Kernighan-Lin Fiduccia-Mattheyses) Basic Idea: Start with initial partition Iteratively improves cutsize Cutsize is number of edges between partitions Moves one node at a time Node that gives greatest reduction or least degradation Lock node after moving Continue moving nodes until all locked or size constraints are violated Find best partitioning, unlock all nodes Repeat until no improvement found

KLFM Algorithm Initial Partition Cutsize = 5 Size = 3 Maximum Size = 4

KLFM Algorithm Cutsize = 3 Size = 4Size = 2 Maximum Size = 4

KLFM Algorithm Cutsize = 2 Size = 3 Maximum Size = 4

KLFM Algorithm Cutsize = 2 Size = 2Size = 4 Maximum Size = 4

KLFM Algorithm Cutsize = 4 Size = 3 Maximum Size = 4

KLFM Algorithm Cutsize = 4 Size = 2Size = 4 Maximum Size = 4

KLFM Algorithm Cutsize = 5 Size = 3 Maximum Size = 4

KLFM Algorithm Cutsize = 2 Size = 3 Backtrack to minimum cut size, unlock nodes, and repeat

Circuit Partitioning How does a partition help us place CLBs? Apply bipartitioning hierarchically – circuit partitioning Basic idea 1) Initially divide FPGA into 2 sections Execute bipartitioning to determine which section “virtual” CLBs get mapped into 2) Divide each section into 2 subsections Execute bipartitioning to determine which subsection “virtual” CLBs get mapped into 3) Divided each subsection into 2 subsubsections And so on