mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Use Const::from_string() not its constructor...
This commit is contained in:
parent
28274dfb09
commit
7a912f22b2
|
@ -125,7 +125,7 @@ static void run_ice40_opts(Module *module)
|
||||||
cell->unsetPort("\\B");
|
cell->unsetPort("\\B");
|
||||||
cell->unsetPort("\\CI");
|
cell->unsetPort("\\CI");
|
||||||
cell->unsetPort("\\CO");
|
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);
|
sb_lut_cells.push_back(cell);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue