Skip to content

Commit ee0972c

Browse files
committed
frontend/wishbone/LiteDRAMWishbone2Native: Fix assert.
1 parent 15fe3d9 commit ee0972c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litedram/frontend/wishbone.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self, wishbone, port, base_address=0x00000000):
2626
port_data_width = 2**int(log2(len(port.wdata.data))) # Round to lowest power 2
2727
ratio = wishbone_data_width/port_data_width
2828

29-
assert wishbone.addressing == "byte"
29+
assert wishbone.addressing == "word"
3030

3131
if wishbone_data_width != port_data_width:
3232
if wishbone_data_width > port_data_width:

0 commit comments

Comments
 (0)