aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/coolrunner2/synth_coolrunner2.cc
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/coolrunner2/synth_coolrunner2.cc
parent4c1d3a126d3978aeacbab623532c0ec9400b8959 (diff)
downloadyosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.gz
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.bz2
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.zip
synth_*: call 'opt -fast' after 'techmap'
Diffstat (limited to 'techlibs/coolrunner2/synth_coolrunner2.cc')
-rw-r--r--techlibs/coolrunner2/synth_coolrunner2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cc b/techlibs/coolrunner2/synth_coolrunner2.cc
index 388e2b792..3bac8623d 100644
--- a/techlibs/coolrunner2/synth_coolrunner2.cc
+++ b/techlibs/coolrunner2/synth_coolrunner2.cc
@@ -144,8 +144,8 @@ struct SynthCoolrunner2Pass : public ScriptPass
if (check_label("fine"))
{
run("opt -fast -full");
- run("techmap");
- run("techmap -map +/coolrunner2/cells_latch.v");
+ run("techmap -map +/techmap.v -map +/coolrunner2/cells_latch.v");
+ run("opt -fast");
run("dfflibmap -prepare -liberty +/coolrunner2/xc2_dff.lib");
}