diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-07-12 01:32:10 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-07-12 01:32:10 -0700 |
commit | 7a912f22b2c3976d72a25ffd605a1cf598b67983 (patch) | |
tree | aab46a088c0361b45488e726fa1fc5e3b2529058 /techlibs/ice40/ice40_opt.cc | |
parent | 28274dfb09fb48637f82949ce601a417eb3d0b82 (diff) | |
download | yosys-7a912f22b2c3976d72a25ffd605a1cf598b67983.tar.gz yosys-7a912f22b2c3976d72a25ffd605a1cf598b67983.tar.bz2 yosys-7a912f22b2c3976d72a25ffd605a1cf598b67983.zip |
Use Const::from_string() not its constructor...
Diffstat (limited to 'techlibs/ice40/ice40_opt.cc')
-rw-r--r-- | techlibs/ice40/ice40_opt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |