aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/gowin/synth_gowin.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-02-05 20:21:40 -0800
committerGitHub <noreply@github.com>2020-02-05 20:21:40 -0800
commitd44848328b329489eda0719968c3f81d4d9a6b55 (patch)
treeea3552e89f8e14a0e2b2443342f914033bb3099a /techlibs/gowin/synth_gowin.cc
parent4c1d3a126d3978aeacbab623532c0ec9400b8959 (diff)
parent0b0148399c81dc8c0297d8eac3b2638ed272ba58 (diff)
downloadyosys-d44848328b329489eda0719968c3f81d4d9a6b55.tar.gz
yosys-d44848328b329489eda0719968c3f81d4d9a6b55.tar.bz2
yosys-d44848328b329489eda0719968c3f81d4d9a6b55.zip
Merge pull request #1682 from YosysHQ/eddie/opt_after_techmap
synth_*: call 'opt -fast' after 'techmap'
Diffstat (limited to 'techlibs/gowin/synth_gowin.cc')
-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");