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.

TDA4VH-Q1: C7x - Unit Testing

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: FFTLIB

Tool/software:

Hi Ti team,

We have written few functions on C7x. we need to unit test those functions, is there a sample API's available in the SDK, so that we can extend that for our functions as well.

Our function includes a mix of normal cpp code + c7x intrinsics as well. So, is there a way to do unit testing on C7000?

Regards,

Gowtham

  • Hi,

    We have written few functions on C7x. we need to unit test those functions, is there a sample API's available in the SDK, so that we can extend that for our functions as well.

    You can refer to the XLIB libraries (e.g., DSPLIB, FFTLIB) for unit testing methods.

    The comparison is between the natural C code and the optimized version using C7x intrinsics. You can check d.c file (dsplib/test/DSPLIB_<kernel>/DSPLIB_<kernel>_d.c) for the same.

    You can build the executable, connect it to CCS as a bare-metal application, and run the code in standalone mode.

    Regards,
    Sivadeep