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;
|
||||
reg [5:0] a;
|
||||
wire [5:0] b;
|
||||
always @(*) a = b;
|
||||
|
||||
reg x;
|
||||
wire [5:0] c;
|
||||
wire [5:0] d;
|
||||
wire [5:0] e;
|
||||
initial x = 0;
|
||||
assign c = x ? d : e;
|
||||
endmodule
|
||||
|
||||
Reference in New Issue
Block a user