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.

HALCoGen CSP TAU usage

Other Parts Discussed in Thread: HALCOGEN

Hi Sunil,

I have a question regarding Driver code usage.

After generating Driver code from HalcoGen, if we add user code in specified sections like shown below(for example). Does HALCoGen TAU Test generation will support that though adding cases ? Also if you can point me or explain what kind of modifications it will support it will be helpful.

  • Hi Suresh,

    There is a CSP user guide under the C:\ti\Hercules\SafeTI-HALCoGen-CSP\TMS570LS12x_11x_v04.07.01\HALCoGen\Docs folder (assuming default installation path) that includes a section called "How to Add Your Own Testcases".

    This section details the procedure for adding your own test cases for your specific usage of HALCoGen. It also includes some examples.

    Regards,

    Sunil

  • Thanks Sunil,

    I did go through that document and understand how to add cases. I m confused about if HalCoGen TAU will support any additional code added after its generated from HalCoGen.

    Regrds

    Suresh J

  • Suresh,

    The TAU is just a utility to automate the test case execution, it does not automatically generate any test case based on any code being added by the user.

  • Understood Thanks Sunil,

    In the CSP user guide Section 8 and step 4 shows that when we click Add Testcases button will add test cases(default ones). What are these test cases and will they generated from Halcogen information ? Can you help me understand what will be Testing effort from user side and what test Tool will generate

    NOTE : I understand need to add test cases for additional code added.

    Regards

    Sunil

  • Hi Suresh,

    The unit tests and functional tests for each module are stored as Excel files that are parsed by the TAU. For example, you can see a list of ADC unit tests in this file: C:\ti\Hercules\SafeTI-HALCoGen-CSP\TMS570LS12x_11x_v04.07.01\HALCoGen\TMS570LS12x\Testcases\ADC1\UnitTest\TestList.xml

    Each of the unit tests check a single function of the IP being tested. You can also modify these tests depending on the way these IPs are used in your application.

    Regards, Sunil