commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 62/148: Add ability to clear state out when


From: git
Subject: [Commit-gnuradio] [gnuradio] 62/148: Add ability to clear state out when there is an underrun
Date: Mon, 15 Aug 2016 00:47:24 +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 8c0432ea5cd445224b255f43ea0af46c332e8b91
Author: Matt Ettus <address@hidden>
Date:   Fri Dec 11 18:27:14 2009 -0800

    Add ability to clear state out when there is an underrun
---
 usrp2/fpga/vrt/vita_tx_control.v | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/usrp2/fpga/vrt/vita_tx_control.v b/usrp2/fpga/vrt/vita_tx_control.v
index e53b968..2af68c0 100644
--- a/usrp2/fpga/vrt/vita_tx_control.v
+++ b/usrp2/fpga/vrt/vita_tx_control.v
@@ -40,9 +40,14 @@ module vita_tx_control
    localparam IBS_UNDERRUN = 3;
 
    reg [2:0] ibs_state;
+
+   wire      clear_state;
+   setting_reg #(.my_addr(`DSP_CORE_TX_BASE+3)) sr_3
+     (.clk(clk),.rst(rst),.strobe(set_stb),.addr(set_addr),
+      .in(set_data),.out(),.changed(clear_state));
    
    always @(posedge clk)
-     if(reset | clear)
+     if(reset | clear_state)
        ibs_state <= 0;
      else
        case(ibs_state)



reply via email to

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