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
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio