mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-13 04:25:32 +08:00
refactor(cam): rename read-noise path to read-pass-through and reorganize test module structure
- Rename `read_noise` scenarios and noise_mode to `read_pass_through` across run_cam_correctness.py, test_run_cam_correctness.py, and Makefiles - Update RTL comment in match_engine_pipeline.sv to reflect pass-through behavior - Move unit-level cocotb tests from `tests.test_*` flat namespace to `tests.modules.*` and `tests.top.*` subdirectory layout, matching actual Makefile paths (hw/sim/tests/modules/..., hw/sim/tests/top/...) - Remove redundant dual-noise subtarget from read_noise/Makefile - Update help text and docs to reflect read-path pass-through semantics - Add .codegraph to .gitignore
This commit is contained in:
@@ -6,17 +6,10 @@ TOPLEVEL := cam_top
|
||||
COCOTB_TEST_MODULES := tests.top.read_noise.test_read_noise
|
||||
VERILOG_SOURCES := $(RTL_CAM_TOP)
|
||||
|
||||
# 读取噪声开启(Phase 2 后为 pass-through),写入噪声默认关闭
|
||||
# 读取路径 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
|
||||
|
||||
Reference in New Issue
Block a user