ARRAY(5ICD)

NAME
array - make an array of some cell

SYNOPSIS

MODEL *array (name, cell, mir, rot, nx, ny)
char *name, *cell;
int mir, rot, nx, ny;

PARAMETERS
Name of the new cell to be created by array. Name of the cell to be instantiated (called, placed) in the array. is an integer specifying the mirroring of the instantiated cell. Legal values for mir as defined in "stdldmc.h" are:
    do not mirror. mirror in x-axis. mirror in y-axis.
is an integer specifying the rotation of the instantiated cell. Legal values for rot as defined in "stdldmc.h" are:
    do not rotate. rotate 90 degrees. rotate 180 degrees. rotate 270 degrees.
Repetition count in x-direction. Repetition count in y-direction.

DESCRIPTION
Array is a function which will make a cell named name, being an array of subcells named cell.

The orientation of the subcells is specified with mir and rot. Legal values of mir are 0, MX and MY, and legal values for rot are R0, R90, R180 and R270, as defined in "stdldmc.h".

A repetition is specified with nx and ny. Array will call the function pitch (5ICD) internally to obtain the pitch of the subcell in case nx > 0 or ny > 0. If the pitch can't be determined from the terminals, the cell size is used. Furthermore, tup (5ICD) is called to create the terminals in the new cell, at each side. All terminals of the instantiated cell are tupped. The repetition parameters of the tup function that is called by array are the same as the repetition parameters of array itself. So, the array will have terminals around its edges corresponding to the terminals of cell. The name of the new terminals is specified by the tup pattern argument "%*&#".

SEE ALSO
ldmcintro(5ICD), pitch(5ICD), tup(5ICD)