prabhuvd wrote
I did modification to And.hdl in projects\01\And.hdl
[correct implementation deleted]
i load the And.tst and run the And.hdl code and i see the error : End of Script - Comparision failure at line 5
Then did a single step of the script i see the internal pin state x always set to 1 . Where am i doing the mistake ?
The most likely problem is that you have not implemented Not.hdl yet.
The Hardware Simulator is using the Not.hdl skeleton as part of your And. The simulator behaves strangely when it encounters chips without implementations.
It is
very important to implement the chips in the order presented in section 1.3.
[Also, please edit your original post to remove the correct HDL implementation.]
--Mark