Using no_rw_check to achieve parity

This commit is contained in:
KrystalDelusion 2022-06-03 14:10:18 +12:00
parent c21079e046
commit 5f1aa4ff8a
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ module sync_ram_sdp #(parameter DATA_WIDTH=8, ADDRESS_WIDTH=10)
localparam DEPTH = (2**ADDRESS_WIDTH-1);
reg [WORD:0] data_out_r;
(* no_rw_check *)
reg [WORD:0] memory [0:DEPTH];
always @(posedge clk) begin