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.

24 lines
700 B

  1. SIM_SRC = ../sim
  2. VHD_STD = 02
  3. .PHONY: sim
  4. sim: queuet stringt
  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. .PHONY: clean
  16. clean:
  17. rm -f *.o
  18. rm -f *.cf
  19. rm -f queuet
  20. rm -f stringt