aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/gowin
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-02-05 18:39:01 -0800
committerEddie Hung <eddie@fpgeh.com>2020-02-05 18:39:01 -0800
commit0b0148399c81dc8c0297d8eac3b2638ed272ba58 (patch)
treeea3552e89f8e14a0e2b2443342f914033bb3099a /techlibs/gowin
parent4c1d3a126d3978aeacbab623532c0ec9400b8959 (diff)
downloadyosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.gz
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.bz2
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.zip
synth_*: call 'opt -fast' after 'techmap'
Diffstat (limited to 'techlibs/gowin')
-rw-r--r--techlibs/gowin/synth_gowin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/gowin/synth_gowin.cc b/techlibs/gowin/synth_gowin.cc
index 99dd3834b..d8d8397b6 100644
--- a/techlibs/gowin/synth_gowin.cc
+++ b/techlibs/gowin/synth_gowin.cc
@@ -211,7 +211,7 @@ struct SynthGowinPass : public ScriptPass
if (check_label("map_gates"))
{
run("techmap -map +/techmap.v -map +/gowin/arith_map.v");
- run("techmap -map +/techmap.v");
+ run("opt -fast");
if (retime || help_mode)
run("abc -dff -D 1", "(only if -retime)");
run("splitnets");