Once OptSim Circuit is done loading the libraries, they are listed in the User Libraries branch of the OptSim Circuit model tree.
Next, create a compound component for the PIC for which a mask needs to be generated in OptoDesigner. The compound component should have all models as PDKs chosen from the PDAFlow library. A “foundryName” parameter will be added to the compound component via Symbol Table when a PDAFlow building block (BB) is inserted.
By default, each BB added to the compound component will have a “foundryName” parameter that inherits its value from the corresponding value set at the compound-component level. This allows global control of the “foundryName” setting during simulation and netlist generation. The value of the “foundryName” parameter can be selected from a predefined list of available foundry names. The foundry names are derived from the PDAFlow libraries. Please see the OptoDesigner documentation for details about how to configure the list of foundries that will be loaded from the PDAFlow API.
Figure 2 shows an OptSim Circuit schematic using two PICs, each of which are implemented as a compound component using the demofab PDKs.