Hook up hello_multicore to automatically build and use the multicore testbench variant
This commit is contained in:
parent
422c0d32c6
commit
dc21745d16
|
@ -6,6 +6,7 @@ ifndef APP
|
|||
$(error Must define application name as APP)
|
||||
endif
|
||||
|
||||
DOTF ?= tb.f
|
||||
CCFLAGS ?=
|
||||
LDSCRIPT ?= ../common/memmap.ld
|
||||
CROSS_PREFIX ?= riscv32-unknown-elf-
|
||||
|
@ -34,7 +35,7 @@ view: run
|
|||
bin: $(TMP_PREFIX)$(APP).bin
|
||||
|
||||
tb:
|
||||
$(MAKE) -C $(TBDIR)
|
||||
$(MAKE) -C $(TBDIR) DOTF=$(DOTF)
|
||||
|
||||
clean:
|
||||
rm -rf $(TMP_PREFIX)
|
||||
|
|
|
@ -2,4 +2,7 @@ SRCS := ../common/init.S main.c
|
|||
APP := hello_multicore
|
||||
CCFLAGS = -march=rv32imac_zicsr_zifencei_zba_zbb_zbkb_zbs -Os
|
||||
|
||||
DOTF := tb_multicore.f
|
||||
TBEXEC := ../tb_cxxrtl/tb_multicore
|
||||
|
||||
include ../common/src_only_app.mk
|
||||
|
|
Loading…
Reference in New Issue