From 7aaa0621d359ab3f35d0934f355e6634db5da3d9 Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Thu, 19 Mar 2026 00:01:14 +0100 Subject: [PATCH] constmap: error if no -cell set --- passes/techmap/constmap.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/passes/techmap/constmap.cc b/passes/techmap/constmap.cc index 6d18b8494..1df50e47d 100644 --- a/passes/techmap/constmap.cc +++ b/passes/techmap/constmap.cc @@ -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);