Spice Custom Block

Define electronic components with the SpiceCustomBlock.

The SpiceCustomBlock lets you leverage SPICE netlists to create new or modify existing electronic components in your model. The block is fully customizable including its ports, parameters and simulation function.
  1. From the Palette Browser, select Activate > CustomBlocks > SpiceCustomBlock. Drag the block into your diagram and double-click it.
    The block dialog appears with tabs for Parameters, Reporting and Advanced features.
  2. From the Parameters tab, select the Editor button.


  3. 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. .


  4. 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.

  5. Click OK.