Skip to content

Commit eca1014

Browse files
Makefile: Add AHB controller test targets to root Makefile
Signed-off-by: Kacper Słomiński <kslominski@antmicro.com>
1 parent 2f5bc82 commit eca1014

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

‎Makefile‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,26 @@ test-s: config
165165
$(MAKE) config CFG_NAME=$(CFG_NAME)
166166
$(NOX) -f $(COCOTB_NOXFILE) -s $(TEST)
167167

168-
tests-axi_controller: ## Run all verification/cocotb/* RTL tests for the controller only configuration without coverage
168+
tests-axi_controller: ## Run all verification/cocotb/* RTL tests for the AXI controller only configuration without coverage
169169
$(MAKE) config CFG_NAME=axi_controller_only_sim # this configuration is used for some controller mode tests
170170
export DUT_CONFIG=controller_only && \
171-
cd $(COCOTB_VERIF_DIR) && $(PYTHON) -m nox -R -t "controller" --no-venv --forcecolor
171+
cd $(COCOTB_VERIF_DIR) && $(PYTHON) -m nox -R -t "axi_controller" --no-venv --forcecolor
172172

173-
tests-axi_controller_and_target: ## Run all verification/cocotb/* RTL tests for the controller and target configuration without coverage
173+
tests-axi_controller_and_target: ## Run all verification/cocotb/* RTL tests for the AXI controller and target configuration without coverage
174174
$(MAKE) config CFG_NAME=axi_controller_and_target_sim # this configuration is used for some controller mode tests
175175
export DUT_CONFIG=controller_and_target && \
176-
cd $(COCOTB_VERIF_DIR) && $(PYTHON) -m nox -R -t "controller" --no-venv --forcecolor
176+
cd $(COCOTB_VERIF_DIR) && $(PYTHON) -m nox -R -t "axi_controller" --no-venv --forcecolor
177+
178+
tests-ahb_controller: ## Run all verification/cocotb/* RTL tests for the AHB controller only configuration without coverage
179+
$(MAKE) config CFG_NAME=ahb_controller_only_sim # this configuration is used for some controller mode tests
180+
export DUT_CONFIG=controller_only && \
181+
cd $(COCOTB_VERIF_DIR) && $(PYTHON) -m nox -R -t "ahb_controller" --no-venv --forcecolor
182+
183+
tests-ahb_controller_and_target: ## Run all verification/cocotb/* RTL tests for the AHB controller and target configuration without coverage
184+
$(MAKE) config CFG_NAME=ahb_controller_and_target_sim # this configuration is used for some controller mode tests
185+
export DUT_CONFIG=controller_and_target && \
186+
cd $(COCOTB_VERIF_DIR) && $(PYTHON) -m nox -R -t "ahb_controller" --no-venv --forcecolor
187+
177188

178189
tests: tests-axi tests-ahb ## Run all verification/cocotb/* RTL tests fro AHB and AXI bus configurations without coverage
179190

0 commit comments

Comments
 (0)