riscv-tests icon indicating copy to clipboard operation
riscv-tests copied to clipboard

Generating .hex file in ISA directory

Open markpolito opened this issue 5 years ago • 1 comments

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.

markpolito avatar Oct 23 '19 14:10 markpolito

use binutility objcopy objcopy -O binary $(PROJ_NAME).elf $(PROJ_NAME).bin

DavidYu360 avatar Oct 24 '19 08:10 DavidYu360