3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-09 09:21:58 +00:00

opensta: quiet blackbox warning

This commit is contained in:
Emil J. Tywoniak 2025-10-02 15:26:24 +02:00
parent de28ab00c3
commit a6b3113a66

View file

@ -101,6 +101,8 @@ struct OpenstaPass : public Pass
f_script.close(); f_script.close();
std::string command = opensta_exe + " -exit " + script_filename; std::string command = opensta_exe + " -exit " + script_filename;
auto process_line = [](const std::string &line) { auto process_line = [](const std::string &line) {
if (line.find("Creating black box") != std::string::npos)
return;
if (line.find("does not match net size") != std::string::npos) if (line.find("does not match net size") != std::string::npos)
return; return;
log("OpenSTA: %s", line.c_str()); log("OpenSTA: %s", line.c_str());