next up previous contents index
Next: Database commands: newlayer Up: The database commands Previous: Database commands: obstruction   Contents   Index


Database commands: layer

Syntax: layer [layer [option] [args]]

This command sets or queries some basic parameters of routing layers. If no arguments are given, a listing of the routing layers with their present parameter values is printed.

The first argument is a layer name or 1-based routing layer index. If only this is given, the parameters for the given layer are printed.

The option that may follow indicates the parameter. It can be one of the following.

-n
This indicates the layer name. If a word follows, the layer will be given this name. If no word follows, the present layer name will be printed.

-l
This indicates the user layer number. This may indicate the GDSII layer number. It is a user parameter and not used by the router. It must be a non-negative integer if given. If a number follows, it will be assigned, otherwise the present value is printed.

-t
This indicates the user type number. This may indicate the GDSII datatype number. It is a user parameter and not used by the router. It must be a non-negative integer if given. If a number follows, it will be assigned, otherwise the present value is printed.

-w
This indicates the default wire width used for routing, in microns. It must be a positive number. If a number follows, it will be assigned, otherwise the current value is printed.

-p
This indicates the pitch of the routing, meaning the wire width plus minimum spacing between wires. This must be a positive value larger than the wire width. If a number follows, it will be assigned, otherwise the current value is printed.

-d
This indicates the preferred route direction, which can be horizontal of vertical. If a word follows, the first character of which is `h' or `v', the direction is set. Otherwise, the current direction is printed.


next up previous contents index
Next: Database commands: newlayer Up: The database commands Previous: Database commands: obstruction   Contents   Index
Stephen R. Whiteley 2017-02-17