mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 03:10:26 +00:00
Add "opt_mem" pass
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
72d2ef6fd0
commit
03fb92ed6f
3 changed files with 146 additions and 0 deletions
|
@ -35,6 +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(" opt_mem\n");
|
||||
log(" memory_dff [-nordff] (-memx implies -nordff)\n");
|
||||
log(" opt_clean\n");
|
||||
log(" memory_share\n");
|
||||
|
@ -81,6 +82,7 @@ struct MemoryPass : public Pass {
|
|||
}
|
||||
extra_args(args, argidx, design);
|
||||
|
||||
Pass::call(design, "opt_mem");
|
||||
Pass::call(design, flag_nordff ? "memory_dff -nordff" : "memory_dff");
|
||||
Pass::call(design, "opt_clean");
|
||||
Pass::call(design, "memory_share");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue