aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/anlogic
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/anlogic
parent4c1d3a126d3978aeacbab623532c0ec9400b8959 (diff)
downloadyosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.gz
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.bz2
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.zip
synth_*: call 'opt -fast' after 'techmap'
Diffstat (limited to 'techlibs/anlogic')
-rw-r--r--techlibs/anlogic/synth_anlogic.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/techlibs/anlogic/synth_anlogic.cc b/techlibs/anlogic/synth_anlogic.cc
index aaa6bda4a..96a231286 100644
--- a/techlibs/anlogic/synth_anlogic.cc
+++ b/techlibs/anlogic/synth_anlogic.cc
@@ -175,6 +175,7 @@ struct SynthAnlogicPass : public ScriptPass
if (check_label("map_gates"))
{
run("techmap -map +/techmap.v -map +/anlogic/arith_map.v");
+ run("opt -fast");
if (retime || help_mode)
run("abc -dff -D 1", "(only if -retime)");
}