The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 10:19pm
Pages: 1
Send Topic Print
cap model (Read 2209 times)
grosser
Community Member
***
Offline



Posts: 57

cap model
Aug 23rd, 2007, 6:39am
 
hello

i've got one problem in modelling capacitor

i wrote

I(vp,vn) <+ ddt(c*V(vp,vn))

but c=25*limexp(-23.3*V(vin_p,vin_n))

the error message is

           line 16: Error: An operand dependent on the output of a dot() operator
       (dynamic expression) can not be used in a multiplication operation when
       the other operand is dependent on a probe or the simulation time.
       Consider using a node to hold the dynamic expression and probe this
       node in the multiplication operation.
       See also the section of the SpectreHDL reference manual describing
       "Time Derivative Operator".

i am beginer and don't understand the proposed solution starting with consider

can you explain me how to fix it?

regards
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: cap model
Reply #1 - Aug 23rd, 2007, 6:45am
 
You can find an example for a varactor model in Listing 1 of http://www.designers-guide.org/Modeling/varactors.pdf. It's probably the multiplication inside the ddt() function that causes your problem.
Back to top
 
 
View Profile WWW   IP Logged
grosser
Community Member
***
Offline



Posts: 57

Re: cap model
Reply #2 - Aug 23rd, 2007, 7:23am
 
right, thank you
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.