Make sure that the Cadence path has been set by typing ‘Cadence’. RTL compiler will be used to estimate power. To start, type ‘rc –gui’
Download rtl.tcl from here: rtl.tcl and cnt_updown.sdc from here: cnt_updown.sdc. Replace the earlier rtl.tcl with this one. SDC files are constraint files. For this tutorial the clock frequency has been set to 1 GHz.
In GUI: File→ Source Script→ Select rtl.tcl→ hit OK
Explanation for various commands executed by rtl.tcl can be found in the comments section of the script.