From: Eddie Hung Date: Fri, 12 Jul 2019 08:32:10 +0000 (-0700) Subject: Use Const::from_string() not its constructor... X-Git-Tag: working-ls180~1191^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a912f22b2c3976d72a25ffd605a1cf598b67983;p=yosys.git Use Const::from_string() not its constructor... --- diff --git a/techlibs/ice40/ice40_opt.cc b/techlibs/ice40/ice40_opt.cc index 4e50b250e..67e8771b4 100644 --- a/techlibs/ice40/ice40_opt.cc +++ b/techlibs/ice40/ice40_opt.cc @@ -125,7 +125,7 @@ static void run_ice40_opts(Module *module) cell->unsetPort("\\B"); cell->unsetPort("\\CI"); cell->unsetPort("\\CO"); - cell->setParam("\\LUT_INIT", std::string("0110100110010110")); + cell->setParam("\\LUT_INIT", RTLIL::Const::from_string("0110100110010110")); sb_lut_cells.push_back(cell); } continue;