Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Tue Feb 25 2003 - 10:36:37 EST
Dear Thiago, > I'm trying to extract my layout to simulate it on spice. I used the > exttospice command on magic7.2 and the generated file is written in > lambda units. > > What should I do to get the file in other units (meters for example)??? The "extract" function writes in microns, not in lambda, but this is according to the extract style. If your technology is 0.18 microns but you extract with style "lambda=1.0", you'll end up with lambda units in your SPICE deck. I realize that while I put in some extra command options for inspecting available CIF and extract styles, the way they're set up keeps them from showing up by doing, for instance, "extract help". So, at the magic/Tcl command prompt, do: ext listall style to get a list of all available styles, or, if you're using the GUI wrapper (magic -w), choose menu button "Tech", and click on the extract style to see/select one of the available styles. Also, note that regardless of the extraction style used, the default "exttospice" outputs hspice format with dimensions in lambda and a ".option" line to indicate lambda-to-micron scaling. To get true micron dimensions in the output file, you need spice3-format output, which you can do by using exttospice -f spice3 I note that the way I implemented "exttospice" and "exttosim" prevents either command from showing up when you run the "help" command. I will fix that, too. I hope this information helps. Regards, Tim
|
|