Skip to content

Commit bcfcf55

Browse files
committed
added output dir for outputs in Makefile
1 parent 02b6c2c commit bcfcf55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export LIBPYTHON_LOC=$(shell cocotb-config --libpython)
55
test_%:
66
make compile
77
iverilog -o build/sim.vvp -s gpu -g2012 build/gpu.v
8-
MODULE=test.test_$* vvp -M $$(cocotb-config --prefix)/cocotb/libs -m libcocotbvpi_icarus build/sim.vvp
8+
mkdir -p output
9+
MODULE=test.test_$* vvp -M $$(cocotb-config --prefix)/cocotb/libs -m libcocotbvpi_icarus build/sim.vvp > output/test_$*.out
910

1011
compile:
1112
make compile_alu

0 commit comments

Comments
 (0)