riscv-tests
riscv-tests copied to clipboard
Generating .hex file in ISA directory
Hi, I would like to test my RISCV project. Till now, in ISA directory, I managed to obtain executable and .dump files for my RV32I machine. There is any possibility to obtain also .hex file? Does someone have any idea on how to get them? I need .hex file to initialize my instruction memory in Modelsim, for simulation reasons.
use binutility objcopy objcopy -O binary $(PROJ_NAME).elf $(PROJ_NAME).bin