AnsweredAssumed Answered

ChipFactory Application Result Value

Question asked by petrveprek on May 26, 2017
Latest reply on Jun 9, 2017 by DLeitch



I use chipfactory to run functional simulation of one SHARC+ core of SC589.


In my main I tried:

    return EXIT_FAILURE;


    return 2; // also -2, 1, -1


    exit(2); // also -2, 1, -1


However, the simulation always ends up showing:

    - Simulation result : 0 (ok)
    - Simulated application result : 0


How to get the application result code in the simulator?


PS: I know about -exit-value but this is not relevant yet since I cannot see the app result at all in the simulator.