blob: ae05f6b7225556da1fa9c4fb01f7e7af0ecb7eda [file] [log] [blame]
Sam Elliottcd8b1e02020-05-11 22:12:33 +01001From 4dee0573fec79c8b9a38a7e14dc7bf2fabe06551 Mon Sep 17 00:00:00 2001
Greg Chadwick81b8c6c2020-04-21 15:01:13 +01002From: Greg Chadwick <gac@lowrisc.org>
3Date: Mon, 20 Apr 2020 13:41:51 +0100
Sam Elliottcd8b1e02020-05-11 22:12:33 +01004Subject: [PATCH 5/7] Update .vmem paths with new naming
Greg Chadwick81b8c6c2020-04-21 15:01:13 +01005
6---
7 riscv-target/opentitan/device/rv32imc/Makefile.include | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
9
10diff --git a/riscv-target/opentitan/device/rv32imc/Makefile.include b/riscv-target/opentitan/device/rv32imc/Makefile.include
Sam Elliottcd8b1e02020-05-11 22:12:33 +010011index d789fe2..b929b69 100644
Greg Chadwick81b8c6c2020-04-21 15:01:13 +010012--- a/riscv-target/opentitan/device/rv32imc/Makefile.include
13+++ b/riscv-target/opentitan/device/rv32imc/Makefile.include
14@@ -26,8 +26,8 @@ else
Sam Elliottcd8b1e02020-05-11 22:12:33 +010015 # Verilator can be run in parallel mode so alter log output to prepend with
16 # test name, also increase uart_timeout as with parallel runs on CI individual
17 # test execution can take greater than 60 seconds.
18- PYTEST_OPT = --verilator_model $(TARGET_SIM) --test_bin $(<).vmem \
19- --rom_bin $(OT_BIN)/sw/device/boot_rom/boot_rom_sim_verilator.vmem \
20+ PYTEST_OPT = --verilator_model $(TARGET_SIM) --test_bin $(<).32.vmem \
21+ --rom_bin $(OT_BIN)/sw/device/boot_rom/boot_rom_sim_verilator.32.vmem \
22 --log-cli-format "$(notdir $(basename $(<))): %(message)s" --log-cli-level DEBUG \
23 --uart_timeout 240
24 OT_SW_TARGET = sim_verilator
Greg Chadwick81b8c6c2020-04-21 15:01:13 +010025@@ -76,4 +76,4 @@ COMPILE_TARGET += \
Sam Elliottcd8b1e02020-05-11 22:12:33 +010026 $$(RISCV_READELF) -a $$(@) > $$(@).readelf; \
27 $$(RISCV_NM) $$(@) > $$(@).nm; \
28 $$(RISCV_OBJCOPY) -O binary $$(@) $$(@).bin; \
29- srec_cat $$(@).bin -binary -offset 0x0000 -byte-swap 4 -o $$(@).vmem -vmem
30+ srec_cat $$(@).bin -binary -offset 0x0000 -byte-swap 4 -o $$(@).32.vmem -vmem
Greg Chadwick81b8c6c2020-04-21 15:01:13 +010031--
Sam Elliott7934f4c2020-05-08 22:20:02 +0100322.26.0
Greg Chadwick81b8c6c2020-04-21 15:01:13 +010033