diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-02-21 13:09:47 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-02-21 13:09:47 +0100 |
commit | 6d12c83d362c709f72e64eea2121b2cffc12ee8d (patch) | |
tree | db9f4bbd23313bb58468e24d191e38713cc73e77 /frontends | |
parent | 17583b6a2175bf509d6a233e5684a183af54f48c (diff) | |
download | yosys-6d12c83d362c709f72e64eea2121b2cffc12ee8d.tar.gz yosys-6d12c83d362c709f72e64eea2121b2cffc12ee8d.tar.bz2 yosys-6d12c83d362c709f72e64eea2121b2cffc12ee8d.zip |
Add support for SVA throughout via Verific
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/verific/verificsva.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/verific/verificsva.cc b/frontends/verific/verificsva.cc index c32095927..c3b2a2f5e 100644 --- a/frontends/verific/verificsva.cc +++ b/frontends/verific/verificsva.cc @@ -433,10 +433,14 @@ struct VerificSvaImporter return; } - if (inst->Type() == PRIM_SVA_UNTIL || inst->Type() == PRIM_SVA_S_UNTIL || + if (inst->Type() == PRIM_SVA_THROUGHOUT || inst->Type() == PRIM_SVA_UNTIL || inst->Type() == PRIM_SVA_S_UNTIL || inst->Type() == PRIM_SVA_UNTIL_WITH || inst->Type() == PRIM_SVA_S_UNTIL_WITH) { - bool flag_with = inst->Type() == PRIM_SVA_UNTIL_WITH || inst->Type() == PRIM_SVA_S_UNTIL_WITH; + bool flag_with = inst->Type() == PRIM_SVA_THROUGHOUT || inst->Type() == PRIM_SVA_UNTIL_WITH || inst->Type() == PRIM_SVA_S_UNTIL_WITH; + + if (get_ast_input1(inst) != nullptr) + log_error("Currently only simple expression properties are supported as first operand to SVA_UNTIL.\n"); + SigBit expr = importer->net_map_at(inst->GetInput1()); if (flag_with) |