Table of Contents

Name

DEF_PHSC - load a netlist and open a layout model as current figure

Synopsys

#include <genlib.h>
void DEF_PHSC(cellname)
char *cellname;

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Parameters

cellname
Name of the netlist figure to be looked for in memory or on disk, for futher physical placement.

Description

DEF_PHSC defines the current working figure by it's name, the cellname argument, for layout and netlist operations. It can be use anywhere in the genlib program, but must appear at least once at the top of it, since it also initalize the user's preferences through environment variables. DEF_PHSC looks for the netlist figure cellname in memory, and if not found, on disk. If it fails, an error occurs and the process terminates. The main issue of this function is to allow the netlist and physical descriptions of a circuit in two separate files, for standard cell approach. So there is no need to recreate the netlist view each time the placement changes.
If the physical figure called cellname doesn't exists in memory, it is created. If it already exists in memory, it makes it the current working figure. DEF_PHSC doesn't look on disk for the figure cellname, so be careful not to overwrite an existing file while saving later on.

Example

#include <genlib.h>
main()
{
/* Create a figure to work on */ DEF_PHSC("mycell");
/* Place an instance */
SC_PLACE("instance", NOSYM,0L,0L);
/* Save all that on disk */
SAVE_PHSC();
}

See Also

genlib(1) , SAVE_PHSC(3) , SC_PLACE(3) , SC_TOP(3) , SC_BOTTOM(3) , SC_LEFT(3) , SC_RIGHT(3) .

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.