mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 22:54:43 -05:00
Initial commit: Project 0 completed, Project 1 skeleton files
This commit is contained in:
19
00/Off.hdl
Executable file
19
00/Off.hdl
Executable file
@@ -0,0 +1,19 @@
|
||||
// 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/00/Off.hdl
|
||||
|
||||
/**
|
||||
* Off gate:
|
||||
* out = false (off)
|
||||
*/
|
||||
|
||||
CHIP Off {
|
||||
IN a, b;
|
||||
OUT out;
|
||||
|
||||
PARTS:
|
||||
// Put your code here:
|
||||
// Nand(a=true, b=false, out=out); // old
|
||||
Nand(a=true, b=true, out=out);
|
||||
}
|
||||
Reference in New Issue
Block a user