"Coding" a chip
Posted by mbm29414 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Coding-a-chip-tp2351311.html
I'm working on implementing the Bit chip from Chapter 3.
I kinda understand the chip diagram, but I couldn't figure out where to start the HDL code.
I looked at the hints you guys gave in another post and still was unable to get started.
So, I looked up a "cheater" on Google Code. Honestly, after seeing it, I don't think I ever would have considered the solution (even though it was a wrong implementation).
I don't want to give it away too much, but did I simply miss the fact that you can wire the "in" pin of a chip to an internal pin that doesn't have a value at the time?
I've got my chip built (fixing the mistake in the "cheater") and it passes the test, but I still can't really figure out how it works.
I'm a Visual Basic .NET developer, and it just doesn't make sense to me to be able to pass IN a variable that doesn't exist yet. Can someone explain that to me?