Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

addrdsins(3) [debian man page]

ADDRDSINS(3)						      RDS PHYSICAL FUNCTIONS						      ADDRDSINS(3)

NAME
addrdsins - adds an instance to a figure ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "rdsnnn.h" rdsins_list *addrdsins( Figure, Model, Name, Sym, X, Y ) rdsfig_list *Figure; char *Model; char *Name; char Sym; long X; long Y; PARAMETER
Figure figure which contains the instance. Model Name of the model of the instance. Name Name of the instance in the figure at which it belongs. Sym Symmetry applied to the instance. possible values : RDS_NOSYM no symmetry. RDS_ROT_P 90 degrees rotation counter clockwise. RDS_SYMXY symmetry with regard to a horizontal and vertical axis. RDS_ROT_M 90 degrees rotation clockwise. RDS_SYM_X symmetry with regard to a vertical axis. RDS_SY_RM symmetry with regard to a vertical axis and 90 degrees clockwise. RDS_SYM_Y symmetry with regard to a horizontal axis. RDS_SY_RP symmetry with regard to a horizontal axis and 90 degrees rotation counter clockwise. X,Y position of the lower left corner of the instance in the figure after symmetry. DESCRIPTION
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 RETURN VALUE
addrdsins returns a pointer to the newly created instance which is head of instances's list of the figure. ERRORS
"Rds202: rdsalloc error, can't continue !" it's impossible to allocate the memory size desired. EXAMPLE
#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 ", (RdsFigure->INSTANCE)->NAME); /* Instance is head of instance list of the figure */ printf("Instance->NAME = %s ", Instance->NAME); } SEE ALSO
librds, delrdsins, viewrdsins BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 ADDRDSINS(3)

Check Out this Related Man Page

INSREFMBKRDS(3) 					      RDS PHYSICAL FUNCTIONS						   INSREFMBKRDS(3)

NAME
insrefmbkrds - adds in RDS instance all the references of MBK instance. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "rfmnnn.h" rdsrec_list *insrefmbkrds( InstanceMbk, ModelMbk, InstanceRds ) phins_list *InstanceMbk; phfig_list *ModelMbk; rdsins_list *InstanceRds; PARAMETER
InstanceMbk MBK instance which contains references to treat. ModelMbk Pointer to the model of the MBK instance. InstanceRds RDS Instance which has to receive converted references from MBK to RDS format. DESCRIPTION
The insrefmbkrds function adds in the RDS instance all references of the MBK instance converted to RDS format. All newly created references are chained each other (circulary list) using the USER field of the rdsrec_list structure. RETURN VALUE
Pointer to the head of list of the added rectangles to the RDS instance. ERRORS
"Rds202: rdsalloc error, can't continue !" it's impossible to allocate the memory size desired EXAMPLE
#include "mphnnn.h" #include "mutnnn.h" #include "rdsnnn.h" #include "rfmnnn.h" #include "rtlnnn.h" typedef struct UserStruct { char *STRING; void *USER1; } UserStruct; main() { phfig_list *MbkFigure; phins_list *MbkInstance; phfig_list *MbkModelInstance; rdsfig_list *RdsFigure; rdsins_list *RdsInstance; rdsrec_list *RdsReferenceList; mbkenv(); rdsenv(); loadrdsparam(); /* creates MbkFigure Named "core" */ MbkFigure = addphfig("core"); /* creates RdsFigure named "core_2" */ RdsFigure = addrdsfig("core_2",sizeof(UserStruct)); /* adds Mbk instance "n1_y" to MbkFigure named "core" */ MbkInstance = addphins(MbkFigure,"n1_y","inv_1",NOSYM,4,9); /* Gets Model of instance n1_y */ MbkModelInstance = getphfig("n1_y",'A'); /* creates Rds instance named "block_1" added to RdsFigure */ RdsInstance = addrdsins(RdsFigure,"block","block_1",RDS_NOSYM,8,6); /* adds reference of "inv_1" instance Mbk in Rds instance named "block_1" */ RdsReferenceList = insrefmbkrds ( MbkInstance, MbkModelInstance, RdsInstance ); viewrfmrec ( RdsReferenceList ); } SEE ALSO
librfm, librds, viewrfmrec, loadrdsparam BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 INSREFMBKRDS(3)
Man Page