Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Small changes to fix simulation running. #207

Merged
merged 1 commit into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion target/common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MATCH_BGN := 's/+incdir+//g'
MATCH_DEF := '/+define+/d'
SED_SRCS := sed -e ${MATCH_END} -e ${MATCH_BGN} -e ${MATCH_DEF}

COMMON_BENDER_FLAGS += -t rtl
COMMON_BENDER_FLAGS += -t rtl -t snitch_cluster
COMMON_SIM_BENDER_FLAGS += -t simulation -t test

# fesvr is being installed here
Expand Down
2 changes: 1 addition & 1 deletion target/common/vsim.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $(VSIM_BUILDDIR)/compile.vsim.tcl: $(BENDER_LOCK) | $(VSIM_BUILDDIR)
$(BIN_DIR)/$(TARGET).vsim: $(VSIM_BUILDDIR)/compile.vsim.tcl $(VSIM_SOURCES) $(TB_SRCS) $(TB_CC_SOURCES) $(RTL_CC_SOURCES) work/lib/libfesvr.a | $(BIN_DIR)
$(VSIM) -c -do "source $<; quit" | tee $(VSIM_BUILDDIR)vlog.log
@! grep -P "Errors: [1-9]*," $(VSIM_BUILDDIR)vlog.log
$(VOPT) $(VOPT_FLAGS) tb_bin -o tb_bin_opt | tee $(VSIM_BUILDDIR)vopt.log
$(VOPT) $(VOPT_FLAGS) -work $(VSIM_BUILDDIR) tb_bin -o tb_bin_opt | tee $(VSIM_BUILDDIR)vopt.log
@! grep -P "Errors: [1-9]*," $(VSIM_BUILDDIR)vopt.log
@echo "#!/bin/bash" > $@
@echo 'binary=$$(realpath $$1)' >> $@
Expand Down
Loading