aboutsummaryrefslogtreecommitdiffstats
path: root/passes/sat/miter.cc
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 /passes/sat/miter.cc
parent3486235338faa1377bb4e1a8981a45b4ee6edfa9 (diff)
downloadyosys-046e1a52147dd4a0e1f23e4aa7cb71b0a4d1b497.tar.gz
yosys-046e1a52147dd4a0e1f23e4aa7cb71b0a4d1b497.tar.bz2
yosys-046e1a52147dd4a0e1f23e4aa7cb71b0a4d1b497.zip
Use State::S{0,1}
Diffstat (limited to 'passes/sat/miter.cc')
-rw-r--r--passes/sat/miter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/sat/miter.cc b/passes/sat/miter.cc
index 1a886af70..e1da1a9e6 100644
--- a/passes/sat/miter.cc
+++ b/passes/sat/miter.cc
@@ -236,7 +236,7 @@ void create_miter_equiv(struct Pass *that, std::vector<std::string> args, RTLIL:
if (flag_make_assert) {
RTLIL::Cell *assert_cell = miter_module->addCell(NEW_ID, "$assert");
assert_cell->setPort("\\A", all_conditions);
- assert_cell->setPort("\\EN", RTLIL::SigSpec(1, 1));
+ assert_cell->setPort("\\EN", State::S1);
}
RTLIL::Wire *w_trigger = miter_module->addWire("\\trigger");