mirror of https://github.com/YosysHQ/yosys.git
nexus: Fix BRAM write enable in PDP mode
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
d3216593da
commit
7bac1920b2
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue