Skip to content

Commit

Permalink
UPF Generation [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Sriram Sridhar authored and Sriram Sridhar committed Mar 15, 2023
1 parent 87054e9 commit 4f1648d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $(FIRRTL_FILE) $(ANNO_FILE) &: $(SCALA_SOURCES) $(SCALA_BUILDTOOL_DEPS) $(EXTRA_
--name $(long_name) \
--top-module $(MODEL_PACKAGE).$(MODEL) \
--legacy-configs $(CONFIG_PACKAGE):$(CONFIG) \
--with-aspect chipyard.upf.ChipTopUPFAspect \
$(UPF_ASPECT) \
$(EXTRA_CHISEL_OPTIONS))

define mfc_extra_anno_contents
Expand Down
5 changes: 5 additions & 0 deletions vlsi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ else
OBJ_DIR ?= $(vlsi_dir)/$(VLSI_OBJ_DIR)/$(long_name)-$(VLSI_TOP)
endif

ifneq ($(ASPECTS), )
comma = ,
UPF_ASPECT = $(foreach aspect, $(subst $(comma), , $(ASPECTS)), --with-aspect $(aspect))
endif

#########################################################################################
# general rules
#########################################################################################
Expand Down

0 comments on commit 4f1648d

Please sign in to comment.