anm89 wrote
My chip is:
CHIP DMux8Way {
...
}
When I try the test script I get "comparison error line 1" And the script freezes at "set in 0".
I'm guessing this is a syntax error but I have looked a million times and cannot find any syntax error.
If I load the chip manually and run it it appears to meet all the requirements.
This is a correct DMux8Way and it passes the tests for me.
Failure on line 1 means that the header line is different between your .out file and the .cmp file. If you edited the .tst file to show all three select bits, that will cause this problem.
Get the updated DMux8Way files from
this post and try the test again.
--Mark
[Please edit your post to remove the correct code. We want students to develop their own solutions.]