aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4
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/greenpak4
parent4c1d3a126d3978aeacbab623532c0ec9400b8959 (diff)
downloadyosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.gz
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.bz2
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.zip
synth_*: call 'opt -fast' after 'techmap'
Diffstat (limited to 'techlibs/greenpak4')
-rw-r--r--techlibs/greenpak4/synth_greenpak4.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc
index e1fbe6b69..bfbb56d15 100644
--- a/techlibs/greenpak4/synth_greenpak4.cc
+++ b/techlibs/greenpak4/synth_greenpak4.cc
@@ -160,8 +160,7 @@ struct SynthGreenPAK4Pass : public ScriptPass
run("opt -fast -mux_undef -undriven -fine");
run("memory_map");
run("opt -undriven -fine");
- run("techmap");
- run("techmap -map +/greenpak4/cells_latch.v");
+ run("techmap -map +/techmap.v -map +/greenpak4/cells_latch.v");
run("dfflibmap -prepare -liberty +/greenpak4/gp_dff.lib");
run("opt -fast");
if (retime || help_mode)