phfig.3alc - Man Page

mbk physical figure

Description

The phfig is used to describe a hierarchical level of a symbolic layout and may contain any of the legal physical objects needed for a layout but a phfig. All coordinates are symbolic and therefor put on a virtual grid in booth x and y directions.

The declarations needed to work on phfig are available in the header file "/labo/include/mph402.h", where '402' is the actual mbk version.

The following C structure supports the description of the layout view :

typedef struct phfig {
	struct phfig	∗NEXT;
	struct chain	∗MODELCHAIN;
	struct phseg	∗PHSEG;
	struct phvia	∗PHVIA;
	struct phref	∗PHREF;
	struct phins	∗PHINS;
	struct phcon	∗PHCON;
	char	∗NAME;
	char	MODE;
	long	XAB1, YAB1, XAB2, YAB2;
	struct ptype	∗USER;
} phfig_list;
NEXT

Pointer to the next phfig present in ram.

NAME

Name of the figure. It identifies a figure (or model), so it should be unique in order to warranty consistency of cells libraries. In order to ensure this consistency, the NAME field must be filled with the disk file name while parsing, and must be used as file name for driving.

PHINS

Pointer to the head of the list of instances being used for the model  description. See phins(3) for details.

PHCON

Pointer to the head of the list of connectors (terminals) of the model. See phcon(3) for details.

PHSEG

Pointer to the head of the list of segments (wires) of the model. See phseg(3) for details.

PHVIA

Pointer to the head of the list of contacs and vias of the model. See phvia(3) for details.

PHREF

Pointer to the head of the list of references of the model. See phref(3) for details.

XAB1, YAB1, XAB2, YAB2

Coordinates of the bottom left corner of the abutment box of the figure. The abutment box of a model represents the external visibility of a figure and is what reference is made to when instantiating the model. One should well distinguish the abutment box from the bounding box, which is the smallest rectangle that includes all cell descriptors. The size and position of the abutment box is a designer concern, and cannot be computed.

MODE

Caracter indicating the status of the figure in memory. This field can take two values :

´A´

all the cell is loaded in ram.

´P´

only information concerning the model interface is present, that means connectors and the abutment box. All other lists are empty.

MODELCHAIN

Pointer to a chain list, see chain(3) for details, of names. These are the names of the models that are at least instantiated once in the figure.

USER

Pointer to a ptype list, see ptype(3) for details,  that is a general purpose pointer used to share information on the model.

Remark :

mbk's physical view of a cell is releted to it's logical view by means  of connector names, that must be identical.

See Also

mbk(1), addphfig(3), getphfig(3), delphfig(3), loadphfig(3), savephfig(3), phins(3), phvia(3), phcon(3), phseg(3), phref(3), ptype(3), lofig(3).

Referenced By

addphcon.3alc(3), addphfig.3alc(3), addphins.3alc(3), addphref.3alc(3), addphseg.3alc(3), addphvia.3alc(3), defab.3alc(3), delphcon.3alc(3), delphfig.3alc(3), delphins.3alc(3), delphref.3alc(3), delphseg.3alc(3), delphvia.3alc(3), flattenphfig.3alc(3), getphcon.3alc(3), getphfig.3alc(3), getphins.3alc(3), getphref.3alc(3), instanceface.3alc(3), loadphfig.3alc(3), lofig.3alc(3), mphdebug.3alc(3), phcon.3alc(3), phins.3alc(3), phref.3alc(3), phseg.3alc(3), phvia.3alc(3), rflattenphfig.3alc(3), savephfig.3alc(3), viewph.3alc(3), viewphfig.3alc(3), xyflat.3alc(3).

October 1, 1997 ASIM/LIP6 MBK PHYSICAL STRUCTURE DEFINITIONS