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

SYMBI_SRC_FILE := /opt/symbiotic.sh
TASKS := flag_check
.PHONY: all
all: flag_check
define taskTemplate
.PHONY: $(1)
$(1):
source $(SYMBI_SRC_FILE); sby -f symbiyosys.sby $(1)
endef
$(foreach task, $(TASKS), $(eval $(call taskTemplate,$(task))))
wave:
ifndef wf
$(error please give wave parameter)
endif
gtkwave -a trace.gtkw $(wf)
.PHONY: clean
clean:
rm -rf symbiyosys_*