Files
Mini-Nav/hw/sim/mk/rtl-sources.mk
SikongJueluo 8b4d4c1b57 refactor(cam): remove read noise from noise architecture (Phase 2)
- 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
2026-05-26 23:45:52 +08:00

27 lines
842 B
Makefile

ifndef RTL_ROOT
$(error RTL_ROOT must be set before including mk/rtl-sources.mk)
endif
RTL_RANDOM := $(RTL_ROOT)/random/random128.sv
RTL_BERNOULLI_NOISE_MASK := $(RTL_ROOT)/noise/noise_mask_bernoulli.sv $(RTL_RANDOM)
RTL_WRITE_NOISE := $(RTL_BERNOULLI_NOISE_MASK) $(RTL_ROOT)/noise/cam_write_noise.sv
RTL_READ_NOISE := $(RTL_ROOT)/noise/cam_read_noise.sv
RTL_CAM_CORE_BANKED := $(RTL_ROOT)/core/cam_core_banked.sv
RTL_MATCH_ENGINE := \
$(RTL_ROOT)/core/popcount_pipeline.sv \
$(RTL_ROOT)/core/candidate_fifo.sv \
$(RTL_ROOT)/core/topk_tracker.sv \
$(RTL_ROOT)/core/result_serializer.sv \
$(RTL_ROOT)/core/match_engine_pipeline.sv
RTL_CAM_NOISY := \
$(RTL_CAM_CORE_BANKED) \
$(RTL_WRITE_NOISE) \
$(RTL_READ_NOISE) \
$(RTL_MATCH_ENGINE) \
$(RTL_ROOT)/cam_noisy.sv
RTL_CAM_TOP := $(RTL_CAM_NOISY) $(RTL_ROOT)/cam_top.sv