3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-04 02:10:24 +00:00

Added GP_DFFS, GP_DFFR, and GP_DFFSR

This commit is contained in:
Clifford Wolf 2016-03-23 08:46:10 +01:00
parent 456c10f16e
commit b4bf787f10
4 changed files with 76 additions and 21 deletions

View file

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