Provided by: alliance_5.0-20120515-6_amd64 bug

NAME

        conmbkrds - converts MBK connector to RDS rectangle

SYNOPSYS

        #include "rfmnnn.h"
         rdsrec_list ∗conmbkrds( Figure, Connector )
           rdsfig_list ∗Figure;
           phcon_list  ∗Connector;

PARAMETER

       Figure              Rds Figure which has to receive the connector.

       Connector           MBK connector to convert to RDS format.

DESCRIPTION

       The  conmbkrds  function  creates  a  RDS  rectangle (connector) with a connector from MBK
       structure phcon_list. The RDS rectangle is added to the figure defined in parameter of the
       function.

RETURN VALUE

       The pointer to the RDS rectangle created.

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;
                   rdsfig_list ∗RdsFigure;
                   rdsrec_list ∗Con;
                   mbkenv();
                   rdsenv();
                   loadrdsparam();
                   RdsFigure = addrdsfig ("core",sizeof ( UserStruct ) );
                   MbkFigure->PHCON =
                       addphcon ( MbkFigure,NORTH, "in_1", 9, 15, ALU1, 2);
                   Con = conmbkrds (RdsFigure, MbkFigure->PHCON);
                   . . .
                 }

SEE ALSO

       librfm, viewrfmcon, loadrdsparam