projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b87720
)
synth: only techmap cmp2{lut,lcu} if -lut
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 6 Feb 2020 16:46:11 +0000
(08:46 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 3 Apr 2020 21:28:22 +0000
(14:28 -0700)
techlibs/common/synth.cc
patch
|
blob
|
history
diff --git
a/techlibs/common/synth.cc
b/techlibs/common/synth.cc
index 513702357bc164414a513c1e2c7e36dd1dc1a338..d6dffdd7f5c50c7d581349c26db434d0616b676b 100644
(file)
--- a/
techlibs/common/synth.cc
+++ b/
techlibs/common/synth.cc
@@
-226,7
+226,7
@@
struct SynthPass : public ScriptPass
run("opt_clean");
if (help_mode)
run("techmap -map +/cmp2lut.v -map +/cmp2lcu.v", " (if -lut)");
- else
+ else
if (lut)
run(stringf("techmap -map +/cmp2lut.v -map +/cmp2lcu.v -D LUT_WIDTH=%d", lut));
if (!noalumacc)
run("alumacc", " (unless -noalumacc)");