Re: Bug in Hardware Simulator
Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Bug-in-Hardware-Simulator-tp4025412p4025413.html
This is very unlikely to be a simulator bug; nobody else is experiencing it.
The most likely cause is a defect in your Register.hdl. You can test your PC in isolation by creating a subdirectory and copying only the PC.* files into the subdirectory and test it there. That ensures that the builtin part for Register is used. Once PC is passing the test, copy Register.* into the subdirectory and test again. If it fails the problem is in Register. If it passes the problem is probably in Bit.
--Mark