forked from M-Labs/artiq
fir/ParallelHBFUpsampler: add headroom (gain=2)
This addresses part of #743
This commit is contained in:
parent
566ff73dff
commit
6ac9d0c41e
@ -156,7 +156,7 @@ class ParallelHBFUpsampler(Module):
|
||||
i = [self.i]
|
||||
for coeff in coefficients:
|
||||
self.parallelism *= 2
|
||||
hbf = ParallelFIR(coeff, self.parallelism, width, **kwargs)
|
||||
hbf = ParallelFIR(coeff, self.parallelism, width + 1, **kwargs)
|
||||
self.submodules += hbf
|
||||
self.comb += [a.eq(b) for a, b in zip(hbf.i[::2], i)]
|
||||
i = hbf.o
|
||||
|
Loading…
Reference in New Issue
Block a user