The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 12:34am
Pages: 1
Send Topic Print
problem in getting power information from the given below verilog-AMS code (Read 2918 times)
susona
New Member
*
Offline



Posts: 9

problem in getting power information from the given below verilog-AMS code
Sep 11th, 2013, 3:06am
 
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
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: problem in getting power information from the given below verilog-AMS code
Reply #1 - Sep 12th, 2013, 5:04am
 
Susona,
the results are in dcOpInfo/tranOp.
- B O E
Back to top
 
 
View Profile   IP Logged
susona
New Member
*
Offline



Posts: 9

Re: problem in getting power information from the given below verilog-AMS code
Reply #2 - Sep 13th, 2013, 4:21am
 
hai i have seen the information on dcopinfo/tranop but there is no power information and i came to know thewarning in my designs can you help me what does it mean

ncelab: *W,DLCILIB: Library name 'analoglib' not found, defaulting to 'analogLib'.  Please see nchelp on this
ncelab: *W,DLCILIB: Library name 'analoglib' not found, defaulting to 'analogLib'.  Please see nchelp on this


******************
DC Analysis `dcOp'
******************
Important parameter values:
   reltol = 1e-03
   abstol(I) = 1 pA
   abstol(V) = 1 uV
   temp = 27 C
   tnom = 27 C
   tempeffects = all
   gmin = 1 pS
   maxrsd = 0 Ohm
   mos_method = s
   mos_vres = 50 mV
Convergence achieved in 2 iterations.
Total time required for dc analysis `dcOp' was 0 s.
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: problem in getting power information from the given below verilog-AMS code
Reply #3 - Sep 13th, 2013, 5:47am
 
Susona,
The power-Info should be under dcOpInfo/tranOp at <TB name>.<hierarchical path>._cds_internal_Res_.

Re the warning use nchelp as recommended:
Code:
nchelp ncelab DLCILIB 


- B O E
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.