mirror of https://github.com/YosysHQ/yosys.git
verific: Handle non-seq properties with VerificClocking conditions
This commit is contained in:
parent
ec47bf1745
commit
3cbca5064c
|
@ -1598,13 +1598,18 @@ struct VerificSvaImporter
|
||||||
|
|
||||||
if (inst == nullptr)
|
if (inst == nullptr)
|
||||||
{
|
{
|
||||||
log_assert(trig == State::S1);
|
if (trig != State::S1) {
|
||||||
|
if (accept_p != nullptr)
|
||||||
|
*accept_p = module->And(NEW_ID, trig, importer->net_map_at(net));
|
||||||
|
if (reject_p != nullptr)
|
||||||
|
*reject_p = module->And(NEW_ID, trig, module->Not(NEW_ID, importer->net_map_at(net)));
|
||||||
|
} else {
|
||||||
if (accept_p != nullptr)
|
if (accept_p != nullptr)
|
||||||
*accept_p = importer->net_map_at(net);
|
*accept_p = importer->net_map_at(net);
|
||||||
if (reject_p != nullptr)
|
if (reject_p != nullptr)
|
||||||
*reject_p = module->Not(NEW_ID, importer->net_map_at(net));
|
*reject_p = module->Not(NEW_ID, importer->net_map_at(net));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
if (inst->Type() == PRIM_SVA_OVERLAPPED_IMPLICATION ||
|
if (inst->Type() == PRIM_SVA_OVERLAPPED_IMPLICATION ||
|
||||||
inst->Type() == PRIM_SVA_NON_OVERLAPPED_IMPLICATION)
|
inst->Type() == PRIM_SVA_NON_OVERLAPPED_IMPLICATION)
|
||||||
|
|
Loading…
Reference in New Issue