The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Modeling >> Semiconductor Devices >> VERILOG-A and imaginary numbers and functions https://designers-guide.org/forum/YaBB.pl?num=1318422763 Message started by T-4444 on Oct 12th, 2011, 5:32am |
Title: VERILOG-A and imaginary numbers and functions Post by T-4444 on Oct 12th, 2011, 5:32am 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 |
Title: Re: VERILOG-A and imaginary numbers and functions Post by Geoffrey_Coram on Oct 12th, 2011, 10:03am What do you need complex numbers for? (Verilog-A doesn't provide support for them.) In one case, people wanted complex numbers to do correlated noise, and the solution was to use a ddt() formulation that gave rise to a 1/jω dependence (which was what was wanted -- not just the "j"). |
Title: Re: VERILOG-A and imaginary numbers and functions Post by T-4444 on Oct 18th, 2011, 11:04pm I need complex numbers because I am using the conformal mapping technique (which is based on complex functions) in order to calculate the electrostatics of my device, and finally the output current. Anyway, I will try to do a workaround. When its done, I will post the result. Thanks for replying. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |