mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-13 04:25:32 +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
27 lines
842 B
Makefile
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
|