Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled Simulation: Error found using ttasim-tandem #176

Open
nrother opened this issue Aug 29, 2022 · 1 comment
Open

Compiled Simulation: Error found using ttasim-tandem #176

nrother opened this issue Aug 29, 2022 · 1 comment

Comments

@nrother
Copy link
Contributor

nrother commented Aug 29, 2022

The attached files will produce an error message in ttasim-tandem:

rother@pikachu:~/Documents/TTA/GBP_TTA/tta_test$ ttasim --version
ttasim - TCE Simulator command line interface 1.25-r4248
rother@pikachu:~/Documents/TTA/GBP_TTA/tta_test$ ttasim-tandem baseline.adf test.tpef
SIMULATION ERROR DETECTED (PCs DIFFER)
--------------------------------------
      cycle: 43
 other's PC: 11
   this' PC: 10

The program is a simple copy+sum loop. It works fine using the interpreter, but fails in the compiled version (the output array is empty). So the issue might be related to the memory interaction.

I'm unsure how to debug this further. Is the compiled engine generally considered stable?

@pjaaskel
Copy link
Contributor

Compiled engine is much less stable than the interpreted. I think it lacks some features for little endian machines still. The code for the both engines is under src/applibs/Simulator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants