ArcDelayCalc::reduceSupported()

Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
James Cherry
2024-07-24 09:04:08 -07:00
parent d408599b2d
commit 828616fc12
7 changed files with 12 additions and 1 deletions
+6
View File
@@ -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) {