2.3.2. Estimating Power Consumption While Creating the FPGA Design
If your FPGA design is partially complete, you can import the EPE file (<revision name> _early_pwr.csv) generated by the Quartus® Prime software to the EPE spreadsheet. After importing the information from the <revision name> _early_pwr.csv into the EPE spreadsheet, you can edit the EPE spreadsheet to reflect the device resource estimates for your final design.
Importing a File
To estimate power consumption with the EPE spreadsheet if your FPGA design is partially complete, you can import a file.
Importing a file saves you time and effort otherwise spent on manually entering information into the EPE. You can also manually change any of the values after importing a file.
Generating the EPE File
To generate the EPE file, follow these steps:
- Compile the partial FPGA design in the Quartus Prime software.
- On the Project menu, click Generate Early Power Estimator File to generate the <revision name> _early_pwr.csv in the Quartus Prime software.
Importing Data into the EPE Spreadsheet
You must import the EPE file into the EPE spreadsheet before modifying any information in the EPE spreadsheet. Also, you must verify all your information after importing a file.
Importing a file from the Quartus Prime software populates all input values that were specified in the Quartus Prime software. Alternatively, you can import values exported from an earlier version of the EPE spreadsheet.
Input values imported into the EPE spreadsheet are the values taken from the Quartus Prime software as per the design, or the values that were entered into an earlier version of the EPE spreadsheet. You can manually edit the values in the EPE spreadsheet to suit your changing design requirements.
To import data into the EPE spreadsheet, follow these steps:
- In the EPE spreadsheet, Click Import CSV.
- Browse to a EPE file generated from the Quartus Prime software or an earlier version of the EPE spreadsheet and click Open. The file has a name of <revision name> _early_pwr.csv.
- After the file is imported, the mouse cursor changes from busy to normal. If there are any warnings during the importation, the EPE produces the EPE Import Warnings dialog box. Analyze the warnings carefully to ensure that they are expected. If any of the warnings are unexpected, you must manually modify the corresponding fields in the EPE after the importation is completed. You can copy all warning messages to the clipboard for future reference by clicking Copy to Clipboard. Click OK to dismiss the EPE Import Warnings dialog box.
The following figure shows example warnings that may occur when importing a design from the EPE spreadsheet for Stratix V devices. The first error message indicates that the board model specified in the earlier version of the EPE spreadsheet is not supported, and that the value was set to Typical instead. The second and third error messages indicate that device ordering codes have changed between the two families, so the previous values for Device and Package input fields could not be imported directly, but were set to their default values instead. Finally, the last two messages indicate that some required information was not found in the imported file, and that corresponding fields were set to their default values. This last message could indicate that the information was not present in the earlier version of the EPE spreadsheet, or that the import file is corrupted.
These assignments are used to prevent performance degradation of unused transceiver receive channels over time. If you don't need to prevent performance degradation of unused transceiver RX channels and want not to import unused transceiver channels into the EPE, remove the PRESERVE_UNUSED_XCVR_CHANNEL assignment from the .qsf file of your Intel® Quartus® Prime software project.
set_global_assignment -name PRESERVE_UNUSED_XCVR_CHANNEL ON set_instance_assignment -name PRESERVE_UNUSED_XCVR_CHANNEL ON -to <pin_name>