Using the
cpu_hdl design included with the Vivado
tools, the following scripts provide examples for most of the commands discussed in the
previous sections. You can perform power reporting dynamically using Tcl commands. For
example:vivado -mode batch -source power_analysis.tclYou can also
use a Tcl script. The script examples below assume that you are using the batch mode for
sourcing the script.