Completed And and Not gates

This commit is contained in:
benjamyn committed 2018-04-22 01:08:50 +10:00
1 parent 8810895529
commit 7f0704ddf6
5 files changed
+13 -4

No files matched your search

+2 -1
View File
@@ -14,5 +14,6 @@ CHIP And {
OUT out;
PARTS:
// Put your code here:
Nand(a=a, b=b, out=nOut);
Not(in=nOut, out=out);
}
+5
View File
@@ -0,0 +1,5 @@
| a | b | out |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
+2 -2
View File
@@ -13,5 +13,5 @@ CHIP Not {
OUT out;
PARTS:
// Put your code here:
}
Nand(a=in, b=in, out=out);
}
+3
View File
@@ -0,0 +1,3 @@
| in | out |
| 0 | 1 |
| 1 | 0 |
+1 -1
View File
@@ -1 +1 @@
/home/benjamyn/.git/nand2tetris-work/nand2tetris/tools/builtInChips
/home/benjamyn/.git/nand2tetris-work/nand2tetris/projects/01