Files
vortex/rtl/Makefile
2019-09-15 00:12:41 -04:00

19 lines
500 B
Makefile

all: RUNFILE
VERILATOR:
echo "#define VCD_OFF" > tb_debug.h
verilator --compiler gcc -Wall -cc Vortex.v -I. -Iinterfaces/ -Ipipe_regs/ --exe test_bench.cpp -CFLAGS -std=c++11 -O3
compdebug:
echo "#define VCD_OUTPUT" > tb_debug.h
verilator --compiler gcc -Wall --trace -cc Vortex.v -I. -Iinterfaces/ -Ipipe_regs/ --exe test_bench.cpp -CFLAGS -std=c++11 -O3
RUNFILE: VERILATOR
(cd obj_dir && make -j -f VVortex.mk)
debug: compdebug
(cd obj_dir && make -j -f VVortex.mk)
clean:
rm obj_dir/*