Download presentation
Presentation is loading. Please wait.
Published bySri Tanuwidjaja Modified over 5 years ago
1
*Internal Synthesizer Flow *Details of Synthesis Steps
ECE Digital System Design & Synthesis Lecture Set 6 - Synthesis Overview *Synthesis Flows *Internal Synthesizer Flow *Details of Synthesis Steps Other Synthesis Levels Benefits of Synthesis Synthesis Methodology Vendor Support * These will be our focus. Other topics for self-study using the text. 2/26/2003
2
Synthesis Flow Oriented toward Synopsys Design Compiler
High-Level Design Flow (from Synopsys Design Compiler User Guide) Design Methodology (from Synopsys HDL Compiler for Verilog) Internal Synthesizer Flow 2/26/2003
3
Internal Synthesizer Flow
HDL Description Structural Representation Parsing and Syntax & Semantic Error Checking Architectural Optimization Technology Library Synthesizer Policy Checking Multi-Level Logic Optimization Technology Mapping Translation (Elaboration) Technology-Based Implementation 2/26/2003
4
Initial Steps Parsing for Syntax and Semantics Checking
Gives error messages and warnings to user User may modify the HDL description in response Synthesizer Policy Checking Check for adherence to allowable language constructs and usage recommendations. 2/26/2003
5
Translation (Elaboration)
Builds a structural representation of the design This is net list like, but includes larger components Gives additional errors or warnings to the user Problems are not syntax or semantics of the language, but issues in initial transformation to hardware. Affects the quality achieved by optimization steps Structural representation depends on HDL quality Poor HDL can lock solutions in undesirable design space for successful optimization 2/26/2003
6
Architectural Optimization
May not be present in all synthesis tools Examples: Replace an adder with fixed inputs with an incrementer Replace adder and subtractor with adder/subtractor if not used simultaneously Performs selection of pre-designed components (Synopsys DesignWare) 2/26/2003
7
Multi-level Logic Optimization
Minimization of two-level single output functions followed by: Minimization of multi-level, multiple output functions 2/26/2003
8
Minimization of Two-Level Single-Output Functions
Typically a near-optimal or optimal alteration of the “textbook” procedures covered in beginning logic design courses. Multi-level logic optimization Example: Espresso from UCB Starts from given 2-level expression representation and manipulates it to get an alternative representation with a lower literal count. 2/26/2003
9
Minimization of Two-Level Single-Output Functions (Continued)
Heuristic Minimization Operators Expand - forms a prime and minimal cover with respect to single implicant containment - Each non-prime implicant is expanded to a prime and all other implicants covered by the expanded implicant are deleted. 2/26/2003
10
Minimization of Two-Level Single-Output Functions (Continued)
Expand Example: C B B A A D D 2/26/2003
11
Minimization of Two-Level Single-Output Functions (Continued)
Operators Reduce - Transforms a cover into a non-prime cover. Attempts to replace each implicant with another contained in it while still covering the function. 2/26/2003
12
Minimization of Two-Level Single-Output Functions (Continued)
Reduce Example: C B B A A D D 2/26/2003
13
Minimization of Two-Level Single-Output Functions (Continued)
Operators Reshape - Transforms a cover without changing the number of implicants. Expands one implicant while reducing another while still covering the function. 2/26/2003
14
Minimization of Two-Level Single-Output Functions (Continued)
Reshape Example: C B B A A D D 2/26/2003
15
Minimization of Two-Level Single-Output Functions (Continued)
Operators Irredundant - A minimal subset of implicants is selected such that no single implicant in that subset is covered by the remaining ones. 2/26/2003
16
Minimization of Two-Level Single-Output Functions (Continued)
Irredundant Example: C B B A A D D 2/26/2003
17
Espresso Concept Expand Irredundant Iterate on: Reduce
with heuristic switching inside operators 2/26/2003
18
Optimization of Multiple Output, Multi-Level Functions
For minimization of two-level single -output functions, minimal cover minimizes both area and delay. For multiple output, multi-level functions, there is a tradeoff between area and delay yielding the “banana” curve. Optimization methods applied for: Area minimization (under delay constraints) Delay minimization (under area constraints) 2/26/2003
19
Optimization of Multiple Output, Multi-Level Functions
Example multiple output, multi-level function logic network: a v = a’d +bd + c’d + ae’ w b p = ce + de r = p + a’ s = r + b’ x c t = ac + ad + bc + bd + e y d e q = a + b u = q’c + qc’ + qc z 2/26/2003 Connections not shown here.
20
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Elimination - Removal of an internal vertex from a network. 2/26/2003
21
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Elimination Example: a v = a’d +bd + c’d + ae’ w b p = ce + de s = p + a’ + b’ x c t = ac + ad + bc + bd + e y d e q = a + b u = q’c + qc’ + qc z 2/26/2003 Connections not shown here.
22
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Decomposition - Replacement of a vertex by two (or more) vertices that form a subnetwork equivalent to the original vertex. 2/26/2003
23
Optimization of Multiple Output, Multi-Level Functions
Transformation (Operators) Decomposition Example: a j = a’ + b + c’ v = jd + ae’ w b p = ce + de r = p + a’ s = r + b’ x c t = ac + ad + bc + bd + e y d e q = a + b u = q’c + qc’ + qc z 2/26/2003 Connections not shown here.
24
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Extraction - factoring out of a common subexpression from two vertex functions to create a new vertex. 2/26/2003
25
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Extraction Example: a v = a’d +bd + c’d + ae’ w b p = ke r = p + a’ s = r + b’ x c k = c + d t = ka + kb + e y d e q = a + b u = q’c + qc’ + qc z 2/26/2003 Connections not shown here.
26
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Simplification - Vertex function reduced in complexity by exploiting the properties of its representation. 2/26/2003
27
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Simplification Example: a v = a’d +bd + c’d + ae’ w b p = ce + de r = p + a’ s = r + b’ x c t = ac + ad + bc + bd + e y d e q = a + b u = q + c z 2/26/2003 Connections not shown here.
28
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Substitution - Vertex function reduced in complexity by adding an input not previously in its set of inputs. 2/26/2003
29
Optimization of Multiple Output, Multi-Level Functions
Transformations (Operators) Substitution Example: a v = a’d +bd + c’d + ae’ w b p = ke r = p + a’ s = r + b’ x c k = c + d t = kq + e y d e q = a + b u = q’c + qc’ + qc z 2/26/2003 Connections not shown here.
30
Optimization of Multiple Output, Multi-Level Functions
Approaches: Algorithmic - defines an algorithm for each transformation type which detects when and where the transform can be applied. Rule-based - transformations of different types can be alternated according to a set of rules that mimic the optimization steps performed by a human designer. 2/26/2003
31
Technology Mapping Inputs are: Output is: Optimized logic netlist
Available components from technology library May include not only primitive gates, but AOIs, OAIs, Adders, subtractors, etc. Output is: Netlist in terms of components from technology library Components may be shared if mutually exclusive use 2/26/2003
32
References De Micheli, G., Synthesis and Optimization of Digital Circuits, McGraw-Hill, 1994. Devadas, S., A. Ghosh, and K. Keutzer, Logic Synthesis, McGraw-Hill, 1994. Synopsys On-line Documentation and Manuals Cilleti, M., Modeling, Synthesis and Rapid Prototyping with the Verilog HDL, Prentice Hall, 1999. 2/26/2003
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.