Magic Mailing List |
|
From: cfk (cfk AT pacbell DOT net) Date: Sat Jun 21 2003 - 21:02:34 EDT
Well, at the end of Saturday with tclspice-0.2.11, here is where I am. I can do the following: magic package require spice 0.2.11 ;next is needed because 0.2.11 doesnt find it by itself package require tclreadline 2.1.0 spice_init_gui testx_trans.cir The testx_trans.cir is a little pulse generator running an extracted inverter created with magic. At this time, the model (which came from http://www.mosis.org ) has two unrecognized parameters, xl & xw. It is level 49, version 3.1. At the next step, when I tell the simulation to run, it gets a little interesting as spice thinks it is running a BSIM3V3.1 model and not BSIM4. ;spice::run BSIM3V3.1 Parameter Check Model nfet The simulation runs, but it says it has a negative Gm for a few hundred output lines. I am puzzled here because I am trying to tell it to use BSIM4 (I think) which does understand the XL & XW parameters. Somehow, spice thinks the level is different. I did try level 4, 8, 3 and others, but level 49 has the least warnings or errors. In any case, the simulation does run and after that, I can go ;spicewish::plot in out and get a plot of my inverter rise and fall times using tclspice from within magic with magic-7.2.40 and tclspice-0.2.11. I do have to be careful not to use the somewhat fragile spicewish window and to switch back to the tkcon. In the grand scheme of things, thats a minor issue right now. Unfortunately, at this point, I have very little confidence that the rise and fall times are meaningful becuase of all the warnings along the way. It feels really close, I suspect there is some minor incantation that I have wrong that if corrected, would get to the next stage. Good Night All, I'm going to go watch TV. Charles Krinke http://home.pacbell.net/cfk cfk AT pacbell DOT net
|
|