Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / tas / stb / stb_error.h
1 /****************************************************************************/
2 /* */
3 /* Chaine de CAO & VLSI AVERTEC */
4 /* */
5 /* Produit : STB Version 1.00 */
6 /* Fichier : stb_error.h */
7 /* */
8 /* (c) copyright 2000 AVERTEC */
9 /* Tous droits reserves */
10 /* */
11 /* Auteur(s) : Karim DIOURY */
12 /* Anthony LESTER */
13 /* */
14 /****************************************************************************/
15
16 #define STB_FATAL 0
17 #define STB_NONFATAL 1
18 #define STB_WARNING 2
19
20 #define ERR_MULTIPLE_CLOCKS 100
21 #define ERR_NO_CLOCK 101
22 #define ERR_NO_INDEX 102
23 #define ERR_MULTIPLE_COMMANDS 103
24 #define ERR_BAD_CLOCKS 104
25 #define ERR_NO_CLOCK_CONNECTOR 105
26 #define ERR_NO_CONNECTOR 106
27 #define ERR_NO_COMMAND 107
28 #define ERR_MONOPHASE 108
29 #define ERR_MULTIPLE_PHASES 109
30 #define ERR_BAD_MEMORY 110
31 #define ERR_MULTIPLE_DOMAIN 111
32 #define ERR_MULTIPLE_EQUIVALENCE 112
33 #define ERR_DOMAIN_NOT_EQUIVALENT 113
34 #define ERR_MULTIPLE_CKPATH 114
35 #define ERR_CROSSING_DOMAIN 115
36 #define ERR_UNDEFINED_PERIOD 116
37 #define ERR_INCOHERENT_PERIOD 117
38 #define ERR_MULTIPLE_CONSTRAINT 118
39 #define ERR_ONLY_SETUP 119
40 #define ERR_ONLY_HOLD 120
41 #define ERR_NO_RCLOCK 121
42 #define ERR_NO_FCLOCK 122
43 #define ERR_NO_DATA 123
44 #define ERR_ENV 124
45 #define ERR_NOT_FOUND_NODE 125
46 #define ERR_NOT_FOUND_MEMORY 126
47
48 #define ERR_CANNOT_OPEN 1000
49 #define ERR_CANNOT_CLOSE 1002
50 #define ERR_NO_FIGURE 1003
51 #define ERR_CANNOT_RUN 1008
52
53 #define ERR_SYNTAX 1001
54 #define ERR_UNKNOWN_PHASE 1004
55 #define ERR_UNKNOWN_CLOCK 1005
56 #define ERR_UNMATCHED_INTERVALS 1006
57 #define ERR_UNKNOWN_SUFFIX 1007
58
59 #define WAR_ALWAYS_STABLE 200
60
61 extern FILE *STB_STDERR ;
62
63 void stb_error __P((int errorindex, char *message, int number, int type));