diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-09-18 12:00:37 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-09-18 12:00:37 +0200 |
commit | 745d56149d276f52146e302d59f74ede8d1875ba (patch) | |
tree | d4e44c010631a538eef8f8cf95312edd89bd2ece /techlibs/greenpak4/synth_greenpak4.cc | |
parent | 452d4bf741cd46176c1dfbd232dd560e436b9f15 (diff) | |
download | yosys-745d56149d276f52146e302d59f74ede8d1875ba.tar.gz yosys-745d56149d276f52146e302d59f74ede8d1875ba.tar.bz2 yosys-745d56149d276f52146e302d59f74ede8d1875ba.zip |
Renamed GreenPAK4 cells, improved GP4 DFF mapping
Diffstat (limited to 'techlibs/greenpak4/synth_greenpak4.cc')
-rw-r--r-- | techlibs/greenpak4/synth_greenpak4.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc index 4de08eb82..8b88667c4 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"); } |