Patricio Carrasco
09/26/2023, 1:27 PMMitch Bailey
09/26/2023, 3:09 PMEdit
-> Search and Replace
and set
Object text
In.. current cell
Layer <blank>
Text *
Delete any empty text that show up.
Incidentally, even though your inverter layout will function as an inverter, it is probably not connected as you wish. If each mosfet finger is W=4 L=1, the equivalent device would be W=4, L=4.
Also, netgen is not set up to reduce series mosfets, so your netlist will need to contain 4 devices in series for the pmos and the nmos.Tim Edwards
09/27/2023, 12:20 AMgds flatglob pfet
gds read 2PMOS2u
load PMOS
The "gds flatglob" command options tells magic to flatten the "pfet" cell on read-in (the "glob" in "flatglob" is because you can use glob-style wildcarding in the cell names).
The best approach is to make sure that all the information needed to uniquely identify a device (including implant layers, substrate/well, complete terminal geometry, and any device identifier layers) are all inside a single layout cell. The same goes for contacts: The contact cut and both metal layers above and below it should be in the same cell.
The gds flatten true
command option is a "quick & dirty" method that flattens any cell that has fewer than 10 shapes in it, which tends to fix issues with contact cuts being in their own subcells, which is common with many layout editors.Patricio Carrasco
09/27/2023, 4:38 PM