mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 12:11:24 +00:00
Fix handling of unclocked immediate assertions in Verific front-end
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
3f00702475
commit
315d5e32bf
3 changed files with 42 additions and 17 deletions
|
@ -1297,7 +1297,7 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::se
|
|||
|
||||
// ==================================================================
|
||||
|
||||
VerificClocking::VerificClocking(VerificImporter *importer, Net *net)
|
||||
VerificClocking::VerificClocking(VerificImporter *importer, Net *net, bool sva_at_only)
|
||||
{
|
||||
module = importer->module;
|
||||
|
||||
|
@ -1320,6 +1320,11 @@ VerificClocking::VerificClocking(VerificImporter *importer, Net *net)
|
|||
body_net = body_inst->GetInput2();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (sva_at_only)
|
||||
return;
|
||||
}
|
||||
|
||||
if (inst != nullptr && inst->Type() == PRIM_SVA_POSEDGE)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue