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:
parent
869e7e70d4
commit
6cb5297e28
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user