When I use the `label` command in magic to make a ...
# magic
m
When I use the
label
command in magic to make a pin, does it attach the label to the pin layer that I specify? For example:
Copy code
label Vg e m1
port make 1
Do these commands create a label and pin on the m1 pin layer, or on the m1 label layer or drawing layer?
t
The "pin" layer purpose doesn't have a correspondence in magic. The
label
command attaches the label to the specified layer, and the
port
command declares it to be a pin---that's all that magic knows about it. The GDS generation rules then create the proper text and layer purposes. Note that a "normal" label can get moved off of the specified layer. If you want to force it to stay on the declared layer, then use the "sticky" flag. Since the syntax for the label command is complicated, it's generally easier to use the
Edit -> Text...
menu selection to generate labels, since then you get check boxes to declare ports and to set layers and flags.
1