Skip to content

Commit

Permalink
common/up_dac_common: Expose r1_mode in up clock domain to prevent de…
Browse files Browse the repository at this point in the history
…adlock

If R1 mode is first syncronized to the dac clock domain will prevent its
usage if the dac clock is missing. In such case the synchronization will not
propagate.
  • Loading branch information
ronagyl committed May 19, 2021
1 parent 061d024 commit 10b2863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/common/up_dac_common.v
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ module up_dac_common #(
input [31:0] up_pps_rcounter,
input up_pps_status,
output reg up_pps_irq_mask,
output reg up_dac_r1_mode = 'd0,

// drp interface

Expand Down Expand Up @@ -127,7 +128,6 @@ module up_dac_common #(
reg up_dac_sdr_ddr_n = 'd0;
reg up_dac_par_type = 'd0;
reg up_dac_par_enb = 'd0;
reg up_dac_r1_mode = 'd0;
reg up_dac_datafmt = 'd0;
reg [15:0] up_dac_datarate = 'd0;
reg up_dac_frame = 'd0;
Expand Down

0 comments on commit 10b2863

Please sign in to comment.