diff options
Diffstat (limited to 'tests/simple/nested_genblk_resolve.v')
-rw-r--r-- | tests/simple/nested_genblk_resolve.v | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/simple/nested_genblk_resolve.v b/tests/simple/nested_genblk_resolve.v new file mode 100644 index 000000000..70bbc611b --- /dev/null +++ b/tests/simple/nested_genblk_resolve.v @@ -0,0 +1,14 @@ +`default_nettype none +module nested_genblk_resolve_top; + generate + if (1) begin + wire x; + genvar i; + for (i = 0; i < 1; i = i + 1) begin + if (1) begin + assign x = 1; + end + end + end + endgenerate +endmodule |