projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2024357
)
Use single DSP_SIGNEDONLY macro
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 18 Jul 2019 20:09:55 +0000
(13:09 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 18 Jul 2019 20:09:55 +0000
(13:09 -0700)
techlibs/xilinx/synth_xilinx.cc
patch
|
blob
|
history
diff --git
a/techlibs/xilinx/synth_xilinx.cc
b/techlibs/xilinx/synth_xilinx.cc
index 2e2fbbd9d2b988540d67379ed0daeaaf193074d9..e5a27015a25de3c63849f138b34402bdbab3e5d6 100644
(file)
--- a/
techlibs/xilinx/synth_xilinx.cc
+++ b/
techlibs/xilinx/synth_xilinx.cc
@@
-286,7
+286,7
@@
struct SynthXilinxPass : public ScriptPass
if (!nodsp || help_mode) {
// NB: Xilinx multipliers are signed only
- run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=25 -D DSP_
A_SIGNEDONLY=1 -D DSP_B_MAXWIDTH=18 -D DSP_B
_SIGNEDONLY=1 -D DSP_NAME=$__MUL25X18");
+ run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=25 -D DSP_
B_MAXWIDTH=18 -D DSP
_SIGNEDONLY=1 -D DSP_NAME=$__MUL25X18");
}
run("alumacc");