mirror of https://github.com/YosysHQ/yosys.git
abc9: warning message if no modules selected
This commit is contained in:
parent
11e50c0e9e
commit
245873d42d
|
@ -234,6 +234,12 @@ struct Abc9Pass : public ScriptPass
|
||||||
}
|
}
|
||||||
extra_args(args, argidx, design);
|
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_header(design, "Executing ABC9 pass.\n");
|
||||||
log_push();
|
log_push();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue