Thanks for all the replies here. I'm the instructor on the course that robaroy is taking, and I missed this fixed in a debugging sessions with rob - embarrassing :-)
However I do note that the HardwareSimulator itself gives a very confusing output for an implemented And when the Not is not implemented. It actually seems to indicate that the builtIn Nand chip is not working. I was examining the output on the internal pins from the Nand with robaroy and it was giving 1 for all combination of inputs on the internal pin x:
| a | b | x |
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
I wrote a separate test of the builtIn Nand gate and checked that it was working leading to further confusion.
Clearly reading the documentation thoroughly is desirable, but the challenge with any documentation is remembering everything that has been written. I had certainly read about that sequencing issue, but did not recall it in my debugging session with rob.
Perhaps there might be some way for the hardware simulator to throw a different sort of error when relying on an unimplemented chip. Certainly I was very confused by the internal pin output ...
Many thanks in advance
Best regards
Sam Joseph, Ph.D.
Associate Professor
Department of Computer Science
Hawaii Pacific University
Sam Joseph, Ph.D.
Associate Professor
Department of Computer Science
Hawaii Pacific University