Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 11 | mjames | 1 | /* $Id: cmdutil.h,v 1.1.1.1 2003/11/04 23:34:56 mjames Exp $ |
| 2 | mjames | 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 |
||
| 11 | mjames | 33 | * |
| 2 | mjames | 34 | * Revision 1.29 2000/10/04 10:37:12 10:37:12 mjames (Mike James) |
| 35 | * Part of Release PSAVAT01 |
||
| 11 | mjames | 36 | * |
| 2 | mjames | 37 | * Revision 1.28 2000/10/02 11:04:10 11:04:10 mjames (Mike James) |
| 38 | * new_vhdl |
||
| 11 | mjames | 39 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 45 | * |
| 2 | mjames | 46 | |
| 47 | * Revision 1.26 2000/09/21 10:15:56 10:15:56 mjames (Mike James) |
||
| 48 | |||
| 49 | * Part of Release Sep21Alpha |
||
| 50 | |||
| 11 | mjames | 51 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 57 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 63 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 69 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 75 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 81 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 87 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 93 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 99 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 105 | * |
| 2 | mjames | 106 | |
| 107 | * Revision 1.16 2000/03/08 16:18:45 16:18:45 mjames (Mike James) |
||
| 108 | |||
| 109 | * New version including PC |
||
| 110 | |||
| 11 | mjames | 111 | * |
| 2 | mjames | 112 | |
| 113 | * Revision 1.13 2000/01/20 15:58:54 15:58:54 mjames (Mike James) |
||
| 114 | |||
| 115 | * Part of Release R22 |
||
| 116 | |||
| 11 | mjames | 117 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 123 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 129 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 135 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 141 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 157 | * |
| 2 | mjames | 158 | |
| 159 | * Revision 1.6 96/03/18 13:51:11 13:51:11 mjames (Mike James) |
||
| 160 | |||
| 161 | * Real Revision 2.1 |
||
| 162 | |||
| 11 | mjames | 163 | * |
| 2 | mjames | 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 | |||
| 11 | mjames | 169 | * |
| 2 | mjames | 170 | |
| 171 | * Revision 1.3 96/02/08 15:28:43 15:28:43 mjames (Mike James) |
||
| 172 | |||
| 173 | * First release |
||
| 174 | |||
| 11 | mjames | 175 | * |
| 2 | mjames | 176 | |
| 177 | * Revision 1.2 96/02/07 16:01:43 16:01:43 mjames (Mike James) |
||
| 178 | |||
| 179 | * Added correct RCS header |
||
| 180 | |||
| 11 | mjames | 181 | * |
| 2 | mjames | 182 | |
| 183 | * Revision 1.1 96/02/07 15:51:27 15:51:27 mjames (Mike James) |
||
| 184 | |||
| 185 | * Initial revision |
||
| 186 | |||
| 187 | * */ |
||
| 188 | |||
| 11 | mjames | 189 | #define PATHDEPTH 10 |
| 2 | mjames | 190 | |
| 191 | |||
| 192 | |||
| 193 | |||
| 194 | |||
| 11 | mjames | 195 | #define BIT0 1 |
| 2 | mjames | 196 | |
| 11 | mjames | 197 | #define BIT1 2 |
| 2 | mjames | 198 | |
| 11 | mjames | 199 | #define BIT2 4 |
| 2 | mjames | 200 | |
| 11 | mjames | 201 | #define BIT3 8 |
| 2 | mjames | 202 | |
| 11 | mjames | 203 | #define BIT4 16 |
| 2 | mjames | 204 | |
| 11 | mjames | 205 | #define BIT5 32 |
| 2 | mjames | 206 | |
| 11 | mjames | 207 | #define BIT6 64 |
| 2 | mjames | 208 | |
| 11 | mjames | 209 | #define BIT7 128 |
| 2 | mjames | 210 | |
| 211 | |||
| 212 | |||
| 11 | mjames | 213 | #define TwoTo0 (1L<<0) |
| 2 | mjames | 214 | |
| 11 | mjames | 215 | #define TwoTo1 (1L<<1) |
| 2 | mjames | 216 | |
| 11 | mjames | 217 | #define TwoTo2 (1L<<2) |
| 2 | mjames | 218 | |
| 11 | mjames | 219 | #define TwoTo3 (1L<<3) |
| 2 | mjames | 220 | |
| 11 | mjames | 221 | #define TwoTo4 (1L<<4) |
| 2 | mjames | 222 | |
| 11 | mjames | 223 | #define TwoTo5 (1L<<5) |
| 2 | mjames | 224 | |
| 11 | mjames | 225 | #define TwoTo6 (1L<<6) |
| 2 | mjames | 226 | |
| 11 | mjames | 227 | #define TwoTo7 (1L<<7) |
| 2 | mjames | 228 | |
| 11 | mjames | 229 | #define TwoTo8 (1L<<8) |
| 230 | |||
| 231 | #define TwoTo14 (1L<<14) |
||
| 232 | |||
| 233 | #define TwoTo16 (1L<<16) |
||
| 234 | |||
| 235 | #define TwoTo17 (1L<<17) |
||
| 236 | |||
| 237 | #define TwoTo20 (1L<<20) |
||
| 238 | |||
| 239 | #define TwoTo24 (1L<<24) |
||
| 240 | |||
| 241 | |||
| 242 | |||
| 2 | mjames | 243 | /* Pseudo functions */ |
| 244 | |||
| 11 | mjames | 245 | #define SetBit(a,b) a|=(1<<(b)) |
| 2 | mjames | 246 | |
| 11 | mjames | 247 | #define ClearBit(a,b) a&=(~(1<<(b))) |
| 2 | mjames | 248 | |
| 249 | |||
| 250 | |||
| 251 | |||
| 252 | |||
| 11 | mjames | 253 | extern FILE * trap_fopen(char * name, char * mode); |
| 2 | mjames | 254 | |
| 255 | |||
| 11 | mjames | 256 | extern int ConvertToDecimal (char * input, long * Output); |
| 257 | |||
| 258 | extern int ReadInt (struct CommandStruct * CmdPtr, |
||
| 259 | |||
| 260 | int bits, long * Output); |
||
| 261 | |||
| 262 | extern int ReadWord (struct CommandStruct * CmdPtr, |
||
| 263 | |||
| 264 | char * * Output); |
||
| 265 | |||
| 266 | extern void set_debug_level(int lev); |
||
| 267 |