commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r7129 - usrp2/trunk/fpga/control_lib


From: matt
Subject: [Commit-gnuradio] r7129 - usrp2/trunk/fpga/control_lib
Date: Wed, 12 Dec 2007 13:03:49 -0700 (MST)

Author: matt
Date: 2007-12-12 13:03:49 -0700 (Wed, 12 Dec 2007)
New Revision: 7129

Modified:
   usrp2/trunk/fpga/control_lib/buffer_int.v
   usrp2/trunk/fpga/control_lib/buffer_pool.v
Log:
added an idle indicator


Modified: usrp2/trunk/fpga/control_lib/buffer_int.v
===================================================================
--- usrp2/trunk/fpga/control_lib/buffer_int.v   2007-12-12 15:58:09 UTC (rev 
7128)
+++ usrp2/trunk/fpga/control_lib/buffer_int.v   2007-12-12 20:03:49 UTC (rev 
7129)
@@ -12,6 +12,7 @@
      input go,
      output done,
      output error,
+     output idle,
      
      // Buffer Interface
      output en_o,
@@ -172,7 +173,7 @@
    
    assign     done = (state == DONE);
    assign     error = (state == ERROR);
-   
+   assign     idle = (state == IDLE);
 endmodule // buffer_int
 
 // Unused old code

Modified: usrp2/trunk/fpga/control_lib/buffer_pool.v
===================================================================
--- usrp2/trunk/fpga/control_lib/buffer_pool.v  2007-12-12 15:58:09 UTC (rev 
7128)
+++ usrp2/trunk/fpga/control_lib/buffer_pool.v  2007-12-12 20:03:49 UTC (rev 
7129)
@@ -63,6 +63,7 @@
    
    wire [7:0]   done;
    wire [7:0]   error;
+   wire [7:0]   idle;
    
    wire [31:0]          buf_doa[0:7];
    
@@ -86,7 +87,7 @@
    wire [7:0]   rd_sop_o;
    wire [7:0]   rd_eop_o;
    
-   assign       status = {16'd0,error[7:0],done[7:0]};
+   assign       status = {8'd0,idle[7:0],error[7:0],done[7:0]};
 
    assign       s0 = {23'd0,buf_addrb[0]};
    assign       s1 = {23'd0,buf_addrb[1]};





reply via email to

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