forked from M-Labs/artiq
1
0
Fork 0

Revert "fir/ParallelHBFUpsampler: add headroom (gain=2)"

This reverts commit 6ac9d0c41e.

Overshooting behavior must to be handled outside the FIR.
This commit is contained in:
Robert Jördens 2017-06-12 20:07:25 +02:00
parent 332bcc7f3b
commit 1fb3995ffc
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class ParallelHBFUpsampler(Module):
i = [self.i] i = [self.i]
for coeff in coefficients: for coeff in coefficients:
self.parallelism *= 2 self.parallelism *= 2
hbf = ParallelFIR(coeff, self.parallelism, width + 1, **kwargs) hbf = ParallelFIR(coeff, self.parallelism, width, **kwargs)
self.submodules += hbf self.submodules += hbf
self.comb += [a.eq(b) for a, b in zip(hbf.i[::2], i)] self.comb += [a.eq(b) for a, b in zip(hbf.i[::2], i)]
i = hbf.o i = hbf.o