Regfile/Makefile

18 lines
344 B
Makefile
Raw Permalink Normal View History

2024-07-08 03:58:45 +00:00
# Default target
all: run
# Run the simulation
run:
cd ./tools/sim && vsim -c -do run.do && cd ../..
# Clean the build files
clean:
rm -rf ./tools/sim/work ./tools/sim/transcript ./tools/sim/vsim.wlf ./tools/sim/waveform.vcd
rm -rf transcript
# View the waveform
view:
vsim -view ./tools/sim/vsim.wlf
.PHONY: all compile run clean view