DIRECTORY CacheDataPath, CMosB, Core, CoreClasses, CoreOps, DataPath, IO; CacheDataPathImpl: CEDAR PROGRAM IMPORTS CoreClasses, CoreOps, DataPath, IO EXPORTS CacheDataPath = BEGIN BusShort: PUBLIC PROC[size: INT] RETURNS[wire: Core.Wire] = { sub: Core.Wire _ CoreOps.CreateWires[0, "sw"]; wire _ CoreOps.CreateWires[size, "w"]; FOR i: INT IN [0..size) DO wire[i] _ sub ENDLOOP}; Trans: PUBLIC PROC[type: CoreClasses.TransistorType, length, width: INT] RETURNS [cellType: Core.CellType] = { name: IO.ROPE _ IO.PutFR["%g%gx%g", IO.rope[CoreClasses.transistorTypeNames[type]], IO.int[length], IO.int[width]]; cellType _ CoreClasses.CreateTransistor[type, length, width, name]}; DataPath.RegisterDataPathSpec["SmallCache64", NEW[DataPath.DPSpecRec _ [ layDWidth: 65*CMosB.lambda]]]; DataPath.RegisterDataPathSpec["SmallCache32", NEW[DataPath.DPSpecRec _ [ layDWidth: 162*CMosB.lambda]]]; END. †CacheDataPathImpl.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Don Curry, October 5, 1987 6:14:16 pm PDT Κ\˜šœ™Jšœ Οmœ1™