| addlevel | int (GATE_ADDLEVEL_...) |
| name | string (GATE_NAME_LENGTH) |
| swaplevel | int |
| symbol | UL_SYMBOL |
| x, y | int (Aufhängepunkt, siehe Anmerkung) |
Konstanten
| GATE_ADDLEVEL_MUST | must |
| GATE_ADDLEVEL_CAN | can |
| GATE_ADDLEVEL_NEXT | next |
| GATE_ADDLEVEL_REQUEST | request |
| GATE_ADDLEVEL_ALWAYS | always |
| GATE_NAME_LENGTH | max. empfohlene Länge eines Gate-Namens (wird nur für formatierte Ausgaben benutzt) |
Siehe auch UL_DEVICE
Anmerkung
Die Koordinaten des Aufhängepunktes (x, y) sind immer bezogen auf die Lage des Gates im Device, auch wenn das UL_GATE über ein UL_INSTANCE geholt wurde.
Beispiel
library(L) {
L.devices(D) {
printf("Device: %s, Package: %s\n", D.name, D.package.name);
D.gates(G) {
printf("\t%s, swaplevel=%d, symbol=%s\n",
G.name, G.swaplevel, G.symbol.name);
}
}
}
| Index | Copyright © 2005 CadSoft Computer GmbH |