Use Const::from_string() not its constructor...

This commit is contained in:
Eddie Hung 2019-07-12 01:32:10 -07:00
parent 28274dfb09
commit 7a912f22b2
1 changed files with 1 additions and 1 deletions

View File

@ -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;