Library of reusable VHDL components
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1004 B

  1. SIM_SRC = ../sim
  2. VHD_STD = 02
  3. .PHONY: sim
  4. sim: queuet stringt simt
  5. queuet : QueueT.vhd $(SIM_SRC)/QueueP.vhd $(SIM_SRC)/StringP.vhd $(SIM_SRC)/AssertP.vhd
  6. ghdl -a --std=$(VHD_STD) --work=libvhdl $(SIM_SRC)/StringP.vhd $(SIM_SRC)/AssertP.vhd $(SIM_SRC)/QueueP.vhd
  7. ghdl -a --std=$(VHD_STD) QueueT.vhd
  8. ghdl -e --std=$(VHD_STD) QueueT
  9. ghdl -r --std=$(VHD_STD) QueueT
  10. stringt : StringT.vhd $(SIM_SRC)/StringP.vhd $(SIM_SRC)/AssertP.vhd
  11. ghdl -a --std=$(VHD_STD) --work=libvhdl $(SIM_SRC)/StringP.vhd $(SIM_SRC)/AssertP.vhd
  12. ghdl -a --std=$(VHD_STD) StringT.vhd
  13. ghdl -e --std=$(VHD_STD) StringT
  14. ghdl -r --std=$(VHD_STD) StringT
  15. simt : SimT.vhd $(SIM_SRC)/StringP.vhd $(SIM_SRC)/AssertP.vhd $(SIM_SRC)/SimP.vhd
  16. ghdl -a --std=$(VHD_STD) --work=libvhdl $(SIM_SRC)/StringP.vhd $(SIM_SRC)/AssertP.vhd $(SIM_SRC)/SimP.vhd
  17. ghdl -a --std=$(VHD_STD) SimT.vhd
  18. ghdl -e --std=$(VHD_STD) SimT
  19. ghdl -r --std=$(VHD_STD) SimT
  20. .PHONY: clean
  21. clean:
  22. rm -f *.o
  23. rm -f *.cf
  24. rm -f queuet
  25. rm -f stringt
  26. rm -f simt