From 98193d6fa13b39088317a4dead65d0c336462b9e Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 17 Nov 2016 02:36:29 +0100 Subject: [PATCH] dsp/Delay: reset_less --- artiq/gateware/dsp/tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/gateware/dsp/tools.py b/artiq/gateware/dsp/tools.py index 5ae78bd8c..b7f2ff2af 100644 --- a/artiq/gateware/dsp/tools.py +++ b/artiq/gateware/dsp/tools.py @@ -7,13 +7,13 @@ from migen import * class Delay(Module): def __init__(self, i, delay, o=None): if isinstance(i, (int, tuple)): - z = [Signal(i) for j in range(delay + 1)] + z = [Signal(i, reset_less=True) for j in range(delay + 1)] elif isinstance(i, list): z = [Record(i) for j in range(delay + 1)] elif isinstance(i, Record): z = [Record(i.layout) for j in range(delay + 1)] else: - z = [Signal.like(i) for j in range(delay + 1)] + z = [Signal.like(i, reset_less=True) for j in range(delay + 1)] self.i = z[0] self.o = z[-1] if not isinstance(i, (int, list, tuple)):