Merge pull request #189 from openroadie/master

Latest OpenSTA
This commit is contained in:
Harsh Vardhan 2023-08-01 20:09:25 -07:00 committed by GitHub
commit 7cf916ba20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 4 deletions

View File

@ -17,6 +17,10 @@ pin activities for power analysis.
The report_cell command has been removed; use report_instance.
The read_liberty command latch inference (see OpenSTA.pdf) is now disabled by default.
The -no_latch_infer flag is deprecated.
To enable latch inference, use the -infer_latches flag.
Release 2.3.3 2022/09/24
-------------------------

Binary file not shown.

Binary file not shown.

View File

@ -1301,8 +1301,7 @@ LibertyCell::finish(bool infer_latches,
makeTimingArcPortMaps();
findDefaultCondArcs();
makeLatchEnables(report, debug);
if (infer_latches
&& !interface_timing_)
if (infer_latches)
inferLatchRoles(debug);
}

View File

@ -273,6 +273,8 @@ LibertyWriter::writeCell(const LibertyCell *cell)
fprintf(stream_, " area : %.3f \n", area);
if (cell->isMacro())
fprintf(stream_, " is_macro : true;\n");
if (cell->interfaceTiming())
fprintf(stream_, " interface_timing : true;\n");
LibertyCellPortIterator port_iter(cell);
while (port_iter.hasNext()) {

View File

@ -153,6 +153,7 @@ void
MakeTimingModel::makeCell()
{
cell_ = lib_builder_->makeCell(library_, cell_name_, filename_);
cell_->setInterfaceTiming(true);
}
void

View File

@ -23,13 +23,16 @@ define_cmd_args "read_liberty" \
proc_redirect read_liberty {
parse_key_args "read_liberty" args keys {-corner} \
flags {-min -max -no_latch_infer}
flags {-min -max -no_latch_infer -infer_latches}
check_argc_eq1 "read_liberty" $args
set filename [file nativename [lindex $args 0]]
set corner [parse_corner keys]
set min_max [parse_min_max_all_flags flags]
set infer_latches [expr ![info exists flags(-no_latch_infer)]]
if { [info exists flags(-no_latch_infer)] } {
sta_warn 625 "-no_latch_infer is deprecated."
}
set infer_latches [info exists flags(-infer_latches)]
read_liberty_cmd $filename $corner $min_max $infer_latches
}