The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 1:07am
Pages: 1
Send Topic Print
Passing in a bias point for a verilogA model (Read 807 times)
kevinvinv
Junior Member
**
Offline



Posts: 15

Passing in a bias point for a verilogA model
Mar 14th, 2019, 1:49pm
 
OK,  thanks for taking a look at this post  :)

I have a verilogA model that contains some laplace_nd() function calls.

Some of the coefficients for the numerator and denominator of the laplace function need to be calculated at run time so I pass them into the block as voltages.

These voltages have zero AC component themselves but their DC component is used to set various pole and zero locations using the laplace_nd function.

It doesn't seem to be working as I had hoped and I am thinking rather than having the voltage enter the verilogA block as the bias point number I wish, that instead it is coming in as the AC value of zero.  

Is this making sense at all?   I can post the model if anyone has the patience to look further.

Bottom line is...   am I able to send in a number calculated at run time - as a voltage- into my verilogA block and into the terms of a laplace_nd()
function.  

ps-  I do understand the array variable requriement of laplace_nd()  (I think)  :)

THANK YOU

Back to top
 
 

__________________
Kevin
View Profile   IP Logged
kevinvinv
Junior Member
**
Offline



Posts: 15

Re: Passing in a bias point for a verilogA model
Reply #1 - Mar 14th, 2019, 2:58pm
 
OK I think the problem was that I had a fractional coef for the highest power of s and it seems that Spectre doesn't like that....   silly spectre...  so it set it to "zero" instead.

I factored that initial coef out so that I could specify it as '1' and then multipled it back in later.

hoops...  :)

Thanks.
Back to top
 
 

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