de_define_port()

Places a single port, with a unique port number, in an artwork instance using user units. To specify location and angle in simulator units, use de_draw_port(). Returns: none.

de_define_port() is an AEL function used mostly in AEL artwork macro AEL. It adds a pin to an artwork at a given location and orientation. This function is not related to the regular Port that is placeable from the toolbar, and is operational only when the program is in INST_VIEW mode which can only be set within the program.

Syntax:

de_define_port(x,y[, angle, portNo, portName, portPower]);

where

x,y is the port location (in user-defined units).

angle is optional; the angle of the port (used to determine abutting interconnected instance); a real number. Default = 0.0.

portNo is optional; the unique port number; an integer. Default = -1.

portName is optional; name of the pin; a string. Default = NULL.

portPower is optional; power of the pin; a string. Default = NULL.

Example:
de_define_port(10, 20, 0, 4,"input_sig");

Where Used:

Layout

 

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

Contents
Additional Resources