Re: HDL implementation of Bit gate

Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/HDL-implementation-of-Bit-gate-tp1392879p3856945.html

If you haven't already, read the Hardware Survival Kit, particularly the HDL Is Not A Programming Language section.

HDL is more like using a soldering iron to connect wires to parts to build a circuit.  It doesn't matter what order you list the parts in the HDL file.


On thing that might help to understand the Bit and other synchronous chips is to realize the the clock connected to the synchronous chips is the computer's instruction cycle clock; it ticks once per instruction executed by the computer.

The computer's CPU will decode the currently executing instruction and decide what needs to happen to various registers and set their in and load pins as needed.  Then the clock ticks and the registers store their new values and present them to the CPU to use for the next instruction.

--Mark