frontend/wishbone/LiteDRAMWishbone2Native: Fix assert.

This commit is contained in:
Florent Kermarrec 2024-08-23 21:21:48 +02:00
parent 15fe3d93d8
commit ee0972cd79
1 changed files with 1 additions and 1 deletions

View File

@ -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: