intel / intel/rohd

Make assignments between packed LogicArrays and Logics in generated SystemVerilog avoid a swizzle

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

Description

### Motivation

Sometimes there are assignments between a `LogicArray` with 1 dimension (packed), and a `Logic` of the same width. It would be nice to generate that SystemVerilog as a simple assignment instead of first going through a swizzle conversion.

### Desired solution

Somehow transform assignments in generated SystemVerilog to avoid unnecessary swizzling prior to assignments between 1-D packed `LogicArray`s and `Logic`s.

### 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.