From c97440838aa740fc335c59914f6dfd6f492b69f8 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Fri, 10 Dec 2010 10:49:59 -0800 Subject: time sync on usrp2 as well, added debug pins to time sync. --- usrp2/timing/time_64bit.v | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usrp2/timing/time_64bit.v') 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 -- cgit v1.2.3