Adding a SPICE Model

Follow this procedure to add a SPICE model to a project using Twin Builder‘s SPICE Model Editor.

  1. Select Tools > Edit Libraries > Models. The Edit Libraries dialog box appears.
  1. Click Add Model to open the Add Model dialog box.
  2. Select the SPICE radio button.
  3. Type the new SPICE model name in the Name field.

    The SPICE Model Editor opens displaying new SPICE model entity declarations in a tab bearing the model name you chose above.

  4. Edit the SPICE model source code as needed.
  5. Optionally, you can check syntax.
  6. When finished editing, select SPICE Model Editor > Compile & Update Project to add the model to the project. See Importing and Updating Twin Builder Models and Components.

You can use Export ModelName Text As to save and export the code present in the editor.

Related Topics 

Importing Simulation Models