aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--techlibs/nexus/brams_map.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/nexus/brams_map.v b/techlibs/nexus/brams_map.v
index 17306cded..cec56cec4 100644
--- a/techlibs/nexus/brams_map.v
+++ b/techlibs/nexus/brams_map.v
@@ -310,7 +310,7 @@ PDPSC16K #(
) _TECHMAP_REPLACE_ (
.CLK(CLK_C),
- .CEW(PORT_W_CLK_EN),
+ .CEW(PORT_W_CLK_EN & (|PORT_W_WR_EN)),
.CSW(3'b111),
.ADW(ADW),
.DI(DI),
@@ -400,7 +400,7 @@ PDP16K #(
.GSR("DISABLED"),
) _TECHMAP_REPLACE_ (
.CLKW(PORT_W_CLK),
- .CEW(PORT_W_CLK_EN),
+ .CEW(PORT_W_CLK_EN & (|PORT_W_WR_EN)),
.CSW(3'b111),
.ADW(ADW),
.DI(DI),