addrdsins - adds an instance to a figure
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
#include rdsnnn.h"
rdsins_list *addrdsins( Figure, Model, Name, Sym, X, Y )
rdsfig_list *Figure;
possible values :
The addrdsins function adds an instance to the head of instances's list in
the figure described in function parameter. Some fields of rdsins_list
structure are modified as follows :
The field FIGNAME is set to Model
The field INSNAME is set to Name
The field X is set to X
The field Y is set to Y
The field TRANSF is set to Sym
The field SIZE is set to Figure->SIZE
addrdsins returns a pointer to the newly created instance which is head of instances's list of the figure.
Rds202: rdsalloc error, can't continue !" it's impossible to allocate the memory size desired.
#include mutnnn.h"
#include rdsnnn.h"
#include rtlnnn.h"
typedef struct UserStruct
{
char *STRING;
void *USER1;
} UserStruct;
main()
{
rdsfig_list *RdsFigure;
rdsins_list *Instance;
mbkenv();
rdsenv();
loadrdsparam();
RdsFigure = addrdsfig ("core",sizeof ( UserStruct ) );
Instance = addrdsins (RdsFigure,"na2_y","and2",RDS_NOSYM,8,6);
printf("(RdsFigure->INSTANCE)->NAME = %s\n",
(RdsFigure->INSTANCE)->NAME);
/* Instance is head of instance list of the figure */
printf("Instance->NAME = %s\n", Instance->NAME);
}
librds, delrdsins, viewrdsins
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.