Skip to content

[dv] Tidy-up in cip_base_env#29629

Open
rswarbrick wants to merge 2 commits intolowRISC:masterfrom
rswarbrick:cip-base-env-tidyup
Open

[dv] Tidy-up in cip_base_env#29629
rswarbrick wants to merge 2 commits intolowRISC:masterfrom
rswarbrick:cip-base-env-tidyup

Conversation

@rswarbrick
Copy link
Copy Markdown
Contributor

The big change (by lines of code) is the first commit, which switches the code to use out-of-block definitions (with no functional change). The second change adds some documentation comments and makes some class variables local.

No functional change (but I hope that this makes it easier to glance
through the file).

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick rswarbrick requested a review from martin-velay March 30, 2026 18:09
@rswarbrick rswarbrick requested a review from a team as a code owner March 30, 2026 18:09
@rswarbrick rswarbrick removed the request for review from a team March 30, 2026 18:09
@rswarbrick rswarbrick added the Component:DV DV issue: testbench, test case, etc. label Mar 30, 2026
@rswarbrick rswarbrick added the Type:Cleanup Cleanup tasks label Mar 30, 2026
Copy link
Copy Markdown
Contributor

@KinzaQamar KinzaQamar left a comment

Choose a reason for hiding this comment

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

I left a boring comment otherwise LGTM

typedef push_pull_agent#(.DeviceDataWidth(EDN_DATA_WIDTH)) edn_push_pull_agent_t;
typedef push_pull_agent_cfg#(.DeviceDataWidth(EDN_DATA_WIDTH)) edn_push_pull_agent_cfg_t;


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is an extra blank line

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point. I suspect I thought it made things clearer, but I've reconsidered :-) Now updated.

Also mark some internal variables local and add a typedef to avoid
very long lines for EDN pull agents.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick rswarbrick force-pushed the cip-base-env-tidyup branch from ad3a00e to 18ac026 Compare April 1, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component:DV DV issue: testbench, test case, etc. Type:Cleanup Cleanup tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants