| BLOCKS = chip_io user_project_wrapper digital_pll mgmt_core |
| CONFIG = $(foreach block,$(BLOCKS), ./$(block)/config.tcl) |
| CLEAN = $(foreach block,$(BLOCKS), clean-$(block)) |
| @echo "Missing $@. Please create a configuration for that design" |
| $(BLOCKS) : % : ./%/config.tcl FORCE |
| @echo "Please export OPENLANE_ROOT" |
| @echo "###############################################" |
| if [[ -f ./$*/interactive.tcl ]]; then\ |
| ${OPENLANE_ROOT}/flow.tcl -it -file ./$*/interactive.tcl;\ |
| ${OPENLANE_ROOT}/flow.tcl -design ./$* -save_path .. -save -tag $* -overwrite;\ |
| @echo "Use clean_all to clean everything :)" |