0% found this document useful (0 votes)
29 views22 pages

Lecture 21

Uploaded by

Thanushsaran S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views22 pages

Lecture 21

Uploaded by

Thanushsaran S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

VLSI DESIGN FLOW: RTL TO

GDS

Lecture 21
Technology Library
Sneh Saurabh
Electronics and Communications
Engineering
IIIT Delhi
Lecture Plan
Till now….

▪ Logic Synthesis:
➢ Transformation of RTL to netlist of generic logic gate
➢ Logic optimization

Subsequently ….

▪ Map generic logic gates to the cells of a given technology library

▪ Perform timing analysis and other types of verification

▪ Need information of the cells contained in a given technology library

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Libraries in VLSI Design Flow

Libraries

Technology Library Physical Library

Technology Library: Physical Library:


▪ Introduced for logic synthesis ▪ Contains abstract information about the
▪ Evolved to support various design tasks layout of the cells and technology.
➢ Timing verification, physical ▪ Library Exchange Format (LEF)
implementation, and test activities ➢ ASCII files (.lef extension)
➢ Also referred to as timing library.
▪ Liberty format
➢ ASCII files (.lib extension)

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Motivation for using Libraries
▪ Simplifies design task by decomposing the overall design process into two steps:
➢ Creating Library
➢ Using Library

Creating Library: Using Library:


▪ Design each cell at the transistor level ▪ Instantiate cells from a library to achieve
➢ Determine its optimal layout. desired functionality
▪ Extract essential information about the ▪ Allows focusing on their instantiations
cells and write them in the library. ➢ Design time and effort decrease.
▪ Many designs can employ the same ➢ Reduce the chances of errors within
library the cells.
➢ Cost of developing a high-quality ▪ Raises the abstraction from the transistor
library gets distributed over multiple level to the cell level
designs ➢ Makes complex synthesis, static timing
analysis (STA), and physical design
tasks feasible

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library : How are libraries created? (1)
Library Characterization: process of creating the library (at foundry or design house)

▪ Design each cell optimally and verify


▪ SPICE simulations of each cells for:
▪ Given operating condition and stimulus
▪ Transistor model, process (retrieved from
PDKs)
▪ Measure/extract the parameters of interest
such as delay, slew, voltage, capacitance,
power, etc.
▪ Build an abstract model and write in the given
format

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library Models
Why are SPICE simulations using PDKs not directly used for delay/power computation?

▪ SPICE simulations are time taking


➢ Differential equations are formulated and typically solved using iterative techniques

Library models: Requirement of library models:


▪ Relevant information from SPICE simulation ▪ Speed and Accuracy
are extracted and modelled in the library
▪ Robustness
▪ EDA tools use library models instead of
SPICE simulations for computing delay, ▪ Portability
slew, power, voltage variations, etc. ▪ Variety and Uniformity:
➢ Order of magnitude faster than SPICE ➢ Multiple cells for same function
simulation and of reasonable accuracy ➢ Low Power, High Performance, High
Density, Low-VT, High-VT
➢ Height uniform, width variable

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library: Content
▪ Process parameters, Voltage, ▪ Libraries typically contains cells with
Temperature (collectively called PVT hundreds of different logic functions:
conditions) ➢ Combinational/sequential standard
▪ Cell data: cells
➢ Pins, functionality ➢ I/O Pads
➢ Timing, area and power information ➢ Memories, macros

When do we use libraries?

▪ Libraries are used throughout RTL to GDS flow


➢ Synthesis, timing and power analysis, verification, Design For Test (DFT), physical
design

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library: Liberty format (1)
▪ Liberty format is simple ASCII/text format

▪ Data is primarily stored as attributes


➢ Mapping between an attribute name and its value
➢ Example: time_unit : “10ps”;

▪ Information is organized as a hierarchy of groups

▪ At the top level it has a Header

▪ Header contains:
➢ PVT conditions, scaling factors, units
➢ Information that are valid for all the cells/pins/arcs
➢ List of cells

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library: Liberty format (2)
▪ Cell contains:
➢ Area
➢ Cell Leakage Power
➢ List of pins

▪ Pin contains:
➢ Direction
➢ Capacitance
➢ Functionality (for output pins)
➢ List of timing arcs
➢ List of power arcs

▪ Timing arcs are used to perform timing analysis or


computing delays of the arcs

▪ Power arcs are used to perform power analysis

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Technology Library

Modelling Delay

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library : Timing Arcs
▪ Timing Arcs are used to model timing attributes for
combinational or sequential cells in a library

Each Timing Arc has:

▪ Start Pin and End Pin

▪ Timing arc is specified on the End Pin

▪ Start Pin is specified using the attribute related_pin

Timing Arcs can be of type:

▪ Delay Arc

▪ Constraints Arc (setup check, hold check etc.)

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Slew Definition
▪ Slew of a signal quantifies how steeply or sharply
transition occurs from “0” → “1” or “1” → “0”

Slew measured by defining two transition points:


▪ Lower threshold percentage (LTP)
▪ Upper threshold percentage (UTP)

10-90 Threshold:
▪ Rise slew: time taken for a signal to reach from 10%
to 90% of supply voltage
▪ Fall slew: time taken for a signal to reach from 90%
to 10% of supply voltage

▪ Slew threshold of 20-80, 30-70 can also be used

▪ Also called: rise transition time, fall transition time,


rise time, fall time

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Delay Definition
▪ Quantifies how much time it takes for the change in input to propagate to the output

Delay can depend on the direction of transition


(rising/falling)
▪ Rise delay: output rising
▪ Fall delay: output falling

▪ Predefined threshold points on the input


waveform and the output waveform.
▪ For the input signal:
➢ input rise threshold percentage (IRTP)
➢ input fall threshold percentage (IFTP).
▪ For the output signal:
➢ output rise threshold percentage (ORTP)
➢ output fall threshold percentage (OFTP)

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


CMOS : Characteristics of Slew and Delay
▪ In general, the delay (𝐷) and output slew (𝑆𝑂𝑈𝑇 ) of a given timing
arc depend on:
➢ Input Slew (𝑆𝐼𝑁 )
➢ Output Load (𝐶𝐿 )

▪ The relationship may be non-linear:


➢ 𝐷 = 𝑓(𝑆𝐼𝑁 , 𝐶𝐿 )
➢ 𝑆𝑂𝑈𝑇 = 𝑔(𝑆𝐼𝑁 , 𝐶𝐿 )
➢ 𝑓, 𝑔 are non-linear function (typically monotonically increasing
▪ Modelled with 𝑆𝐼𝑁 and 𝐶𝐿 )
approximately as
two dimensional
discrete point ▪ Intermediate values are
tables interpolated from closest
match
▪ Different tables for delay and
output-slew

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Non-linear Delay Model (NLDM)

u_table_template(index_1) {
variable_1 : input_net_transition ;
variable_2 : total_output_net_capacitance ;
index_1( "10, 20, 30" ) ;
index_2( "1.2, 5.0,15.0, 37.5) ;
}
….
pin(Z) {

timing() {
related_pin : “A" ;
timing_sense : positive_unate ;
cell_rise(index_1) {
values( " 4, 5, 7, 12, …3x4 table);
}

}
}
S. Saurabh, “Introduction to VLSI Design Flow”.Cambridge
University Press, 2023.
VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh
Library : Advanced Delay Model

▪ At advanced process nodes simple NLDM model is not accurate

▪ Other delay models based on current source model are employed


➢ Composite Current Source (CCS)
➢ Effective Current Source Model (ECSM)

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Technology Library
Modelling
Setup/Hold

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Setup/Hold Time : Definition

▪ Setup time: minimum amount of time the DATA


signal should be held steady before the CLOCK
edge so that the DATA is sampled correctly and
deterministically

▪ Hold time: the minimum amount of time the


DATA signal should be held steady after the
CLOCK edge so that the DATA is sampled
correctly and deterministically

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


CMOS : Setup/Hold Characteristics
▪ In general, the setup (SU) and hold (H) constraints depend on:
➢ Data Slew (𝑆𝐷 )
➢ Clock Slew (𝑆𝐶𝐿𝐾 )

▪ The relationship may be non-linear:


➢ 𝑆𝑈 = 𝑓(𝑆𝐷 , 𝑆𝐶𝐿𝐾 )
➢ 𝐻 = 𝑔(𝑆𝐷 , 𝑆𝐶𝐿𝐾 )
➢ 𝑓, 𝑔 are non-linear functions

▪ Modelled as two dimensional discrete point tables

▪ There are different tables for setup and hold

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library : Modelling Setup/Hold Constraints
u_table_template(index_1) {
variable_1 : constrained_pin_transition;;
variable_2 : related_pin_transition;
index_1( "10, 20, 30" ) ;
index_2( "10, 20, 30, 40) ;
}
….
pin(D) {

timing() {
▪ Intermediate values are interpolated related_pin : “CP" ;
from closest match timing_type : "setup_rising";
rise_constraint(index_1) {
values( " 4, 5, 7, 12,
…3x4 table);
}

}
}
S. Saurabh, “Introduction to VLSI Design Flow”.Cambridge
University Press, 2023.

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


Library : Other information contained in library
▪ Power Models

▪ Models for crosstalk noise analysis

▪ Power/Ground Pin Information

▪ State dependent arcs: sdf_cond, when

▪ Other attributes that may be vendor specific

VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh


References
▪ Synopsys Inc. “Liberty.” https://www.synopsys.com/community/interoperability-programs/tap-
in.html.

▪ S. Saurabh, “Introduction to VLSI Design Flow”. Cambridge: Cambridge University Press, 2023.

▪ Bhasker, Jayaram, and Rakesh Chadha. Static timing analysis for nanometer designs: A practical
approach. Springer Science & Business Media, 2009.

soprotection.com VLSI Design Flow: RTL to GDS NPTEL 2023 S. Saurabh

You might also like