Hello Steve,
I noticed that the binary generated from compiling count.c does not match the included code.txt. I've simulated your core in modelsim and receive a correct output.txt file when the original provided code.txt is used. However, when I replace code.txt with the binary that is generated from compiling count.c, I simply receive an output file that says "Done".
I noticed that under the Tools tab and in the Modelsim Simulation section, the code.txt you reference is the one that results from compiling count.c and I am confused by this.
I was under the impression that the binary generated from compiling count.c should be the same as the provided code.txt. Am I incorrect in this thinking? Is perhaps one binary (the provided one) only for simulation, whereas the compiled one is for emulation? Thank you in advance for your help!
Type your text here
sorry, please delete or ignore this. I was using a modified incorrect version of the code for the compile.