*Set accuracy level to 6
.option xa_cmd="set_sim_level 6"
*Doing operating point analysis
.op
*Optional, but good to have a probe point – helpful if the XA run takes a lot of time to run
.probe i(vvdd) i(vgnd)
*Can measure the ‘transient’ current through VDD – that’s leakage current (if no other nodes are switching)
.meas tran vdd_cur i(vvdd)