From dcdab8c84ed9d4481ee929fdb13a11e2be930329 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 29 Jul 2010 10:59:53 -0700 Subject: Added DCM reset line to sr. --- usrp2/top/u2plus/u2plus.v | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usrp2/top') diff --git a/usrp2/top/u2plus/u2plus.v b/usrp2/top/u2plus/u2plus.v index b349175de..d894631ac 100644 --- a/usrp2/top/u2plus/u2plus.v +++ b/usrp2/top/u2plus/u2plus.v @@ -151,9 +151,11 @@ module u2plus OBUFDS exp_user_out_pin (.O(exp_user_out_p),.OB(exp_user_out_n),.I(exp_user_out)); defparam exp_user_out_pin.IOSTANDARD = "LVDS_25"; - wire dcm_rst = 0; - - + reg [5:0] clock_ready_d; + always @(posedge clk_fpga) + clock_ready_d[5:0] <= {clock_ready_d[4:0],clock_ready}; + wire dcm_rst = ~&clock_ready_d & |clock_ready_d; + `ifdef LVDS wire [13:0] adc_a, adc_b; capture_ddrlvds #(.WIDTH(14)) capture_ddrlvds -- cgit v1.2.3