rohd icon indicating copy to clipboard operation
rohd copied to clipboard

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

Open mkorbel1 opened this issue 9 months ago • 0 comments
trafficstars

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 LogicArrays and Logics.

Alternatives considered

No response

Additional details

No response

mkorbel1 avatar Jan 29 '25 18:01 mkorbel1