3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Update memory_dff naming

This commit is contained in:
Akash Levy 2025-03-05 06:39:47 -08:00
parent e1fc67a693
commit 12137c7ac4

View file

@ -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;