The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 8th, 2024, 1:18am
Pages: 1
Send Topic Print
What is $Vt for a ordinary diode in veriloga code (Read 5141 times)
gmadhavareddy
New Member
*
Offline



Posts: 5

What is $Vt for a ordinary diode in veriloga code
Sep 12th, 2006, 10:02am
 
Hi,
I want to change the model of Schottky diode which is avilable in Cadence ahdlLib.
I want to know the $Vt and what $ indicates in veriloga code?

 Vd = V(vanode, vcathode);
`ifdef __VAMS_ENABLE__
     Id = I(<vanode>);
`else
     Id = I(vanode, vanode);
`endif
     // intrinsic diode.
     if (Vd < -5*n*$vt) begin
        if (Vd == -bv) begin
           I(vanode, vcathode) <+ -area*ibv;
        end else if (Vd > -bv) begin
           I(vanode, vcathode) <+ -area*is;
        end else begin
           I(vanode, vcathode) <+ -area*is*(exp(-(bv + Vd)/$vt) -
              1 + bv/$vt);
        end
     end else begin
        I(vanode, vcathode) <+ area*is*(exp((Vd - rs*Id)/(n*$vt)) - 1);
     end      

     I(vanode, vcathode) <+ gmin * Vd;
     // capacitance (junction and diffusion).
     if (Vd <= fcp) begin
        Qd = tt*Id  + area*cjo*phi*(1 - pow((1 - Vd/phi), (1 - m)))/(1 - m);
     end else begin
        Qd = tt*Id + area*cjo*(f1 + (1/f2)*(f3*(Vd - fcp) + (0.5*m/phi)*
           (Vd*Vd - fcp*fcp)));
     end
     I(vanode, vcathode) <+ ddt(Qd);
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: What is $Vt for a ordinary diode in veriloga c
Reply #1 - Sep 12th, 2006, 10:04am
 
$vt is kT/q.
Back to top
 
 
View Profile WWW   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: What is $Vt for a ordinary diode in veriloga c
Reply #2 - Sep 12th, 2006, 12:33pm
 
The $ (dollar sign) is usually used for "system functions and tasks," ie, things the simulator handles:  $strobe, $fopen, etc.  Also $temperature, which is the simulation temperature.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
gmadhavareddy
New Member
*
Offline



Posts: 5

Re: What is $Vt for a ordinary diode in veriloga c
Reply #3 - Sep 28th, 2006, 8:11am
 
Thank you.

I have some more doubts to clarify clearly.
1) Is $vt represents threshold voltage or not?
2) If yes,  here in this verilog model, they used $vt same for both ordinary diode and schottky diode.

/Madhav
Back to top
 
 
View Profile   IP Logged
ACWWong
Community Fellow
*****
Offline



Posts: 539
Oxford, UK
Re: What is $Vt for a ordinary diode in veriloga c
Reply #4 - Sep 28th, 2006, 8:35am
 
gmadhavareddy wrote on Sep 28th, 2006, 8:11am:
Thank you.

I have some more doubts to clarify clearly.
1) Is $vt represents threshold voltage or not?
2) If yes,  here in this verilog model, they used $vt same for both ordinary diode and schottky diode.

/Madhav

1) As ken said, $vt is kT/q, the thermal voltage. so NO $vt does not reperesent threshold voltage
2) .
Back to top
 
 
View Profile   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: What is $Vt for a ordinary diode in veriloga c
Reply #5 - Sep 30th, 2006, 1:52am
 
$vt represents Vt   a "thermal voltage"
as most diodes have a forward Current

Id = Is exp(-n⋅Vd/Vt)

which of course comes from the carrier density equation (see "Physics of Semiconductor Physics" by S. M. Sze chapter 1)

kT/q shows up so often in device equations because of this that the early users decided this needed to be a "built-in" function.

because it depends on temperature it cannot be a "constant"

Jbd
Back to top
 
 

jbdavid
Mixed Signal Design Verification
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.