diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-05-23 15:42:51 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-05-23 18:30:39 +0200 |
commit | d905990d0194decb9f673ccf10aa488820816b87 (patch) | |
tree | 08684cb194d99e358a9a3f3e99a16fd3ff1dd1dd /passes/memory/memory.cc | |
parent | 1eea06bcc0750de02a460f3e949df2f68f800382 (diff) | |
download | yosys-d905990d0194decb9f673ccf10aa488820816b87.tar.gz yosys-d905990d0194decb9f673ccf10aa488820816b87.tar.bz2 yosys-d905990d0194decb9f673ccf10aa488820816b87.zip |
memory_share: Split off feedback path finding as a separate pass.
memory_share is actually three passes in a trenchcoat. Split off the
one that has the least in common with the other two as a separate pass.
Diffstat (limited to 'passes/memory/memory.cc')
-rw-r--r-- | passes/memory/memory.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/passes/memory/memory.cc b/passes/memory/memory.cc index 9dec05db8..57e436943 100644 --- a/passes/memory/memory.cc +++ b/passes/memory/memory.cc @@ -38,9 +38,10 @@ struct MemoryPass : public Pass { log(" opt_mem\n"); log(" memory_dff (skipped if called with -nordff or -memx)\n"); log(" opt_clean\n"); + log(" opt_mem_feedback\n"); log(" memory_share\n"); - log(" opt_clean\n"); log(" memory_memx (when called with -memx)\n"); + log(" opt_clean\n"); log(" memory_collect\n"); log(" memory_bram -rules <bram_rules> (when called with -bram)\n"); log(" memory_map (skipped if called with -nomap)\n"); @@ -86,6 +87,7 @@ struct MemoryPass : public Pass { if (!flag_nordff) Pass::call(design, "memory_dff"); Pass::call(design, "opt_clean"); + Pass::call(design, "opt_mem_feedback"); Pass::call(design, "memory_share"); if (flag_memx) Pass::call(design, "memory_memx"); |