Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Mon Apr 12 2004 - 10:02:35 EDT
Dear Syed, Magic version 7.2 does hierarchical netlist extraction. The method is to add "ports" to the subcells you want to have extracted as subcircuits, before doing the "extract all" and "ext2spice" (exttospice, in the Tcl-based version). You add ports with the "port" command by putting the cursor box over an existing label, and typing the command "port make <number>" (e.g., "port make 1"), where the <number> is the order of the port in the netlist definition of, and call to, the subcircuit. This method is specifically designed for use with standard cells; if you really want hierarchical SPICE, you will need to extract and produce a SPICE deck separately for each subcell. Note that I don't have a method for magic to produce a ".subckt" record (although I suppose I should, and it shouldn't be very difficult to implement), so if you edit a subcell and produce SPICE output with extract and ext2spice, you will still need to add the ".subckt ... .ends" to the resulting deck. Regards, Tim
|
|