Add comment to VIPER #13453 work-around
authorClifford Wolf <clifford@clifford.at>
Mon, 28 May 2018 11:36:35 +0000 (13:36 +0200)
committerClifford Wolf <clifford@clifford.at>
Mon, 28 May 2018 11:36:35 +0000 (13:36 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/verific/verific.cc

index 60fa6db3b465b36ffd62617530948265fed5e996..12f2fdd7fd76e0cb83fc3c4bc3678b3b35310bf8 100644 (file)
@@ -1395,6 +1395,7 @@ VerificClocking::VerificClocking(VerificImporter *importer, Net *net, bool sva_a
                        return;
        }
 
+       // Use while() instead of if() to work around VIPER #13453
        while (inst != nullptr && inst->Type() == PRIM_SVA_POSEDGE)
        {
                net = inst->GetInput();