Skip to content

Commit

Permalink
[sw/common] remove sim build on clean_all
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Dec 18, 2024
1 parent 02d3e72 commit 3cfbf0b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions sw/common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,6 @@ $(APP_VHD): $(BIN_MAIN) $(IMAGE_GEN)
@echo "Generating $(APP_VHD)"
@$(IMAGE_GEN) -app_vhd $< $@ $(shell basename $(CURDIR))

# Install VHDL memory initialization file
install-$(APP_VHD): $(APP_VHD)
@set -e
@echo "Installing application image to $(NEORV32_RTL_PATH)/core/$(APP_VHD)"
@cp $(APP_VHD) $(NEORV32_RTL_PATH)/core/.

# Generate NEORV32 RAW executable image in plain hex format
$(APP_HEX): $(BIN_MAIN) $(IMAGE_GEN)
@set -e
Expand Down Expand Up @@ -306,6 +300,12 @@ sim: $(APP_VHD) install
@echo "Simulating processor using default testbench..."
@sh $(NEORV32_SIM_PATH)/ghdl.sh $(GHDL_RUN_FLAGS)

# Install VHDL memory initialization file
install-$(APP_VHD): $(APP_VHD)
@set -e
@echo "Installing application image to $(NEORV32_RTL_PATH)/core/$(APP_VHD)"
@cp $(APP_VHD) $(NEORV32_RTL_PATH)/core/.

# -----------------------------------------------------------------------------
# Regenerate HDL file lists
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -337,6 +337,7 @@ clean:

clean_all: clean
@rm -f $(IMAGE_GEN)
@rm -rf $(NEORV32_SIM_PATH)/build

# -----------------------------------------------------------------------------
# Show configuration
Expand Down

0 comments on commit 3cfbf0b

Please sign in to comment.