From 55e2a1cec6948470b02cc2c42c0bbd59b500d2f6 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 4 Jan 2024 13:13:21 +0100 Subject: [PATCH] cpu/gowin_emcu: Switch pbus to byte addresssing. --- litex/soc/cores/cpu/gowin_emcu/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/cpu/gowin_emcu/core.py b/litex/soc/cores/cpu/gowin_emcu/core.py index 22e5e8b30..3c0352054 100644 --- a/litex/soc/cores/cpu/gowin_emcu/core.py +++ b/litex/soc/cores/cpu/gowin_emcu/core.py @@ -53,7 +53,7 @@ class GowinEMCU(CPU): def __init__(self, platform, variant="standard"): self.platform = platform self.reset = Signal() - self.pbus = wishbone.Interface(data_width=32, adr_width=30, addressing="word") + self.pbus = wishbone.Interface(data_width=32, address_width=32, addressing="byte") self.periph_buses = [self.pbus] self.memory_buses = []