Skip to content

Commit

Permalink
frontend/wishbone/LiteDRAMWishbone2Native: Fix assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Aug 23, 2024
1 parent 15fe3d9 commit ee0972c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litedram/frontend/wishbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, wishbone, port, base_address=0x00000000):
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:
Expand Down

0 comments on commit ee0972c

Please sign in to comment.