Skip to content

Commit

Permalink
make: modify target recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
rgantonio committed Aug 28, 2024
1 parent 7a90406 commit bf2ea7d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions target/tapeout/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
MKFILE_DIR := $(dir $(MKFILE_PATH))
ROOT := $(MKFILE_DIR)../..
BENDER := bender
SNITCH_ROOT := $(shell $(BENDER) path snitch_cluster)
SNAX_ROOT := $(shell $(BENDER) path snitch_cluster)

OCCAMYGEN ?= $(ROOT)/util/occamygen/occamygen.py
HEMAIA_UTIL ?= $(ROOT)/util/hemaia/util.py

TARGET_RTL ?= $(ROOT)/target/rtl
TARGET_RTL ?= $(ROOT)/target/rtl

#######################
# Config prerequisite #
Expand Down Expand Up @@ -45,10 +45,11 @@ FORCE:
########################

syn-gen-list:
@$(OCCAMYGEN) --cfg $(CFG) --outdir ${MKFILE_DIR} --cluster-only-flist ${SNITCH_ROOT}
@$(HEMAIA_UTIL) --cfg_path $(CFG) --snax-path $(SNAX_ROOT) \
--outdir ${MKFILE_DIR} --cluster-flist

debug-info:
@echo "SNITCH ROOT: ${SNITCH_ROOT}"
@echo "SNAX ROOT: ${SNAX_ROOT}"
@echo "CFG override: ${CFG_OVERRIDE}"
@echo "Makefile path: ${MKFILE_PATH}"
@echo "Makefile dir: ${MKFILE_DIR}"
Expand Down

0 comments on commit bf2ea7d

Please sign in to comment.