summaryrefslogtreecommitdiffstats
path: root/usrp2/timing/time_64bit.v
diff options
context:
space:
mode:
Diffstat (limited to 'usrp2/timing/time_64bit.v')
-rw-r--r--usrp2/timing/time_64bit.v7
1 files changed, 5 insertions, 2 deletions
diff --git a/usrp2/timing/time_64bit.v b/usrp2/timing/time_64bit.v
index 8c9090a35..03df07108 100644
--- a/usrp2/timing/time_64bit.v
+++ b/usrp2/timing/time_64bit.v
@@ -23,7 +23,7 @@ module time_64bit
(input clk, input rst,
input set_stb, input [7:0] set_addr, input [31:0] set_data,
input pps,
- output [63:0] vita_time,
+ output reg [63:0] vita_time,
output reg [63:0] vita_time_pps,
output pps_int,
input exp_time_in, output exp_time_out,
@@ -40,7 +40,10 @@ module time_64bit
reg [31:0] seconds, ticks;
wire end_of_second;
- assign vita_time = {seconds,ticks};
+
+ always @(posedge clk)
+ vita_time <= {seconds,ticks};
+
wire [63:0] vita_time_rcvd;
wire [31:0] next_ticks_preset, next_seconds_preset;