Sta::writeTimingModel ensureGraph

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-12-22 11:23:52 -07:00
parent 7b7ea9675e
commit c3e9a6f108
2 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,6 @@ MakeTimingModel::makeTimingModel()
makePorts();
sta_->searchPreamble();
graph_ = sta_->graph();
findTimingFromInputs();
findClkedOutputPaths();

View File

@ -5626,6 +5626,7 @@ Sta::writeTimingModel(const char *lib_name,
const Corner *corner)
{
ensureLinked();
ensureGraph();
LibertyLibrary *library = makeTimingModel(lib_name, cell_name, filename,
corner, this);
writeLiberty(library, filename, this);