mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-23 04:49:15 +00:00
Merge 7aaa0621d3 into f560cba952
This commit is contained in:
commit
6731dc9694
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue