summaryrefslogtreecommitdiff
path: root/and/v0.1/and8.v
diff options
context:
space:
mode:
authordianshi <dianshi@main.lv>2022-01-05 20:54:13 +0000
committerdianshi <dianshi@main.lv>2022-01-05 20:54:13 +0000
commit87d81f71cb794bbaf653098bfd88d0f59d7b20d5 (patch)
tree1ebe5aa6567bc345a19d8fc092f1613b6f62639d /and/v0.1/and8.v
downloadcpu8_v-87d81f71cb794bbaf653098bfd88d0f59d7b20d5.tar.gz
cpu8_v-87d81f71cb794bbaf653098bfd88d0f59d7b20d5.zip
Added and8
Diffstat (limited to 'and/v0.1/and8.v')
-rw-r--r--and/v0.1/and8.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/and/v0.1/and8.v b/and/v0.1/and8.v
new file mode 100644
index 0000000..40cc298
--- /dev/null
+++ b/and/v0.1/and8.v
@@ -0,0 +1,9 @@
+module and8(
+ input [7:0]a,
+ input [7:0]b,
+ output [7:0]c
+);
+
+ assign c = b&a;
+
+endmodule \ No newline at end of file