3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

Add opt_mem_widen pass.

If all of us are wide, then none of us are!
This commit is contained in:
Marcelina Kościelnicka 2021-08-13 00:43:15 +02:00
parent 1f74ec3535
commit f791328506
4 changed files with 146 additions and 0 deletions

View file

@ -41,6 +41,7 @@ struct MemoryPass : public Pass {
log(" memory_dff (skipped if called with -nordff or -memx)\n");
log(" opt_clean\n");
log(" memory_share [-nowiden] [-nosat]\n");
log(" opt_mem_widen\n");
log(" memory_memx (when called with -memx)\n");
log(" opt_clean\n");
log(" memory_collect\n");
@ -100,6 +101,7 @@ struct MemoryPass : public Pass {
Pass::call(design, "memory_dff");
Pass::call(design, "opt_clean");
Pass::call(design, "memory_share" + memory_share_opts);
Pass::call(design, "opt_mem_widen");
if (flag_memx)
Pass::call(design, "memory_memx");
Pass::call(design, "opt_clean");