Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cdaf From: cdaf@iuvax.cs.indiana.edu (Charles Daffinger) Newsgroups: comp.lsi.cad Subject: Re: magic extraction Message-ID: <27939@iuvax.cs.indiana.edu> Date: 17 Oct 89 01:15:23 GMT References: <27675@iuvax.cs.indiana.edu> <20009@unix.cis.pitt.edu> Reply-To: cdaf@iuvax.cs.indiana.edu (Charles Daffinger) Organization: Indiana University, Bloomington Lines: 97 [I ask for help with using the bsim model with magic(1986) output and spice3c1] Ken writes: >No, you don't need a new spice2sim or ext2sim. You do need the BSIM >parameters put into a file that can be tacked onto each spice deck >created. This file is located somewhere under cad/lib/... > I have the bsim .model information from mosis, as well as a sample from Berkeley (just to make sure I didn't screw it up). The problem, however, is that the output from sim2spice looks like this (for a simple cmos inverter): *** SPICE DECK created from inv.sim, tech=scmos M1 4 5 1 6 CMOSP L=3.0U W=6.0U M2 4 5 0 7 CMOSN L=3.0U W=6.0U (the names of the nodes:) GND 0 Vdd 1 NMOS 2 PMOS 3 OUT 4 IN 5 CMOSP 6 CMOSN 7 The bsim .model looks like this (This particular one was sent from Berkeley, as I wanted to make sure my .model file was valid): * it doesn't matter what you say [at the Proc2Mod prompt]. for example, * here is a .model file produced with the process name "BSIM": .model BSIM_du2 r rsh = 120 defw = 0 narrow = 0 .model BSIM_du2 c cj = 0.00031 cjsw = 3e-10 defw = 0 narrow = 0 .model BSIM_du1 r rsh = 35 defw = 0 narrow = 0 .model BSIM_du1 c cj = 0.000275 cjsw = 1.9e-10 defw = 0 narrow = 0 .model BSIM_py1 r rsh = 30 defw = 0 narrow = 0 .model BSIM_py1 c cj = 7e-05 cjsw = 0 defw = 0 narrow = 0 .model BSIM_ml2 r rsh = 0.03 defw = 0 narrow = 0 .model BSIM_ml2 c cj = 1.3e-05 cjsw = 0 defw = 0 narrow = 0 .model BSIM_ml1 r rsh = 0.04 defw = 0 narrow = 0 .model BSIM_ml1 c cj = 2.6e-05 cjsw = 0 defw = 0 narrow = 0 .model BSIM_pm2_du2 pmos level=4 + vfb = -0.21389 lvfb = 0.0336471 wvfb = 0.220237 [remainder of parameters deleted] .model BSIM_pm2_du1 pmos level=4 [remainder of parameters deleted] .model BSIM_pm1_du2 pmos level=4 + vfb = -1.0087 lvfb = -0.21402 wvfb = 0.344354 [remainder of parameters deleted] .model BSIM_pm1_du1 pmos level=4 + vfb = -1.0087 lvfb = -0.21402 wvfb = 0.344354 [remainder of parameters deleted] .model BSIM_nm3_du2 nmos level=4 + vfb = -5.6087 lvfb = -0.21402 wvfb = 0.344354 [remainder of parameters deleted] .model BSIM_nm3_du1 nmos level=4 + vfb = -5.6087 lvfb = -0.21402 wvfb = 0.344354 [remainder of parameters deleted] .model BSIM_nm2_du2 nmos level=4 + vfb = -1.0682 lvfb = -0.067765 wvfb = 0.415888 [remainder of parameters deleted] .model BSIM_nm2_du1 nmos level=4 + vfb = -1.0682 lvfb = -0.067765 wvfb = 0.415888 [remainder of parameters deleted] .model BSIM_nm1_du2 nmos level=4 + vfb = -1.0087 lvfb = -0.21402 wvfb = 0.344354 [remainder of parameters deleted] .model BSIM_nm1_du1 nmos level=4 + vfb = -1.0087 lvfb = -0.21402 wvfb = 0.344354 [remainder of parameters deleted] I fail to see how the connection is made between CMOSP or CMOSN in the spice deck generated from ext2sim and sim2spice, and the appropriate .model card. What am I missing? If the answer is RTFM, please point me to a source, as I've had absolutely no luck finding adequate documentation for doing this, and I haven't been able to get much help from Berkeley either. Also, it seems that I have model information for poly and both metals. How do I extract that information as well? Thank you, -charles -- Charles Daffinger >Take me to the river, Drop me in the water< (812) 339-7354 cdaf@iuvax.cs.indiana.edu {pur-ee,rutgers,pyramid,ames}!iuvax!cdaf Home of the Whitewater mailing list: whitewater-request@iuvax.cs.indiana.edu