mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 09:28:12 +02:00
pack arrays in ternary expressions assigned to other arrays
This commit is contained in:
@@ -2,4 +2,11 @@ module top;
|
||||
logic [1:0] a [3];
|
||||
logic [1:0] b [3];
|
||||
always_comb a = b;
|
||||
|
||||
logic x;
|
||||
logic [1:0] c [3];
|
||||
logic [1:0] d [3];
|
||||
logic [1:0] e [3];
|
||||
initial x = 0;
|
||||
assign c = x ? d : e;
|
||||
endmodule
|
||||
|
||||
Reference in New Issue
Block a user