[Hardware Emulator] Nand problem (Solved)

Posted by charlie on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Hardware-Emulator-Nand-problem-Solved-tp4025205.html

Hi, I'm having a rather confusing problem with the Nand primitive. I don't think this is a bug, it must be a mistake that I'm doing or something weird, maybe the answer is really silly.

My problem is that I can't get the correct output from the Nand primitive, the result is always 1.

for example in the following implementation:

#Implementation edited.

If I debug the value of "nand" (the output of Nand), the result is always 1.
However I can use:
BUILTIN Nand;
and I get the correct result, Am I missing something here?

On a side note, thank you very much for doing this project and making it available for everyone, it's really a great hobby. Too bad for me that I got stuck right at the begining, the texts are so clear and the tools intuitive that I didn't thought I would have a problem until later chapters.

Thanks.

Edit:

I know that this might not be an issue (since the hdl is found, otherwise an error would be issued) but the chapter 01 reads:

"Tips The Nand gate is considered primitive and thus there is no need to build it:
Whenever you use Nand in one of your HDL programs, the simulator will automatically
invoke its built-in tools/builtIn/Nand.hdl implementation."

Actually the path is tools/builtInChips/Nand.hdl
Charlie