Questa Advanced Simulator/ModelSim uses explicit power commands to dump an SAIF file, as follows:
- Specify the scope or signals to dump, by typing:
power add <hdl_objects>
- Run simulation for specific time (or
run -all
). - Dump out the power report, by typing:
power report -all filename.saif
For more detailed usage or information about each commands, see the ModelSim documentation.
Example DO File
power add tb/fpga/*
run 500us
power report -all -bsaif routed.saif
quit