Skip to content

Commit

Permalink
[Makefile] Fix Verilator path configuration
Browse files Browse the repository at this point in the history
- Updated VERILATOR_ROOT to include /bin for binary resolution.
- Adjusted PATH to use the corrected VERILATOR_ROOT variable.
  • Loading branch information
bi262934 committed Jan 27, 2025
1 parent c5b556e commit d6e4103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ $(PRJ_NAX).v:
.PHONY: src/test/cpp/naxriscv/obj_dir/VNaxRiscv
src/test/cpp/naxriscv/obj_dir/VNaxRiscv:$(PRJ_NAX).v
make -C $(CORE_DIR)/src/test/cpp/naxriscv compile
VERILATOR_ROOT=$(VERILATOR_ROOT_NAX)
VERILATOR_ROOT=$(VERILATOR_ROOT_NAX)/bin
SPIKE=$(SPIKE_DIR)
PATH=$(VERILATOR_ROOT_NAX)/bin:$(PATH)
PATH=$(VERILATOR_ROOT):$(PATH)

verilate-$(PRJ_NAX): src/test/cpp/naxriscv/obj_dir/VNaxRiscv

Expand Down

0 comments on commit d6e4103

Please sign in to comment.