Skip to content

Commit

Permalink
Switch default target for sim
Browse files Browse the repository at this point in the history
  • Loading branch information
thommythomaso committed Feb 28, 2024
1 parent 529edd3 commit a2ae35b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ sources:
- src/midend/idma_rt_midend_synth.sv

# Testbenches
- target: test
- target: idma_test
files:
# Level 0
- test/frontend/tb_idma_desc64_top.sv
Expand Down
4 changes: 2 additions & 2 deletions idma.mk
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ endef
$(IDMA_VSIM_DIR)/compile.tcl: $(IDMA_BENDER_FILES) $(IDMA_TB_ALL) $(IDMA_RTL_ALL)
$(BENDER) update
$(BENDER) checkout
$(call idma_generate_vsim, $@, -t sim -t test -t synth -t rtl -t asic -t snitch_cluster,../../..)
$(call idma_generate_vsim, $@, -t sim -t idma_test -t synth -t rtl -t asic -t snitch_cluster,../../..)

idma_sim_clean:
rm -rf $(IDMA_VSIM_DIR)/compile.tcl
Expand Down Expand Up @@ -323,7 +323,7 @@ IDMA_VCS_PARAMS ?=
$(IDMA_VCS_DIR)/compile.sh: $(IDMA_BENDER_FILES) $(IDMA_TB_ALL) $(IDMA_RTL_ALL)
$(BENDER) update
$(BENDER) checkout
$(BENDER) script vcs -t test -t rtl -t synth -t simulation -t snitch_cluster --vlog-arg "\$(IDMA_VLOGAN_ARGS)" --vlogan-bin "$(VLOGAN)" $(IDMA_VLOGAN_REL_PATHS) > $@
$(BENDER) script vcs -t idma_test -t rtl -t synth -t simulation -t snitch_cluster --vlog-arg "\$(IDMA_VLOGAN_ARGS)" --vlogan-bin "$(VLOGAN)" $(IDMA_VLOGAN_REL_PATHS) > $@
chmod +x $@

idma_vcs_compile: $(IDMA_VCS_DIR)/compile.sh
Expand Down

0 comments on commit a2ae35b

Please sign in to comment.