A look at the advantages of using formal methods in validating power controllers.
By Bhanu Kapoor
Power domains are required in the design due to stringent active and standby power specifications. Depending upon various modes of operation of a chip, power domains allow parts of a chip to be powered on/off independently from the rest of the chip. This has become common in all handheld and portable applications where stringent power requirements are a major competitive concern.
Even with a design with a few power domains—say four or five—a set of resettable registers is needed to provide appropriate controls for turning on/off power domains, power domain isolation control, and clock gating control for power events. Add state retention techniques to the mix and you also need save and restore controls in the power manager.
A power manager or power controller is critical to the correct functionality of your chip and needs to work correctly with the software interface since typical software commands include switching power on/off to a domain, enabling/disabling clock, and reset. Power states can be altered in many different ways and a pure-simulation-based approach to validate all of this can be challenging. Power management features can be written as formal properties or assertions that can be formally validated by formal tools such as Synopsys’ Magellan.
Once the power management architecture is well understood, the rest of the task involves writing assertions using a properties specification language such as SystemVerilog Assertions (SVA). Some examples are as follows:
Formal validation of power manager has a number of advantages. It reduces the number of test cases that need to be written for validating complex power managers. It also reduces the amount of simulation cycles you may end using in validating some of the corner cases and difficult to target power manager bugs. And it allows simulation resources to be focused on remaining issues and coverage areas. Formal validation also increases your verification confidence and reduces possible chances of re-spin due to a power issue. An area of further improvement from automation standpoint is more direct support of power architecture specification in terms of automatically figuring some of the formal needs for a given design.
–Bhanu Kapoor is the founder of Mimasic, a consultancy specializing in low power and verification.
Leave a Reply