yosys/tests/various/gen_if_null.v

14 lines
181 B
Coq
Raw Normal View History

2020-05-04 19:22:16 -05:00
module test(x, y, z);
localparam OFF = 0;
generate
if (OFF) ;
else input x;
if (!OFF) input y;
else ;
if (OFF) ;
else ;
if (OFF) ;
input z;
endgenerate
endmodule