3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 18:05:24 +00:00

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

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;