electronics_sky
Member level 3
vhdl-ams+examples
hi there,
I would like to build a behavioral diode model for my simulation by using VHDL-AMS. It don't need to be very close to SPICE model.
At first, i modeled it by using "Idiode == Iss(exp(Vdiode/n*VT)-1)" in VHDL-AMS and found "convergence problem" during simulation when using in a Charge Pump simulation. I suspected the convergence problem is due to the overflow of exponential part. Can anyone advice how to produce an algorithm to limit the overflow of the exponential part as what usually do in Verilog-AMS "limexp()" function. FYI, Verilog-AMS description should be "Idiode(p1,p2) <+ Iss(limexp(Vdiode(p1,p2)/n*VT)-1)".
By the way, can anyone suggest an even simpler model/ more direct model by using only battery, resistor and etc to the operation of diode.
Please kindly provide any documents, URL and etc for understanding purpose. Thank you very much.
hi there,
I would like to build a behavioral diode model for my simulation by using VHDL-AMS. It don't need to be very close to SPICE model.
At first, i modeled it by using "Idiode == Iss(exp(Vdiode/n*VT)-1)" in VHDL-AMS and found "convergence problem" during simulation when using in a Charge Pump simulation. I suspected the convergence problem is due to the overflow of exponential part. Can anyone advice how to produce an algorithm to limit the overflow of the exponential part as what usually do in Verilog-AMS "limexp()" function. FYI, Verilog-AMS description should be "Idiode(p1,p2) <+ Iss(limexp(Vdiode(p1,p2)/n*VT)-1)".
By the way, can anyone suggest an even simpler model/ more direct model by using only battery, resistor and etc to the operation of diode.
Please kindly provide any documents, URL and etc for understanding purpose. Thank you very much.