chipyard icon indicating copy to clipboard operation
chipyard copied to clipboard

Cannot run simulator created using SmallSPIFlashRocketConfig.

Open hadirkhan10 opened this issue 4 years ago • 0 comments

chipyard version: 1.3.0

Hello,

I created a config and passed the SPI flash image using the following command:

 make CONFIG=SmallSPIFlashRocketConfig +spiflash0=../../bootrom/bootrom.rv64.img run-binary-debug BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/isa/rv64ui-p-sub

However, I get the following error:

[UART] UART0 is here (stdin/stdout).
[0] %Error: plusarg_file_mem.sv:50: Assertion failed in TOP.TestHarness.spi_mem_0.memory
%Error: /home/hadirkhan/Desktop/chipyard/sims/verilator/generated-src/chipyard.TestHarness.SmallSPIFlashRocketConfig/plusarg_file_mem.sv:50: Verilog $stop
Aborting...

How can this error be resolved?

hadirkhan10 avatar Feb 01 '21 08:02 hadirkhan10