aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_intermout_bufrm_6_test.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hana/test_intermout_bufrm_6_test.v')
-rw-r--r--tests/hana/test_intermout_bufrm_6_test.v22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/hana/test_intermout_bufrm_6_test.v b/tests/hana/test_intermout_bufrm_6_test.v
new file mode 100644
index 000000000..d4f3878d5
--- /dev/null
+++ b/tests/hana/test_intermout_bufrm_6_test.v
@@ -0,0 +1,22 @@
+module test(in, out);
+input in;
+output out;
+
+wire w1, w2, w3, w4;
+assign w1 = in;
+assign w2 = w1;
+assign w4 = w3;
+assign out = w4;
+mybuf _mybuf(w2, w3);
+endmodule
+
+module mybuf(in, out);
+input in;
+output out;
+wire w1, w2, w3, w4;
+
+assign w1 = in;
+assign w2 = w1;
+assign out = w2;
+endmodule
+