Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | /* $Id: cmdutil.h,v 1.1.1.1 2003/11/04 23:34:56 mjames Exp $ |
2 | |||
3 | $Log: cmdutil.h,v $ |
||
4 | Revision 1.1.1.1 2003/11/04 23:34:56 mjames |
||
5 | Imported into local repositrory |
||
6 | |||
7 | Revision 1.5 2002/08/14 11:54:19 mjames |
||
8 | merge |
||
9 | |||
10 | Revision 1.5 2002/04/10 14:29:10 mjames |
||
11 | Moved setting debug level to cmdutil.c |
||
12 | |||
13 | Amended print external command to list all net names on socket pins |
||
14 | whether routed or not. |
||
15 | |||
16 | Revision 1.4 2001/10/31 22:20:01 mjames |
||
17 | Tidying up problematical comments caused by CVS |
||
18 | 'intelligent' comment guessing |
||
19 | |||
20 | Revision 1.3 2001/06/19 05:25:10 mjames |
||
21 | Created a trap_fopen to overcome trying to write to read only files. |
||
22 | If this attempted in NT the file can be opened but not written to. |
||
23 | |||
24 | Revision 1.2 2001/06/06 12:10:24 mjames |
||
25 | Move from HPUX |
||
26 | |||
27 | Revision 1.1.1.1 2000/10/19 21:58:35 mjames |
||
28 | Mike put it here |
||
29 | |||
30 | |||
31 | * Revision 1.29 2000/10/04 10:37:12 10:37:12 mjames (Mike James) |
||
32 | * COnversion to Vertical2, supports signals and components |
||
33 | * |
||
34 | * Revision 1.29 2000/10/04 10:37:12 10:37:12 mjames (Mike James) |
||
35 | * Part of Release PSAVAT01 |
||
36 | * |
||
37 | * Revision 1.28 2000/10/02 11:04:10 11:04:10 mjames (Mike James) |
||
38 | * new_vhdl |
||
39 | * |
||
40 | |||
41 | * Revision 1.27 2000/09/27 14:42:26 14:42:26 mjames (Mike James) |
||
42 | |||
43 | * Part of Release Sep_27_ST_2000 |
||
44 | |||
45 | * |
||
46 | |||
47 | * Revision 1.26 2000/09/21 10:15:56 10:15:56 mjames (Mike James) |
||
48 | |||
49 | * Part of Release Sep21Alpha |
||
50 | |||
51 | * |
||
52 | |||
53 | * Revision 1.25 2000/08/25 09:57:21 09:57:21 mjames (Mike James) |
||
54 | |||
55 | * Part of Release Aug25_alpha |
||
56 | |||
57 | * |
||
58 | |||
59 | * Revision 1.24 2000/08/16 08:57:37 08:57:37 mjames (Mike James) |
||
60 | |||
61 | * Part of Release CD01_Aug2000 |
||
62 | |||
63 | * |
||
64 | |||
65 | * Revision 1.23 2000/08/14 14:45:17 14:45:17 mjames (Mike James) |
||
66 | |||
67 | * Part of Release Aug_14_2000 |
||
68 | |||
69 | * |
||
70 | |||
71 | * Revision 1.22 2000/08/11 08:30:37 08:30:37 mjames (Mike James) |
||
72 | |||
73 | * Part of Release Aug_11_2000 |
||
74 | |||
75 | * |
||
76 | |||
77 | * Revision 1.21 2000/08/09 10:31:54 10:31:54 mjames (Mike James) |
||
78 | |||
79 | * Part of Release Aug__9_2000 |
||
80 | |||
81 | * |
||
82 | |||
83 | * Revision 1.20 2000/05/31 11:43:06 11:43:06 mjames (Mike James) |
||
84 | |||
85 | * Part of Release May_31_2000 |
||
86 | |||
87 | * |
||
88 | |||
89 | * Revision 1.19 2000/05/08 17:01:44 17:01:44 mjames (Mike James) |
||
90 | |||
91 | * Part of Release May__8_2000 |
||
92 | |||
93 | * |
||
94 | |||
95 | * Revision 1.18 2000/05/08 16:59:37 16:59:37 mjames (Mike James) |
||
96 | |||
97 | * Part of Release May__8_2000 |
||
98 | |||
99 | * |
||
100 | |||
101 | * Revision 1.17 2000/05/08 16:57:13 16:57:13 mjames (Mike James) |
||
102 | |||
103 | * Part of Release May__8_2000 |
||
104 | |||
105 | * |
||
106 | |||
107 | * Revision 1.16 2000/03/08 16:18:45 16:18:45 mjames (Mike James) |
||
108 | |||
109 | * New version including PC |
||
110 | |||
111 | * |
||
112 | |||
113 | * Revision 1.13 2000/01/20 15:58:54 15:58:54 mjames (Mike James) |
||
114 | |||
115 | * Part of Release R22 |
||
116 | |||
117 | * |
||
118 | |||
119 | * Revision 1.12 99/12/22 11:15:35 11:15:35 mjames (Mike James) |
||
120 | |||
121 | * Part of Release Dec_22_1999 |
||
122 | |||
123 | * |
||
124 | |||
125 | * Revision 1.11 98/02/11 11:25:50 11:25:50 mjames (Mike James) |
||
126 | |||
127 | * Checked in for version 6.2a |
||
128 | |||
129 | * |
||
130 | |||
131 | * Revision 1.10 97/04/23 08:44:06 08:44:06 mjames (Mike James) |
||
132 | |||
133 | * CHecked in for release rel23041997 |
||
134 | |||
135 | * |
||
136 | |||
137 | * Revision 1.9 96/07/19 14:39:02 14:39:02 mjames (Mike James) |
||
138 | |||
139 | * Update to give to PRL |
||
140 | |||
141 | * |
||
142 | |||
143 | * Revision 1.8 1996/07/12 15:52:12 mjames |
||
144 | |||
145 | * Sorted out things like Alias and Jumpers |
||
146 | |||
147 | * Work Correctly |
||
148 | |||
149 | * Print COrrectly |
||
150 | |||
151 | * |
||
152 | |||
153 | * Revision 1.7 96/03/29 14:46:47 14:46:47 mjames (Mike James) |
||
154 | |||
155 | * Added VHDL netlist writing to the capabilities of ACFREAD |
||
156 | |||
157 | * |
||
158 | |||
159 | * Revision 1.6 96/03/18 13:51:11 13:51:11 mjames (Mike James) |
||
160 | |||
161 | * Real Revision 2.1 |
||
162 | |||
163 | * |
||
164 | |||
165 | * Revision 1.4 96/02/13 09:13:42 09:13:42 mjames (Mike James) |
||
166 | |||
167 | * Updated to be version 2.0 with net joining |
||
168 | |||
169 | * |
||
170 | |||
171 | * Revision 1.3 96/02/08 15:28:43 15:28:43 mjames (Mike James) |
||
172 | |||
173 | * First release |
||
174 | |||
175 | * |
||
176 | |||
177 | * Revision 1.2 96/02/07 16:01:43 16:01:43 mjames (Mike James) |
||
178 | |||
179 | * Added correct RCS header |
||
180 | |||
181 | * |
||
182 | |||
183 | * Revision 1.1 96/02/07 15:51:27 15:51:27 mjames (Mike James) |
||
184 | |||
185 | * Initial revision |
||
186 | |||
187 | * */ |
||
188 | |||
189 | #define PATHDEPTH 10 |
||
190 | |||
191 | #define BIT0 1 |
||
192 | |||
193 | #define BIT1 2 |
||
194 | |||
195 | #define BIT2 4 |
||
196 | |||
197 | #define BIT3 8 |
||
198 | |||
199 | #define BIT4 16 |
||
200 | |||
201 | #define BIT5 32 |
||
202 | |||
203 | #define BIT6 64 |
||
204 | |||
205 | #define BIT7 128 |
||
206 | |||
207 | #define TwoTo0 (1L << 0) |
||
208 | |||
209 | #define TwoTo1 (1L << 1) |
||
210 | |||
211 | #define TwoTo2 (1L << 2) |
||
212 | |||
213 | #define TwoTo3 (1L << 3) |
||
214 | |||
215 | #define TwoTo4 (1L << 4) |
||
216 | |||
217 | #define TwoTo5 (1L << 5) |
||
218 | |||
219 | #define TwoTo6 (1L << 6) |
||
220 | |||
221 | #define TwoTo7 (1L << 7) |
||
222 | |||
223 | #define TwoTo8 (1L << 8) |
||
224 | |||
225 | #define TwoTo14 (1L << 14) |
||
226 | |||
227 | #define TwoTo16 (1L << 16) |
||
228 | |||
229 | #define TwoTo17 (1L << 17) |
||
230 | |||
231 | #define TwoTo20 (1L << 20) |
||
232 | |||
233 | #define TwoTo24 (1L << 24) |
||
234 | |||
235 | /* Pseudo functions */ |
||
236 | |||
237 | #define SetBit(a, b) a |= (1 << (b)) |
||
238 | |||
239 | #define ClearBit(a, b) a &= (~(1 << (b))) |
||
240 | |||
241 | extern FILE *trap_fopen (char *name, char *mode); |
||
242 | |||
243 | extern int ConvertToDecimal (char *input, long *Output); |
||
244 | |||
245 | extern int ReadInt ( |
||
246 | struct CommandStruct *CmdPtr, |
||
247 | |||
248 | int bits, |
||
249 | long *Output); |
||
250 | |||
251 | extern int ReadWord ( |
||
252 | struct CommandStruct *CmdPtr, |
||
253 | |||
254 | char **Output); |
||
255 | |||
256 | extern void set_debug_level (int lev); |