mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
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:
9
hw/sim/tests/modules/popcount_pipeline/Makefile
Normal file
9
hw/sim/tests/modules/popcount_pipeline/Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
SIM_ROOT := $(abspath ../../..)
|
||||
RTL_ROOT := $(abspath $(SIM_ROOT)/../rtl)
|
||||
include $(SIM_ROOT)/mk/rtl-sources.mk
|
||||
|
||||
TOPLEVEL := popcount_pipeline
|
||||
COCOTB_TEST_MODULES := tests.modules.popcount_pipeline.test_popcount_pipeline
|
||||
VERILOG_SOURCES := $(RTL_MATCH_ENGINE)
|
||||
|
||||
include $(SIM_ROOT)/mk/cocotb-common.mk
|
||||
Reference in New Issue
Block a user