From 5361b4c22b0f71d461dd195b347afb69e9154ced 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