+/TECS

git clone https://git.julia.blue/+/TECS

P1n3appl3Remove headers5e97a3a

v1.0
207 B13 linesraw
1/**
2 * 16-bit bitwise And:
3 * for i = 0..15: out[i] = (a[i] and b[i])
4 */
5
6CHIP And16 {
7    IN a[16], b[16];
8    OUT out[16];
9
10    PARTS:
11    Nand16(a=a,b=b,out=w1);
12    Not16(in=w1,out=out);
13}