diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a03d0c22..15b52cb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ concurrency: on: push: - branches: [ master ] + branches: '*' # Don't forget to require approval for all outside collaborators pull_request: branches: '*' diff --git a/Makefile b/Makefile index 9a5e252a..c9da5c46 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,11 @@ ifeq ($(DEBUG),1) VERSAT_CALL := gdb -ex run --args ./versat endif +VERSAT_ARGUMENTS:=$(CUR_DIR)/$(VERSAT_SPEC) -s -b32 -t $(TEST) -u $(CUR_DIR)/submodules/VERSAT/hardware/src/units +VERSAT_ARGUMENTS+=-I $(CUR_DIR)/submodules/VERSAT/hardware/include -I $(CUR_DIR)/submodules/VERSAT/hardware/src +VERSAT_ARGUMENTS+=-I $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/hardware/src -O $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/software +VERSAT_ARGUMENTS+=-o $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/hardware/src -g $(CUR_DIR)/../debug -u $(CUR_DIR)/hardware/src/units -x64 + # Single test rules setup: +nix-shell --run 'make build-setup SETUP_ARGS="$(SETUP_ARGS) TEST=$(TEST)"' @@ -79,7 +84,7 @@ fpga-run-only: versat-only: mkdir -p ../$(CORE)_V0.70_$(TEST) cd ./submodules/VERSAT ; $(MAKE) -j 8 versat - cd ./submodules/VERSAT ; $(VERSAT_CALL) $(CUR_DIR)/$(VERSAT_SPEC) -s -b=32 -T $(TEST) -O $(CUR_DIR)/submodules/VERSAT/hardware/src/units -I $(CUR_DIR)/submodules/VERSAT/hardware/include -I $(CUR_DIR)/submodules/VERSAT/hardware/src -I $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/hardware/src -H $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/software -o $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/hardware/src -A $(CUR_DIR)/../debug -O $(CUR_DIR)/hardware/src/units -x64 + cd ./submodules/VERSAT ; $(VERSAT_CALL) $(VERSAT_ARGUMENTS) # Multi test rules @@ -108,7 +113,7 @@ fast: mkdir -p ../$(CORE)_V0.70_$(TEST) ; \ cd ./submodules/VERSAT ; \ $(MAKE) -s -j 8 versat ; \ - $(VERSAT_CALL) $(CUR_DIR)/$(VERSAT_SPEC) -s -b=32 -T $(TEST) -O $(CUR_DIR)/submodules/VERSAT/hardware/src/units -I $(CUR_DIR)/submodules/VERSAT/hardware/include -I $(CUR_DIR)/submodules/VERSAT/hardware/src -I $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/hardware/src -H $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/software -o $(CUR_DIR)/../iob_soc_versat_V0.70_$(TEST)/hardware/src -A $(CUR_DIR)/../debug -O $(CUR_DIR)/hardware/src/units -x64 + $(VERSAT_CALL) $(VERSAT_ARGUMENTS) fast-pc-emul: nix-shell --run "make fast TEST=$(TEST); make -C ../$(CORE)_V0.70_$(TEST) pc-emul-test" diff --git a/submodules/VERSAT b/submodules/VERSAT index b3fc7925..77a56ddb 160000 --- a/submodules/VERSAT +++ b/submodules/VERSAT @@ -1 +1 @@ -Subproject commit b3fc7925000a25a8fcf9acbb804bc8d04dde3052 +Subproject commit 77a56ddb76ec819408141e245469d36993642fff