
You can conditionally instantiate a symbol with this basic syntax on the SIMPLIS_TEMPLATE property:
.IF {{ logical_test }} normal simplis template .ENDIF
Notes
- Double curly braces around logical_test
- logical_test can include any parameters/variables
- The normal simplis template in the expression is the SIMPLIS_TEMPLATE property value of the symbol.
References
Exploiting the Netlist Preprocessor |
Assembling the Subcircuit Load