Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Tue Mar 02 2004 - 10:40:02 EST
Dear Robert, > I am doing a simple layout which consists of 512 cells. > Each cell needs to have one of the wires in the cell labeled. Each > one of these wires needs to have a unique label. Is it > possible to somehow do this in magic automagically, or at > the least, with a little help from magic and not totally > by hand? This depends. Using your example (an array of 10 instances of a cell named TG), you can edit any cell TG and create a label on the gate called, say, "G". Then, if you select the gate of any transistor in the array, and type "getnode", you'll get something like: TG_0[5]/G So each transistor has a unique name, as seen from the top of the hierarchy. This works fine as long as every program you're using (simulators, etc.) is okay with the "special" characters (brackets and slash) in the name of the node. If not, you probably need to do some filtering of the output before going to simulation. In the case above, if I extract to a SPICE deck or "sim" netlist, I get a file from which I can directly query the node "TG_0[5]/G", because all the special characters are okay in SPICE and IRSIM node names. In general, it is also possible to do semi-automatic labeling with the "netlist" tool, for which you will want to look at the magic tutorial #7. This is somewhat counter-intuitive, as the labeling feature of the "netlist" tool works independently of any actual netlists, and probably should have been made a core feature of magic rather than being hidden away in the netlist window where nobody knows about it (except for those who read all the tutorials and have really good memory). Regards, Tim
|
|