Table of Contents

Name

librpr - rpr library description

Description

I)
Description of global variables and constants of the library
A)
Constants
RDS_SEGMENT_EMPTY :
This value is returned by the GET_SEGMENT_LAYER macro to mean the end of the layer list returned.
RDS_VIA_EMPTY :
This value is returned by the GET_VIA_LAYER macro to mean the end of the layer list returned.
B)
Global variables

long RDS_PHYSICAL_GRID;

Some technolgies demand the layout to respect a physical grid. It means that all coordinates have to be a multiple of the physical grid value.

long RDS_LAMBDA;

The RDS_LAMBDA value is the unity of base in which are described RDS objects (rectangles, instances, figures). This value permits to be technology independant. One Lambda units corresponds to a value explained in micro-meter.

long RDS_LAMBDA2;

The RDS_LAMBDA2 is a surface unit which represents the RDS_LAMBDA value squared.

II)
Description of the macros
- char GET_SEGMENT_LAYER( Layer, Index )
char Layer; char Index;

The GET_SEGMENT_LAYER macro gets all the RDS layers which compose a MBK segment. The returned value is a RDS layer or the RDS_SEGMENT_EMPTY value if there is no layer anymore.

Example :

Layer = POLY; /* MBK segment */ Index = 0;
while ( LayerRds != RDS_SEGMENT_EMPTY ) {
LayerRds = GET_SEGMENT_LAYER( Layer, Index ); /* Treatment ... */

Index = Index + 1;
}

- char GET_VIA_LAYER( Layer, Index )
char Layer; char Index;

The GET_VIA_LAYER macro gets all the RDS layers which compose a MBK contact. The returned value is a RDS layer or the RDS_VIA_EMPTY value if there is no layer anymore.

Example :

Layer = CONT_VIA; /* MBK contact */ Index = 0;
while ( LayerRds != RDS_VIA_EMPTY ) {
LayerRds = GET_VIA_LAYER( Layer, Index );

/* Treatment ... */

Index = Index + 1;
}

III)
Function of the libRpr library

loadrdsparam
This function loads parameters contained in a file with extention .rds which is the translation file from symbolic to real. Some of these files are contained in the path /labo/etc".See them for more information.

viewrdsparam
This function displays all the tables in memory filled with the loadrdsparam function.

See Also

librds, librfm, librut, librtl, librwi, phvia, phseg

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.