diff options
Diffstat (limited to 'tests/simple/genblk_port_shadow.v')
-rw-r--r-- | tests/simple/genblk_port_shadow.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/simple/genblk_port_shadow.v b/tests/simple/genblk_port_shadow.v new file mode 100644 index 000000000..a04631a20 --- /dev/null +++ b/tests/simple/genblk_port_shadow.v @@ -0,0 +1,10 @@ +module top(x); + generate + if (1) begin : blk + wire x; + assign x = 0; + end + endgenerate + output wire x; + assign x = blk.x; +endmodule |