mirror of https://github.com/YosysHQ/yosys.git
Fix VerificClocking for cases where Verific generates chains of PRIM_SVA_POSEDGE
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
4d645f0fce
commit
251562a491
|
@ -1393,7 +1393,7 @@ VerificClocking::VerificClocking(VerificImporter *importer, Net *net, bool sva_a
|
|||
return;
|
||||
}
|
||||
|
||||
if (inst != nullptr && inst->Type() == PRIM_SVA_POSEDGE)
|
||||
while (inst != nullptr && inst->Type() == PRIM_SVA_POSEDGE)
|
||||
{
|
||||
net = inst->GetInput();
|
||||
inst = net->Driver();;
|
||||
|
|
Loading…
Reference in New Issue