The library-wide compact model library (CML) properties are stored in the library master file in the CML’s root folder. These properties include the library name, element list, version number, statistical properties, and Photonic Verilog-A model settings. For a full description of these properties, see library master file.
In the CML Compiler graphic user interface (GUI), you can edit the most common properties of the CML such as prefix and suffix for element names. You can edit all options through the library master file.
The interface differs slightly depending on the type of model you are generating.
Options for INTERCONNECT models
When you are generating INTERCONNECT models, you can edit the version suffix, process prefix and platform, whether to enable symbol generation for Synopsys OptoCompiler or Cadence Virtuoso, and whether to add simulator and symbol views to an existing OptoCompiler library. There are also the following options:
- Checkbox ‘Symbol Generation’ enables symbol generation according to platform and whether to add the generated symbols to existing OptoCompiler library.
- Entry 'Path' is used to specify the directory that contains the file “lib.defs” for existing OptoCompiler library.
- Checkbox ‘Parameter Overwrite’ can be used to replace the existing parameters for models in OptoCompiler library if the parameters of CML and OptoCompiler libraries for INTERCONNECT models are different.
Options for Verilog-A models (Linux only)
When you are generating Verilog-A models (Linux only), in addition to the options above, you can also edit the number of channels, platform (Synopsys or Candence), the solver used to run QA tests (Synopsys platform only), port convention for foundry compatibility, and whether to add simulator and symbol views to an existing OptoCompiler library. There are also the following options and entry:
- Checkbox ‘Symbol Generation’ enables symbol generation according to platform and whether to add the generated symbols to existing OptoCompiler library.
- Entry 'Path' is used to specify the directory that contains the file “lib.defs” for existing OptoCompiler library.
- Checkbox ‘Parameter Overwrite’ can be used to replace the existing parameters for models in OptoCompiler library if the parameters of CML and OptoCompiler libraries for Verilog-A models are different.
To edit other CML properties such the element list, or set global statistical parameters, first open the library master file in your preferred JSON or text editor software, and then update the properties directly in the file. You can also create a new library master file and save it in the library source directory's root folder.