LTspice Installation and eCADSTAR Configuration

LTspice® is a high-performance SPICE simulation software and waveform viewer, with enhancements and models for easing the simulation of analog circuits. The application is supplied and trademarked by Analog Devices and can be downloaded from the following URL:

https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html

Task 1: Installing LTspice

  1. Using the above link, download and begin installation of the LTspice application onto your computer. This is the only analog simulator application that eCADSTAR Schematic Editor’s SPICE Controller interfaces with.

Graphical user interface, text, application, chat or text message Description automatically generated

  1. To continue, follow the on-screen instructions of the LTspice installer.
  2. Extract the LTspice library provided in the installation as follows.
  • Open the file lib.zip in the directory C:\Program Files\ADI\LTspice, and extract the contents to a location on your computer. In this training, they have been extracted to the directory C:\Users\Public\eCADSTAR\LTspice.

 

Note
For the purposes of this training, a 64-bit version of LTspice is installed at the default location: C:\Program Files\LTC\LTspiceXVII. This location is referenced throughout the training.

 

Analog Simulation Environment Settings

eCADSTAR Schematic Editor must be configured so that the SPICE Controller commands can interface with the LTspice simulator. The Application Settings dialog contains a section called SPICE Controller, where environment settings are specified. These are shown below.

  1. Executable path: the path to the .exe file for the simulation application. In eCADSTAR, this is the path to the LTspice application.
  2. Command-line arguments: command-line arguments supported by the LTspice application. A full list of these is provided here: http://ltwiki.org/LTspiceHelp/LTspiceHelp/Command_Line_Switches.htm.
  3. Include file: text files that can include analysis statements, circuit Nets or device models. If included here, then they are added when the simulation is performed.
  4. Subcircuit: an output file for the simulation. When you create a hierarchy design in eCADSTAR, you can make lower-hierarchy circuits into device models in subcircuit (.SUBCKT) format.

Task 2: Setting the Executable Path in Application Settings

  1. On the Start menu, click eCADSTAR [Version] > Schematic Editor [Version]. eCADSTAR Schematic Editor is launched.
  2. On the File tab, click Configuration > Application Settings. The Application Settings dialog is displayed.
  3. In the Application Settings dialog, select SPICE Controller.
  4. Using the browse button Scatter chart Description automatically generated for the Executable path, set this to the location of the installed LTspice application. By default this is: C:\Program Files\LTC\LTspiceXVII\XVIIx64.exe.
  5. Click Apply. The change is confirmed, and the dialog remains open.

Task 3: Adding Include Files for the Simulation

  1. In the Application Settings dialog, click [Browse...] in the Include file section. An open file dialog is displayed.
  2. Browse to the LTspice installation directory: C:\Program Files\LTC\LTspiceXVII, and select the SPICE model library file LTC.lib. This is in the lib\sub directory.

  1. Click Open to confirm the selection.
  2. Click Apply in the Application Settings dialog to confirm the setting. The dialog remains open.

Task 4: Setting Command-Line Arguments

  1. In the Application Settings dialog, Command-line arguments field, enter the following text: "--ascii". Click Apply to confirm the setting.

 

Note
The setting of the "--ascii" argument enables LTspice to convert the Operating Point Display results data into ascii format. This enables the data to be back annotated from LTspice to eCADSTAR Schematic Editor.

 

  1. Click OK to close the Application Settings dialog.