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.

30 lines
389 B

6 years ago
  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_*