gatemate: Prevent implicit declaration of `ram_{we,en}`

This commit is contained in:
Patrick Urban 2023-06-05 19:08:44 +02:00
parent 2004a9ff4a
commit 61387d78b7
1 changed files with 2 additions and 2 deletions

View File

@ -1583,8 +1583,8 @@ module CC_FIFO_40K (
assign F_ALMOST_EMPTY = fifo_almost_empty;
assign F_WR_ERROR = (F_FULL && (B_EN ^ B_EN_INV) && (B_WE ^ B_WE_INV));
assign F_RD_ERROR = (F_EMPTY && (A_EN ^ A_EN_INV));
assign ram_we = (~F_FULL && (B_EN ^ B_EN_INV) && (B_WE ^ B_WE_INV));
assign ram_en = (~F_EMPTY && (A_EN ^ A_EN_INV));
wire ram_we = (~F_FULL && (B_EN ^ B_EN_INV) && (B_WE ^ B_WE_INV));
wire ram_en = (~F_EMPTY && (A_EN ^ A_EN_INV));
// Reset synchronizers
reg [1:0] aclk_reset_q, bclk_reset_q;