opensta¶
OpenSTA tool wrapper: static timing analysis of a gate-level netlist.
Used as a singleton through classmethods (OpenStaTool.analyze(...),
OpenStaTool.run(...)); never instantiated. Produces an SDF file for
back-annotated timing.
Classes¶
Static timing analysis wrapper backed by OpenSTA. |
Module Contents¶
OpenStaTool¶
- class OpenStaTool[source]¶
Bases:
ToolStatic timing analysis wrapper backed by OpenSTA.
Runs timing analysis on a synthesized netlist and writes an SDF file. Used as a singleton: call the classmethods directly, never instantiate.
Reject instantiation; tools are used only through their classmethods.
- Parameters:
- Raises:
TypeError – Always, because tool wrappers are stateless singletons.
Methods¶
- classmethod analyze(verilog_netlist, liberty_files, top_name, spef_files=None) Path[source]¶
Generate an SDF file from a Verilog gate-level netlist and return it.
- Parameters:
- Returns:
Path to the temporary SDF file.
- Raises:
RuntimeError – If the SDF file is empty after running OpenSTA.