aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/top/u2plus/u2plus.v
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-07-29 10:59:53 -0700
committerNick Foster <nick@nerdnetworks.org>2010-07-29 10:59:53 -0700
commitdcdab8c84ed9d4481ee929fdb13a11e2be930329 (patch)
tree1e39f7546f2af88315eb59e76288354722a31ddc /usrp2/top/u2plus/u2plus.v
parented2882e600832f6cb46d05bde7aa49d045e63895 (diff)
downloaduhd-dcdab8c84ed9d4481ee929fdb13a11e2be930329.tar.gz
uhd-dcdab8c84ed9d4481ee929fdb13a11e2be930329.tar.bz2
uhd-dcdab8c84ed9d4481ee929fdb13a11e2be930329.zip
Added DCM reset line to sr.
Diffstat (limited to 'usrp2/top/u2plus/u2plus.v')
-rw-r--r--usrp2/top/u2plus/u2plus.v8
1 files changed, 5 insertions, 3 deletions
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