commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r7395 - usrp2/trunk/fpga/sdr_lib


From: matt
Subject: [Commit-gnuradio] r7395 - usrp2/trunk/fpga/sdr_lib
Date: Thu, 10 Jan 2008 14:07:52 -0700 (MST)

Author: matt
Date: 2008-01-10 14:07:49 -0700 (Thu, 10 Jan 2008)
New Revision: 7395

Modified:
   usrp2/trunk/fpga/sdr_lib/cic_interp.v
Log:
fix to allow changing of interp rate


Modified: usrp2/trunk/fpga/sdr_lib/cic_interp.v
===================================================================
--- usrp2/trunk/fpga/sdr_lib/cic_interp.v       2008-01-10 17:58:36 UTC (rev 
7394)
+++ usrp2/trunk/fpga/sdr_lib/cic_interp.v       2008-01-10 21:07:49 UTC (rev 
7395)
@@ -45,7 +45,7 @@
    //FIXME Note that this section has pipe and diff reversed
    // It still works, but is confusing
    always @(posedge clock)
-     if(reset)
+     if(reset | ~enable)
        for(i=0;i<N;i=i+1)
         integrator[i] <= #1 0;
      else if (enable & strobe_out)
@@ -57,7 +57,7 @@
        end
    
    always @(posedge clock)
-     if(reset)
+     if(reset | ~enable)
        begin
          for(i=0;i<N;i=i+1)
            begin





reply via email to

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