Dhrystone: Add toolchain prefix to objcopy

This commit is contained in:
Tom Verbeure 2016-08-29 21:08:21 -07:00 committed by Clifford Wolf
parent 2603ca492b
commit dc9b100814
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@ timing.vvp: testbench.v ../picorv32.v
chmod -x timing.vvp
dhry.hex: dhry.elf
riscv32-unknown-elf-objcopy -O verilog $< $@
$(TOOLCHAIN_PREFIX)objcopy -O verilog $< $@
ifeq ($(USE_MYSTDLIB),1)
dhry.elf: $(OBJS) sections.lds

View File

@ -29,6 +29,7 @@ module testbench;
picorv32 #(
.BARREL_SHIFTER(1),
.ENABLE_MUL(1),
.ENABLE_FAST_MUL(1),
.ENABLE_DIV(1),
.PROGADDR_RESET('h10000),
.STACKADDR('h10000)