mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-14 21:01:50 +00:00
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> |
||
|---|---|---|
| .. | ||
| ast.cc | ||
| ast.h | ||
| ast_binding.cc | ||
| ast_binding.h | ||
| dpicall.cc | ||
| genrtlil.cc | ||
| Makefile.inc | ||
| simplify.cc | ||