From: Jean THOMAS Date: Mon, 22 Jun 2020 16:02:42 +0000 (+0200) Subject: Remove shadowing statement X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=054b1bca6165b3eae35efb51d158a96d7d4fd9b7;p=gram.git Remove shadowing statement --- diff --git a/gram/core/refresher.py b/gram/core/refresher.py index e77ae97..c6b8ae5 100644 --- a/gram/core/refresher.py +++ b/gram/core/refresher.py @@ -172,7 +172,7 @@ class RefreshPostponer(Elaboratable): def __init__(self, postponing=1): self.req_i = Signal() - self.req_o = Signal() + self.req_o = Signal(reset=0) self._postponing = postponing def elaborate(self, platform): @@ -180,7 +180,6 @@ class RefreshPostponer(Elaboratable): count = Signal(range(self._postponing), reset=self._postponing-1) - m.d.sync += self.req_o.eq(0) with m.If(self.req_i): with m.If(count == 0): m.d.sync += [