next up previous contents index
Next: Terminal Devices Up: The Side Menu: Geometry Previous: The desel Button: Deselect   Contents   Index


The devs Button: Device Menu

\epsfbox{devs.eps}

The devs button appears only in electrical mode, and pressing this button will toggle the display of the device selection menu. There are two types of menu available, the default being a character-keyed pulldown menu, and the alternative being a pictorial menu showing the device symbols. The pulldown menu consumes less screen space.

One can specify default use of the pictorial menu by setting the variable PictorialDevs with the !set command (enter``!set PictorialDevs''). The !unset command can be used to revert to the default menu. The new menu appears the next time the menu is popped up, after the variable is changed. In either case, buttons on the device menus allow switching between the two styles.

The default menu consists of a sequence of buttons containing the first letter of the device name (not the SPICE key). Pressing and holding button 1 while the pointer is over one of these buttons will bring down a menu of the device names that start with that letter. Moving the pointer down the menu will highlight the entry under the pointer. A selection is made by releasing the button. In the pictorial menu, the devices are shown in alphabetical order. Clicking on one of the devices will establish the selection.

After a selection is made, the device symbol will be ghost-drawn and attached to the pointer, and the device will be placed at positions where the user clicks in the drawing windows. The device is positioned such that the reference terminal is located at the point where the user clicked. Devices are placed according to the current transform, which is defined from the pop-up produced by the Current Transform button in the Edit Menu.

The devices available and other details depend upon the definitions in the device library file (see A.5). By default, this file is named ``device.lib'', and is located in the installation startup directory, but this can be superseded by a custom file of the same name which is found in the library search path ahead of the default file. Information below pertains to the default device library file.

The following table lists the devices found in the default device library file.

Name Description
Contact Devices
gnd Ground Contact
vcc Contact Terminal
SPICE Devices
res Resistor
cap Capacitor
ind Inductor
mut Mutual Inductor
isrc Current Source
vsrc Voltage Source
dio Junction Diode
jj Josephson Junction
npn NPN Bipolar Transistor
pnp PNP Bipolar Transistor
njf N-Channel Junction FET
pjf P-Channel Junction FET
nmos1 N-Channel MOSFET, 4 Nodes
pmos1 P-Channel MOSFET, 4 Nodes
nmos N-Channel MOSFET, 3 Nodes
pmos P-Channel MOSFET, 3 Nodes
nmes N-Channel MESFET
pmes P-Channel MESFET
tra Transmission Line
ltra Transmission Line (LTRA Compatible)
urc Uniform RC Line
vccs Voltage-Controlled Current Source
vcvs Voltage-Controlled Voltage Source
cccs Current-Controlled Current Source
ccvs Current-Controlled Voltage Source
sw Voltage-Controlled Switch
csw Current-Controlled Switch
opamp Example Macro

The colors used in the pictorial device menu can be changed by setting variables. These are

variable purpose default
pop_color_dvbg background gray90
pop_color_dvfg foreground black
pop_color_dvhl highlight blue
pop_color_dvsl selection gray80



Subsections
next up previous contents index
Next: Terminal Devices Up: The Side Menu: Geometry Previous: The desel Button: Deselect   Contents   Index
Stephen R. Whiteley 2006-10-23