aboutsummaryrefslogtreecommitdiffstats
path: root/tests/techmap/bug2183.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/techmap/bug2183.ys')
-rw-r--r--tests/techmap/bug2183.ys11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/techmap/bug2183.ys b/tests/techmap/bug2183.ys
new file mode 100644
index 000000000..8dd09458e
--- /dev/null
+++ b/tests/techmap/bug2183.ys
@@ -0,0 +1,11 @@
+read_verilog <<EOT
+module foo(inout a, b);
+ assign a = b;
+endmodule
+module bar(output c);
+ foo f(c, 1'b0);
+endmodule
+EOT
+
+hierarchy -auto-top
+flatten