lowRISC / lowRISC/opentitan

[util] Enhance regtool for exclusion and constant types

Open
#11,124 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component:Tooling Priority:P3 Type:FutureRelease
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

- [ ] All a `hwext` register to be defined as an external constant without a known reset value. These types should then be automatically excluded from init checks
- [ ] Consider defining exclusions to be block level, top level or both and automatically generate the correct attributes in ralgen.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting regtool's handling of external constants, reset values, and init checks, then trace how ralgen receives block- and top-level exclusion information. Done means hwext constants without known reset values are excluded from init checks and exclusions at either scope generate the correct ralgen attributes.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.