mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
verilog: allow null gen-if then block
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user