Subversion Repositories Vertical

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 11
Line 1... Line 1...
1
/*
1
/*
2
 * $Header: c:\\cygwin\\cvsroot/Vert03/vertlib/printout.h,v 1.1.1.1 2003/11/04 23:34:57 mjames
2
 * $Header: c:\\cygwin\\cvsroot/Vert03/vertlib/printout.h,v 1.1.1.1 2003/11/04 23:34:57 mjames Exp $
3
 Exp $
-
 
4
 *
3
 *
5
 * $Log: printout.h,v $
4
 * $Log: printout.h,v $
6
 * Revision 1.1.1.1  2003/11/04 23:34:57  mjames
5
 * Revision 1.1.1.1  2003/11/04 23:34:57  mjames
7
 * Imported into local repositrory
6
 * Imported into local repositrory
8
 *
7
 *
Line 50... Line 49...
50
 * Mike put it here
49
 * Mike put it here
51
 *
50
 *
52
 *
51
 *
53
 * Revision 1.42  2000/10/04  10:37:12  10:37:12  mjames (Mike James)
52
 * Revision 1.42  2000/10/04  10:37:12  10:37:12  mjames (Mike James)
54
 * Modified for Vertical2 : support COMPONENTS and SIGNALS
53
 * Modified for Vertical2 : support COMPONENTS and SIGNALS
55
 *
54
 *
56
 * Revision 1.42  2000/10/04  10:37:12  10:37:12  mjames (Mike James)
55
 * Revision 1.42  2000/10/04  10:37:12  10:37:12  mjames (Mike James)
57
 * Part of Release PSAVAT01
56
 * Part of Release PSAVAT01
58
 *
57
 *
59
 * Revision 1.41  2000/10/02  11:04:18  11:04:18  mjames (Mike James)
58
 * Revision 1.41  2000/10/02  11:04:18  11:04:18  mjames (Mike James)
60
 * new_vhdl
59
 * new_vhdl
61
 *
60
 *
62
 * Revision 1.40  2000/09/27  14:42:24  14:42:24  mjames (Mike James)
61
 * Revision 1.40  2000/09/27  14:42:24  14:42:24  mjames (Mike James)
63
 * Part of Release Sep_27_ST_2000
62
 * Part of Release Sep_27_ST_2000
64
 *
63
 *
65
 * Revision 1.39  2000/09/21  10:15:55  10:15:55  mjames (Mike James)
64
 * Revision 1.39  2000/09/21  10:15:55  10:15:55  mjames (Mike James)
66
 * Part of Release Sep21Alpha
65
 * Part of Release Sep21Alpha
67
 *
66
 *
68
 * Revision 1.38  2000/09/21  09:47:29  09:47:29  mjames (Mike James)
67
 * Revision 1.38  2000/09/21  09:47:29  09:47:29  mjames (Mike James)
69
 * Added code to deal with pin equivalents
68
 * Added code to deal with pin equivalents
70
 *
69
 *
71
 * Revision 1.37  2000/08/25  09:57:20  09:57:20  mjames (Mike James)
70
 * Revision 1.37  2000/08/25  09:57:20  09:57:20  mjames (Mike James)
72
 * Part of Release Aug25_alpha
71
 * Part of Release Aug25_alpha
73
 *
72
 *
74
 * Revision 1.36  2000/08/16  08:57:36  08:57:36  mjames (Mike James)
73
 * Revision 1.36  2000/08/16  08:57:36  08:57:36  mjames (Mike James)
75
 * Part of Release CD01_Aug2000
74
 * Part of Release CD01_Aug2000
76
 *
75
 *
77
 * Revision 1.35  2000/08/14  14:45:16  14:45:16  mjames (Mike James)
76
 * Revision 1.35  2000/08/14  14:45:16  14:45:16  mjames (Mike James)
78
 * Part of Release Aug_14_2000
77
 * Part of Release Aug_14_2000
79
 *
78
 *
80
 * Revision 1.34  2000/08/11  08:30:37  08:30:37  mjames (Mike James)
79
 * Revision 1.34  2000/08/11  08:30:37  08:30:37  mjames (Mike James)
81
 * Part of Release Aug_11_2000
80
 * Part of Release Aug_11_2000
82
 *
81
 *
83
 * Revision 1.33  2000/08/09  10:31:53  10:31:53  mjames (Mike James)
82
 * Revision 1.33  2000/08/09  10:31:53  10:31:53  mjames (Mike James)
84
 * Part of Release Aug__9_2000
83
 * Part of Release Aug__9_2000
85
 *
84
 *
86
 * Revision 1.32  2000/05/31  11:43:05  11:43:05  mjames (Mike James)
85
 * Revision 1.32  2000/05/31  11:43:05  11:43:05  mjames (Mike James)
87
 * Part of Release May_31_2000
86
 * Part of Release May_31_2000
88
 *
87
 *
89
 * Revision 1.31  2000/05/08  17:01:43  17:01:43  mjames (Mike James)
88
 * Revision 1.31  2000/05/08  17:01:43  17:01:43  mjames (Mike James)
90
 * Part of Release May__8_2000
89
 * Part of Release May__8_2000
91
 *
90
 *
92
 * Revision 1.30  2000/05/08  16:59:36  16:59:36  mjames (Mike James)
91
 * Revision 1.30  2000/05/08  16:59:36  16:59:36  mjames (Mike James)
93
 * Part of Release May__8_2000
92
 * Part of Release May__8_2000
94
 *
93
 *
95
 * Revision 1.29  2000/05/08  16:57:13  16:57:13  mjames (Mike James)
94
 * Revision 1.29  2000/05/08  16:57:13  16:57:13  mjames (Mike James)
96
 * Part of Release May__8_2000
95
 * Part of Release May__8_2000
97
 *
96
 *
98
 * Revision 1.28  2000/03/08  16:19:25  16:19:25  mjames (Mike James)
97
 * Revision 1.28  2000/03/08  16:19:25  16:19:25  mjames (Mike James)
99
 * New version including PC
98
 * New version including PC
100
 *
99
 *
101
 * Revision 1.25  2000/01/20  15:58:53  15:58:53  mjames (Mike James)
100
 * Revision 1.25  2000/01/20  15:58:53  15:58:53  mjames (Mike James)
102
 * Part of Release R22
101
 * Part of Release R22
103
 *
102
 *
104
 * Revision 1.24  99/12/22  11:15:34  11:15:34  mjames (Mike James)
103
 * Revision 1.24  99/12/22  11:15:34  11:15:34  mjames (Mike James)
105
 * Part of Release Dec_22_1999
104
 * Part of Release Dec_22_1999
106
 *
105
 *
107
 * Revision 1.23  99/11/23  13:53:46  13:53:46  mjames (Mike James)
106
 * Revision 1.23  99/11/23  13:53:46  13:53:46  mjames (Mike James)
108
 * Added Verliog support and removed VHDL functions to a separate file
107
 * Added Verliog support and removed VHDL functions to a separate file
109
 *
108
 *
110
 * Revision 1.21  98/07/14  13:25:55  13:25:55  mjames (Mike James)
109
 * Revision 1.21  98/07/14  13:25:55  13:25:55  mjames (Mike James)
111
 * Altered device printout to meet new requirements
110
 * Altered device printout to meet new requirements
112
 *
111
 *
113
 * Revision 1.20  98/06/15  14:19:17  14:19:17  mjames (Mike James)
112
 * Revision 1.20  98/06/15  14:19:17  14:19:17  mjames (Mike James)
114
 * Added template printout functionality
113
 * Added template printout functionality
115
 *
114
 *
116
 * Revision 1.19  98/03/16  11:38:21  11:38:21  mjames (Mike James)
115
 * Revision 1.19  98/03/16  11:38:21  11:38:21  mjames (Mike James)
117
 * Added generics to printout listings
116
 * Added generics to printout listings
118
 *
117
 *
119
 * Revision 1.18  98/02/11  11:27:04  11:27:04  mjames (Mike James)
118
 * Revision 1.18  98/02/11  11:27:04  11:27:04  mjames (Mike James)
120
 * Checked in for version 6.2a
119
 * Checked in for version 6.2a
121
 *
120
 *
122
 * Revision 1.17  98/01/13  11:33:52  11:33:52  mjames (Mike James)
121
 * Revision 1.17  98/01/13  11:33:52  11:33:52  mjames (Mike James)
123
 * Added the bility to use a VHDL template file
122
 * Added the bility to use a VHDL template file
124
 * containing $ENT$ and $ARCH$ in the position where one
123
 * containing $ENT$ and $ARCH$ in the position where one
125
 * wants the entity and architecture to be given.
124
 * wants the entity and architecture to be given.
126
 *
125
 *
127
 * Revision 1.16  97/04/23  08:44:43  08:44:43  mjames (Mike James)
126
 * Revision 1.16  97/04/23  08:44:43  08:44:43  mjames (Mike James)
128
 * CHecked in for release rel23041997
127
 * CHecked in for release rel23041997
129
 *
128
 *
130
 * Revision 1.15  96/12/13  08:44:16  08:44:16  mjames (Mike James)
129
 * Revision 1.15  96/12/13  08:44:16  08:44:16  mjames (Mike James)
131
 * Update to v5.1, added Write ID , exact routing
130
 * Update to v5.1, added Write ID , exact routing
132
 *
131
 *
133
 * Revision 1.14  96/07/19  14:38:58  14:38:58  mjames (Mike James)
132
 * Revision 1.14  96/07/19  14:38:58  14:38:58  mjames (Mike James)
134
 * Update to give to PRL
133
 * Update to give to PRL
135
 *
134
 *
136
 * Revision 1.13  1996/07/12  15:52:12  mjames
135
 * Revision 1.13  1996/07/12  15:52:12  mjames
137
 * Sorted out things like Alias and Jumpers
136
 * Sorted out things like Alias and Jumpers
Line 172... Line 171...
172
 * Added RCS ident message
171
 * Added RCS ident message
173
 *
172
 *
174
 * Revision 1.1  96/01/10  13:15:16  13:15:16  mjames (Mike James)
173
 * Revision 1.1  96/01/10  13:15:16  13:15:16  mjames (Mike James)
175
 * Initial revision
174
 * Initial revision
176
 *  */
175
 *  */
177
 
-
 
178
#pragma once
-
 
179
#include <stdio.h>
-
 
180
 
-
 
181
 
-
 
182
/* control flags controlling printout options */
176
/* control flags controlling printout options */
183
#define PRINT_ALL 1
177
#define PRINT_ALL           1
184
#define PRINT_TYPE 2
178
#define PRINT_TYPE          2 
185
#define PRINT_USABLE 4        /* if net is routable print its identifier */
179
#define PRINT_USABLE        4 /* if net is routable print its identifier */
186
#define PRINT_EXPAND_BUS 8    /* explode VHDL buses */
180
#define PRINT_EXPAND_BUS    8 /* explode VHDL buses */
187
#define PRINT_GENERIC 16      /* list generic values */
181
#define PRINT_GENERIC      16 /* list generic values */
188
#define PRINT_GROUP 32        /* print pin groups  */
182
#define PRINT_GROUP        32 /* print pin groups  */
189
#define PRINT_ROUTE_FLAGS 64  /* printout routing group flags  */
183
#define PRINT_ROUTE_FLAGS  64 /* printout routing group flags  */
190
#define PRINT_AS_UNROUTED 128 /* printout pins as unrouted (Write fit)   */
184
#define PRINT_AS_UNROUTED 128 /* printout pins as unrouted (Write fit)   */
191
#define PRINT_EQUIVALENT_PINS                                                                 \
-
 
192
        256                  /* Print pins that are equivalent : used in                      \
185
#define PRINT_EQUIVALENT_PINS 256 /* Print pins that are equivalent : used in
193
                               jumpering and pass through   */
186
                                    jumpering and pass through   */
194
#define NO_PRINT_PINS 512    /* print no pin information whatsoever */
187
#define NO_PRINT_PINS    512  /* print no pin information whatsoever */
195
#define PRINT_NET_NAMES 1024 /* print net name assignment on pins even if not routed here */
188
#define PRINT_NET_NAMES 1024  /* print net name assignment on pins even if not routed here */
196
 
189
 
197
#define FLATTEN_JUMPERS 0
190
#define FLATTEN_JUMPERS  0
198
#define PRESERVE_JUMPERS 1
191
#define PRESERVE_JUMPERS 1
199
 
192
 
200
extern char *check_null_str (char *s);
193
extern char * check_null_str(char * s );
201
extern void print_header (FILE *f, char *tool);
194
extern void print_header(FILE * f,char * tool);
202
 
195
 
203
extern void print_VLOG_header (FILE *f, char *tool);
196
extern void print_VLOG_header(FILE * f,char * tool);
204
 
197
 
205
extern void list_database (FILE *f, int flatten_jumpers);
198
extern void list_database(FILE * f,int flatten_jumpers);
206
 
199
 
207
extern void list_components (FILE *f);
200
extern void list_components(FILE * f);
208
 
201
 
209
extern void list_devices (FILE *f, int listflags);
202
extern void list_devices(FILE * f,int listflags);
210
 
203
 
211
extern void list_extern_devices (FILE *f);
204
extern void list_extern_devices(FILE * f);
212
 
205
 
213
extern void list_extern_sockets (FILE *f);
206
extern void list_extern_sockets(FILE * f);
214
 
207
 
215
extern void list_joined (FILE *f);
208
extern void list_joined(FILE * f);
216
 
209
 
217
extern void print_device (FILE *f, socket_t *dev, int options);
210
extern void print_device(FILE * f,socket_t * dev,int options);
218
 
211
 
219
extern void print_ACF_entity (FILE *f, char *entityname);
212
extern void print_ACF_entity(FILE * f,char * entityname);
220
 
213
 
221
extern void print_pin_renames (FILE *f);
214
extern void print_pin_renames(FILE * f);
222
 
215
 
223
extern void produce_frb (FILE *f);
216
extern void produce_frb(FILE * f);
224
 
217
 
225
extern void list_jumper (FILE *f);
218
extern void list_jumper(FILE * f);
226
 
219
 
227
extern void list_alias (FILE *f);
220
extern void list_alias(FILE * f);
228
 
221
 
229
extern void list_nets (FILE *f, net_t *cnet, int flatten_jumpers);
222
extern void list_nets(FILE *f,net_t * cnet , int flatten_jumpers);
230
 
223
 
231
extern void list_net_structure (
-
 
232
    FILE *f, net_t *cnet, net_t *root_net, int alias_depth, int flatten_jumpers);
224
extern void  list_net_structure(FILE * f, net_t * cnet,net_t * root_net,int alias_depth,int flatten_jumpers);