Example: NangateOpenCellLibrary_ff1p25vn40c.lib
Here’s a structured overview of the NangateOpenCellLibrary_ff1p25vn40c.lib file:
- First section of library liberty file ( .lib )
General Attributes |
- Technology: Specifies the technology node.
- Delay Model: Indicates the delay model used, typically look-up tables.
- Units: Defines the units for various measurements (e.g., time in nanoseconds, power in microwatts).
- Operating Conditions: Specifies the process, voltage, and temperature conditions (e.g., fastfast process, 1.25V nominal voltage, -40°C temperature).
- Second section of library liberty file ( .lib )
Defaults |
- Threshold Voltage: Default threshold voltage for the cells.
- Logical DRC: Design Rule Check parameters like maximum capacitive load, maximum fanout, and maximum transition time. These defaults can be overridden using SDC (Synopsys Design Constraints) commands.
- Third section of library liberty file ( .lib )
This is section of Liberty file format (.lib) is Wire Load Model
- Wire Load Models: Different models provided to estimate interconnect delay based on the total cell area. For example, a model named "1k_hvratio_1_2" might be used based on specific criteria.
- Fourth section of library liberty file ( .lib )
- Cell Details: Each cell's detailed information including size, pin directions, functions, and power pins. For instance, an AND gate (AND2X2) with two input pins and a specific drive strength.
Timing Look-Up Table |
- Look-Up Tables: Timing and power information presented in look-up tables with indices for input transition (index1) and output load capacitance (index2).
Usage of library liberty (.lib) Files
Setting Boundaries for Design Using Nonlinear Delay Model (NLDM)
In digital design, particularly in ASIC (Application-Specific Integrated Circuit) design, the Nonlinear Delay Model (NLDM) is used to calculate cell timing. This involves setting specific input transition times and output load capacitances as boundaries for the design.
Key Concepts
- Input Transition: The time it takes for the input signal to transition from low to high or high to low.
- Output Load Capacitance: The capacitance load at the output of the cell, which affects the cell's delay and output transition time.
Using Look-Up Tables
NLDM relies on look-up tables within the Liberty file format (.lib) file to provide timing information based on the input transition and output load capacitance. Here's how it works:
- Index1 (Input Transition): Represents the time taken for the input signal to transition.
- Index2 (Output Load Capacitance): Represents the capacitance at the cell's output.
Steps to Calculate Timing with Look-Up Tables Using NLDM
- Set Input Transition and Output Load Capacitance: Determine the input transition times and output load capacitances for your design. These values act as boundaries and are used to index into the look-up tables.
- Look-Up Table Extraction: Extract timing values from the look-up tables based on the set input transition and output load capacitance.
- Calculate Cell Delay / propagation Delay (tpd): Use the extracted values from Look-up tables to calculate the cell delay, which is the time taken for the output to respond to the input transition.
- Calculate Output Transition: Determine the true rise/fall time of the output signal using the look-up tables. This value is used as the input transition for the next stage in the design.
- Path Delays: Total path delay is the sum of cell delays and net delays. Wire load models in the Liberty file format (.lib) file provide average R/C values for estimating net delays.
Example Workflow
- Determine Boundaries: Set input transition to 0.5 ns and output load capacitance to0.05 pF for your design.
- Extract Timing Values: Use these values to look up the corresponding delay and transition times in the Liberty file format (.lib) file.
- Calculate Cell Delay: Extract the cell delay from look-up table provide a cell delay (tpd) of 0.23 ns.
- Calculate Output Transition: Extract the output transition from look-up table provide time is 0.3 ns.
- Total Path Delay: Sum the cell delay with net delays to get the total path delay. If the net delay is 0.1 ns, the total path delay is 0.33 ns.
Importance of Setting Boundaries
Setting appropriate input transition and output load capacitance boundaries ensures accurate timing calculations. These boundaries help in:
- Design Optimization: Adjusting cell placements and interconnections to meet timing constraints.
- Timing Verification: Ensuring that the design meets timing requirements without excessive computational resources.
- Predictable Performance: Providing a clear understanding of how the design will perform under specified conditions.
Path Delay is Based on Cell + Net Delay, how to calculate Net delay (wire delay).
Total path Delay |
- Models for various design sizes are Liberty file format (.lib) file .
- R/C values are average estimates based on data extracted from similar designs which were fabricated using this process.
0 Comments