aboutsummaryrefslogtreecommitdiffstats
path: root/passes/tests/flowmap/pack1p.v
diff options
context:
space:
mode:
Diffstat (limited to 'passes/tests/flowmap/pack1p.v')
-rw-r--r--passes/tests/flowmap/pack1p.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/passes/tests/flowmap/pack1p.v b/passes/tests/flowmap/pack1p.v
new file mode 100644
index 000000000..fdb278833
--- /dev/null
+++ b/passes/tests/flowmap/pack1p.v
@@ -0,0 +1,11 @@
+// Like pack1.v, but results in a simpler network.
+module top(...);
+ input a,b,c,d,e,f,g,h;
+ wire x = c|d;
+ wire y = e&f;
+ wire u = a&b;
+ wire v = x|y;
+ wire w = g&h;
+ output s = u|v;
+ output t = v|w;
+endmodule