This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/PROCESSOR-SDK-DRA8X-TDA4X: C7x host emulation conformance

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Tool/software: TI C/C++ Compiler

Hello,

We are planning to the test code coverage of our algorithm on C7x for ASIL B compliance. But the tool which does the code analysis, does not support the C7x target. Hence we are planning to use "Host Emulation" of C7x for the same.

Can you please let us know that the "Host Emulation" mode can be used this way, for code coverage testing and verification of C7x code? Do the outputs generated by the code, compiled using the C7000 compiler and run on target, always match with the outputs from 'Host Emulation" on x86_64 PC?

Please let me know if you need any further clarifications on this.

Thanks and Regards,

Shashikantha

  • I am not familiar enough with ASIL B requirements to confirm or deny whether using host emulation provides a path to compliance.

    To the more direct question of whether outputs generated by code compiled under host emulation mode match the outputs generated when compiled with cl7x and run on the target, the answer is that they do provided that the code is written in a host emulation compatible way.

    Consult SPRUIG6, C7000 Host Emulation for a listing of syntax differences. For example, using "int8_ptr" instead of "int8 *".

    Additionally, please be aware of any bugs in the compiler or host emulation that could lead to different output. The README provided with a compiler release documents known bugs at the time of release. The web listing for 1.4.0 is here: sir.ext.ti.com/.../EXT_EP-9841

  • Thank you for the reply. This answers my questions.

    Thanks and Regards,

    Shashikantha