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
This commit is contained in:
2026-05-26 23:02:22 +08:00
parent e5d13917b2
commit 8b4d4c1b57
29 changed files with 277 additions and 863 deletions

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
CAM 顶层cam_topno_noise 配置集成测试WRITE_NOISE_EN=0, READ_NOISE_EN=0)。
CAM 顶层cam_topno_noise 配置集成测试WRITE_NOISE_EN=0
所有噪声模块禁用,验证 CAM 在无噪声下的标准行为。
@@ -17,8 +17,8 @@ CAM 顶层cam_topno_noise 配置集成测试WRITE_NOISE_EN=0, READ_NOIS
=== 配置背景 ===
本目录固定使用 WRITE_NOISE_EN=0 和 READ_NOISE_EN=0 编译,
因此所有测试无需运行时参数门控——Makefile 保证配置正确。
本目录固定使用 WRITE_NOISE_EN=0 编译,
因此所有测试无需运行时参数门控——Makefile 保证配置正确。
"""
from __future__ import annotations
@@ -62,7 +62,7 @@ async def compile_includes_grouped_noise_helper(dut):
# ═══════════════════════════════════════════════════════════════════════════════
# 测试 A基线WRITE_NOISE_EN=0, READ_NOISE_EN=0
# 测试 A基线WRITE_NOISE_EN=0
# ── 验证写+查在噪声关闭时与旧 CAM 行为完全一致
# ═══════════════════════════════════════════════════════════════════════════════