No Description

Makefile 389B

123456789101112131415161718192021222324252627282930
  1. SYMBI_SRC_FILE := /opt/symbiotic.sh
  2. TASKS := flag_check
  3. .PHONY: all
  4. all: flag_check
  5. define taskTemplate
  6. .PHONY: $(1)
  7. $(1):
  8. source $(SYMBI_SRC_FILE); sby -f symbiyosys.sby $(1)
  9. endef
  10. $(foreach task, $(TASKS), $(eval $(call taskTemplate,$(task))))
  11. wave:
  12. ifndef wf
  13. $(error please give wave parameter)
  14. endif
  15. gtkwave -a trace.gtkw $(wf)
  16. .PHONY: clean
  17. clean:
  18. rm -rf symbiyosys_*