Les fichiers .slib doivent contenir les variables suivantes avec ces
valeurs pour qu'elles soient compatibles avec Cadence
/*----------------------------------------------------------------------------*/
SYMBOLU_PER_UU = 1; /* 1 if symbols are defined in terms of */
/* user units, otherwise if in terms of DB */
/* units, then use DBUPerUU (160 default). */
METER_PER_UU = 0.0254; /* Meter per user unit ratio. 0.0254 m/in */
ROUTE_GRID = 1024; /* Hard-coded constant representing the */
/* number of pixels defined between two */
/* grid points. */
SNAP_SPACE = 0.062500; /* Library's symbol view's xSnapSpace value.*/
/* This value is in terms of user units. */
/* 1/16 inch default */
SCALE = 1.0 / SNAP_SPACE; /* Scale factor with which the symbols are */
/* defined. */
METER_SCALE = METER_PER_UU / ( SCALE * SYMBOLU_PER_UU * ROUTE_GRID );
set_route_grid( ROUTE_GRID );
set_meter_scale( METER_SCALE );
/*----------------------------------------------------------------------------*/
Retour