Electric and LTspice may be installed anywhere with some minor configuration changes.

1. Prerequisites

  • Ensure you have the Java 8 runtime installed (JRE). It may already be done or go to http://java.com for the download.

1.1. LTspice

(optional) LTspice custom shortcuts

These sortcuts are from: http://ltwiki.org

1.2. (optional) Java3D

Install Java3D to enable the 3D layout view.

  • Look for j3d-1_5_2-windows-i586.exe in C:\electric9.07\install\
    → ONLY use the amd64.exe if your Java is 64-bit (not your windows OS)

  • Test this by re-opening Electric, opening an example library, opening a layout view, and going to the menu item Window  3D Window  3D View

This is not guaranteed to work. The 3D view is not necessary to the functioning of Electric, fortunately, just nice to have.

2. Electric installation

  1. Download the electric9.07.zip file from the course’s S: drive folder.

  2. Unzip the file and place the extracted electric9.07 folder in a convenient place on your computer, such as C:\electric9.07. Then open the File Explorer and navigate to the new C:\electric9.07 folder.

  3. View the electric.bat file with a text editor (such as Notepad++). Read the comments at the top to be aware of some customization you can do for your convenience.

  4. Right-click the "launch Electric" shortcut. Verify that the paths in the shortcut match where you have placed the electric9.07 folder.

  5. Double-click the shortcut to verify that

  6. This will load Electric with all the extras. You may copy this shortcut to a convenient place (your desktop).

  7. Open the Preferences dialog in Electric via either File  Preferences or the wrench icon in the tool bar.

  8. Within the Preferences box, click the Import button to load in pre-setup preferences. Select the electricPrefs-ECE429.xml file found in C:\electric9.07\install\

    • If you installed LTspice in a different location: Navigate in the Preferences to Tools  Spice/CDL and modify the "Run program:" path so it points to your XVIIx64.exe location.

Your Electric system is pretty much setup!

  • Under the "docs" folder, open ElectricManual-9.07.pdf. Read Chapter 1 (you can skip 1-4, section 1-5 is already mostly setup)

Verify that Electric properly opens LTspice:

  • Open the Electric_CMOSedu\Ch6_Electric\CMOSedu_Ch6_1u.jelib library.

  • Open the Fig6_11 schematic.

  • Select the menu item Tools  Simulation (Spice) - Write Spice Deck. If everything goes well, LTspice will startup and run the simulation of this NMOS transistor, plotting Id vs. Vds for several Vgs values.

Other places for Electric / LTspice info: