commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 54/148: flag packets which arrive way too e


From: git
Subject: [Commit-gnuradio] [gnuradio] 54/148: flag packets which arrive way too early so the device doesn't sit there forever.
Date: Mon, 15 Aug 2016 00:47:23 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

nwest pushed a commit to annotated tag old_usrp_devel_udp
in repository gnuradio.

commit 2accac1a65b19ea57349bd1219eb040cbcb922a9
Author: Matt Ettus <address@hidden>
Date:   Wed Dec 9 21:08:49 2009 -0800

    flag packets which arrive way too early so the device doesn't sit there 
forever.
---
 usrp2/fpga/timing/time_compare.v | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/usrp2/fpga/timing/time_compare.v b/usrp2/fpga/timing/time_compare.v
index edfa737..a21c9f8 100644
--- a/usrp2/fpga/timing/time_compare.v
+++ b/usrp2/fpga/timing/time_compare.v
@@ -6,7 +6,8 @@ module time_compare
    input [63:0] trigger_time,
    output now,
    output early,
-   output late);
+   output late, 
+   output too_early);
    
    wire    sec_match   = (time_now[63:32] == trigger_time[63:32]);
    wire    sec_late    = (time_now[63:32] > trigger_time[63:32]);
@@ -17,5 +18,6 @@ module time_compare
    assign now         = sec_match & tick_match;
    assign late                = sec_late | (sec_match & tick_late);
    assign early        = ~now & ~late;
-
+   assign too_early    = (trigger_time[63:32] > (time_now[63:32] + 4));  // 
Don't wait too long
+   
 endmodule // time_compare



reply via email to

[Prev in Thread] Current Thread [Next in Thread]