aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/timing
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-12-10 10:49:59 -0800
committerMatt Ettus <matt@ettus.com>2010-12-10 10:49:59 -0800
commitc97440838aa740fc335c59914f6dfd6f492b69f8 (patch)
treecf9dd72e607cf3fc0b63603d17b9f777e8340df4 /usrp2/timing
parent003df1ee96234f92c17f6c5f19c3c7e0a72490e9 (diff)
downloaduhd-c97440838aa740fc335c59914f6dfd6f492b69f8.tar.gz
uhd-c97440838aa740fc335c59914f6dfd6f492b69f8.tar.bz2
uhd-c97440838aa740fc335c59914f6dfd6f492b69f8.zip
time sync on usrp2 as well, added debug pins to time sync.
Diffstat (limited to 'usrp2/timing')
-rw-r--r--usrp2/timing/time_64bit.v6
1 files changed, 5 insertions, 1 deletions
diff --git a/usrp2/timing/time_64bit.v b/usrp2/timing/time_64bit.v
index a03f437e8..33eb2b25a 100644
--- a/usrp2/timing/time_64bit.v
+++ b/usrp2/timing/time_64bit.v
@@ -7,7 +7,8 @@ module time_64bit
input set_stb, input [7:0] set_addr, input [31:0] set_data,
input pps,
output [63:0] vita_time, output pps_int,
- input exp_time_in, output exp_time_out
+ input exp_time_in, output exp_time_out,
+ output [31:0] debug
);
localparam NEXT_SECS = 0;
@@ -137,5 +138,8 @@ module time_64bit
assign mimo_secs = vita_time_rcvd[63:32];
assign mimo_ticks = vita_time_rcvd[31:0] + {16'd0,sync_delay};
assign mimo_sync_now = mimo_sync & sync_rcvd & (mimo_ticks <= TICKS_PER_SEC);
+
+ assign debug = { { 24'b0} ,
+ { 2'b0, exp_time_in, exp_time_out, mimo_sync, mimo_sync_now, sync_rcvd, send_sync} };
endmodule // time_64bit