mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
chformal: Test -coverprecond and reuse the src attribute
This commit is contained in:
parent
c659bd1878
commit
e39c422734
2 changed files with 27 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue