mii_elastic_buffer: Don't use memory access hack on valid/err

We can already probe the valid/err signals, so we don't need to
explicitly access them.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson 2023-02-18 21:35:13 -05:00
parent eb8d854476
commit 3b9efe2211
1 changed files with 2 additions and 4 deletions

View File

@ -136,11 +136,9 @@ module mii_elastic_buffer (
`ifndef SYNTHESIS
/* This is the only way to look into a buffer... */
genvar j;
generate for (j = 0; j < BUF_SIZE; j = j + 1) begin
wire tmpv = valid[j];
wire tmpe = err[j];
generate for (j = 0; j < BUF_SIZE; j = j + 1)
wire [3:0] tmpd = data[j];
end endgenerate
endgenerate
`endif
endmodule