lowRISC / lowRISC/style-guides
Curly braces in coverpoints must close with the first character of the coverpoint name
@antmarzam is already working on this.
Since May 9, 2025.
- Dominant language
- No language data
- Stars
- 541
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
This suggestion is followed in Opentitan
Good Example:
```
Covergroup cg;
Bit x;
Cp_name: coverpoint x {
Bins zero = {0};
Bins one = {1};
}
endgroup
```
Bad Examples:
```
Covergroup cg;
Bit x;
Cp_name: coverpoint x {
Bins zero = {0};
Bins one = {1};
}
Endgroup
Covergroup cg;
Bit x;
Cp_name: coverpoint x {Bins zero = {0};
Bins one = {1};
}
Endgroup
Covergroup cg;
Bit x;
Cp_name: coverpoint x {Bins zero = {0};
Bins one = {1};}
Endgroup
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.