db_get_pin_attribute()

Returns the attribute value of a given pin.

Syntax:

db_get_pin_attribute(pinHandle, pinAttribute);

where

pinHandle is the handle to a pin.

pinAttribute is the data for the pin, where:

  • PIN_LOCATION = Location handle: for x,y and angle of pin
  • PIN_INST_PTR = Instance handle: for instance owning this pin
  • PIN_NODE_PTR = Node handle: for the node owning this pin
  • PIN_NUMBER = Pin number; an integer
  • PIN_PROPERTY = Head of property list
  • PIN_NAME = Name of the pin
  • PIN_DIRECTION = Pin direction: Input, output, or input/output
  • PIN_WIRE_PTR = Wire handle for wire that is connected to pin, where the attributes for layer binding in layout are:
  • PIN_MASK_NUMBER = A pin gets the mask number from the layer of the component it is attached to. Used to enforce layer compatibility when a trace connects to a component, or between traces or between components.
  • PIN_BINDING_LIST = List of layers that this pin is allowed to attach to.
  • PIN_INHERIT_BINDING = Behavior of connectivity in hierarchy, where: TRUE = a port pin, * FALSE = all other connections

Example:
decl pinHandle = db_get_instance_attribute(instHandle, INST_PIN_HEAD);
decl pinNo = db_get_pin_attribute(pinHandle, PIN_NUMBER);

Download Example File:

The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.

EEsof Part List - Modified
Netlist with Node Names
Replace all GROUND's with node name

Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources