The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 12:21am
Pages: 1
Send Topic Print
ddt during ac analysis (Read 4020 times)
king
New Member
*
Offline



Posts: 6

ddt during ac analysis
Feb 08th, 2008, 6:36am
 
Hi,

I'm new to ac analysis in Verilog.

Models in Verilog has

Q = ddt(q)
I(p,n) <+ Q

What happens to ddt(q) during an ac analysis?
Can I display the value of Q as a function of f
by strobing Q while running an AC?


thanks.
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: ddt during ac analysis
Reply #1 - Feb 8th, 2008, 2:55pm
 
ddt() effectively gets replaced by jω in an AC analysis. You cannot strobe during an AC analysis because the model is not actually executed during the AC analysis. Rather it is evaluated during the preceding DC analysis and linearized.

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



Posts: 6

Re: ddt during ac analysis
Reply #2 - Feb 12th, 2008, 4:34am
 
Thanks Ken.

In your varactor example, how will I then
check the frequency characteristics of q, ddx(q)
and i(p,n)?
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: ddt during ac analysis
Reply #3 - Feb 12th, 2008, 12:04pm
 
I don't understand your question.
Back to top
 
 
View Profile WWW   IP Logged
king
New Member
*
Offline



Posts: 6

Re: ddt during ac analysis
Reply #4 - Feb 13th, 2008, 4:24am
 

after an ac analysis, the only outputs are the
Re and Imag parts of node currents and voltages
as a function of frequency.

how can i output other variables like
capacitances as a function of frequency?
in varactor, for example,
how can i extract dq/dV as a function of freq?
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: ddt during ac analysis
Reply #5 - Feb 13th, 2008, 9:14am
 
Isolate the capacitor, drive it with a voltage source that has an AC magnitude of 1, and plot its current. The current will equal the admittance. Divide by jω to get the capacitance.

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