intel / intel/rohd

Allow swizzles to be receivers of assignments in generated SystemVerilog for nets

Open
#530 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

### Motivation

It's legal in SystemVerilog for an assignment to be a swizzle:
```SystemVerilog
assign {a, b} = {c, d};
```

Currently ROHD will create an intermediate signal for logic nets, rather than do it in a single `net_connect` line.

### Desired solution

Enable the ROHD SystemVerilog generation to merge assignments between swizzles.

### Alternatives considered

_No response_

### Additional details

_No response_

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.