diff options
author | Jannis Harder <me@jix.one> | 2022-05-31 17:47:07 +0200 |
---|---|---|
committer | George Rennie <georgerennie@gmail.com> | 2022-06-18 18:19:26 +0100 |
commit | e39c422734219bb0601827cb7c1d081f7ac7817b (patch) | |
tree | 6ddf17cbfe324654ea51f9127b3988edc326c5e2 /passes/cmds | |
parent | c659bd18786633c52d42b5966627d39d99ae89e3 (diff) | |
download | yosys-e39c422734219bb0601827cb7c1d081f7ac7817b.tar.gz yosys-e39c422734219bb0601827cb7c1d081f7ac7817b.tar.bz2 yosys-e39c422734219bb0601827cb7c1d081f7ac7817b.zip |
chformal: Test -coverprecond and reuse the src attribute
Diffstat (limited to 'passes/cmds')
-rw-r--r-- | passes/cmds/chformal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/chformal.cc b/passes/cmds/chformal.cc index 0131063b3..c4666f1f0 100644 --- a/passes/cmds/chformal.cc +++ b/passes/cmds/chformal.cc @@ -273,8 +273,8 @@ struct ChformalPass : public Pass { if (mode =='p') { for (auto cell : constr_cells) - module->addCover(NEW_ID, cell->getPort(ID::EN), State::S1, - "$auto$coverprecond$" + cell->get_src_attribute()); + module->addCover(NEW_ID_SUFFIX("coverprecond"), + cell->getPort(ID::EN), State::S1, cell->get_src_attribute()); } else if (mode == 'c') |