mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 09:03:27 +00:00
Error out if abc9 not called with -lut or -luts
This commit is contained in:
parent
0c3ed73dad
commit
237d8651a5
1 changed files with 3 additions and 0 deletions
|
@ -999,6 +999,9 @@ struct Abc9Pass : public Pass {
|
||||||
}
|
}
|
||||||
extra_args(args, argidx, design);
|
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())
|
for (auto mod : design->selected_modules())
|
||||||
{
|
{
|
||||||
if (mod->attributes.count("\\abc_box_id"))
|
if (mod->attributes.count("\\abc_box_id"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue