cpu/vexriscv_smp: Fix pbus data-width (Max of icache/dcache-width).
Fix boot with > 1 CPU or with FPU when using --with-wishbone-memory.
This commit is contained in:
parent
0ac3d677b5
commit
967ea12364
|
@ -282,7 +282,7 @@ class VexRiscvSMP(CPU):
|
|||
self.jtag_tdo = Signal()
|
||||
self.jtag_tdi = Signal()
|
||||
self.interrupt = Signal(32)
|
||||
self.pbus = pbus = wishbone.Interface()
|
||||
self.pbus = pbus = wishbone.Interface(data_width=max(VexRiscvSMP.icache_width, VexRiscvSMP.dcache_width))
|
||||
|
||||
self.periph_buses = [pbus] # Peripheral buses (Connected to main SoC's bus).
|
||||
self.memory_buses = [] # Memory buses (Connected directly to LiteDRAM).
|
||||
|
|
Loading…
Reference in New Issue