summaryrefslogtreecommitdiff
path: root/techlibs/greenpak4/synth_greenpak4.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-09-18 12:00:37 +0200
committerClifford Wolf <clifford@clifford.at>2015-09-18 12:00:37 +0200
commit745d56149d276f52146e302d59f74ede8d1875ba (patch)
treed4e44c010631a538eef8f8cf95312edd89bd2ece /techlibs/greenpak4/synth_greenpak4.cc
parent452d4bf741cd46176c1dfbd232dd560e436b9f15 (diff)
Renamed GreenPAK4 cells, improved GP4 DFF mapping
Diffstat (limited to 'techlibs/greenpak4/synth_greenpak4.cc')
-rw-r--r--techlibs/greenpak4/synth_greenpak4.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc
index 4de08eb8..8b88667c 100644
--- a/techlibs/greenpak4/synth_greenpak4.cc
+++ b/techlibs/greenpak4/synth_greenpak4.cc
@@ -86,6 +86,8 @@ struct SynthGreenPAK4Pass : public Pass {
log(" memory_map\n");
log(" opt -undriven -fine\n");
log(" techmap\n");
+ log(" dfflibmap -prepare -liberty +/greenpak4/gp_dff.lib\n");
+ log(" opt -fast\n");
log(" abc -dff (only if -retime)\n");
log("\n");
log(" map_luts:\n");
@@ -187,6 +189,8 @@ struct SynthGreenPAK4Pass : public Pass {
Pass::call(design, "memory_map");
Pass::call(design, "opt -undriven -fine");
Pass::call(design, "techmap");
+ Pass::call(design, "dfflibmap -prepare -liberty +/greenpak4/gp_dff.lib");
+ Pass::call(design, "opt -fast");
if (retime)
Pass::call(design, "abc -dff");
}