aboutsummaryrefslogtreecommitdiffstats
path: root/1-a.v
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2025-05-14 19:16:38 +0300
committerjustanothercatgirl <sotov@twistea.su>2025-05-14 20:24:21 +0300
commit11508800cfaefc1c25a793760bf10d3fd997af80 (patch)
tree8ed58e143243415830f97ea74b9ba4613df23e85 /1-a.v
Initial and probably final commitHEADmaster
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
+