TestCoreGeometryIO.cm
Copyright © 1985 by Xerox Corporation. All rights reversed.
Created by Bertrand Serlet February 17, 1987 11:02:18 pm PST
Bertrand Serlet March 10, 1987 2:56:21 am PST
Install Extract
CDRead TestSinixB
← CoreProperties.StoreProperties[$CMosBObject, CoreProperties.PutProp[CoreProperties.FetchProperties[$CMosBObject], CoreProperties.propPrint, NIL]]
← CoreProperties.StoreProperties[$CMosBPins, CoreProperties.PutProp[CoreProperties.FetchProperties[$CMosBPins], CoreProperties.propPrint, NIL]]
← CoreProperties.StoreProperties[$CMosBGeometry, CoreProperties.PutProp[CoreProperties.FetchProperties[$CMosBGeometry], CoreProperties.propPrint, NIL]]
← CoreProperties.StoreProperties[$CMosBTrans, CoreProperties.PutProp[CoreProperties.FetchProperties[$CMosBTrans], CoreProperties.propPrint, NIL]]
-- And the writing of decorations on file
Run -a CoreGeometryIOImpl
← CoreGeometryIOImpl.Register[SinixCMosB.mode.decoration]
← &design ← PW.OpenDesign["TestSinixB"]
← &obj ← PW.Get[&design, "TestIO"]
← &ct ← Sinix.Extract[&obj, SinixCMosB.mode].result
← CoreGeometryIOImpl.Explicit[SinixCMosB.mode.decoration, &ct]
← CoreIO.ReportSaveCellType[&ct]
← &rct ← CoreIO.RestoreCellType["TestIO"]
← &rrct ← CoreOps.Recast[&rct]
-- ← CoreOps.Print[&rrct]
-- ← CoreGeometry.GetGeometry[SinixCMosB.mode.decoration, &rrct.data.internal[0]]
← &robj ← CoreGeometry.GetObject[SinixCMosB.mode.decoration, &rrct]
← PW.Draw[&robj]
← &design ← PW.OpenDesign["TestSinixB"]
← &obj ← PW.Get[&design, "TestPinCheckpoint"]
← &ct ← Sinix.Extract[&obj, SinixCMosB.mode].result
← CoreGeometryIOImpl.Explicit[SinixCMosB.mode.decoration, &ct]
← CoreIO.ReportSaveCellType[&ct]
← &rct ← CoreIO.RestoreCellType["TestPinCheckpoint"]
← &rrct ← CoreOps.Recast[&rct]
← &robj ← CoreGeometry.GetObject[SinixCMosB.mode.decoration, &rrct]
← PW.Draw[&robj]