nexus: Fix BRAM write enable in PDP mode

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2023-01-04 12:00:03 +01:00 committed by myrtle
parent d3216593da
commit 7bac1920b2
1 changed files with 2 additions and 2 deletions

View File

@ -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),