The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 2:26am
Pages: 1
Send Topic Print
report a bug: laplace function does not support ac analysis (Read 2913 times)
nus_lin
Community Member
***
Offline



Posts: 48

report a bug: laplace function does not support ac analysis
Sep 22nd, 2008, 6:16am
 
hello, guys.

i just found that if any branch is defined by laplace function, then its contribution will be ignored during ac analysis. can you tell me how to solve this problem?

example:

`include "constants.vams"
`include "disciplines.vams"

module S_gm(Vi,Vo);
   
 inout Vi,Vo;
 electrical Vi,Vo;
   
analog begin

V(Vo) <+ laplace_np(V(Vi),{1},{-p1,0});

end

endmodule
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: report a bug: laplace function does not support ac analysis
Reply #1 - Sep 22nd, 2008, 6:44am
 
It works fine for me. For a simple example
a constant term and frequency dependent
term got the attached results with the following
code

`include "constants.vams"
`include "disciplines.vams"

module test(Vi,Vo);
inout Vi,Vo;
electrical Vi,Vo;

parameter real p1=1 ;
 
analog begin

I(Vo) <+ 0.001 * laplace_np(V(Vi),{1},{-(2*`M_PI*p1),0});
I(Vo) <+ 0.001 * V(Vi) ;

end

endmodule
Back to top
 

dg_example.png
View Profile   IP Logged
nus_lin
Community Member
***
Offline



Posts: 48

Re: report a bug: laplace function does not support ac analysis
Reply #2 - Sep 22nd, 2008, 7:06am
 
hi, sheldon, thank you. i tried your code too, but it doesn;t work in my machine. may i ask which design tools do you use?
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: report a bug: laplace function does not support ac analysis
Reply #3 - Sep 30th, 2008, 12:53am
 
Nus_lin,

  Spectre

                             Best Regards,

                                Sheldon
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.