aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4/synth_greenpak4.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-03-23 08:46:10 +0100
committerClifford Wolf <clifford@clifford.at>2016-03-23 08:46:10 +0100
commitb4bf787f1091c79d6fed6ac1ec91ebadbceb8023 (patch)
tree2f4741bce741608d8f58f84b730f9173c1cab571 /techlibs/greenpak4/synth_greenpak4.cc
parent456c10f16e5b535fc5aa95eacfabbe018fef2348 (diff)
downloadyosys-b4bf787f1091c79d6fed6ac1ec91ebadbceb8023.tar.gz
yosys-b4bf787f1091c79d6fed6ac1ec91ebadbceb8023.tar.bz2
yosys-b4bf787f1091c79d6fed6ac1ec91ebadbceb8023.zip
Added GP_DFFS, GP_DFFR, and GP_DFFSR
Diffstat (limited to 'techlibs/greenpak4/synth_greenpak4.cc')
-rw-r--r--techlibs/greenpak4/synth_greenpak4.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc
index 7d43cf579..04166d8be 100644
--- a/techlibs/greenpak4/synth_greenpak4.cc
+++ b/techlibs/greenpak4/synth_greenpak4.cc
@@ -97,6 +97,7 @@ struct SynthGreenPAK4Pass : public Pass {
log(" clean\n");
log("\n");
log(" map_cells:\n");
+ log(" dfflibmap -liberty +/greenpak4/gp_dff.lib\n");
log(" techmap -map +/greenpak4/cells_map.v\n");
log(" dffinit -ff GP_DFF Q INIT\n");
log(" clean\n");
@@ -205,6 +206,7 @@ struct SynthGreenPAK4Pass : public Pass {
if (check_label(active, run_from, run_to, "map_cells"))
{
+ Pass::call(design, "dfflibmap -liberty +/greenpak4/gp_dff.lib");
Pass::call(design, "techmap -map +/greenpak4/cells_map.v");
Pass::call(design, "dffinit -ff GP_DFF Q INIT");
Pass::call(design, "clean");