ElectricTM User's Manual, version 9.00

icon
Steven M. Rubin
icon
December 1, 2010

design example


Copyright (c) 2010 Oracle and Static Free Software.

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided also that they are labeled prominently as modified versions, that the authors' names and title from this version are unchanged (though subtitles and additional authors' names may be added), and that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.

Chapter 1: Introduction

1-1: Welcome



Now you have it!

A state-of-the-art computer-aided design system for VLSI circuit design.

Electric designs MOS and bipolar integrated circuits, printed-circuit-boards, or any type of circuit you choose. It has many editing styles including layout, schematics, artwork, and architectural specifications.

A large set of tools is available including design-rule checkers, simulators, routers, layout generators, and more.

Electric interfaces to most popular CAD specifications including EDIF, LEF/DEF, VHDL, CIF and GDS.

The most valuable aspect of Electric is its layout-constraint system, which enables top-down design by enforcing consistency of connections.

This manual explains the concepts and commands necessary to use Electric. It begins with essential features and builds on them to explain all aspects of the system. As with any computer system manual, the reader is encouraged to have a machine handy and to try out each operation.

1-2: About Electric



The About Electric... command (in menu Help) shows you the names of the Electric development team. It also outlines your legal rights with respect to Electric.

Figure 1.27

This manual is available while running Electric. Use the User's Manual... command (in menu Help) to see this manual (you may already be doing that).

While inside of the manual, click "Menu Help" to get help with Electric's pulldown menus. It displays a pulldown menu inside of the manual page which mimics the real pulldown menu. Select any command from this new menu to get help for the real pulldown menu entry.

1-3: Running Electric



There are two ways to run Electric: download the JAR file or run from the web. To run Electric from the web, download the Java Web Start file:
    http://java.net/projects/electric/downloads/download/electric.jnlp
This is a small file with links to the Electric. When run for the first time, it will download the additional files needed to run Electric. After that, it will start quickly because Electric is now on your machine. When new releases of Electric are made available, there will again be a delay as they are downloaded.

The other way to run Electric is to download the JAR file with the code. Electric is written in the Java programming language and so the JAR file is typically called "electric-version.jar" where version is 8.09, 8.10, 9.00, etc. There are two variations on the JAR file: with or without source code (the version without source code has the word "Binary" in its name). Either of these files can run Electric, but the one with source code is larger because it also has all of the Java code.

Electric requires Java version 1.5 or later from Oracle. It can also run with Apache Harmony. However, it does not run properly on some open-source implementations of Java, including the version shipped on Fedora Core systems. You will have to reinstall Java from Oracle or Apache in such cases.

Running Electric varies with the different platforms. Most systems also allow you to double-click on the JAR file. If double-clicking doesn't work, try running it from the command-line by typing either:
    java -jar electric.jar
or:
    java -classpath electric.jar com.sun.electric.Launcher

There are a number of options that can be given at the end of the command line:

Memory Control

One problem with Java is that the Java Virtual Machine has a memory limit. This limit prevents programs from growing too large. However, it prevents large circuits from being edited.

If Electric runs out of memory, you can request more. To do this, use General Preferences (in menu File / Preferences..., "General" section, "General" tab). At the bottom of the dialog are two memory limit fields, for heap space and permanent space. Changes to these values take effect when you next run Electric.

The heap space limit is the most important because increasing it will offer much more circuitry capacity. Note that 32-bit JVMs can only grow so far. On 32-bit Windows systems you should not set it above 1500 (1.5 Gigabytes). On 32-bit Linux or Macintosh system, you should not set it above 3600 (3.6 Gigabytes).

Permanent space is an additional section of memory that can be insufficiently small. For very large chips, a value of 200 or larger may enhance performance.

1-4: Building Electric from Source Code



1-4-1: Introduction to Source Code

It is not necessary to rebuild Electric from the source code because the downloads are ready to run. For people who wish to explore the source code, this section describes how you can do it.

Source code is available in two forms: