Altera_Forum
Honored Contributor
14 years agoDo not understand what toggle % truly means in Quartus PowerPlay Power Analyzer
I did some reading on this topic, but have not found the answer to my question. I do not understand what the “Toggle %” means in the Quartus PowerPlay Power Analyzer report (also provided in the "Simulation Files Read" in the Compilation Reports area within Quartus. I am using VCD data and selecting a start and end time. In the Altera Quartus II Handbook documentation, the following info is pretty much useless:
“Simulation Files Read The Simulation Files Read section of the report lists the simulation output file that the .vcd used for power estimation. This section also includes the file ID, file type, entity, VCD start time, VCD end time, the unknown percentage, and the toggle percentage. The unknown percentage indicates the portion of the design module unused by the simulation vectors.” (from Quartus II Handbook Version 12.0 Volume 3: Verification, June 2012) Searching some more, I came across this bit of info from the PowerPlay Early Power Estimator User Guide: Stratix, Stratix GX & Cyclone FPGAs (October 2005), which sounded reasonable: “Toggle % The average percentage of LEs toggling on each clock cycle. The toggle percentage ranges from 0 to 100%. Typically, the toggle percentage is 12.5%, which is the toggle percentage of a 16-bit counter. To be more conservative, you can use a higher toggle percentage. For instance, a TFF with its input tied to VC C has a toggle rate of 100% because its output is changing logic states on every clock cycle. Figure 3–5 for an example. Figure 3–6 shows an example of a 4-bit counter. The first TFF with least significant bit ( LSB ) output cout0 has a toggle rate of 100% because cout0 toggles on every clock cycle. The toggle rate for the second TFF with output cout1 is 50% since cout1 only toggles on every two clock cycles. Consequently, the toggle rate for the third TFF with output cout2 and fourth TFF with output cout3 are 25% and 12.5%, respectively. Therefore, the average toggle percentage for this 4-bit counter is (100 + 50 + 25 + 12.5)/4 = 46.875%.” Now, this would sit ok with me, but, in all of the cases where I ran PowerPlay on my designs using simulated data (with a start and stop time for the VCD), my Toggle % was easily over 46%. Most of my cases averaged around 70% - a far cry from the 12.5% default. Curious, I took the resulting Toggle % and re-run it by replacing the default value for the Default Rate Used for Remaining Signals in Quartus Settings for PowerPlay. This produced Toggle Rates FAR above what I got with simulated data – suggesting that the Toggle % provided by Quartus is not the same as the default value for the PowerPlay settings. Can anybody clarify this? thanjks Can you explain or point me to better information on the topic of Toggle % reporting in Quartus PowerPlay?