3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-27 05:26:02 +00:00

Renamed GreenPAK4 cells, improved GP4 DFF mapping

This commit is contained in:
Clifford Wolf 2015-09-18 12:00:37 +02:00
parent 452d4bf741
commit 745d56149d
5 changed files with 50 additions and 9 deletions

View file

@ -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");
}