Re: Comparison failure at line 1

Posted by gs99 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Comparison-failure-at-line-1-tp4026071p4026076.html

Yes, that works.

Make xxx.tst file with // compare-to xxx.cmp, (commented out).
Run script xxx.tst, should see “End of script” at end.
If no error messages and .out file is good, .hdl is good.

Extra steps (optional?)
Copy xxx.out to xxx.cmp.
Edit xxx.tst file, remove “//” compare-to xxx.cmp, (uncomment).
Run script xxx.tst, should see “End of script – Comparison ended successfully” at end.