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
Tim Edwards
07/13/2023, 2:37 PM
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
Mitch Bailey
07/13/2023, 5:36 PM
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.