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, users can simply right click on the "Custom" folder in the Element Library (or a subfolder within) and select "Package/Publish" option. Alternatively, they can use the "packagedesignkit" script command to do the same. There are two CML distribution models, namely 'Public' and 'Protected'. 'Public' distribution model supports open, collaborative CML development and 'protected' distribution model enables obfuscation of underlying data and locking of hierarchical model definitions to protect the CML owner's IP.
NOTE: The 'Protected+' distribution model is deprecated and no longer available.
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.
NOTE: CML Compiler can be used for automatic generation of compact model libraries. For more information please visit CML Compiler Product Page.