Now that we know how to design CMOS circuits in terms of p-transistors
and n-transistors, how do we implement them in Magic?
We should start with the following assumptions:
- We should have a Vdd! signal, in metal1.
- We should have a GND! signal, in metal1.
- Any time we cross ndiff (green) with polysilicon (red), Magic will
form an n-type transistor.
- Any time we cross pdiff (brown) with polysilicon (red), Magic will
form a p-type transistor. Don't forget to put an nwell around your
pdiff.
Then, it is a matter of connecting the transistors in parallel (or in series).