From ee0972cd79cf348ee2f7c72416c053c9289d52ca Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 23 Aug 2024 21:21:48 +0200 Subject: [PATCH] frontend/wishbone/LiteDRAMWishbone2Native: Fix assert. --- litedram/frontend/wishbone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litedram/frontend/wishbone.py b/litedram/frontend/wishbone.py index 76cc57a..5700ac2 100644 --- a/litedram/frontend/wishbone.py +++ b/litedram/frontend/wishbone.py @@ -26,7 +26,7 @@ class LiteDRAMWishbone2Native(LiteXModule): port_data_width = 2**int(log2(len(port.wdata.data))) # Round to lowest power 2 ratio = wishbone_data_width/port_data_width - assert wishbone.addressing == "byte" + assert wishbone.addressing == "word" if wishbone_data_width != port_data_width: if wishbone_data_width > port_data_width: