sv2v/test/basic/array.v

13 lines
191 B
Verilog
Raw Normal View History

2020-02-14 05:59:01 +01:00
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;
2020-02-14 05:59:01 +01:00
endmodule