cpu/gowin_emcu: Specify AHB data_width/address_width.
This commit is contained in:
parent
7009299132
commit
739a8db8c3
|
@ -161,7 +161,7 @@ class GowinEMCU(CPU):
|
||||||
i_NVSTR = 0
|
i_NVSTR = 0
|
||||||
)
|
)
|
||||||
|
|
||||||
ahb_flash = ahb.AHBInterface()
|
ahb_flash = ahb.AHBInterface(data_width=32, address_width=32)
|
||||||
self.cpu_params.update(
|
self.cpu_params.update(
|
||||||
o_TARGFLASH0HADDR = ahb_flash.addr,
|
o_TARGFLASH0HADDR = ahb_flash.addr,
|
||||||
o_TARGFLASH0HBURST = ahb_flash.burst,
|
o_TARGFLASH0HBURST = ahb_flash.burst,
|
||||||
|
@ -179,7 +179,7 @@ class GowinEMCU(CPU):
|
||||||
|
|
||||||
# Peripheral Bus (AHB -> Wishbone).
|
# Peripheral Bus (AHB -> Wishbone).
|
||||||
# ---------------------------------
|
# ---------------------------------
|
||||||
ahb_targexp0 = ahb.AHBInterface()
|
ahb_targexp0 = ahb.AHBInterface(data_width=32, address_width=32)
|
||||||
self.cpu_params.update(
|
self.cpu_params.update(
|
||||||
o_TARGEXP0HADDR = ahb_targexp0.addr,
|
o_TARGEXP0HADDR = ahb_targexp0.addr,
|
||||||
o_TARGEXP0HBURST = ahb_targexp0.burst,
|
o_TARGEXP0HBURST = ahb_targexp0.burst,
|
||||||
|
|
Loading…
Reference in New Issue