Table of Contents

Name

getrdsmodellist - gets model list of the instances of a figure

Origin

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

Synopsys

#include rutnnn.h"
ptype_list *getrdsmodellist( Figure )
rdsfig_list *Figure;

Parameter

Figure
The figure which contains the models to extract.

Description

The getrdsmodellist function gets list of instance's models of the figure `Figure'. The data structure returned ptype_list is defined ( in MBK library mutnnn.h ) as follows :
typedef struct ptype
{
struct ptype *NEXT; /* next pointer */

void
*DATA; /* generic pointer */
long
TYPE; /* type */ } ptype_list;

The field `DATA' of ptype_list structure contains the pointer to the rdsfig_list structure.

Return Value

The getrdsmodellist function returns a pointer which is head of pointer's list of the instances's models of the figure. If the list is empty, NULL pointer is returned.

Errors

none

Example :

#include mphnnn.h"
#include mutnnn.h"
#include rdsnnn.h"
#include rutnnn.h"
#include rtlnnn.h"
main()

{
phfig_list *MbkFigure; rdsfig_list *RdsFigure; ptype_list *FigureList; ptype_list *ScanFigureList; mbkenv(); rdsenv(); loadrdsparam();
MbkFigure
= getphfig("core",'A'); RdsFigure = figmbkrds(MbkFigure,0,0); FigureList = getrdsmodellist( RdsFigure ); for ( ScanFigureList = FigureList ; ScanFigureList != (ptype_list *) NULL ; ScanFigureList = ScanFigureList->NEXT ) viewrdsfig ( (rdsfig_list *) ScanFigureList->DATA ); . . . }

See Also

librut, Mutlibrary

Bug Report

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.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.