kevinvinv
Junior Member
Offline
Posts: 15
|
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
|