|
@ -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 |