projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28274df
)
Use Const::from_string() not its constructor...
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 12 Jul 2019 08:32:10 +0000
(
01:32
-0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 12 Jul 2019 08:32:10 +0000
(
01:32
-0700)
techlibs/ice40/ice40_opt.cc
patch
|
blob
|
history
diff --git
a/techlibs/ice40/ice40_opt.cc
b/techlibs/ice40/ice40_opt.cc
index 4e50b250e510a49880e061813c97f2bb0509df32..67e8771b433c9b7855fe38cc3c0b2dcd47ea4bf4 100644
(file)
--- 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;