Skip to content

[lint] Waive VAR_INDEX_RANGE warnings shown in new tool versions#30671

Merged
vogelpi merged 2 commits into
lowRISC:masterfrom
vogelpi:lint
Jul 7, 2026
Merged

[lint] Waive VAR_INDEX_RANGE warnings shown in new tool versions#30671
vogelpi merged 2 commits into
lowRISC:masterfrom
vogelpi:lint

Conversation

@vogelpi

@vogelpi vogelpi commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Once these changes are in, we can upgrade the tool version used in CI with what is used in the development environment.

vogelpi added 2 commits July 6, 2026 10:50
The corresponding RTL is okay, the computed index is always valid.
Otherwise, we end up in a different branch and the index is not used.
It's okay to waive this warning.

Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
The corresponding RTL is okay. As the LSBs are fixed to 5'd31, the
resulting index is always valid and greater equal 0.

Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>

@glaserf glaserf left a comment

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.

Thanks for taking care of this and cleaning up my mess in CSRNG!

@nasahlpa nasahlpa left a comment

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.

Thanks Pirmin, this looks correct.

@nasahlpa

nasahlpa commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

CHANGE AUTHORIZED: hw/ip/csrng/rtl/csrng_ctr_drbg.sv

No functional change - only a comment was added a lint waiver was added.

@vogelpi vogelpi added the CI:Rerun Rerun failed CI jobs label Jul 7, 2026
@github-actions github-actions Bot removed the CI:Rerun Rerun failed CI jobs label Jul 7, 2026
@vogelpi

vogelpi commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

CHANGE AUTHORIZED: hw/ip/csrng/rtl/csrng_ctr_drbg.sv

No functional change - only a comment was added a lint waiver was added.

@vogelpi vogelpi added the CI:Rerun Rerun failed CI jobs label Jul 7, 2026
@github-actions github-actions Bot removed the CI:Rerun Rerun failed CI jobs label Jul 7, 2026
@vogelpi vogelpi added this pull request to the merge queue Jul 7, 2026
Merged via the queue into lowRISC:master with commit 32d4560 Jul 7, 2026
70 of 74 checks passed
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.

3 participants