1
0
mirror of synced 2026-04-18 02:17:01 +00:00

opensta: quiet net width mismatch warning

This commit is contained in:
Emil J. Tywoniak
2025-07-31 15:38:45 +02:00
parent bbf1e4bca2
commit 0c4105d72c

View File

@@ -99,8 +99,13 @@ struct OpenstaPass : public Pass
f_script << "read_sdc " << sdc_filename << "\n";
f_script << "write_sdc " << sdc_expanded_filename << "\n";
f_script.close();
std::string command = opensta_exe + " -exit " + script_filename;
int ret = run_command(command);
std::string command = opensta_exe + " -exit " + script_filename;
auto process_line = [](const std::string &line) {
if (line.find("does not match net size") != std::string::npos)
return;
log("OpenSTA: %s", line.c_str());
};
int ret = run_command(command, process_line);
if (ret)
log_error("OpenSTA return %d (error)\n", ret);
else