FLATTEN_PHFIG - flatten an instance in the current layout figure
#include <genlib.h>
void FLATTEN_PHFIG(insname,concat)
char *insname;
char concat;
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
FLATTEN_PHFIG inserts the contents of an instance, but its connectors, in the current figure, and then destroys the instance. The concat parameter may take two values:
In most case, the concat value must be YES, in order to warranty the unicity of names in the figure. It may otherwise fail, because the function would try to add in the current figure some object with an already existing name.
#include <genlib.h>
main()
{
/* Create a figure to work on */
DEF_PHFIG("mycell");
.
.
.
/* Place an instance */
PLACE("model","instance", SYM_X, 0, 0);
/* flatten an instance */
FLATTEN_PHFIG("instance", YES);
/* Save all that on disk */
SAVE_PHFIG();
}
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.