summaryrefslogtreecommitdiffstats
path: root/usrp2/timing/time_64bit.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-07-28 09:57:59 -0700
committerJosh Blum <josh@joshknows.com>2011-07-28 10:02:47 -0700
commitb23ac38dabe54145b385c50a1f4afa16c0dc3b15 (patch)
tree771e10705d6f95f26a33dcd4511de236b9df70ed /usrp2/timing/time_64bit.v
parentb57d39b957762a5ae2536b2255a8c16155b8dfac (diff)
downloaduhd-b23ac38dabe54145b385c50a1f4afa16c0dc3b15.tar.gz
uhd-b23ac38dabe54145b385c50a1f4afa16c0dc3b15.tar.bz2
uhd-b23ac38dabe54145b385c50a1f4afa16c0dc3b15.zip
u2/u2p: speed up time_64, and remove readbacks on simple_gemac wb regs
Diffstat (limited to 'usrp2/timing/time_64bit.v')
-rw-r--r--usrp2/timing/time_64bit.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/usrp2/timing/time_64bit.v b/usrp2/timing/time_64bit.v
index 8c9090a35..4fefcc488 100644
--- a/usrp2/timing/time_64bit.v
+++ b/usrp2/timing/time_64bit.v
@@ -161,7 +161,9 @@ 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 mimo_sync_now = mimo_sync & sync_rcvd & (mimo_ticks <= TICKS_PER_SEC);
+ // for timing purposes, assume sync_delay less than 10k
+ assign mimo_sync_now = mimo_sync & sync_rcvd & (vita_time_rcvd <= (TICKS_PER_SEC-10000));
assign debug = { { 24'b0} ,
{ 2'b0, exp_time_in, exp_time_out, mimo_sync, mimo_sync_now, sync_rcvd, send_sync} };