Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / api / stm / stm_API.i
1 TmgCell *stm_AddCell (char *cellname);
2 TmgModel *stm_ModCreateTable (char *name, int nx, int ny, char xtype, char ytype);
3 void stm_ModTblSetXrangeVal (TmgModel *model, int xpos, double value);
4 void stm_ModTblSetYrangeVal (TmgModel *model, int ypos, double value);
5 void stm_ModTblSetXrange (TmgModel *model, List *xrange);
6 void stm_ModTblSetYrange (TmgModel *model, List *yrange);
7 void stm_ModTblSet2Dval (TmgModel *model, int xpos, int ypos, double value);
8 char *stm_CellAddModel (TmgCell *cell, TmgModel *model, int noshare);
9 void stm_DriveCell (char *cellname);
10 extern List *stm_ModTblAddRangeVal (List *range, double value);
11 extern List *stm_ModTblCreateRange (char *range);
12 extern void stm_FreeTblRange (List *range);
13 void SET_DELAY(double value);
14 void SET_SLOPE(double value);
15 double GET_OUTPUT_CAPA();
16 double GET_INPUT_SLOPE();
17 double GET_COMMAND_INPUT_SLOPE();
18 double GET_DELAY();
19 double GET_SLOPE();
20 void CALL_SIMULATION();
21 void CALL_SIMULATION_ENV();
22 void CALL_CTK_ENV();
23 extern void stm_createCache();
24 extern double stm_getSlope (double inslope, double outload);
25 extern double stm_getDelay (double inslope, double outload);
26 extern void stm_storeSlope (double inslope, double outload, double slope);
27 extern void stm_storeDelay (double inslope, double outload, double delay);
28 extern int stm_delayThresholdOK(double inslope, double outload, double threshold);
29 extern int stm_slopeThresholdOK(double inslope, double outload, double threshold);
30 extern void stm_sup_storeDelay(double delay);
31 extern void stm_sup_storeSlope(double slope);
32 extern double stm_sup_getDelay();
33 extern double stm_sup_getSlope();
34 void stm_printVariation(FILE *fp, double real, double found);
35 extern void SET_DELAY_AND_SLOPE(char *in, char *out, char *type, double delay, double slope);
36 extern void stm_API_ActionTerminate();
37 extern double stm_arround(double a, double precision);