diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-02-23 19:42:51 +0100 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-03-08 20:16:29 +0100 |
commit | a3528649c82ed7c6d14850affef8e9368f4fe065 (patch) | |
tree | 05fe743a30c58432246a4df406b591b6acc21794 /passes/memory/memory.cc | |
parent | 89c74ffd7189d4898feb476ff70376385d516eb2 (diff) | |
download | yosys-a3528649c82ed7c6d14850affef8e9368f4fe065.tar.gz yosys-a3528649c82ed7c6d14850affef8e9368f4fe065.tar.bz2 yosys-a3528649c82ed7c6d14850affef8e9368f4fe065.zip |
memory_dff: Remove now-useless write port handling.
Diffstat (limited to 'passes/memory/memory.cc')
-rw-r--r-- | passes/memory/memory.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/passes/memory/memory.cc b/passes/memory/memory.cc index 282517992..9dec05db8 100644 --- a/passes/memory/memory.cc +++ b/passes/memory/memory.cc @@ -36,7 +36,7 @@ struct MemoryPass : public Pass { log("This pass calls all the other memory_* passes in a useful order:\n"); log("\n"); log(" opt_mem\n"); - log(" memory_dff [-nordff] (-memx implies -nordff)\n"); + log(" memory_dff (skipped if called with -nordff or -memx)\n"); log(" opt_clean\n"); log(" memory_share\n"); log(" opt_clean\n"); @@ -83,7 +83,8 @@ struct MemoryPass : public Pass { extra_args(args, argidx, design); Pass::call(design, "opt_mem"); - Pass::call(design, flag_nordff ? "memory_dff -nordff" : "memory_dff"); + if (!flag_nordff) + Pass::call(design, "memory_dff"); Pass::call(design, "opt_clean"); Pass::call(design, "memory_share"); if (flag_memx) |