Anpassungen Path-Struktur
This commit is contained in:
15
original/tools/builtInChips/Mux.hdl
Normal file
15
original/tools/builtInChips/Mux.hdl
Normal file
@@ -0,0 +1,15 @@
|
||||
// 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/builtInChips/Mux.hdl
|
||||
/**
|
||||
* Multiplexor:
|
||||
* out = ((sel == 0), a, b)
|
||||
*/
|
||||
CHIP Mux {
|
||||
|
||||
IN a, b, sel;
|
||||
OUT out;
|
||||
|
||||
BUILTIN Mux;
|
||||
}
|
||||
Reference in New Issue
Block a user