image.png
a
image.png
e
This question comes up at times. MOSFET sources and drains are the same, so you can swap them without changing circuit behavior. At the moment, the extractor picks which side is source or drain arbitrarily.
๐Ÿ‘ 1
๐ŸŒ 1
t
If you insist on having source and drain in the order you intend, you can create a point label (zero size box) at the boundary between gate and source (or drain) with the text "`S$`" (or "`D$`"). That is the only label format that magic will recognize as identifying a transistor source or drain.
๐Ÿ‘ 1
๐ŸŒ 1
m
If youโ€™re having trouble with netgen LVS, be sure that you specify the setup file on the command line. If you donโ€™t, parallel devices ar not reduced source and drain may mismatch.
๐Ÿ‘ 1
๐ŸŒ 1