The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 19th, 2024, 11:52pm
Pages: 1
Send Topic Print
Solving an implicit equation (Read 2972 times)
VerilogANovice
New Member
*
Offline



Posts: 9
Mountain View
Solving an implicit equation
Feb 11th, 2007, 6:03pm
 
Hi,

Is there any way in Verilog-A to solve an implicit equation? The function I want it to peform is like "fzero" in MATLAB.
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Solving an implicit equation
Reply #1 - Feb 12th, 2007, 12:28am
 
Yes, of course. All contributions can be implicit. In this case they are written in fixed point form: x=f(x). Verilog-A also provided the indirect assignment statement that explicitly supports implicit formulations. Wink

-Ken
Back to top
 
 
View Profile WWW   IP Logged
VerilogANovice
New Member
*
Offline



Posts: 9
Mountain View
Re: Solving an implicit equation
Reply #2 - Feb 12th, 2007, 1:34am
 
Thanks! A follow-up question: What if the equation has multiple solution? Is there anyway I can specify the range of the root?
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Solving an implicit equation
Reply #3 - Feb 12th, 2007, 3:01pm
 
Not in Verilog-A, but most simulators support a nodeset capability that allows you to bias the simulator towards finding one particular solution.

-Ken
Back to top
 
 
View Profile WWW   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.