From bdc0bbf57c729cf59789539f4c69c7721f8a8bd9 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 11 Jun 2020 18:11:11 +0200 Subject: [PATCH] Add no_retiming attribute --- gram/common.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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): -- 2.30.2