Mariana Huerta
09/12/2022, 9:47 PMlabel
command in magic to make a pin, does it attach the label to the pin layer that I specify? For example:
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?Tim Edwards
09/13/2022, 1:05 PMlabel
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.