aboutsummaryrefslogtreecommitdiffstats
path: root/1-a.v
diff options
context:
space:
mode:
Diffstat (limited to '1-a.v')
-rw-r--r--1-a.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/1-a.v b/1-a.v
new file mode 100644
index 0000000..15e3c7c
--- /dev/null
+++ b/1-a.v
@@ -0,0 +1,5 @@
+module m_a(input x1, x2, x3, output z1, z2);
+ assign z1 = (~x1 & ((x2 | x3) & (~x2 | ~x3))) | (x1 & (~x2 | x3));
+ assign z2 = (~x1 & x2 & x3) | (x1 & (x2 | x3));
+endmodule
+