Files
gps/hardware/ip/max2771_spi/Makefile
T
2026-08-06 22:14:52 +03:00

14 lines
339 B
Makefile

QUESTA ?=
VLOG := $(if $(QUESTA),$(QUESTA)/bin/)vlog
VSIM := $(if $(QUESTA),$(QUESTA)/bin/)vsim
WORK := work
.PHONY: test clean
test: clean
$(VLOG) -sv -work $(WORK) rtl/max2771_spi_engine.sv tb/max2771_spi_engine_tb.sv
$(VSIM) -c -work $(WORK) max2771_spi_engine_tb -do "run -all; quit -f"
clean:
rm -rf $(WORK) transcript vsim.wlf