susona
New Member
Offline
Posts: 9
|
i want to ask you is how to get power analysis data for verilog AMS code. i have tried with sample code given in cadence LRM but i have n't got any power information the code is given below
‘include "disciplines.vams"
module Res(p1, n1);
inout p1, n1;
electrical p1, n1;
parameter real r=5;
analog begin
V(p1,n1) <+ r * I(p1,n1);
$pwr(V(p1,n1)*I(p1,n1));
end
endmodule
when i simulated the above code with the statement options pwr=all it didn't give any power information i tried both dc operating point analysis and transient simulation but both given same result.
Note:code is simulating but power information is not available
|