The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> IF Statements & source-drain symmetry
https://designers-guide.org/forum/YaBB.pl?num=1220633336

Message started by littlenasboy on Sep 5th, 2008, 9:48am

Title: IF Statements & source-drain symmetry
Post by littlenasboy on Sep 5th, 2008, 9:48am

I've implemented a source referenced MOSFET model in Verilog-A, and I'm worried about source-drain symmetry.  

Can I just use IF statements in my model to address this problem, or will that lead to other issues?

Title: Re: IF Statements & source-drain symmetry
Post by Geoffrey_Coram on Sep 8th, 2008, 5:31am

You can just use if statements, but you should verify for yourself that the equations you've written (and their derivatives) are continuous across the if statement.

If your simulator supports an ac analysis with a swept bias (instead of a swept frequency), you can easily check the ac currents from all four terminals as you sweep across vds=0.  Create 4 instances in your netlist, with an ac voltage source on a different terminal for each.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.