1-12-2: Schematic Entry
Electric defines various technologies for schematics and layout. To draw transistor-level schematics, you can use the symbols in the Components tab of the side bar.
|Your goal is to draw a gate like the one shown here. Turn on the grid to help you align objects. To do this, use the Toggle Grid command (in menu Window), or just type Ctrl-G. Click on an nMOS transistor symbol in the Components tab on the left side of the screen. Then click in your schematic window to place the transistor in the circuit (perform this as two separate clicks, not drag-and-drop). Repeat until you have two nMOS transistors, two pMOS transistors, the Power symbol, and the Ground symbol arranged on the page.
These symbols are nodes in Electric parlance. You may move the nodes around by clicking and dragging. The transistors default to a width/length value of 2/2. Double-click on the pMOS transistor and change its width to 12. Recall that nMOS transistors are roughly twice as strong as pMOS transistors. So a single nMOS transistor would only have to be 6 wide. However, because the nMOS transistors are in series, they should also be 12 wide.
Now, connect the nodes with wires (called arcs in Electric parlance). Notice that when you click on a node, the closest port is also selected. These ports are the sides of arc connections. Click on a port such as the gate, source, or drain of a transistor. Right-click, hold the mouse, and drag away from the node. When you release the mouse, an arc will be created from the original node to the location of the cursor. A new "pin" node will also be created at the cursor to hold the other end of the arc. If you right-click and drag over an existing node, then you will connect to it. If two objects to be connected are not lined up, Electric will create two arcs to join them. The location of the cursor determines the angle of the bend, so wiggle it to see how the two arcs will run before releasing the button and creating the connection. See Section 2-2-2 for more on arc creation.
When the schematic is wired, you will need to create exports which define inputs and outputs of the cell. From the Components tab, select the "Off-Page" symbol and place it in the circuit. Connect the tip of the arrow the proper place in the circuit. To make an export on the other side of the Off-Page, select that port and use the Create Export command (in menu Export), or just type Ctrl-E. Name the export "a" and define its characteristic as "input". Similarly, create Off-Page symbols and exports for "b" and "y".
Now is a good time to save your library. Use the Save Library command (in menu File), or just type Ctrl-S. Get into the habit of saving your library regularly. Also, learn the keyboard shortcuts for the commands you use frequently.
|Table of Contents