mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-30 01:38:37 +02:00
ArcDelayCalc::reduceSupported()
Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
@@ -55,6 +55,12 @@ readSpefFile(const char *filename,
|
||||
StaState *sta)
|
||||
{
|
||||
bool success = false;
|
||||
const ArcDelayCalc *arc_delay_calc = sta->arcDelayCalc();
|
||||
if (reduce && !arc_delay_calc->reduceSupported()) {
|
||||
sta->report()->warn(1658, "Delay calculator %s does not support reduction.",
|
||||
arc_delay_calc->name());
|
||||
reduce = false;
|
||||
}
|
||||
// Use zlib to uncompress gzip'd files automagically.
|
||||
gzFile stream = gzopen(filename, "rb");
|
||||
if (stream) {
|
||||
|
||||
Reference in New Issue
Block a user