/*
* $Header: c:\\cygwin\\cvsroot/Vert03/vertlib/print_vhdl.h,v 1.1.1.1 2003/11/04 23:34:57
* mjames Exp $
*
* $Log: print_vhdl.h,v $
* Revision 1.1.1.1 2003/11/04 23:34:57 mjames
* Imported into local repositrory
*
* Revision 1.5 2002/08/23 14:18:24 mjames
* Removed some constants to the header file
*
* Revision 1.4 2001/10/31 22:20:13 mjames
* Tidying up problematical comments caused by CVS
* 'intelligent' comment guessing
*
* Revision 1.3 2001/06/06 12:10:19 mjames
* Move from HPUX
*
* Revision 1.2 2000/11/29 23:25:39 mjames
* Corrected a failure to cope with integer type ports on entities
* in acf_yacc.y
*
* Altered the elaborate command to call up the template command aw well
*
* Altered equivalent pins handler to cope with the absence of any templates
*
* Altered printout routines to use correct datatype for expansion of
* VHDL constants
*
* Revision 1.1.1.1 2000/10/19 21:58:39 mjames
* Mike put it here
*
*
* Revision 1.13 2000/10/04 10:37:15 10:37:15 mjames (Mike James)
* Modified for Vertical2 : support COMPONENTS and SIGNALS
*
* Revision 1.13 2000/10/04 10:37:15 10:37:15 mjames (Mike James)
* Part of Release PSAVAT01
*
* Revision 1.12 2000/10/02 11:04:18 11:04:18 mjames (Mike James)
* new_vhdl
*
* Revision 1.11 2000/09/27 14:42:31 14:42:31 mjames (Mike James)
* Part of Release Sep_27_ST_2000
*
* Revision 1.10 2000/09/21 10:16:00 10:16:00 mjames (Mike James)
* Part of Release Sep21Alpha
*
* Revision 1.9 2000/08/25 09:57:24 09:57:24 mjames (Mike James)
* Part of Release Aug25_alpha
*
* Revision 1.8 2000/08/16 08:57:40 08:57:40 mjames (Mike James)
* Part of Release CD01_Aug2000
*
* Revision 1.7 2000/08/14 14:45:19 14:45:19 mjames (Mike James)
* Part of Release Aug_14_2000
*
* Revision 1.6 2000/08/11 08:30:40 08:30:40 mjames (Mike James)
* Part of Release Aug_11_2000
*
* Revision 1.5 2000/08/09 10:31:57 10:31:57 mjames (Mike James)
* Part of Release Aug__9_2000
*
* Revision 1.4 2000/05/31 11:43:11 11:43:11 mjames (Mike James)
* Part of Release May_31_2000
*
* Revision 1.3 2000/05/08 17:01:47 17:01:47 mjames (Mike James)
* Part of Release May__8_2000
*
* Revision 1.2 2000/05/08 16:59:40 16:59:40 mjames (Mike James)
* Part of Release May__8_2000
*
* Revision 1.1 99/11/23 13:52:31 13:52:31 mjames (Mike James)
* Initial revision
*
* Revision 1.1 1999/11/02 10:04:23 Mike_on_acorn
* Initial revision
*/
/* listing width */
#define MAXWIDTH 60
/* lessthan this pin count, connector pins are seen as wires not busses
in both VHDL and verilog bundles */
#define MINBUNDLE 5
extern char *make_vhdl_name (char *buffer, char *str);
/* prints out the used subrange */
extern void decode_vhdl_bus (FILE *f, vhdl_t *vhdl, generic_print_style recurse_generics);
/* prints out the bus type and range if needed */
extern void decode_vhdl_type (FILE *f, vhdl_t *vhdl, generic_print_style recurse_generics);
extern void print_VHDL_component (FILE *f, socket_t *dev, int All);
extern void print_VHDL_instance (FILE *f, socket_t *dev, int All);
extern void produce_VHDL (FILE *f, char *entityname, char *template);