MAGICUSAGE(1)

NAME
magicusage - print the names of all cells and files used in a Magic design

SYNOPSIS
magicusage [ -T technology ] [ -p path ] rootcell

DESCRIPTION
Magicusage will print the names of all cells and files used in the design whose root cell is rootcell. Each line of the output is of the form

cellname ::: filename

where cellname is the name of the cell as it is used, and filename is the .mag file containing the cell. If a cell is not found, a line of the form

cellname ::: << not found >>

is output instead.

If -p path is specified, the search path used to find .mag files will be path. Otherwise, the search path is initialized by first reading the system-wide .magic file in ~cad/lib/magic/sys, then the .magic file in the user's home directory, and finally the .magic file in the current directory. The most recent path command read from the three files determines the search path used to find cells.

In addition, a library path of ~cad/lib/magic/techname is used when searching for cells. By default, techname is the technology of the first cell read, but it may be overridden by specifying an explicit technology with the -T techname flag.

FILES

~cad/lib/magic/tech
~cad/lib/magic/sys/.magic
~/.magic
.magic

SEE ALSO
magic(1), magic(5)

AUTHOR
Walter Scott