CDSilConversion.mesa
Last Edited by: Beretta, December 28, 1984 3:26:01 pm PST
This module allows Chipndale to access Sil files and macros.
The following command is registered:
Commander.Register [key: "CDReadSil", proc: ReadModel, doc: "Read a SIL model into chipndale"];
DIRECTORY
CD USING [Design],
Rope USING [ROPE]
;
CDSilConversion: CEDAR DEFINITIONS ~ BEGIN
LibraryFile: TYPE ~ [5..9];
File 5 - macro definitions looked up in Profile entry Sil.Font5
File 6 - macro definitions looked up in Profile entry Sil.Font6
File 7 - macro definitions looked up in Profile entry Sil.Font7
File 8 - macro definitions looked up in Profile entry Sil.Font8
File 9 - macro definitions looked up in Profile entry Sil.Font9
ReadSilModel: PROC [name: Rope.ROPE] RETURNS [design: CD.Design ← NIL];
Reads a file containing a Sil model and makes it avalilable as a Chipndale design 'silDesign' with specific cells 'silDesignCells'.
ReadSilLibrary: PROC [library: LibraryFile] RETURNS [cells: CD.Design ← NIL]
Reads all macros from a macro disk file and stores them into the Chipndale cells. The design 'cells' additionally contains a synopsis of the cells it contains. For normal usage, 'cells' is not needed. The libraries are stored onto disk using the names specified in the user profile as follows:
Chipndale.chipnsil.Library5: Rope.ROPE ← "SilLib5.dale"
Chipndale.chipnsil.Library6: Rope.ROPE ← "SilLib6.dale"
Chipndale.chipnsil.Library7: Rope.ROPE ← "SilLib7.dale"
Chipndale.chipnsil.Library8: Rope.ROPE ← "SilLib8.dale"
Chipndale.chipnsil.Library9: Rope.ROPE ← "SilLib9.dale"
END.