We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e4383 commit 40449bdCopy full SHA for 40449bd
techlibs/common/opensta.cc
@@ -99,8 +99,13 @@ struct OpenstaPass : public Pass
99
f_script << "read_sdc " << sdc_filename << "\n";
100
f_script << "write_sdc " << sdc_expanded_filename << "\n";
101
f_script.close();
102
- std::string command = opensta_exe + " -exit " + script_filename;
103
- int ret = run_command(command);
+ std::string command = opensta_exe + " -exit " + script_filename;
+ 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);
109
if (ret)
110
log_error("OpenSTA return %d (error)\n", ret);
111
else
0 commit comments