Home Knowledge Base Liberty format

Liberty format (also called .lib) is the industry-standard file format for describing the electrical characteristics of standard cells, I/O pads, and macro blocks — providing the timing, power, and other data that synthesis, place-and-route, and static timing analysis tools use to implement and verify digital designs.

What Liberty Files Contain

Liberty File Organization

library (my_lib_ss_0p75v_125c) {
  technology (cmos) ;
  delay_model : table_lookup ;
  nom_voltage : 0.75 ;
  nom_temperature : 125 ;
  cell (INV_X1) {
    pin (A) { direction: input; capacitance: 0.5; }
    pin (Y) { direction: output; function: "!A";
      timing () {
        related_pin: "A";
        cell_rise (lut_7x7) { index_1(...); index_2(...); values(...); }
        cell_fall (lut_7x7) { ... }
      }
    }
  }
}

Liberty Variants

One Library, Many Corners

Liberty format is the universal language between library providers and EDA tools — it is the single most important data format in the digital design flow.

liberty formatdesign

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.