Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 290 Bytes
// This gate wasn't in the book, but I needed it for my ALU.
//
/**
* 16-way or gate: out = in[0] or in[1] or ... or in[15].
*/
CHIP Or16Way {
IN in[16];
OUT out;
PARTS:
Or8Way(in=in[0..7], out=or1);
Or8Way(in=in[8..15], out=or2);
Or(a=or1, b=or2, out=out);
}
Jump to Line
Something went wrong with that request. Please try again.