Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / tas / stm / stm_mod_eval.h
1 /****************************************************************************/
2 /* */
3 /* Chaine de CAO & VLSI AVERTEC */
4 /* */
5 /* Produit : STM Version 1.00 */
6 /* Fichier : stm_mod_eval.c */
7 /* */
8 /* (c) copyright 2000 AVERTEC */
9 /* Tous droits reserves */
10 /* */
11 /* Auteur(s) : Gilles Augustins */
12 /* */
13 /****************************************************************************/
14
15 #ifndef STM_MOD_EVAL_H
16 #define STM_MOD_EVAL_H
17
18 /****************************************************************************/
19 /* includes */
20 /****************************************************************************/
21
22 #include STM_H
23
24 extern float stm_mod_constraint (timing_model *tmodel, float inputslew, float clockslew);
25 extern float stm_mod_slew (timing_model *tmodel, float load, float slew, stm_pwl *pwl, stm_pwl **ptpwl, char *signame);
26 extern float stm_mod_delay (timing_model *tmodel, float load, float slew, stm_pwl *pwl, char *signame);
27 extern float stm_mod_slew_pi (timing_model* tmodel, float c1, float c2, float r, float slew, stm_pwl *pwl, stm_pwl **ptpwl, char *signame);
28 extern float stm_mod_delay_pi (timing_model *tmodel, float c1, float c2, float r, float slew, stm_pwl *pwl, char *signame);
29 extern float stm_mod_loadparam (timing_model *tmodel, float load, float slew);
30 extern float stm_mod_clockslewparam (timing_model *tmodel, float clockslew, float slew);
31 extern float stm_mod_dataslewparam (timing_model *tmodel, float clockslew, float slew);
32 extern float stm_mod_slewparam (timing_model *tmodel, float load, float slew);
33 extern float stm_mod_imax (timing_model *model);
34 extern float stm_mod_vt (timing_model *model);
35 extern float stm_mod_default_vt ();
36 extern float stm_mod_vf (timing_model *model);
37 extern float stm_mod_vf_input (timing_model *model);
38 extern float stm_mod_default_vfd ();
39 extern float stm_mod_default_vfu ();
40 extern float stm_mod_vth (timing_model *model);
41 extern float stm_mod_default_vth ();
42 extern float stm_mod_vdd (timing_model *model);
43 extern float stm_mod_vdd_input (timing_model *model);
44 extern float stm_mod_default_vdd ();
45 extern float stm_mod_rlin (timing_model *model);
46 extern void stm_mod_driver (timing_model *model, float *r, float *v);
47 extern float stm_mod_default_rlin (void);
48 extern float stm_mod_vsat (timing_model *model);
49 extern float stm_mod_default_vsat (void);
50 extern void stm_mod_timing( timing_model *dmodel, timing_model *fmodel, float fin, stm_pwl *pwlin, stm_driver *driver, float load, float *delay, float *fout, stm_pwl **pwlout, char *signame, char *inputname, char dirin, char dirout );
51 extern void stm_mod_timing_pi( timing_model *dmodel, timing_model *fmodel, float fin, stm_pwl *pwlin, stm_driver *driver, float c1, float c2, float r, float *delay, float *fout, stm_pwl **pwlout, char *signame, char *inputname, char dirin, char dirout );
52 #endif