mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
- Make cam_read_noise a pass-through module, removing all noise injection logic - Switch write noise to use noise_mask_bernoulli instead of noise_mask_grouped - Add state machine to cam_write_noise for mask generation timing - Remove noise_mask_grouped.sv (no longer needed) - Remove read noise parameters from cam_noisy and cam_top - Update simulation and benchmark code to reflect read noise removal - Sync documentation to reflect Phase 2 architecture
23 lines
720 B
Makefile
23 lines
720 B
Makefile
SIM_ROOT := $(abspath ../../..)
|
||
RTL_ROOT := $(abspath $(SIM_ROOT)/../rtl)
|
||
include $(SIM_ROOT)/mk/rtl-sources.mk
|
||
|
||
TOPLEVEL := cam_top
|
||
COCOTB_TEST_MODULES := tests.top.read_noise.test_read_noise
|
||
VERILOG_SOURCES := $(RTL_CAM_TOP)
|
||
|
||
# 读取噪声开启(Phase 2 后为 pass-through),写入噪声默认关闭
|
||
WRITE_NOISE_EN := 0
|
||
|
||
include $(SIM_ROOT)/mk/cocotb-common.mk
|
||
|
||
# ── 写入+读取双重噪声子目标 ─────────────────────────────────────────
|
||
.PHONY: test-with-write-noise
|
||
|
||
test-with-write-noise:
|
||
$(MAKE) -B -f Makefile results.xml WRITE_NOISE_EN=1 \
|
||
COCOTB_TEST_FILTER=read_noise_model_match
|
||
|
||
clean::
|
||
rm -rf sim_build
|