Hi,
I create an hdl file using notepad++ for NOT gate. the code is correct since I copied it from relible source.
1. when I save is with hdl extention the simulator can recognize that this is had file, so i need to save is with v extention only then it is recognized as hdl file.
2 even after it is save as hdl and i tried to load it to the simulator..... nothig hapen the simulator is blank
I don't know what you mean by "the simulator can recognize that this is had file". I think you have a typo or two there.
Are you sure you are using the correct simulator (the hardware simulator and not one of the others).
There should be an error message in the status bar at the bottom of the screen -- you may need to expand your window to see it, or move the window from a laptop screen to an external screen.
Upload your Not.hdl file so that we can see it to rule out an error in it.
THIS IS THE FILE THAT CONNOT BE OPENDED WITH THE SIMULATOR:
THANKS,
// 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)
*/
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)
*/
HI
the directory desktop/nanattetrisTOP/nand2tetris/tools
contain the HardwareSimulator this is the simulator i am using.
the directory desktop/nanattetrisTOP/nand2tetris/projects/1 contain all the files and I added a file NOTbyyohai which i am trying to open