reg[DATA_DEPTH-1:0]waddr_gray;//VivadoSynthesis: [Synth 8-3332] Sequential element ddrc_test01.ddrc_control_i.fifo_cross_clocks_i.waddr_gray_reg[3] is unused and will be removed from module ddrc_test01.
reg[2:0]raddr_gray_top3;//VivadoSynthesis: [Synth 8-3332] Sequential element ddrc_test01.ddrc_control_i.fifo_cross_clocks_i.raddr_gray_top3_reg[2] is unused and will be removed from module ddrc_test01.
reg[2:0]raddr_gray_top3_wclk;
reg[2:0]raddr_gray_top3_wclk;
wire[2:0]raddr_top3_wclk={
wire[2:0]raddr_top3_wclk={
raddr_gray_top3_wclk[2],
raddr_gray_top3_wclk[2],
...
@@ -66,13 +66,16 @@ module fifo_cross_clocks
...
@@ -66,13 +66,16 @@ module fifo_cross_clocks
// a) it is transitioning from empty to non-empty due to we pulse
// a) it is transitioning from empty to non-empty due to we pulse
// b) it is transitioning to overrun - too bad already
// b) it is transitioning to overrun - too bad already
// false negative - OK, just wait fro the next rclk
// false negative - OK, just wait fro the next rclk