Subversion Repositories Vertical

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11 mjames 1
/*
2
 * $Id: template.h,v 1.1.1.1 2003/11/04 23:34:57 mjames Exp $  
2 mjames 3
 *
4
 * $Log: template.h,v $
5
 * Revision 1.1.1.1  2003/11/04 23:34:57  mjames
6
 * Imported into local repositrory
7
 *
8
 * Revision 1.6  2001/12/24 21:16:00  mjames
9
 * Correction to declare all exported functions with correct names
10
 *
11
 * Revision 1.5  2001/10/31 22:20:18  mjames
12
 * Tidying up problematical comments caused by CVS
13
 * 'intelligent' comment guessing
14
 *
15
 * Revision 1.4  2001/10/22 10:45:45  mjames
16
 * Added template options to create and /or disconnect pins on
17
 * sockets according to flags passed in to the template core routine
18
 *
19
 * Revision 1.3  2001/06/22 11:08:07  mjames
20
 * Added a function to extract templates (common component types) from
21
 * ACF style netlists. This then permits Verilog printout to avoid duplication
22
 * of declaration ( problem before )
23
 *
24
 * Revision 1.2  2001/06/06 12:10:16  mjames
25
 * Move from HPUX
26
 *
27
 * Revision 1.1.1.1  2000/10/19 21:58:40  mjames
28
 * Mike put it here
29
 *
30
 *
31
 * Revision 1.21  2000/10/04  10:37:14  10:37:14  mjames (Mike James)
32
 * Modified for Vertical2 : support COMPONENTS and SIGNALS
11 mjames 33
 *
2 mjames 34
 * Revision 1.21  2000/10/04  10:37:14  10:37:14  mjames (Mike James)
35
 * Part of Release PSAVAT01
11 mjames 36
 *
2 mjames 37
 * Revision 1.20  2000/10/02  11:04:22  11:04:22  mjames (Mike James)
38
 * new_vhdl
11 mjames 39
 *
2 mjames 40
 * Revision 1.19  2000/09/27  14:42:29  14:42:29  mjames (Mike James)
41
 * Part of Release Sep_27_ST_2000
11 mjames 42
 *
2 mjames 43
 * Revision 1.18  2000/09/21  10:15:59  10:15:59  mjames (Mike James)
44
 * Part of Release Sep21Alpha
11 mjames 45
 *
2 mjames 46
 * Revision 1.17  2000/08/25  09:57:23  09:57:23  mjames (Mike James)
47
 * Part of Release Aug25_alpha
11 mjames 48
 *
2 mjames 49
 * Revision 1.16  2000/08/16  08:57:39  08:57:39  mjames (Mike James)
50
 * Part of Release CD01_Aug2000
11 mjames 51
 *
2 mjames 52
 * Revision 1.15  2000/08/14  14:45:18  14:45:18  mjames (Mike James)
53
 * Part of Release Aug_14_2000
11 mjames 54
 *
2 mjames 55
 * Revision 1.14  2000/08/11  08:30:39  08:30:39  mjames (Mike James)
56
 * Part of Release Aug_11_2000
11 mjames 57
 *
2 mjames 58
 * Revision 1.13  2000/08/09  10:31:56  10:31:56  mjames (Mike James)
59
 * Part of Release Aug__9_2000
11 mjames 60
 *
2 mjames 61
 * Revision 1.12  2000/05/31  11:43:09  11:43:09  mjames (Mike James)
62
 * Part of Release May_31_2000
11 mjames 63
 *
2 mjames 64
 * Revision 1.11  2000/05/08  17:01:46  17:01:46  mjames (Mike James)
65
 * Part of Release May__8_2000
11 mjames 66
 *
2 mjames 67
 * Revision 1.10  2000/05/08  16:59:39  16:59:39  mjames (Mike James)
68
 * Part of Release May__8_2000
11 mjames 69
 *
2 mjames 70
 * Revision 1.9  2000/05/08  16:57:15  16:57:15  mjames (Mike James)
71
 * Part of Release May__8_2000
11 mjames 72
 *
2 mjames 73
 * Revision 1.8  2000/03/08  16:19:35  16:19:35  mjames (Mike James)
74
 * New version including PC
11 mjames 75
 *
2 mjames 76
 * Revision 1.5  2000/01/20  15:58:57  15:58:57  mjames (Mike James)
77
 * Part of Release R22
11 mjames 78
 *
2 mjames 79
 * Revision 1.4  99/12/22  11:15:38  11:15:38  mjames (Mike James)
80
 * Part of Release Dec_22_1999
11 mjames 81
 *
2 mjames 82
 * Revision 1.3  98/06/15  14:21:02  14:21:02  mjames (Mike James)
83
 * Made tempaltes chip specific.
11 mjames 84
 *
2 mjames 85
 * Revision 1.2  98/02/11  11:27:31  11:27:31  mjames (Mike James)
86
 * Checked in for version 6.2a
11 mjames 87
 *
2 mjames 88
 * Revision 1.1  97/04/23  08:44:49  08:44:49  mjames (Mike James)
89
 * Initial revision
90
 *  */
91
/* something tidy to insert in the call if no special actions needed */
11 mjames 92
#define TEMPLATE_NO_OP               0
2 mjames 93
/* if the socket has pins that are not on the template, disconnect them */
11 mjames 94
#define TEMPLATE_DISCONNECT_PINS     1
2 mjames 95
/* if the socket lacks pins on the template then create them */
96
#define TEMPLATE_CREATE_MISSING_PINS 2
97
 
98
 
11 mjames 99
extern void template_ensure(char * chip_id_template, int options);
2 mjames 100
 
11 mjames 101
extern void template_list(void);
2 mjames 102
 
11 mjames 103
extern void template_list_pins(FILE * f);
104
 
105
void extract_templates(void);