aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4/synth_greenpak4.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-03-23 08:12:54 +0100
committerClifford Wolf <clifford@clifford.at>2016-03-23 08:12:54 +0100
commit456c10f16e5b535fc5aa95eacfabbe018fef2348 (patch)
tree164e1abccaef750a6c26401702421d692a2ec3aa /techlibs/greenpak4/synth_greenpak4.cc
parent4f2ea221dcdc632cdbb22f91403d076b61ec69ca (diff)
downloadyosys-456c10f16e5b535fc5aa95eacfabbe018fef2348.tar.gz
yosys-456c10f16e5b535fc5aa95eacfabbe018fef2348.tar.bz2
yosys-456c10f16e5b535fc5aa95eacfabbe018fef2348.zip
Added GP_DFF INIT parameter
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 30ed8f74c..7d43cf579 100644
--- a/techlibs/greenpak4/synth_greenpak4.cc
+++ b/techlibs/greenpak4/synth_greenpak4.cc
@@ -98,6 +98,7 @@ struct SynthGreenPAK4Pass : public Pass {
log("\n");
log(" map_cells:\n");
log(" techmap -map +/greenpak4/cells_map.v\n");
+ log(" dffinit -ff GP_DFF Q INIT\n");
log(" clean\n");
log("\n");
log(" check:\n");
@@ -205,6 +206,7 @@ struct SynthGreenPAK4Pass : public Pass {
if (check_label(active, run_from, run_to, "map_cells"))
{
Pass::call(design, "techmap -map +/greenpak4/cells_map.v");
+ Pass::call(design, "dffinit -ff GP_DFF Q INIT");
Pass::call(design, "clean");
}