The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 3:15pm
Pages: 1 2 
Send Topic Print
MOSFET LEVEL 3 verilogA model help! (Read 4704 times)
marekm
New Member
*
Offline



Posts: 8

Re: MOSFET LEVEL 3 verilogA model help!
Reply #15 - Jun 21st, 2010, 11:30am
 
The multiplicity should be handled by the simulator, not the device.
Back to top
 
 

Marek Mierzwinski
View Profile   IP Logged
Marq Kole
Senior Member
****
Offline

Hmmm. That's
weird...

Posts: 122
Eindhoven, The Netherlands
Re: MOSFET LEVEL 3 verilogA model help!
Reply #16 - Jun 23rd, 2010, 12:37am
 
Multiplicity is already available through the $mfactor hierarchical system parameter in Verilog-A. Some simulators support aliasing the $mfactor, i.e.

Code:
  (* desc="Number of devices in parallel.", units="" *)
  aliasparam m = $mfactor;
 



You can just use the $mfactor as any other (instance) parameter in the instantiation of the Verilog-A model in your netlist.

Cheers,
Marq
Back to top
 
 
View Profile   IP Logged
sachin
New Member
*
Offline



Posts: 1

Re: MOSFET LEVEL 3 verilogA model help!
Reply #17 - Nov 20th, 2017, 10:23pm
 
Is there a way to use the above model as nmos or pmos?

If yes, then how?
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: MOSFET LEVEL 3 verilogA model help!
Reply #18 - Nov 22nd, 2017, 7:44am
 
_TYPE=1 should be NMOS, _TYPE=-1 PMOS. (That may be backwards from your expectation, but MOS model equations are generally written for N-type devices, so it's the P-type that need the sign change.)
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pages: 1 2 
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.