mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-13 04:25:32 +08:00
- Add just recipes for preparing CIFAR10/100 hash artifacts and running benchmarks - Add CAM_RETRIEVAL_DATASET env var support in Makefile - Add load_retrieval_dataset_npz() to load pre-prepared retrieval datasets - Add label_hits counter and recall@k metric for retrieval evaluation - Rename macro_recall to retrieval_recall to clarify semantics
18 lines
398 B
Makefile
18 lines
398 B
Makefile
SIM_ROOT := $(abspath ../..)
|
|
RTL_ROOT := $(abspath $(SIM_ROOT)/../rtl)
|
|
include $(SIM_ROOT)/mk/rtl-sources.mk
|
|
|
|
TOPLEVEL := cam_top
|
|
COCOTB_TEST_MODULES := benchmarks.retrieval.test_retrieval_benchmark
|
|
VERILOG_SOURCES := $(RTL_CAM_TOP)
|
|
|
|
TOPK_K ?= 5
|
|
NUM_ROWS ?= 4096
|
|
WRITE_NOISE_EN ?= 0
|
|
READ_NOISE_EN ?= 0
|
|
|
|
CAM_RETRIEVAL_DATASET ?=
|
|
export CAM_RETRIEVAL_DATASET
|
|
|
|
include $(SIM_ROOT)/mk/cocotb-common.mk
|