mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
abc9: warning message if no modules selected
This commit is contained in:
parent
11e50c0e9e
commit
245873d42d
1 changed files with 6 additions and 0 deletions
|
@ -234,6 +234,12 @@ struct Abc9Pass : public ScriptPass
|
|||
}
|
||||
extra_args(args, argidx, design);
|
||||
|
||||
log_assert(design);
|
||||
if (design->selected_modules().empty()) {
|
||||
log_warning("No modules selected for ABC9 techmapping.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
log_header(design, "Executing ABC9 pass.\n");
|
||||
log_push();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue