Users can design and package a library of compact model elements and distribute the CML within a PDK. To package/publish a compact model library, user can simply right click on the Customer folder or a subfolder and select "Package/Publish" or use the "packagedesignkit" script command. There are two CML distribution models, namely 'Public' and 'Protected'. The detailed comparison of these options are listed in the table below. 'Public' distribution model supports open collaborative CML development and 'protected' distribution model enables obfuscation of underlying dat and locking of hierarchical model definitions.
Select the folder -> right click -> "Package/Publish"
A prompt window will pop out after select "Package/Publish". By clicking "OK" a CML file with the extension ‘.cml’ will be generated under the specified path with the specified name. The .cml file can then be distributed to other users. An example compact model library file ‘LCML.cml’ is available in the Associated files on the Custom Library & Design Kit page.
The "Export HTML" function also allows the user to export the details of the compact models into individual .html files together with the images of the symbol of the models. The .html files are named after the name of the models. The following figure illustrates this procedure. These details can serve as, or help CML developers draft, the CML user manual.