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/print_vhdl.h,v 1.1.1.1 2003/11/04 23:34:57
2
 * $Header: c:\\cygwin\\cvsroot/Vert03/vertlib/print_vhdl.h,v 1.1.1.1 2003/11/04 23:34:57 mjames Exp $
3
 * mjames Exp $
-
 
4
 *
3
 *
5
 * $Log: print_vhdl.h,v $
4
 * $Log: print_vhdl.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 31... Line 30...
31
 * Mike put it here
30
 * Mike put it here
32
 *
31
 *
33
 *
32
 *
34
 * Revision 1.13  2000/10/04  10:37:15  10:37:15  mjames (Mike James)
33
 * Revision 1.13  2000/10/04  10:37:15  10:37:15  mjames (Mike James)
35
 * Modified for Vertical2 : support COMPONENTS and SIGNALS
34
 * Modified for Vertical2 : support COMPONENTS and SIGNALS
36
 *
35
 *
37
 * Revision 1.13  2000/10/04  10:37:15  10:37:15  mjames (Mike James)
36
 * Revision 1.13  2000/10/04  10:37:15  10:37:15  mjames (Mike James)
38
 * Part of Release PSAVAT01
37
 * Part of Release PSAVAT01
39
 *
38
 *
40
 * Revision 1.12  2000/10/02  11:04:18  11:04:18  mjames (Mike James)
39
 * Revision 1.12  2000/10/02  11:04:18  11:04:18  mjames (Mike James)
41
 * new_vhdl
40
 * new_vhdl
42
 *
41
 *
43
 * Revision 1.11  2000/09/27  14:42:31  14:42:31  mjames (Mike James)
42
 * Revision 1.11  2000/09/27  14:42:31  14:42:31  mjames (Mike James)
44
 * Part of Release Sep_27_ST_2000
43
 * Part of Release Sep_27_ST_2000
45
 *
44
 *
46
 * Revision 1.10  2000/09/21  10:16:00  10:16:00  mjames (Mike James)
45
 * Revision 1.10  2000/09/21  10:16:00  10:16:00  mjames (Mike James)
47
 * Part of Release Sep21Alpha
46
 * Part of Release Sep21Alpha
48
 *
47
 *
49
 * Revision 1.9  2000/08/25  09:57:24  09:57:24  mjames (Mike James)
48
 * Revision 1.9  2000/08/25  09:57:24  09:57:24  mjames (Mike James)
50
 * Part of Release Aug25_alpha
49
 * Part of Release Aug25_alpha
51
 *
50
 *
52
 * Revision 1.8  2000/08/16  08:57:40  08:57:40  mjames (Mike James)
51
 * Revision 1.8  2000/08/16  08:57:40  08:57:40  mjames (Mike James)
53
 * Part of Release CD01_Aug2000
52
 * Part of Release CD01_Aug2000
54
 *
53
 *
55
 * Revision 1.7  2000/08/14  14:45:19  14:45:19  mjames (Mike James)
54
 * Revision 1.7  2000/08/14  14:45:19  14:45:19  mjames (Mike James)
56
 * Part of Release Aug_14_2000
55
 * Part of Release Aug_14_2000
57
 *
56
 *
58
 * Revision 1.6  2000/08/11  08:30:40  08:30:40  mjames (Mike James)
57
 * Revision 1.6  2000/08/11  08:30:40  08:30:40  mjames (Mike James)
59
 * Part of Release Aug_11_2000
58
 * Part of Release Aug_11_2000
60
 *
59
 *
61
 * Revision 1.5  2000/08/09  10:31:57  10:31:57  mjames (Mike James)
60
 * Revision 1.5  2000/08/09  10:31:57  10:31:57  mjames (Mike James)
62
 * Part of Release Aug__9_2000
61
 * Part of Release Aug__9_2000
63
 *
62
 *
64
 * Revision 1.4  2000/05/31  11:43:11  11:43:11  mjames (Mike James)
63
 * Revision 1.4  2000/05/31  11:43:11  11:43:11  mjames (Mike James)
65
 * Part of Release May_31_2000
64
 * Part of Release May_31_2000
66
 *
65
 *
67
 * Revision 1.3  2000/05/08  17:01:47  17:01:47  mjames (Mike James)
66
 * Revision 1.3  2000/05/08  17:01:47  17:01:47  mjames (Mike James)
68
 * Part of Release May__8_2000
67
 * Part of Release May__8_2000
69
 *
68
 *
70
 * Revision 1.2  2000/05/08  16:59:40  16:59:40  mjames (Mike James)
69
 * Revision 1.2  2000/05/08  16:59:40  16:59:40  mjames (Mike James)
71
 * Part of Release May__8_2000
70
 * Part of Release May__8_2000
72
 *
71
 *
73
 * Revision 1.1  99/11/23  13:52:31  13:52:31  mjames (Mike James)
72
 * Revision 1.1  99/11/23  13:52:31  13:52:31  mjames (Mike James)
74
 * Initial revision
73
 * Initial revision
75
 *
74
 *
76
 * Revision 1.1  1999/11/02 10:04:23  Mike_on_acorn
75
 * Revision 1.1  1999/11/02 10:04:23  Mike_on_acorn
77
 * Initial revision
76
 * Initial revision
78
 */
77
 */
79
 
78
 
80
/* listing width */
79
/* listing width */
81
#define MAXWIDTH 60
80
#define MAXWIDTH 60
82
 
81
 
83
/* lessthan this pin count, connector pins are seen as wires not busses
82
/* lessthan this pin count, connector pins are seen as wires not busses
84
 in both VHDL and verilog bundles */
83
 in both VHDL and verilog bundles */
85
 
84
 
86
#define MINBUNDLE 5
85
#define MINBUNDLE 5 
-
 
86
 
-
 
87
 
-
 
88
 
-
 
89
extern char * make_vhdl_name(char * buffer,char * str);
87
 
90
 
88
extern char *make_vhdl_name (char *buffer, char *str);
-
 
89
 
91
 
90
/* prints out the used subrange */
92
/* prints out the used subrange */
91
extern void decode_vhdl_bus (FILE *f, vhdl_t *vhdl, generic_print_style recurse_generics);
93
extern void decode_vhdl_bus(FILE * f,vhdl_t * vhdl,generic_print_style recurse_generics);
92
 
94
 
93
/* prints out the bus type and range if needed */
95
/* prints out the bus type and range if needed */
94
extern void decode_vhdl_type (FILE *f, vhdl_t *vhdl, generic_print_style recurse_generics);
96
extern void decode_vhdl_type(FILE * f,vhdl_t * vhdl,generic_print_style recurse_generics);
-
 
97
 
95
 
98
 
96
extern void print_VHDL_component (FILE *f, socket_t *dev, int All);
99
extern void print_VHDL_component(FILE * f,socket_t * dev, int All);
97
 
100
 
98
extern void print_VHDL_instance (FILE *f, socket_t *dev, int All);
101
extern void print_VHDL_instance(FILE * f,socket_t * dev, int All);
99
 
102
 
100
extern void produce_VHDL (FILE *f, char *entityname, char *template);
103
extern void produce_VHDL(FILE * f,char * entityname,char * template);