This posting is part of a series of blogs on dynamic power management in digital-centric mixed-signal verification environments. In this post, I will cover metrics collection from analog circuits during mixed-signal simulation.
My previous blogs covered some of the following topics:
Previous postings include:
Analog Coverage Model
Once the desired features of interest have been extracted from the spec and captured in an executable verification plan, the next step is to quantify the desired functionality that needs to be tested. This is typically done by designing a coverage model and collecting metrics from the analog elements in the design.
For maximum dynamic power savings, it is best to run the device at the lowest possible operating voltage. The device can function at any of the following operating nominal-voltages:
In our example, the effect of varying Vbat on Voltage regulation by the LDOs is carefully monitored, and voltage transitions are measured and assigned to voltage bins in the cover groups.
Figure 1 shows code for collecting functional coverage from the wreal models used in the prototype SoC. In this example, the battery voltage Vbat is binned into four categories. Vbat varies over different tests through predetermined ranges and sequences specified in the verification plan, and is kept track of to ensure all intended test conditions have been met. Figure 2 and Figure 3 show the cumulative results of the full regression run.
As the device is run through various tests, the output voltages from each LDO are carefully tracked. This gives us a good measure of the percentage of the time that each power domain in the device is run at lowest possible voltage, which has a direct correlation to the dynamic power actually being conserved. As seen in Figure 2, the MCU is successfully being run to conserve dynamic power - the higher the coverage data for the lowest nominal-voltage (0.8V), the more power that has been conserved. It is also important to ensure that all possible combinations of LDO voltages have been exercised for all possible legal Vbat values. This can be achieved by creating a cross product of Vbat with Vldo_mcu.
Figure 3 shows the hole analysis run from the vPlan which in turn reveals that the DSP power domain was never run at the highest nominal voltage of 1.6V. Thus, this part of the plan has not been fully exercised and needs more tests to cover missing condition.
Similarly, holes in the verification space are seen in Figure 2. These need to be filled by running adequate incremental tests to achieve functional closure.
In the next blog, I will talk about concepts behind DMSV - Digital-Centric Mixed Signal Verification.
Stay tuned for more...