NAME¶
roundrdsrec - adjusts a rectangle to lambda grid step
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at
LIP6 laboratory of Université 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"
void roundrdsrec( Rectangle )
rdsrec_list ∗Rectangle;
PARAMETER¶
- Rectangle
- RDS rectangle to treat.
DESCRIPTION¶
the
roundrdsrec function adjusts (in lambda) to lower grid step for
rectangle extremity which has coordinates (X,Y), adjusts to upper grid step
for rectangle extremity which has coordinates (X+DX,Y+DY).
RETURN VALUE¶
nothing
ERRORS¶
none
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()
{
rdsfig_list ∗RdsFigure;
rdsrec_list ∗Rectangle;
mbkenv();
rdsenv();
loadrdsparam();
RdsFigure = addrdsfig("core_2",sizeof(UserStruct));
Rectangle =
addrdsfigrec(RdsFigure, "seg", RDS_ALU1, 2.5, 3.5, 6, 7);
viewrfmrec ( Rectangle );
/∗ ∗/ roundrdsrec ( Rectangle );
/∗ view rectangle after rounding ∗/
viewrfmrec ( Rectangle );
}
SEE ALSO¶
librfm, viewrfmrec et_un_autre_see_also
BUG REPORT¶
This tool is under development at the
ASIM department of the
LIP6
laboratory.
We need your feedback to improve documentation and tools.