1. Overview of the Power and Thermal Analyzer
2. Estimating Power Consumption with the Power and Thermal Analyzer
3. Power and Thermal Analyzer (PTA) Graphical User Interface
4. Power and Thermal Analyzer Resource Types
5. Command Line Options and Scripting
6. Factors Affecting the Accuracy of the Power and Thermal Analyzer
7. Document Revision History for the Power and Thermal Analyzer User Guide
A. Measuring Static Power
B. Tcl Command Reference
3.1. PTA - Device Selector Dialog Box
3.2. PTA - Primary GUI Components
3.3. PTA - Hierarchical Design Editor
3.4. PTA - Using Design Hierarchies in the Power and Thermal Analyzer
3.5. PTA - Entering Hierarchy Information Into the PTA
3.6. PTA - Current Drawn per Supply Tab
3.7. PTA - Temperature and Cooling Tab
3.8. PTA - Resource Utilization Panel
3.9. PTA - Register Dynamic Power in Agilex Devices
3.10. PTA - Input Fields
3.11. PTA - Data Entry Error Messages
3.12. PTA - Search Features
3.13. PTA - Filtered Searches
3.14. PTA - Using the Tcl Console to Perform Searches
4.1. PTA - Power Summary
4.2. PTA - Root Entry
4.3. PTA - Instance
4.4. PTA - Logic Resource Type
4.5. PTA - RAM Resource Type
4.6. PTA - DSP Resource Type
4.7. PTA - Clock Resource Type
4.8. PTA - PLL Resource Type
4.9. PTA - I/O Resource Type
4.10. PTA - Transceiver Resource Type
4.11. PTA - Crypto Resource Type
4.12. PTA - NOC Resource Type
4.13. PTA - HBM Resource Type
B.1. add
B.2. copy
B.3. delete
B.4. edit
B.5. export_design_file
B.6. find_instances
B.7. get_available_ips
B.8. get_available_resource_types
B.9. get_available_values
B.10. get_first_error
B.11. get_properties
B.12. get_report
B.13. get_report_names
B.14. get_results
B.15. get_value
B.16. import_design_file
B.17. move
B.18. open_design_file
B.19. pta::get_active_design
B.20. pta::get_defaults
B.21. pta::get_designs
B.22. pta::locate
B.23. pta::set_active_design
B.24. pta::set_family
B.25. recalculate_power
B.26. redo
B.27. save
B.28. set_device
B.29. set_view
B.30. undo
5.2. Running Scripts with the Power and Thermal Analyzer
The Power and Thermal Analyzer (PTA) supports Tcl scripting to facilitate automation of nearly all available analysis functions. For more information on the available Tcl commands, refer to the Tcl Command Reference , in this document.
To invoke the Power and Thermal Analyzer and run a script, type the following command:
quartus_pta -t <script.tcl>
where script.tcl is the name of the Tcl script file to run.
Example
The script below selects a device, adds a RAM resource type, and sets the parameters for the A and B read ports:
set_device {A5ED065BB32AE5S} add -instance {|} -resource {ram} edit -target {|ram[0]} -property {ramuserinput_num_blocks} {10} edit -target {|ram[0]} -property {ramuserinput_port_a_clock_freq} {500} edit -target {|ram[0]} -property {ramuserinput_port_a_enable} {100} edit -target {|ram[0]} -property {ramuserinput_port_b_clock_freq} {350} edit -target {|ram[0]} -property {ramuserinput_port_b_enable} {100} edit -target {|ram[0]} -property {ramuserinput_port_b_rden} {100}