[Magic-dev] spice model on the layout
R. Timothy Edwards
tim at opencircuitdesign.com
Wed Oct 10 00:40:44 EDT 2007
Dear Chitlesh,
> How can I attach a spice model to a particular component (capacitor for
> example) so that it would be pulled out during ext2spice ?
This is explained in the online "Maintainer's Manual #2"
http://opencircuitdesign.com/magic/techref/maint2.html#extract
where I quote:
Devices are represented in Magic by explicit tile types. The extraction
of a device is determined by the declared device type and the information
about types which comprise the various independent terminals of the device.
device mosfet model gate_types sd_types subs_types subs_node_name [perim_cap [area_cap]]
device capacitor model top_types bottom_types [perim_cap] area_cap
device resistor model resist_types term_types
device bjt model base_types emitter_types collector_types
device diode model pos_types neg_types
device subcircuit model gate_types [term_types [subs_types]]
device rsubcircuit model id_types term_types
In the above list, "model" is passed through to the SPICE output of
ext2spice as the model name. In the case of capacitors and resistors,
one may use the keyword "None" for "model" to get a simple device without
a model. In that case, magic will determine the resistance or capacitance
according to its extraction models and pass these values to the SPICE
output. The older "fet" statement in the techfile extraction section works
the same way, but the newer "device" statement is more flexible, and has
a lot more options.
Regards,
Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: tim at opencircuitdesign.com |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-9364 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
More information about the magic-dev
mailing list