The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Modeling >> Behavioral Models >> Passing in a bias point for a verilogA model https://designers-guide.org/forum/YaBB.pl?num=1552596583 Message started by kevinvinv on Mar 14th, 2019, 1:49pm |
Title: Passing in a bias point for a verilogA model Post by kevinvinv on 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 |
Title: Re: Passing in a bias point for a verilogA model Post by kevinvinv on 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. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |