Spice Custom Block
Define electronic components with the SpiceCustomBlock.
-
From the Palette Browser, select . Drag the block into your diagram and double-click it.
The block dialog appears with tabs for Parameters, Reporting and Advanced features.
-
From the Parameters tab, select the Editor button.
-
Enter your netlist code:
- Enter your netlist in the Editor or copy and paste it from an existing netlist file.
- If you would like to enter a netlist yourself, but are unfamiliar with SPICE, click the button for the software to generate a basic code framework for you. Click the Editor button to view and modify the code as required. .
-
On the Parameters tab, enter the information for the voltage inputs/outputs and
the current outputs that are required for the block.
Enter the voltage output ports as a list or select them through the dialog.
- Click OK.