From 0ff37b56a9ec31c94c44be6e36410e04f7edf399 Mon Sep 17 00:00:00 2001 From: Radek Isa Date: Tue, 24 Sep 2024 14:40:03 +0200 Subject: [PATCH] RX MAC: [BUGFIX] Fix data response signal. Fix bug when read from reg after read from cam write to much responses --- comp/nic/mac_lite/rx_mac_lite/comp/ctrl_unit/ctrl_unit.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/nic/mac_lite/rx_mac_lite/comp/ctrl_unit/ctrl_unit.vhd b/comp/nic/mac_lite/rx_mac_lite/comp/ctrl_unit/ctrl_unit.vhd index 8089728d8..45ee0c56c 100644 --- a/comp/nic/mac_lite/rx_mac_lite/comp/ctrl_unit/ctrl_unit.vhd +++ b/comp/nic/mac_lite/rx_mac_lite/comp/ctrl_unit/ctrl_unit.vhd @@ -798,7 +798,7 @@ begin s_cam_re_reg0 <= '0'; s_cam_re_reg1 <= '0'; else - s_mi_rd_reg <= s_mi_rd; + s_mi_rd_reg <= s_mi_rd and s_cam_rdy; s_mi_drdy <= s_mi_rd_reg; s_cam_re_reg0 <= s_cam_re; s_cam_re_reg1 <= s_cam_re_reg0;