T-4444
New Member
Offline
Posts: 2
|
Hi there,
I am working on a compact model for a FinFET transistor in verilog-a, and I have a problem.
I have some equations and functions which deal with imaginary numbers. For instance:
u1v1 = cosh(`M_PI * (xm + i*(toxs_t + Tch/2)) / (2 * toxs_t + Tch));
Now I have to store the real and imaginary part into seperate variables, so I can use them later on. How does this work? In Matlab, for example, you can easily say: a=real(u1v1), and b=imag(u1v1).
Do you have an idea?
Thanks in advance
|