aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-03-31 23:16:45 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-03-31 23:16:45 -0700
commit736a998a75e12ca83b45b74a79e78fae8ab12d16 (patch)
treebd686bea4d96d5d93c744c8f19777221d8e69f18 /techlibs/greenpak4
parent7498ff8041cdd464521a6802055a9893a0c6cf61 (diff)
downloadyosys-736a998a75e12ca83b45b74a79e78fae8ab12d16.tar.gz
yosys-736a998a75e12ca83b45b74a79e78fae8ab12d16.tar.bz2
yosys-736a998a75e12ca83b45b74a79e78fae8ab12d16.zip
DFFINIT is now correctly called for all kinds of flipflop, not just DFF
Diffstat (limited to 'techlibs/greenpak4')
-rw-r--r--techlibs/greenpak4/synth_greenpak4.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc
index d44888998..25150ec56 100644
--- a/techlibs/greenpak4/synth_greenpak4.cc
+++ b/techlibs/greenpak4/synth_greenpak4.cc
@@ -102,6 +102,9 @@ struct SynthGreenPAK4Pass : public Pass {
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(" dffinit -ff GP_DFFR Q INIT\n");
+ log(" dffinit -ff GP_DFFS Q INIT\n");
+ log(" dffinit -ff GP_DFFSR Q INIT\n");
log(" clean\n");
log("\n");
log(" check:\n");
@@ -214,6 +217,9 @@ struct SynthGreenPAK4Pass : public Pass {
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, "dffinit -ff GP_DFFR Q INIT");
+ Pass::call(design, "dffinit -ff GP_DFFS Q INIT");
+ Pass::call(design, "dffinit -ff GP_DFFSR Q INIT");
Pass::call(design, "clean");
}