XeroxCmosCif.load
Copyright © 1985 by Xerox Corporation. All rights reserved.
by Jim Gasbarro March 12, 1985 12:38:00 pm PST
Last Edited by: Gasbarro, December 18, 1985 10:18:14 am PST
Frank Bowers January 24, 1986 4:50:47 pm PST
McCreight, April 14, 1986 4:16:11 pm PST
CDCmosA
GraphicsSubset
run DefaultUserCmdParser
run ReadCifPackage
This technology file works for reading files that have been generated in the standard Xerox Cif format. This format maps pdif and pwellCont into implanted n-diffusion (two separate layers, CPI and CD), and ndif and nwellCont into just n-diffusion (CD). Since Readcif does not detect rectangle intersections, it has no way of recovering the original layers. Thus pdif and pwellCont appear as overlapping n-diffusion and p-diffusion (CD -> n-diffusion, CPI -> p-diffusion), and nwell and nwellCont appear as just n-diffusion.
← %CDProperties.PutTechnologyProp[onto: %CD.FetchTechnology[$cmos], prop: $CDxCIFName, val: NIL] -- in case this cm file doesn't finish running
Diffusion is a crock.
← %CDProperties.PutLayerProp[onto: %CMos.ndif, prop: $CDxCIFName, val: "CD"]
← %CDProperties.PutLayerProp[onto: %CMos.pdif, prop: $CDxCIFName, val: NEW[%CIFIntPhase2.CIFDestRec ← [cifDest: "CPI", deltaRadius: 1500 -- nm --]]]
unused
← %CDProperties.PutLayerProp[onto: %CMos.wndif, prop: $CDxCIFName, val: "CX"]
← %CDProperties.PutLayerProp[onto: %CMos.wpdif, prop: $CDxCIFName, val: "CX"]
← %CDProperties.PutLayerProp[onto: %CMos.wellSurround, prop: $CDxCIFName, val: "CX"]
← %CDProperties.PutLayerProp[onto: %CMos.pwell, prop: $CDxCIFName, val: "CPW"]
← %CDProperties.PutLayerProp[onto: %CMos.nwell, prop: $CDxCIFName, val: NEW[%CIFIntPhase2.CIFDestRec ← [cifDest: "CNW", deltaRadius: -4000 -- nm --]]]
unused
← %CDProperties.PutLayerProp[onto: %CMos.pwellCont, prop: $CDxCIFName, val: "CX"]
← %CDProperties.PutLayerProp[onto: %CMos.nwellCont, prop: $CDxCIFName, val: "CX"]
← %CDProperties.PutLayerProp[onto: %CMos.pol, prop: $CDxCIFName, val: "CP"]
← %CDProperties.PutLayerProp[onto: %CMos.met, prop: $CDxCIFName, val: "CM"]
← %CDProperties.PutLayerProp[onto: %CMos.met2, prop: $CDxCIFName, val: "CM2"]
← %CDProperties.PutLayerProp[onto: %CMos.ovg, prop: $CDxCIFName, val: "CG"]
← %CDProperties.PutLayerProp[onto: %CMos.cut, prop: $CDxCIFName, val: "CC"]
← %CDProperties.PutLayerProp[onto: %CMos.cut2, prop: $CDxCIFName, val: "CC2"]
← %CDProperties.PutLayerProp[onto: %CMos.bur, prop: $CDxCIFName, val: "CB"]
unused
← %CDProperties.PutLayerProp[onto: %CMos.imp, prop: $CDxCIFName, val: "CX"]
← %CDProperties.PutTechnologyProp[onto: %CD.FetchTechnology[$cmos], prop: $CDxCIFName, val: "Technology file for use with ReadCif to make Xerox CMOS CIF viewable"] -- done
ReadCif compensation example:
← %CDProperties.PutLayerProp[onto: %CMos.nwell, prop: $CDxCIFName, val: NEW[%CIFIntPhase2.CIFDestRec ← [cifDest: "CNW", deltaRadius: -4000 -- nm --]]]
This line would bloat all n-welll rectangles by 4 microns. The sign of deltaRadius corresponds to the tranformation applied when writing the Cif file. Thus, BrandyCIFter would use this property to shrink by 4u while ReadCif bloats by 4u. ReadCif only performs "simple-minded" shrinks, so it is possible that you will end up with disjoint rectangles that were originally connected. Sorry.