commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r5859 - gnuradio/branches/developers/matt/u2f/sdr_lib


From: matt
Subject: [Commit-gnuradio] r5859 - gnuradio/branches/developers/matt/u2f/sdr_lib
Date: Thu, 28 Jun 2007 00:56:39 -0600 (MDT)

Author: matt
Date: 2007-06-28 00:56:38 -0600 (Thu, 28 Jun 2007)
New Revision: 5859

Modified:
   gnuradio/branches/developers/matt/u2f/sdr_lib/cordic.v
   gnuradio/branches/developers/matt/u2f/sdr_lib/cordic_stage.v
Log:
remove delays to get rid of warnings


Modified: gnuradio/branches/developers/matt/u2f/sdr_lib/cordic.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/sdr_lib/cordic.v      2007-06-27 
18:55:51 UTC (rev 5858)
+++ gnuradio/branches/developers/matt/u2f/sdr_lib/cordic.v      2007-06-28 
06:56:38 UTC (rev 5859)
@@ -64,21 +64,21 @@
    always @(posedge clock)
      if(reset)
        begin
-         x0   <= #1 0; y0   <= #1 0;  z0   <= #1 0;
+         x0   <= 0; y0   <= 0;  z0   <= 0;
        end
      else// if(enable)
        begin
-         z0 <= #1 zi[zwidth-2:0];
+         z0 <= zi[zwidth-2:0];
          case (zi[zwidth-1:zwidth-2])
            2'b00, 2'b11 : 
              begin
-                x0 <= #1 xi_ext;
-                y0 <= #1 yi_ext;
+                x0 <= xi_ext;
+                y0 <= yi_ext;
              end
            2'b01, 2'b10 :
              begin
-                x0 <= #1 -xi_ext;
-                y0 <= #1 -yi_ext;
+                x0 <= -xi_ext;
+                y0 <= -yi_ext;
              end
          endcase // case(zi[zwidth-1:zwidth-2])
        end // else: !if(reset)

Modified: gnuradio/branches/developers/matt/u2f/sdr_lib/cordic_stage.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/sdr_lib/cordic_stage.v        
2007-06-27 18:55:51 UTC (rev 5858)
+++ gnuradio/branches/developers/matt/u2f/sdr_lib/cordic_stage.v        
2007-06-28 06:56:38 UTC (rev 5859)
@@ -41,19 +41,19 @@
    always @(posedge clock)
      if(reset)
        begin
-         xo <= #1 0;
-         yo <= #1 0;
-         zo <= #1 0;
+         xo <= 0;
+         yo <= 0;
+         zo <= 0;
        end
      else //if(enable)
        begin
-         xo <= #1 z_is_pos ?   
+         xo <= z_is_pos ?   
                xi - {{shift+1{yi[bitwidth-1]}},yi[bitwidth-2:shift]} :
                xi + {{shift+1{yi[bitwidth-1]}},yi[bitwidth-2:shift]};
-         yo <= #1 z_is_pos ?   
+         yo <= z_is_pos ?   
                yi + {{shift+1{xi[bitwidth-1]}},xi[bitwidth-2:shift]} :
                yi - {{shift+1{xi[bitwidth-1]}},xi[bitwidth-2:shift]};
-         zo <= #1 z_is_pos ?   
+         zo <= z_is_pos ?   
                zi - constant :
                zi + constant;
        end





reply via email to

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