Login  Register

NOT16

Posted by MrPostnikov on Mar 17, 2023; 5:20am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/NOT16-tp4037077.html

Hello, I am not sure if this was asked before, but I am not finding the same question that I have.

Some context...

After understanding some basic gates I built them like instructed out of nand everything worked fine.

However, when I started to build NOT16 and the other ones, I was a bit confused, the only solution I could come up with, was this...

Not(in=in[0], out=out[0]);...0 to 15 like it said.

I tested this and it seemed to have worked.

However, when I read the introduction again, it asked us to make EVERYTHING from nand gates.
I looked around and found people just simply implementing nand gate based on what you made the not gate out of.

That is nand(a=a[0], b=b[0], out=out[0]);

I don't feel as though my way is exactly wrong, however, is the not gate being used here the one that is supplied with the book, or is it using the one I made out of nand gate?

Am I doing something wrong?

EDITED: spelling