17 lines
333 B
Plaintext
17 lines
333 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: projects/01/Or8Way.hdl
|
||
|
|
||
|
/**
|
||
|
* 8-way Or:
|
||
|
* out = (in[0] or in[1] or ... or in[7])
|
||
|
*/
|
||
|
|
||
|
CHIP Or8Way {
|
||
|
IN in[8];
|
||
|
OUT out;
|
||
|
|
||
|
PARTS:
|
||
|
// Put your code here:
|
||
|
}
|