axi_adxcvr: Reset status if PLL lock is lost

In case something happens with the reference clock of the CPLL or QPLL,
they might lose the locking. The status should reflect that.
main
Laszlo Nagy 2020-07-21 07:15:10 +01:00 committed by Laszlo Nagy
parent 15e14c76b9
commit cf145ca961
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ module axi_adxcvr_up #(
end else if (up_user_ready_cnt[6] == 1'b0) begin
up_user_ready_cnt <= up_user_ready_cnt + 1'b1;
end
if (up_resetn == 1'b0) begin
if ((up_resetn == 1'b0) || (up_ch_pll_locked == 1'b0)) begin
up_status_int <= 1'b0;
end else if (up_ch_rst_done == 1'b1) begin
up_status_int <= 1'b1;