Mouse buttons in conjunction with the wire tool implement various wire commands (see the tool command reference).
where option may be one of the following:
- Print help information
- Add a new horizontal wire leg
- Add a new horizontal or vertical leg
- switch [layer width]
- Place contact and switch layers
- type [layer width]
- Select the type and size of wires
- add a new vertical wire leg
- segment layer width x1 y1 x2 y2... [-noendcap]
- Paint one or more wire segments
- Determine where the next wire leg will be according to the rules for wire leg, but place the result in the selection buffer rather than directly on the layout.
- increment layer
- Change the layer type used for wires to the wire type on the plane above the plane of the current wire type.
- decrement layer
- Change the layer type used for wires to the wire type on the plane below the plane of the current wire type.
- increment width
- Increment the width of the current wire by 1 internal unit.
- decrement width
- Decrement the width of the current wire by 1 internal unit.
The wire command allows quick generation of wires on the layout. Some of these commands are bound to mouse button events in the wire tool, making a convenient interface for fast wiring where full netlist routing is not required. Due to the presence of the wire tool, most of these commands are not typically called from the command line.
The wire segment command can generate non-Manhattan segments. All other wiring commands generate only Manhattan routes. This command places wire segments in relation to the centerline coordinates specified by x1 y1, x2 y2, and so forth. By default, wires are drawn with an endcap extension of one-half the wire width. The -noendcap option causes the wire to end at the coordinate, with no extension. The wire segment command is intended to be used from Tcl scripts for automatic layout generation.
wire is implemented as a built-in command in magic.
|Return to command index|
Last updated: December 4, 2005 at 8:38pm