ALU working except for comparison failure at line 1.
When I run ALU-nostat.tst, the code executes perfectly. However, when I run ALU.tst, the code stops on line 1. If I then click the forward arrow again and allow it to test out the following test cases, it seems to work. I compared the output file generated with the compare file and I think that everything matches. The error seems to be before the cases are tested out because the output file is empty (only with the input and output column headers) before I click the forward arrow again.
set x %B0000000000000000, // x = 0
^ is the line where the test script stops. It is strange because it does not stop here:
set x %B0000000000000000,
on the no-stat script.
I have tried changing out the test file and the hdl file with a solution on the internet to no avail. If I post my hdl file, could somebody run it on their computer to see if the error is with my simulator? Many thanks!