Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
# Stub makefile for the "tyre-kicking" testcases
# e.g. fibonacci; simple litmus tests which are easy to debug.
include $(SCRIPTS)/sim.mk
MARCH=rv32ic
ram_init32.hex: $(ASM_SRC)
riscv32-unknown-elf-gcc -c -march=$(MARCH) $(ASM_SRC) -o $(ASM_SRC).elf
riscv32-unknown-elf-objcopy -O verilog $(ASM_SRC).elf ram_init8.hex
$(SCRIPTS)/vhexwidth -w 32 ram_init8.hex -o ram_init32.hex
test: ram_init32.hex
$(MAKE) sim > sim.log
./test_script sim.log
clean::
rm -f $(ASM_SRC).elf ram_init8.hex ram_init32.hex sim.log25f8bb6eaThis file is pinned to the selected release. Download the original to open it in your design tool.