Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / tas / stm / stm_mod.h
1 /****************************************************************************/
2 /* */
3 /* Chaine de CAO & VLSI AVERTEC */
4 /* */
5 /* Produit : STM Version 1.00 */
6 /* Fichier : stm_mod.h */
7 /* */
8 /* (c) copyright 2000 AVERTEC */
9 /* Tous droits reserves */
10 /* */
11 /* Auteur(s) : Gilles Augustins */
12 /* */
13 /****************************************************************************/
14
15 #ifndef STM_MOD_H
16 #define STM_MOD_H
17
18 #include STM_H
19
20 /* constructors */
21 extern timing_model *stm_mod_create (char *modelname);
22 extern timing_model *stm_mod_create_fcst (char *name, float value, long modeltype);
23 extern timing_model *stm_mod_create_ftable (char *name, int nx, int ny, char xtype, char ytype, long modeltype);
24 extern timing_model *stm_mod_create_table (char *name, int nx, int ny, char xtype, char ytype);
25 extern timing_model *stm_mod_create_fequac (char *name, float sdt, float sck, float fdt, float fck, float t, long modeltype);
26 extern timing_model *stm_mod_create_fequa (char *name, float r, float s, float c, float f, float t, long modeltype);
27 extern timing_model *stm_mod_duplicate (char *dupname, timing_model *model);
28 extern void stm_mod_update (timing_model *model, float vth, float vdd, float vt, float vf);
29 extern void stm_mod_update_transition (timing_model *model, char transition);
30
31 /* destructors */
32 extern void stm_mod_destroy (timing_model *model);
33 // only destroy the model ..anto..
34 extern void stm_mod_destroy_model(timing_model *model);
35
36 // zinaps:
37 void stm_mod_update_dynamic_info (timing_model *model, char *newinsname);
38
39
40 extern long stm_get_last_index(char *cellname);
41
42 #endif