Using the ULP Advisor

You can get feedback about your code from the ULP (Ultra-Low Power) Advisor. For a list and descriptions of the ULP rules, see www.ti.com/ulpadvisor. You can enable/disable the rules using any of the following. Using multiple --advice options on the command line is permitted.

The --advice:power option enables checking specified ULP Advisor rules. The syntax is:

--advice:power={all|none|rulespec}

The rulespec parameter is a comma-separated list of rule numbers to enable. For example, --advice:power=1.1,7.2,7.3,7.4 enables rules 1.1, 7.2, 7.3, and 7.4.

The --advice:power_severity option sets the diagnostic severity for ULP Advisor rules. The syntax is:

--advice:power_severity={error|warning|remark|suppress}

The syntax of the pragmas is:

#pragma CHECK_ULP ("{all|none|rulespec}")
#pragma RESET_ULP ("{all|rulespec}")