aboutsummaryrefslogtreecommitdiffstats
path: root/tests/verilog/unnamed_genblk.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/verilog/unnamed_genblk.ys')
-rw-r--r--tests/verilog/unnamed_genblk.ys8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/verilog/unnamed_genblk.ys b/tests/verilog/unnamed_genblk.ys
new file mode 100644
index 000000000..2b9aa9d69
--- /dev/null
+++ b/tests/verilog/unnamed_genblk.ys
@@ -0,0 +1,8 @@
+read_verilog -sv unnamed_genblk.sv
+select -assert-count 0 top/genblk1.a
+select -assert-count 1 top/genblk02.b
+select -assert-count 0 top/genblk1.a
+select -assert-count 1 top/genblk02.b
+select -assert-count 1 top/g1[0].genblk1.a
+select -assert-count 1 top/genblk4[0].genblk1.a
+select -assert-count 1 top/genblk5.a