Lösung des Praktikums Systementwurf
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.

vhdl.mk 482B

1234567891011121314151617181920212223
  1. ghdl_version = $(shell ghdl --version 2> /dev/null)
  2. vsim_version = $(shell vsim -version 2> /dev/null)
  3. # in case verilog is part of the build a verilog capable simulator is required
  4. ifdef verilog_srcs
  5. ifneq (${vsim_version},)
  6. include ../questa-sim.mk
  7. else
  8. $(error No HDL simulation tool found for verilog!)
  9. endif
  10. else
  11. ifneq (${vsim_version},)
  12. include ../questa-sim.mk
  13. else
  14. ifneq (${ghdl_version},)
  15. include ../ghdl.mk
  16. else
  17. $(error No HDL simulation tool found!)
  18. endif
  19. endif
  20. endif