test(popcount_pipeline): add cocotb test for popcount pipeline module

- Add Makefile with cocotb configuration for popcount_pipeline RTL simulation
- Add Python test module with reset, drive/expect helpers
- Test row metadata preservation and bit-count correctness across 7 vectors
This commit is contained in:
2026-05-18 13:36:51 +08:00
parent 583b2156ea
commit b9b5684718
5 changed files with 96 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
PYTHON ?= python
MODULE_TESTS := cam_core_banked match_engine_pipeline cam_write_noise cam_read_noise
MODULE_TESTS := cam_core_banked match_engine_pipeline cam_write_noise cam_read_noise popcount_pipeline
.PHONY: help test-all test-top test-modules test-module test-model test-perf clean $(MODULE_TESTS:%=test-module-%)