What is the format of the net= attribute?

Attributes in gEDA are simple text items which are in the form name=value. All proper attributes follow this form. Attribute names are always lower case, but the value can be upper or lower case. gnetlist and friends are case sensitive. Typically net/signal names by default are upper case.

Attribute can be attached to an object or in certain cases (like the net= attribute) can be free floating (not attached to anything). The free floating attributes are also called toplevel attributes.

The net= attribute is a text item which takes on the following form:

net=signalname:pinname,pinname,pinname,... where
net= The attribute name (always the same, lowercase)
signalname The signal or net being defines (like +5V, GND, etc...)
pinname The pin name (or number) which is assigned to this signal/net (or pin names/numbers)

The signalname cannot contain the : character (since it's a delimiter). The pinname is the pin name (A1, P2, D1, etc...) or pin number (1, 2, 5, 13, etc...). The pinname cannot contain the , character (since it's also a delimiter). pinnames are typically the same sort of numbers/names like the pin#=# attribute (if your familiar with that attribute).

You can only have ONE signalname per net= attribute, but you can have as many pinnames/numbers as you want.

Ales Hvezda 2005-03-15