aboutsummaryrefslogtreecommitdiffstats
path: root/bugs/minimal_1.v
diff options
context:
space:
mode:
Diffstat (limited to 'bugs/minimal_1.v')
-rw-r--r--bugs/minimal_1.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/bugs/minimal_1.v b/bugs/minimal_1.v
new file mode 100644
index 0000000..95957ff
--- /dev/null
+++ b/bugs/minimal_1.v
@@ -0,0 +1,7 @@
+// Increasing the size of the wires makes yosys hang
+module div_error(y, w1, w2);
+ output [50:0] y;
+ input [50:0] w1;
+ input [50:0] w2;
+ assign y = w1 / w2;
+endmodule // div_error