From 12137c7ac4be34753cb857e80efeba5c001a788a Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 5 Mar 2025 06:39:47 -0800 Subject: [PATCH] Update memory_dff naming --- passes/memory/memory_dff.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/passes/memory/memory_dff.cc b/passes/memory/memory_dff.cc index 75c6e6a3a..9255c990d 100644 --- a/passes/memory/memory_dff.cc +++ b/passes/memory/memory_dff.cc @@ -507,11 +507,11 @@ struct MemoryDffWorker merger.remove_output_ff(bits); if (ff.has_ce && !ff.pol_ce) - ff.sig_ce = module->LogicNot(NEW_ID, ff.sig_ce); + ff.sig_ce = module->LogicNot(NEW_MEM_ID_SUFFIX("ce"), ff.sig_ce); // SILIMATE: Improve the naming if (ff.has_arst && !ff.pol_arst) - ff.sig_arst = module->LogicNot(NEW_ID, ff.sig_arst); + ff.sig_arst = module->LogicNot(NEW_MEM_ID_SUFFIX("arst"), ff.sig_arst); // SILIMATE: Improve the naming if (ff.has_srst && !ff.pol_srst) - ff.sig_srst = module->LogicNot(NEW_ID, ff.sig_srst); + ff.sig_srst = module->LogicNot(NEW_MEM_ID_SUFFIX("srst"), ff.sig_srst); // SILIMATE: Improve the naming port.clk = ff.sig_clk; port.clk_enable = true; port.clk_polarity = ff.pol_clk;