Skip to content

feat: Adds CDC results parsing for Meridian in the CDC flow - #237

Open
nsw-lowrisc wants to merge 1 commit into
lowRISC:masterfrom
nsw-lowrisc:add_cdc_flow
Open

feat: Adds CDC results parsing for Meridian in the CDC flow#237
nsw-lowrisc wants to merge 1 commit into
lowRISC:masterfrom
nsw-lowrisc:add_cdc_flow

Conversation

@nsw-lowrisc

Copy link
Copy Markdown

This commit adds parsing of the Meridian CDC reports. The parser is using the meridiancdc.py file in the tools directory, so the parser in the local repo is not required, however, if the report_cmd variable is set in the hjson this will be overridden and the parser called by make.

NOTE: the buckets have changed, adding waived and tofix, so the corresponding common_cdc_cfg.hjson file should be updated in line. This required a fix to msg_buckets.py to avoid an exception.

@nsw-lowrisc
nsw-lowrisc requested a review from machshev July 7, 2026 15:35
@nsw-lowrisc
nsw-lowrisc force-pushed the add_cdc_flow branch 2 times, most recently from 23bdb5f to 858050c Compare July 7, 2026 15:55

@machshev machshev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nsw-lowrisc!
Some nits but the general concept seems fine.

Comment thread src/dvsim/flow/cdc.py Outdated
Comment thread src/dvsim/tool/meridiancdc.py Outdated
Comment thread src/dvsim/tool/meridiancdc.py Outdated
Comment thread src/dvsim/flow/cdc.py Outdated
Comment thread src/dvsim/tool/meridiancdc.py Outdated
Comment thread src/dvsim/tool/meridiancdc.py Outdated
Comment thread src/dvsim/tool/meridiancdc.py Outdated
Comment thread src/dvsim/tool/meridiancdc.py
Comment thread src/dvsim/tool/meridiancdc.py Outdated
Comment thread src/dvsim/msg_buckets.py
This commit adds parsing of the Meridian CDC reports. The parser is
using the meridiancdc.py file in the tools directory, so the parser in
the local repo is not required, however, if the report_cmd variable is
set in the hjson this will be overridden and the parser called by make.

NOTE: the buckets have changed, adding waived and tofix, so the
corresponding common_cdc_cfg.hjson file should be updated in line. This
required a fix to msg_buckets.py to avoid an exception.

Signed-off-by: Neil Webb <nsw@lowrisc.org>
@nsw-lowrisc

Copy link
Copy Markdown
Author

I have made the suggested changes, hopefully thats every thing fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants