Skip to content

[dv] Only sort dv_base_reg_block::m_mem_ranges if nonempty - #31394

Merged
rswarbrick merged 1 commit into
lowRISC:masterfrom
rswarbrick:empty-mem-range-sort
Sep 20, 2026
Merged

rswarbrick merged 1 commit into
lowRISC:masterfrom
rswarbrick:empty-mem-range-sort

Conversation

@rswarbrick

Copy link
Copy Markdown
Contributor

I added this sorting function with commit d4f46b4 but an EDA tool might print a warning if the queue has zero length (and VCS does this). Oops.

Since there's no point in sorting a queue with zero elements, skirt the problem.

I added this sorting function with commit d4f46b4 but an EDA tool
might print a warning if the queue has zero length (and VCS does
this). Oops.

Since there's no point in sorting a queue with zero elements, skirt
the problem.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick
rswarbrick requested a review from a team as a code owner September 19, 2026 20:29
@rswarbrick rswarbrick added the Component:DV DV issue: testbench, test case, etc. label Sep 19, 2026
@rswarbrick
rswarbrick added this pull request to the merge queue Sep 20, 2026
Merged via the queue into lowRISC:master with commit d87f8dc Sep 20, 2026
54 checks passed
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants