1
0
mirror of synced 2026-03-05 19:19:36 +00:00
Files
Andrew Pullin 6ac8c8cb05 ast: Add support for array-to-array assignment
This commit adds support for SystemVerilog array-to-array assignment
operations that were previously unsupported:

1. Direct array assignment: `b = a;`
2. Array ternary expressions: `out = sel ? a : b;`

Both single-dimensional and multi-dimensional unpacked arrays are
supported. The implementation expands these array operations during
AST simplification into element-wise assignments.

Example of now-supported syntax:
```systemverilog
wire [7:0] state_regs[8];
wire [7:0] r[8];
wire [7:0] sel[8];
assign sel = condition ? state_regs : r;
```

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-04 21:34:40 -08:00
..
2021-08-11 13:34:10 +02:00
2020-06-19 17:40:38 -07:00
2020-06-19 17:40:38 -07:00
2020-06-19 17:40:38 -07:00
2020-06-19 17:40:38 -07:00
2020-06-19 17:40:38 -07:00
2020-05-12 17:20:34 +01:00
2024-02-12 09:19:58 +01:00
2021-08-11 13:34:10 +02:00
2021-08-11 13:34:10 +02:00