mirror of https://github.com/YosysHQ/yosys.git
Error out if abc9 not called with -lut or -luts
This commit is contained in:
parent
0c3ed73dad
commit
237d8651a5
|
@ -999,6 +999,9 @@ struct Abc9Pass : public Pass {
|
|||
}
|
||||
extra_args(args, argidx, design);
|
||||
|
||||
if (lut_costs.empty() && lut_file.empty())
|
||||
log_cmd_error("abc9 must be called with '-lut' or '-luts'\n");
|
||||
|
||||
for (auto mod : design->selected_modules())
|
||||
{
|
||||
if (mod->attributes.count("\\abc_box_id"))
|
||||
|
|
Loading…
Reference in New Issue