viewrdsins(3) - Linux man page
Name
viewrdsins - Displays caracteristics of an instance
Synopsys
#include "rdsnnn.h"
void viewrdsins( Instance )
rdsins_list ∗Instance;
Parameters
- Instance
Instance to display.
Description
The viewrdsins function displays caracteristics of the instance pointed by 'Instance' and its items.
- instance's parameters displayed :
- INSNAME
name of the instance.
FIGNAME
model's name of the instance.
X,Y
position of the lower left corner of the instance.
TRANSF
transformation applied to the instance.
SIZE
size of the user structure added to the rdsrec_list structure.
- This function displays also rectangles of the instance (see viewrdsrec() function).
Return Value
nothing
Errors
none
Example
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rtlnnn.h"
typedef struct UserStruct
{
char ∗STRING;
void ∗USER1;
} UserStruct;
main()
{
rdsfig_list ∗Figure;
rdsrec_list ∗Rectangle;
rdsins_list ∗Instance;
mbkenv();
rdsenv();
loadrdsparam();
Figure = addrdsfig ("core",sizeof ( UserStruct ) );
Instance = addrdsins (Figure,"na2_y","and2",RDS_NOSYM,8,6);
Rectangle =
addrdsinsrec(Instance,"Alu1",RDS_ALU1,2,4,12,1);
/∗
visualization of the instance and its rectangle
∗/
/∗ ∗/ viewrdsins ( Instance );
}
See Also
librds, viewrdsfig, viewrdsrec