Skip to content

Commit 40449bd

Browse files
committed
opensta: quiet net width mismatch warning
1 parent 17e4383 commit 40449bd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

techlibs/common/opensta.cc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,13 @@ struct OpenstaPass : public Pass
9999
f_script << "read_sdc " << sdc_filename << "\n";
100100
f_script << "write_sdc " << sdc_expanded_filename << "\n";
101101
f_script.close();
102-
std::string command = opensta_exe + " -exit " + script_filename;
103-
int ret = run_command(command);
102+
std::string command = opensta_exe + " -exit " + script_filename;
103+
auto process_line = [](const std::string &line) {
104+
if (line.find("does not match net size") != std::string::npos)
105+
return;
106+
log("OpenSTA: %s", line.c_str());
107+
};
108+
int ret = run_command(command, process_line);
104109
if (ret)
105110
log_error("OpenSTA return %d (error)\n", ret);
106111
else

0 commit comments

Comments
 (0)