Dokument erweitert
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
// This file is part of www.nand2tetris.org
|
||||
// and the book "The Elements of Computing Systems"
|
||||
// by Nisan and Schocken, MIT Press.
|
||||
// File name: tools/builtIn/And.hdl
|
||||
|
||||
// File name: tools/builtInChips/And.hdl
|
||||
/**
|
||||
* And gate: out = 1 if {a == 1 and b == 1}, 0 otherwise
|
||||
* And gate:
|
||||
* out = (((a == 1) && (b == 1))), 1, 0)
|
||||
*/
|
||||
|
||||
CHIP And {
|
||||
|
||||
IN a, b;
|
||||
|
||||
Reference in New Issue
Block a user