Standard cells are done a bit differently, mainly due to the size and complexity of digital synthesized layouts. Magic would normally draw the DUALGATE layer as you see it in the top picture. Then, to make sure there are no violations between cells, it will do a hierarchical check and resolve spacing issues between cells. This takes a
long time on large layouts, and the standard cells are designed by the foundry to abut cleanly. So standard cells in magic are given a property
GDS_FILE
that is a pointer to the foundry GDS file, so that when the layout is written, the foundry data is inserted instead of being generated from Magic (and also means that the hierarchical processing can be skipped, so generating GDS is faster). Unfortunately, though, that means that in the case of any cell with the
GDS_FILE
property, Magic is not WYSIWYG. I started coding a method for correcting that problem, but left it unfinished (too many other priorities in the way). Eventually I will get around to finishing it. Meanwhile, just be cognizant that cells in the PDK that come from the foundry all have the
GDS_FILE
property and the view in magic may not correspond exactly to the foundry data.