mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-04 14:25:47 +00:00
Add ScriptPass::run_nocheck and use for abc9
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
282d331e7e
commit
b8abf14376
3 changed files with 20 additions and 7 deletions
|
@ -400,6 +400,18 @@ void ScriptPass::run(std::string command, std::string info)
|
|||
}
|
||||
}
|
||||
|
||||
void ScriptPass::run_nocheck(std::string command, std::string info)
|
||||
{
|
||||
if (active_design == nullptr) {
|
||||
if (info.empty())
|
||||
log(" %s\n", command.c_str());
|
||||
else
|
||||
log(" %s %s\n", command.c_str(), info.c_str());
|
||||
} else {
|
||||
Pass::call(active_design, command);
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptPass::run_script(RTLIL::Design *design, std::string run_from, std::string run_to)
|
||||
{
|
||||
help_mode = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue