Dokument erweitert
This commit is contained in:
@@ -1,14 +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/FullAdder.hdl
|
||||
|
||||
// File name: tools/builtInChips/FullAdder.hdl
|
||||
/**
|
||||
* Full adder. Computes sum, the least significant bit of
|
||||
* a + b + c, and carry, the most significant bit of a + b + c.
|
||||
* Computes the sum of three bits.
|
||||
*/
|
||||
|
||||
CHIP FullAdder {
|
||||
CHIP FullAdder {
|
||||
|
||||
IN a, b, c;
|
||||
OUT sum, // LSB of a + b + c
|
||||
|
||||
Reference in New Issue
Block a user