aboutsummaryrefslogtreecommitdiff
path: root/chips/And1With16.hdl
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2018-01-20 15:41:49 +0100
committerYuchen Pei <me@ypei.me>2018-01-20 15:41:49 +0100
commitd3a0cc3a8ba6dfeb64d3faeffdeb6845b60e5840 (patch)
treed58df9ec2480e2a9ec6240f9c797f83d1a0b1056 /chips/And1With16.hdl
parent3571f998b28fbc8d9250ba04c983935f10a16c15 (diff)
rearranged the dir for github
- removed tools and pdfs - rearranged the projects dirs - added md files - other minor changes
Diffstat (limited to 'chips/And1With16.hdl')
-rw-r--r--chips/And1With16.hdl22
1 files changed, 22 insertions, 0 deletions
diff --git a/chips/And1With16.hdl b/chips/And1With16.hdl
new file mode 100644
index 0000000..c6d412c
--- /dev/null
+++ b/chips/And1With16.hdl
@@ -0,0 +1,22 @@
+CHIP And1With16 {
+ IN a, b[16];
+ OUT out[16];
+
+ PARTS:
+ And (a=a, b=b[0], out=out[0]);
+ And (a=a, b=b[1], out=out[1]);
+ And (a=a, b=b[2], out=out[2]);
+ And (a=a, b=b[3], out=out[3]);
+ And (a=a, b=b[4], out=out[4]);
+ And (a=a, b=b[5], out=out[5]);
+ And (a=a, b=b[6], out=out[6]);
+ And (a=a, b=b[7], out=out[7]);
+ And (a=a, b=b[8], out=out[8]);
+ And (a=a, b=b[9], out=out[9]);
+ And (a=a, b=b[10], out=out[10]);
+ And (a=a, b=b[11], out=out[11]);
+ And (a=a, b=b[12], out=out[12]);
+ And (a=a, b=b[13], out=out[13]);
+ And (a=a, b=b[14], out=out[14]);
+ And (a=a, b=b[15], out=out[15]);
+}