aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-06 16:22:47 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-06 16:22:47 -0700
commit046e1a52147dd4a0e1f23e4aa7cb71b0a4d1b497 (patch)
tree900ad3764a73cb81396bcf0c0be1bc92c4df135d /frontends
parent3486235338faa1377bb4e1a8981a45b4ee6edfa9 (diff)
downloadyosys-046e1a52147dd4a0e1f23e4aa7cb71b0a4d1b497.tar.gz
yosys-046e1a52147dd4a0e1f23e4aa7cb71b0a4d1b497.tar.bz2
yosys-046e1a52147dd4a0e1f23e4aa7cb71b0a4d1b497.zip
Use State::S{0,1}
Diffstat (limited to 'frontends')
-rw-r--r--frontends/verific/verificsva.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verific/verificsva.cc b/frontends/verific/verificsva.cc
index 8ea8372d3..909e9b4f1 100644
--- a/frontends/verific/verificsva.cc
+++ b/frontends/verific/verificsva.cc
@@ -357,7 +357,7 @@ struct SvaFsm
for (int i = 0; i < GetSize(nodes); i++)
{
if (next_state_sig[i] != State::S0) {
- clocking.addDff(NEW_ID, next_state_sig[i], state_wire[i], Const(0, 1));
+ clocking.addDff(NEW_ID, next_state_sig[i], state_wire[i], State::S0);
} else {
module->connect(state_wire[i], State::S0);
}