| .DELETE_ON_ERROR: |
| |
| include tbm.mk |
| |
| .PHONY: integration_tests |
| |
| clean_integration_tests: |
| $(RM) -r $(OUT_TRACES)/integration |
| .PHONY: clean_integration_tests |
| clean: clean_integration_tests |
| |
| $(OUT_TRACES)/integration: |
| mkdir -p $@ |
| |
| ############################################################################### |
| # To build mobilenet_v1_bytecode_static: `m iree_no_wmmu` |
| |
| $(OUT_TRACES)/integration/quant_mobilenet_v1_bytecode_static.spike: $(OUT)/springbok_iree_no_wmmu/quant_models/mobilenet_v1_bytecode_static | $(OUT_TRACES)/integration |
| $(OUT_TRACES)/integration/quant_mobilenet_v1_bytecode_static.spike: SPIKE_ENTRY := 0x34000000 |
| $(OUT_TRACES)/integration/quant_mobilenet_v1_bytecode_static.spike: SPIKE_MEM := 0x34000000:0x1000000 |
| $(OUT_TRACES)/integration/quant_mobilenet_v1_bytecode_static.tbm_log: $(UARCH) |
| $(eval $(call tbm_merge_log,$(OUT_TRACES)/integration/quant_mobilenet_v1_bytecode_static,10000000,11,$(UARCH))) |
| |
| integration_tests: $(OUT_TRACES)/integration/quant_mobilenet_v1_bytecode_static.tbm_log |
| |
| ############################################################################### |
| # To build mobilenet_v1_bytecode_static: `m iree_no_wmmu` |
| |
| $(OUT_TRACES)/integration/float_mobilenet_v1_bytecode_static.spike: $(OUT)/springbok_iree_no_wmmu/float_models/mobilenet_v1_bytecode_static | $(OUT_TRACES)/integration |
| $(OUT_TRACES)/integration/float_mobilenet_v1_bytecode_static.spike: SPIKE_ENTRY := 0x34000000 |
| $(OUT_TRACES)/integration/float_mobilenet_v1_bytecode_static.spike: SPIKE_MEM := 0x34000000:0x1000000 |
| $(OUT_TRACES)/integration/float_mobilenet_v1_bytecode_static.tbm_log: $(UARCH) |
| $(eval $(call tbm_merge_log,$(OUT_TRACES)/integration/float_mobilenet_v1_bytecode_static,10000000,11,$(UARCH))) |
| |
| integration_tests: $(OUT_TRACES)/integration/float_mobilenet_v1_bytecode_static.tbm_log |
| |
| ############################################################################### |
| # To build mnist_bytecode_static: `m iree_no_wmmu` |
| |
| $(OUT_TRACES)/integration/float_mnist_bytecode_static.spike: $(OUT)/springbok_iree_no_wmmu/float_models/mnist_bytecode_static | $(OUT_TRACES)/integration |
| $(OUT_TRACES)/integration/float_mnist_bytecode_static.spike: SPIKE_ENTRY := 0x34000000 |
| $(OUT_TRACES)/integration/float_mnist_bytecode_static.spike: SPIKE_MEM := 0x34000000:0x1000000 |
| $(OUT_TRACES)/integration/float_mnist_bytecode_static.tbm_log: $(UARCH) |
| |
| integration_tests: $(OUT_TRACES)/integration/float_mnist_bytecode_static.tbm_log |
| |
| ############################################################################### |
| # To build vector_executive.elf: `m springbok` |
| |
| $(OUT_TRACES)/integration/vector_executive.spike: $(OUT)/springbok/rvv/vector_executive/vector_executive.elf | $(OUT_TRACES)/integration |
| $(OUT_TRACES)/integration/vector_executive.tbm_log: $(SPRINGBOK_UARCH) |
| $(OUT_TRACES)/integration/vector_executive.tbm_log: $(UARCH) |
| |
| integration_tests: $(OUT_TRACES)/integration/vector_executive.tbm_log |