1
0
mirror of synced 2026-03-27 18:50:03 +00:00

constmap: error if no -cell set

This commit is contained in:
Emil J. Tywoniak
2026-03-19 00:01:14 +01:00
parent a141bd941c
commit 7aaa0621d3

View File

@@ -71,6 +71,8 @@ struct ConstmapPass : public Pass {
}
extra_args(args, argidx, design);
if (celltype.empty())
log_cmd_error("Missing required option -cell.\n");
if (design->has(celltype)) {
Module *existing = design->module(celltype);