Makefile 351 B

12345678910111213141516171819
  1. .PHONY: all clean compile sim sim_gui
  2. all: compile
  3. clean:
  4. rm -fr work
  5. rm -f transcript
  6. rm -f *.wlf
  7. rm -f modelsim.ini
  8. compile:
  9. @vsim -c -do "do scripts/compile.do;quit -f"
  10. sim:
  11. @vsim -c -t ps work.tb -quiet -do "run -all;quit -f" | grep -E "\*\*|Errors"
  12. sim_gui:
  13. @vsim -t ps work.tb -quiet -do "do scripts/wave.do;run -all;wave zoom full"