From: whitequark Date: Sun, 5 Apr 2020 02:00:06 +0000 (+0000) Subject: hdl.mem: fix source location of ReadPort.en. X-Git-Tag: working_23jun2020~18 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb1bbcc51aaa95a6352d4ca3c79f32b52ec4ccbb;p=nmigen.git hdl.mem: fix source location of ReadPort.en. --- diff --git a/nmigen/hdl/mem.py b/nmigen/hdl/mem.py index 235cbd2..d34c5f0 100644 --- a/nmigen/hdl/mem.py +++ b/nmigen/hdl/mem.py @@ -106,7 +106,7 @@ class ReadPort(Elaboratable): name="{}_r_data".format(memory.name), src_loc_at=1 + src_loc_at) if self.domain != "comb" and not transparent: self.en = Signal(name="{}_r_en".format(memory.name), reset=1, - src_loc_at=2 + src_loc_at) + src_loc_at=1 + src_loc_at) else: self.en = Const(1)