3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-09 17:31:59 +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 5b037109ce
commit de28ab00c3

View file

@ -100,7 +100,12 @@ struct OpenstaPass : public Pass
f_script << "write_sdc " << sdc_expanded_filename << "\n";
f_script.close();
std::string command = opensta_exe + " -exit " + script_filename;
int ret = run_command(command);
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