Skip to content

Commit

Permalink
cpu/gowin_emcu: Specify AHB data_width/address_width.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jan 4, 2024
1 parent 7009299 commit 739a8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/soc/cores/cpu/gowin_emcu/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def __init__(self, bus):
i_NVSTR = 0
)

ahb_flash = ahb.AHBInterface()
ahb_flash = ahb.AHBInterface(data_width=32, address_width=32)
self.cpu_params.update(
o_TARGFLASH0HADDR = ahb_flash.addr,
o_TARGFLASH0HBURST = ahb_flash.burst,
Expand All @@ -179,7 +179,7 @@ def __init__(self, bus):

# Peripheral Bus (AHB -> Wishbone).
# ---------------------------------
ahb_targexp0 = ahb.AHBInterface()
ahb_targexp0 = ahb.AHBInterface(data_width=32, address_width=32)
self.cpu_params.update(
o_TARGEXP0HADDR = ahb_targexp0.addr,
o_TARGEXP0HBURST = ahb_targexp0.burst,
Expand Down

0 comments on commit 739a8db

Please sign in to comment.