Login  Register

Re: Cant load hdl file to the simulator

Posted by yohai on Apr 22, 2024; 8:49pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Cant-load-hdl-file-to-the-simulator-tp4037743p4037752.html

THIS IS THE FILE THAT CANNOT BE OPENDED BY THE SIMULATOR
THANKS, YOCHAI


// 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/Not.hdl
 /**
 * Not gate:
 * out = ((in == 0), 1, 0)
 */
 
 CHIP Not {
    IN  in;
    OUT out;

    PARTS:
        Nand(a=in, b=in, out=out);
        }