summaryrefslogtreecommitdiffstats
path: root/usrp2/top/B100/B100.v
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2012-02-06 13:01:32 -0800
committerNick Foster <nick@nerdnetworks.org>2012-02-06 13:02:25 -0800
commit947d0ffabc72b1f74ff4507df12b6bf2a021dc3b (patch)
tree2ab3d95674d4bb2ee79c14d1a61048b27ae9996b /usrp2/top/B100/B100.v
parenta9d307124faa679df8180b5624e9250555306d67 (diff)
downloaduhd-947d0ffabc72b1f74ff4507df12b6bf2a021dc3b.tar.gz
uhd-947d0ffabc72b1f74ff4507df12b6bf2a021dc3b.tar.bz2
uhd-947d0ffabc72b1f74ff4507df12b6bf2a021dc3b.zip
B100: External FPGA reset from FX2 reuses fpga_cfg_cclk.
Diffstat (limited to 'usrp2/top/B100/B100.v')
-rw-r--r--usrp2/top/B100/B100.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp2/top/B100/B100.v b/usrp2/top/B100/B100.v
index b5691d1c3..dcda974b4 100644
--- a/usrp2/top/B100/B100.v
+++ b/usrp2/top/B100/B100.v
@@ -41,7 +41,8 @@ module B100
input [11:0] adc, input RXSYNC,
input PPS_IN,
- input reset_n, output reset_codec
+ input reset_n, output reset_codec,
+ input ext_reset
);
assign reset_codec = 1; // Believed to be active low
@@ -55,7 +56,7 @@ module B100
BUFG clk_fpga_BUFG (.I(clk_fpga_in), .O(clk_fpga));
- reset_sync reset_sync(.clk(clk_fpga), .reset_in(~reset_n), .reset_out(reset));
+ reset_sync reset_sync(.clk(clk_fpga), .reset_in((~reset_n) | (~ext_reset)), .reset_out(reset));
// /////////////////////////////////////////////////////////////////////////
// SPI