commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r5864 - gnuradio/branches/developers/matt/u2f/control_


From: matt
Subject: [Commit-gnuradio] r5864 - gnuradio/branches/developers/matt/u2f/control_lib
Date: Thu, 28 Jun 2007 01:01:24 -0600 (MDT)

Author: matt
Date: 2007-06-28 01:01:24 -0600 (Thu, 28 Jun 2007)
New Revision: 5864

Modified:
   gnuradio/branches/developers/matt/u2f/control_lib/setting_reg.v
   gnuradio/branches/developers/matt/u2f/control_lib/strobe_gen.v
Log:
removed delays to avoid warnings


Modified: gnuradio/branches/developers/matt/u2f/control_lib/setting_reg.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/control_lib/setting_reg.v     
2007-06-28 06:59:42 UTC (rev 5863)
+++ gnuradio/branches/developers/matt/u2f/control_lib/setting_reg.v     
2007-06-28 07:01:24 UTC (rev 5864)
@@ -8,16 +8,16 @@
    always @(posedge clk)
      if(rst)
        begin
-         out <= #1 32'd0;
-         changed <= #1 1'b0;
+         out <= 32'd0;
+         changed <= 1'b0;
        end
      else
        if(strobe & (my_addr==addr))
         begin
-           out <= #1 in;
-           changed <= #1 1'b1;
+           out <= in;
+           changed <= 1'b1;
         end
        else
-        changed <= #1 1'b0;
+        changed <= 1'b0;
    
 endmodule // setting_reg

Modified: gnuradio/branches/developers/matt/u2f/control_lib/strobe_gen.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/control_lib/strobe_gen.v      
2007-06-28 06:59:42 UTC (rev 5863)
+++ gnuradio/branches/developers/matt/u2f/control_lib/strobe_gen.v      
2007-06-28 07:01:24 UTC (rev 5864)
@@ -32,11 +32,11 @@
    
    always @(posedge clock)
      if(reset | ~enable)
-       counter <= #1 8'd0;
+       counter <= 8'd0;
      else if(strobe_in)
        if(counter == 0)
-        counter <= #1 rate;
+        counter <= rate;
        else 
-        counter <= #1 counter - 8'd1;
+        counter <= counter - 8'd1;
    
 endmodule // strobe_gen





reply via email to

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