common/up_dac_common: Expose r1_mode in up clock domain to prevent deadlock

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.
main
Laszlo Nagy 2021-03-19 07:55:33 +00:00 committed by Laszlo Nagy
parent d9bc014c98
commit 1502b940d3
1 changed files with 1 additions and 1 deletions

View File

@ -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
@ -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;