Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

How to use variable array in laplace_nd function?

$
0
0

Hi,

I have written a verilog-A model of a filter.

cap_arr[0]=1;
cap_arr[1]=RC;
res_arr[0]=feed_res;
res_arr[1]=0;

V(OUTM)<+ laplace_nd(I(INP),res_arr, cap_arr);
V(OUTP)<+ laplace_nd(I(INM),res_arr, cap_arr);

total sims time 5us

the value of RC and feed_res are changing with time

0s to 1us Value of RC=1e-18 and reed_res=0.1

1us to 5us Value of RC=560e-12 and reed_res=500

now The output I am getting is the same at entire sims. It should change at 1us

The output is generating depending on the initial values of the res_arr and cap_arr.

Is there any way to make the laplace_nd function take the array variable at every abstime?

Thank you.


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>