intel / intel/rohd

Support tagging of generated SystemVerilog `begin` and `end`

Open
#146 3 comments 0 reactions 1 assignee Claimed by @lucasphillips View on GitHub
enhancement good first issue
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

## Motivation
Some users have extra preferences about the readability of generated SystemVerilog for their applications. It would be nice to use the tagging mechanism for if, case, etc. in SV to help along those lines.

## Desired solution
Every ‘begin’ should have the ability to add a name for it.

```Verilog
if (a) begin : if_name
.
.
end else begin : else_name
.
.
end // if_name
```

This should be simple to add to things like `Iff`, `ElseIf`, `Else`, as well as `If` and `Case`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.