Browse Source

Fix target order

master
T. Meissner 11 months ago
parent
commit
afc12ee9d0
1 changed files with 12 additions and 14 deletions
  1. +12
    -14
      pyuvm_tests/Makefile

+ 12
- 14
pyuvm_tests/Makefile View File

@ -19,10 +19,6 @@ RUFF_ARGS := --fix
endif endif
endif endif
.PHONY:
FIX:
@#
# Cocotb related # Cocotb related
MODULE := tb_${DUT} MODULE := tb_${DUT}
COCOTB_LOG_LEVEL := DEBUG COCOTB_LOG_LEVEL := DEBUG
@ -48,6 +44,11 @@ EXTRA_ARGS := --std=08
VHDL_LIB_ORDER := libvhdl VHDL_LIB_ORDER := libvhdl
endif endif
ifneq (, $(shell which cocotb-config))
include $(shell cocotb-config --makefiles)/Makefile.sim
else
$(warning WARNING: cocotb not found)
endif
check format: check format:
ifneq (, $(shell which ruff)) ifneq (, $(shell which ruff))
@ -56,19 +57,16 @@ else
@echo "ERROR: ruff not found"; exit 1 @echo "ERROR: ruff not found"; exit 1
endif endif
ifneq (, $(shell which cocotb-config))
include $(shell cocotb-config --makefiles)/Makefile.sim
else
$(warning WARNING: cocotb not found)
endif
FIX:
@#
results: results:
mkdir -p results mkdir -p results
clean:: clean::
rm -rf *.o __pycache__ uarttx uartrx wishboneslavee aes results $(SIM_BUILD)
rm -rf *.o uarttx uartrx wishboneslavee aes results $(SIM_BUILD)
cleanall:
rm -rf .ruff_cache __pycache__
.PHONY: clean check format FIX
.PHONY: clean cleanall check format FIX

Loading…
Cancel
Save