lowRISC / lowRISC/style-guides

Curly braces in coverpoints must close with the first character of the coverpoint name

Open
#80 3 comments 0 reactions 1 assignee View on GitHub

@antmarzam is already working on this.

Since May 9, 2025.

guideline suggestion
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

  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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.