|
|
|
@ -1,28 +1,64 @@ |
|
|
|
/**** BSIM4.8.0 Released by Navid Paydavosi 11/01/2013 ****/ |
|
|
|
/**** OpenMP support ngspice 06/28/2010 ****/ |
|
|
|
/********** |
|
|
|
* Copyright 2006 Regents of the University of California. All rights reserved. |
|
|
|
* File: b4ld.c of BSIM4.8.0. |
|
|
|
* Author: 2000 Weidong Liu |
|
|
|
* Authors: 2001- Xuemei Xi, Mohan Dunga, Ali Niknejad, Chenming Hu. |
|
|
|
* Authors: 2006- Mohan Dunga, Ali Niknejad, Chenming Hu |
|
|
|
* Authors: 2007- Mohan Dunga, Wenwei Yang, Ali Niknejad, Chenming Hu |
|
|
|
* Authors: 2008- Wenwei Yang, Ali Niknejad, Chenming Hu |
|
|
|
* Project Director: Prof. Chenming Hu. |
|
|
|
* Modified by Xuemei Xi, 04/06/2001. |
|
|
|
* Modified by Xuemei Xi, 10/05/2001. |
|
|
|
* Modified by Xuemei Xi, 11/15/2002. |
|
|
|
* Modified by Xuemei Xi, 05/09/2003. |
|
|
|
* Modified by Xuemei Xi, 03/04/2004. |
|
|
|
* Modified by Xuemei Xi, Mohan Dunga, 07/29/2005. |
|
|
|
* Modified by Mohan Dunga, 12/13/2006. |
|
|
|
* Modified by Mohan Dunga, Wenwei Yang, 05/18/2007. |
|
|
|
* Modified by Wenwei Yang, 07/31/2008. |
|
|
|
* Modified by Tanvir Morshed, Darsen Lu 03/27/2011 |
|
|
|
* Modified by Pankaj Kumar Thakur, 07/23/2012 |
|
|
|
* Modified by Navid Paydavosi, 08/21/2013 |
|
|
|
**********/ |
|
|
|
/* ****************************************************************************** |
|
|
|
* BSIM4 4.8.1 released by Chetan Kumar Dabhi 2/15/2017 * |
|
|
|
* BSIM4 Model Equations * |
|
|
|
****************************************************************************** |
|
|
|
|
|
|
|
****************************************************************************** |
|
|
|
* Copyright 2017 Regents of the University of California. * |
|
|
|
* All rights reserved. * |
|
|
|
* * |
|
|
|
* Project Director: Prof. Chenming Hu. * |
|
|
|
* Authors: Gary W. Ng, Weidong Liu, Xuemei Xi, Mohan Dunga, Wenwei Yang * |
|
|
|
* Ali Niknejad, Shivendra Singh Parihar, Chetan Kumar Dabhi * |
|
|
|
* Yogesh Singh Chauhan, Sayeef Salahuddin, Chenming Hu * |
|
|
|
****************************************************************************** |
|
|
|
|
|
|
|
****************************************************************************** |
|
|
|
* CMC In-Code Statement * |
|
|
|
* * |
|
|
|
* The Developer agrees that the following statement will appear in the * |
|
|
|
* model code that has been adopted as a CMC Standard. * |
|
|
|
* * |
|
|
|
* Software is distributed as is, completely without warranty or service * |
|
|
|
* support. The University of California and its employees are not liable * |
|
|
|
* for the condition or performance of the software. * |
|
|
|
* * |
|
|
|
* The University of California owns the copyright and grants users a * |
|
|
|
* perpetual, irrevocable, worldwide, non-exclusive, royalty-free license * |
|
|
|
* with respect to the software as set forth below. * |
|
|
|
* * |
|
|
|
* The University of California hereby disclaims all implied warranties. * |
|
|
|
* * |
|
|
|
* The University of California grants the users the right to modify, * |
|
|
|
* copy, and redistribute the software and documentation, both within * |
|
|
|
* the user's organization and externally, subject to the following * |
|
|
|
* restrictions: * |
|
|
|
* * |
|
|
|
* 1. The users agree not to charge for the University of California code * |
|
|
|
* itself but may charge for additions, extensions, or support. * |
|
|
|
* * |
|
|
|
* 2. In any product based on the software, the users agree to * |
|
|
|
* acknowledge the University of California that developed the * |
|
|
|
* software. This acknowledgment shall appear in the product * |
|
|
|
* documentation. * |
|
|
|
* * |
|
|
|
* 3. Redistributions to others of source code and documentation must * |
|
|
|
* retain the copyright notice, disclaimer, and list of conditions. * |
|
|
|
* * |
|
|
|
* 4. Redistributions to others in binary form must reproduce the * |
|
|
|
* copyright notice, disclaimer, and list of conditions in the * |
|
|
|
* documentation and/or other materials provided with the * |
|
|
|
* distribution. * |
|
|
|
* * |
|
|
|
* Agreed to on ______Feb. 15, 2017______________ * |
|
|
|
* * |
|
|
|
* By: ____University of California, Berkeley___ * |
|
|
|
* ____Chenming Hu__________________________ * |
|
|
|
* ____Professor in Graduate School ________ * |
|
|
|
* * |
|
|
|
****************************************************************************** */ |
|
|
|
|
|
|
|
/**** OpenMP support ngspice 06/28/2010 ****/ |
|
|
|
|
|
|
|
#include "ngspice/ngspice.h" |
|
|
|
#include "ngspice/cktdefs.h" |
|
|
|
|