From: Jean THOMAS Date: Thu, 11 Jun 2020 16:11:11 +0000 (+0200) Subject: Add no_retiming attribute X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdc0bbf57c729cf59789539f4c69c7721f8a8bd9;p=gram.git Add no_retiming attribute --- diff --git a/gram/common.py b/gram/common.py index 5a43dee..a890b16 100644 --- a/gram/common.py +++ b/gram/common.py @@ -348,8 +348,7 @@ class gramNativeReadPort(gramNativePort): class tXXDController(Elaboratable): def __init__(self, txxd): self.valid = Signal() - self.ready = ready = Signal(reset=txxd is None) - # ready.attr.add("no_retiming") TODO + self.ready = ready = Signal(reset=txxd is None, attrs={"no_retiming": True}) self._txxd = txxd def elaborate(self, platform): @@ -372,8 +371,7 @@ class tXXDController(Elaboratable): class tFAWController(Elaboratable): def __init__(self, tfaw): self.valid = Signal() - self.ready = Signal(reset=1) - # ready.attr.add("no_retiming") TODO + self.ready = Signal(reset=1, attrs={"no_retiming": True}) self._tfaw = tfaw def elaborate(self, platform):