c33deca9 | 16-Jan-2025 |
klin02 <[email protected]> |
feat(XSNoCDiffTop): wrap XSNoCTop with Difftest Interface
To apply Difftest framework for CHI NoC, we wrapper lazy XSNoCTop inside XSNoCDiffTop when difftest enabled, and expose necessary soc/core/d
feat(XSNoCDiffTop): wrap XSNoCTop with Difftest Interface
To apply Difftest framework for CHI NoC, we wrapper lazy XSNoCTop inside XSNoCDiffTop when difftest enabled, and expose necessary soc/core/difftest IOs.
Currently we use two-step flow for CHI-NoC-XS as follow: Step1. Generate single-core XSNoCDiffTop with JsonProfile, which support generate another DifftestEndpoint seperately. Step2. Generate n-core Difftest according to JsonProfile Step3. Connect XS and Difftest manually or by some scripts.
As XSNoCDiffTop is only part of Difftest, we collect PerfCounters for each DiffTop, need control signals passed from Outer module. And to avoid potential connection problem, we add checker module and CI test.
To maintain compatibility with previous IT/ST flow, we extend XSNoCDiffTopConfig to enable difftest wrapper.
An example usage: make verilog PLDM=1 PLDM_ARGS="--difftest-config H" CONFIG=XSNoCDiffTopConfig
show more ...
|