Magic Mailing List |
|
From: Robert Penny (rob AT network DOT ucsd.edu) Date: Mon Dec 24 2001 - 13:51:20 EST
On Mon, 24 Dec 2001, Nenad Novovic wrote: > I need to transfer layout in Magic to Spice. Is that possible and if > it is, how can it be done? You use the extract command in Magic. Typically a magic design will be hierarchical, with a .mag file describing each level in the hierarchical design. If you go to the top cell that you want to simulate and issue the :extract command, Magic will descend the design and generate a .ext file from each .mag file. The .ext files are a hierarchical electrical description of the design, including transistor connections and geometry, lumped capacitance to ground at each node and various cross-capacitances. Once you have the .ext files run the external command ext2spice on the top level .ext file. This will generate a flattened netlist suitable for SPICE simulation. To correctly extract the design, Magic needs an accurate technology file for the design. This describes various area and perimeter capacitance parameters between layers in the fabrication process and parameters describing how the transistors need to be extracted. MOSIS provides technology files for the foundries they use. If you're using another fab house you might need to build the technlogy file yourself. One of the problems is that various foundries consider their process parameters proprietary, so even if someone has built a technology file for their foundry they won't be able to release it into the public domain. If you work through the Magic tutorial documents, tutorial #8 covers design extraction. Hope this helps. -Rob Penny (rob AT ucsd DOT edu)
|
|