From 0989465cdfc8fa1ad059d436f913ed64c9d9a814 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 22 Dec 2018 00:53:05 +0000 Subject: [PATCH] compat: fix confusing naming for memory port address signal. --- nmigen/compat/fhdl/specials.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nmigen/compat/fhdl/specials.py b/nmigen/compat/fhdl/specials.py index 0c27c57..5449ba6 100644 --- a/nmigen/compat/fhdl/specials.py +++ b/nmigen/compat/fhdl/specials.py @@ -64,6 +64,7 @@ class CompatMemory(NativeMemory): we_granularity = None assert mode != NO_CHANGE rdport = self.read_port(synchronous=not async_read, transparent=mode == WRITE_FIRST) + rdport.addr.name = "{}_addr".format(self.name) adr = rdport.addr dat_r = rdport.data if write_capable: -- 2.30.2