N2T/tools/builtInChips/Or8Way.hdl

17 lines
321 B
Plaintext

// 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/Or8Way.hdl
/**
* 8-way Or gate: out = in[0] or in[1] or ... or in[7].
*/
CHIP Or8Way {
IN in[8];
OUT out;
BUILTIN Or8Way;
}