Skip to content

Commit

Permalink
SKIP_CSIM=1 always when 'make gui' for vitis_hls
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Jan 11, 2025
1 parent 6932e70 commit 7955c7b
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions system_vitis_hls.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ ifndef HDL_TYPE
export HDL_TYPE = verilog
endif

# Specifies if we are skipping the csim
ifndef SKIP_CSIM
export SKIP_CSIM = 0
endif

# Specifies if we are skipping the cosim
ifndef SKIP_COSIM
export SKIP_COSIM = 0
Expand Down Expand Up @@ -125,7 +120,6 @@ test:
@echo CFLAGS: $(CFLAGS)
@echo LDFLAGS: $(LDFLAGS)
@echo HDL_TYPE: $(HDL_TYPE)
@echo SKIP_CSIM: $(SKIP_CSIM)
@echo SKIP_COSIM: $(SKIP_COSIM)
@echo EXPORT_VENDOR: $(EXPORT_VENDOR)
@echo EXPORT_VERSION: $(PRJ_VERSION)
Expand Down Expand Up @@ -159,31 +153,31 @@ $(SOURCE_DEPEND) :
echo ""; false; }
@test -d $(OUT_DIR) || mkdir $(OUT_DIR)
@test -d $(PROJ_DIR)/ip || mkdir $(PROJ_DIR)/ip
@cd $(OUT_DIR); vitis_hls -f $(RUCKUS_DIR)/vitis/hls/sources.tcl
@cd $(OUT_DIR); SKIP_CSIM=1 vitis_hls -f $(RUCKUS_DIR)/vitis/hls/sources.tcl

###############################################################
#### Vitis HLS Batch Build Mode ###############################
###############################################################
.PHONY : build
build : $(SOURCE_DEPEND)
$(call ACTION_HEADER,"Vitis HLS Build")
@cd $(OUT_DIR); vitis_hls -f $(RUCKUS_DIR)/vitis/hls/build.tcl
@cd $(OUT_DIR); SKIP_CSIM=0 vitis_hls -f $(RUCKUS_DIR)/vitis/hls/build.tcl

###############################################################
#### Vitis HLS Interactive ####################################
###############################################################
.PHONY : interactive
interactive : $(SOURCE_DEPEND)
$(call ACTION_HEADER,"Vitis HLS Interactive")
@cd $(OUT_DIR); vitis_hls -f $(RUCKUS_DIR)/vitis/hls/interactive.tcl
@cd $(OUT_DIR); SKIP_CSIM=1 vitis_hls -f $(RUCKUS_DIR)/vitis/hls/interactive.tcl

###############################################################
#### Vitis HLS Gui ############################################
###############################################################
.PHONY : gui
gui : $(SOURCE_DEPEND)
$(call ACTION_HEADER,"Vitis HLS GUI")
@cd $(OUT_DIR); vitis_hls -p $(PROJECT)_project
@cd $(OUT_DIR); SKIP_CSIM=1 vitis_hls -p $(PROJECT)_project

###############################################################
#### Makefile Targets #########################################
Expand Down

0 comments on commit 7955c7b

Please sign in to comment.