Skip to content

Commit

Permalink
Bender.yml: Rename snitch_cluster target
Browse files Browse the repository at this point in the history
Due to collision with `snitch_cluster` target used in iDMA,
whose sources are required by all Snitch-cluster-based  systems,
e.g. Occamy, sources specific to the Snitch cluster simulation
target and not needed by Snitch-cluster-based systems need to
fall under a different Bender target. We rename this to
`snitch_cluster_sim`.
  • Loading branch information
colluca committed Sep 2, 2024
1 parent e4bf0e7 commit c83ff1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ sources:
- target/common/test/tb_bin.sv

# target/snitch_cluster
- target: snitch_cluster
- target: snitch_cluster_sim
files:
- target/snitch_cluster/generated/snitch_cluster_wrapper.sv
- target: all(snitch_cluster, any(simulation, verilator))
- target: all(snitch_cluster_sim, any(simulation, verilator))
files:
- target/snitch_cluster/test/testharness.sv
2 changes: 1 addition & 1 deletion target/common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ VLT_NUM_THREADS ?= 1
MATCH_REMOVE := 's/+incdir+\/[^ ]*//g'
SED_SRCS := sed -e ${MATCH_REMOVE}

COMMON_BENDER_FLAGS += -t rtl
COMMON_BENDER_FLAGS += -t rtl -t snitch_cluster

VSIM_BENDER += $(COMMON_BENDER_FLAGS) -t test -t simulation -t vsim
VSIM_SOURCES = $(shell ${BENDER} script flist ${VSIM_BENDER} | ${SED_SRCS})
Expand Down
2 changes: 1 addition & 1 deletion target/snitch_cluster/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $(BIN_DIR):
# Simulator options #
#####################

COMMON_BENDER_FLAGS += -t snitch_cluster
COMMON_BENDER_FLAGS += -t snitch_cluster_sim

QUESTA_64BIT = -64
VLOG_64BIT = -64
Expand Down

0 comments on commit c83ff1f

Please sign in to comment.