summaryrefslogtreecommitdiff
path: root/techlibs/greenpak4/synth_greenpak4.cc
diff options
context:
space:
mode:
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");
}