EDAToolsCafe
   >> SPICE Discussion Board (including HSPICE)
Thread views: 10204 View all threadsNext thread*Threaded Mode

geeeeo
(Stranger )
09/06/07 03:43 AM
HEEEEELP: model parameter values Report this article as Inappropriate to us !!!Login to Reply

I have the following netlist file of c17 circuit 

.title c17.sp
.include '090.nmos'
.include '090.pmos'

.subckt nand2 3 1 2 9999
m1 3 1  9999 9999 gpdk090_pmos1v l=2u w=8u as=8p ad=8p ps=12u pd=12u
m3 3 2  9999 9999 gpdk090_pmos1v l=2u w=8u as=8p ad=8p ps=12u pd=12u
m2 3 1   4  0 gpdk090_nmos1v l=2u w=8u as=16p ad=16p ps=16u pd=16u
m4 4 2   0  0 gpdk090_nmos1v l=2u w=8u as=16p ad=16p ps=16u pd=16u
.ends nand2



x10 10 1 3 9999 nand2
x11 11 3 6 9999 nand2
x16 16 2 11 9999 nand2
x19 19 11 7 9999 nand2
x22 22 10 16 9999 nand2
x23 23 16 19 9999 nand2

.end

 

What I would like to ask is how I can instatiate the MOS transistors of the same nand gate  or of different ones to have different parameter values (e.g. L, W).

Parameter values are defined in the model file of the CMOS transistor and in the definion of the subcircuits. Can I redefine them when I instantiate the subcircuits?

thanx 





djepayne
(Stranger )
09/06/07 08:30 AM
Re: HEEEEELP: model parameter values new [re: geeeeo]Report this article as Inappropriate to us !!!Login to Reply

You could try something like:

 .subckt nand2 3 1 2 9999 w1=8u l1=2u
m1 .... l=l1 w=w1
.ends

x10 10 1 3 999 nand2 w1=9u l1=1.5u



Daniel Payne
EDA Marketing Consultant

geeeeo
(Stranger )
09/07/07 08:27 AM
Re: HEEEEELP: model parameter values new [re: djepayne]Report this article as Inappropriate to us !!!Login to Reply

It worked!

Thanks a lot !!






View all threadsNext thread*Threaded Mode
Jump to

 

CST Webinar Series



Internet Business Systems © 2016 Internet Business Systems, Inc.
595 Millich Dr., Suite 216, Campbell, CA 95008
+1 (408)-337-6870 — Contact Us, or visit our other sites:
AECCafe - Architectural Design and Engineering TechJobsCafe - Technical Jobs and Resumes GISCafe - Geographical Information Services  MCADCafe - Mechanical Design and Engineering ShareCG - Share Computer Graphic (CG) Animation, 3D Art and 3D Models
  Privacy Policy