1 /****************************************************************************/
3 /* Chaine de CAO & VLSI AVERTEC */
5 /* Produit : STM Version 1.00 */
6 /* Fichier : stm_curve.h */
8 /* (c) copyright 2000 AVERTEC */
9 /* Tous droits reserves */
11 /* Auteur(s) : Gregoire Avot, Olivier Bichaut */
13 /****************************************************************************/
18 #define STM_CURVE_DUAL 'd'
19 #define STM_CURVE_IV 'i'
22 stm_dual_param_timing PARAMTIMING
;
41 curveparammodels MODEL
;
44 /****************************************************************************/
46 /****************************************************************************/
50 stm_curve
* stm_curve_alloc( timing_model
*model
, float t0
, float tmax
, int nbpoints
);
51 void stm_alloc_static( stm_curve
*curve
, int nbe
, int nbs
);
52 extern void stm_curve_free( stm_curve
*curve
);
54 extern stm_curve
* stm_curve_c( timing_model
*model
, float fin
, float cout
, float t0
, float tmax
);
55 extern stm_curve
* stm_curve_pi( timing_model
*model
, float fin
, float c1out
, float c2out
, float rout
, float t0
, float tmax
);
56 void stm_curve_add_time_data( stm_curve
*curve
, float t
, float ve
, float vs
, float i
, float iconf
);
58 extern void stm_model_plot( char *filename
, timing_model
*model
, float fin
, stm_pwl
*pwlin
, stm_driver
*driver
, float r
, float c1
, float c2
, char evtin
, char evtout
, float delaytas
, float slewtas
, char *config
);