mirror of
https://github.com/usatiuk/nand2tetris.git
synced 2025-10-29 00:27:49 +01:00
init
This commit is contained in:
16
tools/builtInChips/Or8Way.hdl
Normal file
16
tools/builtInChips/Or8Way.hdl
Normal file
@@ -0,0 +1,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;
|
||||
Reference in New Issue
Block a user