aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-07 11:12:38 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-07 11:12:38 -0700
commit71649969213863b2695f1c51956886fc7879c3e6 (patch)
tree7fb2cf4be9d2d5628dc4c54a8c9161fd57e62bfd /techlibs
parente6d5147214bd157c457654dc46547775ec6ad324 (diff)
downloadyosys-71649969213863b2695f1c51956886fc7879c3e6.tar.gz
yosys-71649969213863b2695f1c51956886fc7879c3e6.tar.bz2
yosys-71649969213863b2695f1c51956886fc7879c3e6.zip
RTLIL::S{0,1} -> State::S{0,1}
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/ice40/ice40_opt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/ice40/ice40_opt.cc b/techlibs/ice40/ice40_opt.cc
index e492454fb..d5106b805 100644
--- a/techlibs/ice40/ice40_opt.cc
+++ b/techlibs/ice40/ice40_opt.cc
@@ -117,7 +117,7 @@ static void run_ice40_opts(Module *module)
log("Optimized $__ICE40_FULL_ADDER cell back to logic (without SB_CARRY) %s.%s: CO=%s\n",
log_id(module), log_id(cell), log_signal(replacement_output));
cell->type = "$lut";
- cell->setPort("\\A", { RTLIL::S0, inbit[0], inbit[1], inbit[2] });
+ cell->setPort("\\A", { State::S0, inbit[0], inbit[1], inbit[2] });
cell->setPort("\\Y", cell->getPort("\\O"));
cell->unsetPort("\\B");
cell->unsetPort("\\CI");