Skip to content

Commit 96cba62

Browse files
committed
Fix mcu_soc to use attached_simulation_data
1 parent 998a42b commit 96cba62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcu_soc/design/design.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from amaranth_soc.wishbone.sram import WishboneSRAM
1414
from chipflow_digital_ip.io import GPIOPeripheral, UARTPeripheral, SPIPeripheral, I2CPeripheral
1515
from chipflow_digital_ip.processors import CV32E40P, OBIDebugModule
16-
from chipflow_lib.platforms import GPIOSignature, UARTSignature, SPISignature, I2CSignature, QSPIFlashSignature, JTAGSignature
16+
from chipflow_lib.platforms import GPIOSignature, UARTSignature, SPISignature, I2CSignature, QSPIFlashSignature, JTAGSignature, attach_simulation_data
1717
from .ips.pwm import PWMPins, PWMPeripheral
1818
# from .ips.pdm import PDMPeripheral
1919

@@ -237,7 +237,7 @@ def elaborate(self, platform):
237237
#sw.add_periph("gpio", "BTN_GPIO", self.csr_btn_gpio_base)
238238

239239
sw.generate("build/software/generated")
240-
#spiflash.load("build/software/generated")
240+
attach_simulation_data(self.flash, file_name="build/software/software.bin", offset=self.bios_start)
241241
return m
242242

243243

0 commit comments

Comments
 (0)