Subversion Repositories Vertical

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * $Id: template.h,v 1.1.1.1 2003/11/04 23:34:57 mjames Exp $
  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
  33.  *
  34.  * Revision 1.21  2000/10/04  10:37:14  10:37:14  mjames (Mike James)
  35.  * Part of Release PSAVAT01
  36.  *
  37.  * Revision 1.20  2000/10/02  11:04:22  11:04:22  mjames (Mike James)
  38.  * new_vhdl
  39.  *
  40.  * Revision 1.19  2000/09/27  14:42:29  14:42:29  mjames (Mike James)
  41.  * Part of Release Sep_27_ST_2000
  42.  *
  43.  * Revision 1.18  2000/09/21  10:15:59  10:15:59  mjames (Mike James)
  44.  * Part of Release Sep21Alpha
  45.  *
  46.  * Revision 1.17  2000/08/25  09:57:23  09:57:23  mjames (Mike James)
  47.  * Part of Release Aug25_alpha
  48.  *
  49.  * Revision 1.16  2000/08/16  08:57:39  08:57:39  mjames (Mike James)
  50.  * Part of Release CD01_Aug2000
  51.  *
  52.  * Revision 1.15  2000/08/14  14:45:18  14:45:18  mjames (Mike James)
  53.  * Part of Release Aug_14_2000
  54.  *
  55.  * Revision 1.14  2000/08/11  08:30:39  08:30:39  mjames (Mike James)
  56.  * Part of Release Aug_11_2000
  57.  *
  58.  * Revision 1.13  2000/08/09  10:31:56  10:31:56  mjames (Mike James)
  59.  * Part of Release Aug__9_2000
  60.  *
  61.  * Revision 1.12  2000/05/31  11:43:09  11:43:09  mjames (Mike James)
  62.  * Part of Release May_31_2000
  63.  *
  64.  * Revision 1.11  2000/05/08  17:01:46  17:01:46  mjames (Mike James)
  65.  * Part of Release May__8_2000
  66.  *
  67.  * Revision 1.10  2000/05/08  16:59:39  16:59:39  mjames (Mike James)
  68.  * Part of Release May__8_2000
  69.  *
  70.  * Revision 1.9  2000/05/08  16:57:15  16:57:15  mjames (Mike James)
  71.  * Part of Release May__8_2000
  72.  *
  73.  * Revision 1.8  2000/03/08  16:19:35  16:19:35  mjames (Mike James)
  74.  * New version including PC
  75.  *
  76.  * Revision 1.5  2000/01/20  15:58:57  15:58:57  mjames (Mike James)
  77.  * Part of Release R22
  78.  *
  79.  * Revision 1.4  99/12/22  11:15:38  11:15:38  mjames (Mike James)
  80.  * Part of Release Dec_22_1999
  81.  *
  82.  * Revision 1.3  98/06/15  14:21:02  14:21:02  mjames (Mike James)
  83.  * Made tempaltes chip specific.
  84.  *
  85.  * Revision 1.2  98/02/11  11:27:31  11:27:31  mjames (Mike James)
  86.  * Checked in for version 6.2a
  87.  *
  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 */
  92. #define TEMPLATE_NO_OP 0
  93. /* if the socket has pins that are not on the template, disconnect them */
  94. #define TEMPLATE_DISCONNECT_PINS 1
  95. /* if the socket lacks pins on the template then create them */
  96. #define TEMPLATE_CREATE_MISSING_PINS 2
  97.  
  98. extern void template_ensure (char *chip_id_template, int options);
  99.  
  100. extern void template_list (void);
  101.  
  102. extern void template_list_pins (FILE *f);
  103.  
  104. void extract_templates (void);
  105.