1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

Fix TDMA BER pipeline register

This commit is contained in:
Alex Forencich 2022-03-17 13:28:41 -07:00
parent 869e7e70d4
commit 6cb5297e28

View File

@ -158,7 +158,7 @@ always @(posedge phy_rx_clk) begin
phy_rx_error_count_acc_reg <= PHY_PIPELINE ? phy_rx_error_count_pipe_reg[(PHY_PIPELINE-1)*7 +: 7] : phy_rx_error_count;
phy_rx_flag_reg <= !phy_rx_flag_reg;
end else begin
phy_rx_error_count_acc_reg <= phy_rx_error_count_acc_reg + phy_rx_error_count;
phy_rx_error_count_acc_reg <= phy_rx_error_count_acc_reg + (PHY_PIPELINE ? phy_rx_error_count_pipe_reg[(PHY_PIPELINE-1)*7 +: 7] : phy_rx_error_count);
end
end