summaryrefslogtreecommitdiff
path: root/tools/builtInChips/Or8Way.hdl
blob: dccd61df7a0d00e492799b1b889a063f7abc4c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;
}