diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-06-14 16:15:51 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-06-14 16:15:51 +0200 |
commit | 66910e15b23856a132e9fce5b97ef660327086eb (patch) | |
tree | a47239cb4aa990c0144202b9c15e995adf4eb67a /passes/memory/memory.cc | |
parent | f6eca509bbf69d6b98f12c65bbb9c842026d9df7 (diff) | |
download | yosys-66910e15b23856a132e9fce5b97ef660327086eb.tar.gz yosys-66910e15b23856a132e9fce5b97ef660327086eb.tar.bz2 yosys-66910e15b23856a132e9fce5b97ef660327086eb.zip |
Modernized memory_dff (and fixed a bug)
Diffstat (limited to 'passes/memory/memory.cc')
-rw-r--r-- | passes/memory/memory.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/passes/memory/memory.cc b/passes/memory/memory.cc index 7b2b89b2b..7623d8724 100644 --- a/passes/memory/memory.cc +++ b/passes/memory/memory.cc @@ -35,7 +35,7 @@ struct MemoryPass : public Pass { log("\n"); log("This pass calls all the other memory_* passes in a useful order:\n"); log("\n"); - log(" memory_dff\n"); + log(" memory_dff [-nordff]\n"); log(" opt_clean\n"); log(" memory_share\n"); log(" opt_clean\n"); @@ -43,8 +43,6 @@ struct MemoryPass : public Pass { log(" memory_bram -rules <bram_rules> (when called with -bram)\n"); log(" memory_map (skipped if called with -nomap)\n"); log("\n"); - log("when called with -nordff, memory_dff will be called with -wr_only.\n"); - log("\n"); log("This converts memories to word-wide DFFs and address decoders\n"); log("or multiport memory blocks if called with the -nomap option.\n"); log("\n"); @@ -76,7 +74,7 @@ struct MemoryPass : public Pass { } extra_args(args, argidx, design); - Pass::call(design, flag_nordff ? "memory_dff -wr_only" : "memory_dff"); + Pass::call(design, flag_nordff ? "memory_dff -nordff" : "memory_dff"); Pass::call(design, "opt_clean"); Pass::call(design, "memory_share"); Pass::call(design, "opt_clean"); |