Subversion Repositories Vertical

Rev

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

  1. /*
  2.  * $Id: rename.h,v 1.1.1.1 2003/11/04 23:34:57 mjames Exp $
  3.  *
  4.  * $Log: rename.h,v $
  5.  * Revision 1.1.1.1  2003/11/04 23:34:57  mjames
  6.  * Imported into local repositrory
  7.  *
  8.  * Revision 1.5  2001/12/11 20:30:26  mjames
  9.  * Implemented  regular expression pin  name editing
  10.  *
  11.  * Revision 1.4  2001/11/19 10:41:34  mjames
  12.  * Merged back DTC release
  13.  *
  14.  * Revision 1.3.2.1  2001/11/15 22:03:52  mjames
  15.  * Altered the 'alter' command to use two arguments rather than one
  16.  * after TH suggestion.
  17.  *
  18.  * Revision 1.3  2001/10/31 22:20:14  mjames
  19.  * Tidying up problematical comments caused by CVS
  20.  * 'intelligent' comment guessing
  21.  *
  22.  * Revision 1.2  2001/01/26 21:50:11  mjames
  23.  * Managed to get vertical non TCL to compile again
  24.  *
  25.  * Conversion to argv, argc[] mode of operation continues
  26.  *
  27.  * Revision 1.1.1.1  2000/10/19 21:58:39  mjames
  28.  * Mike put it here
  29.  *
  30.  *
  31.  * Revision 1.1  2000/10/12  14:27:32  14:27:32  mjames (Mike James)
  32.  * Initial revision
  33.  *
  34.  * Revision 1.23  2000/10/04  10:37:13  10:37:13  mjames (Mike James)
  35.  * Part of Release PSAVAT01
  36.  *
  37.  * Revision 1.22  2000/10/02  11:04:19  11:04:19  mjames (Mike James)
  38.  * new_vhdl
  39.  *
  40.  * Revision 1.21  2000/09/27  14:42:27  14:42:27  mjames (Mike James)
  41.  * Part of Release Sep_27_ST_2000
  42.  *
  43.  * Revision 1.20  2000/09/21  10:15:57  10:15:57  mjames (Mike James)
  44.  * Part of Release Sep21Alpha
  45.  *
  46.  * Revision 1.19  2000/08/25  09:57:22  09:57:22  mjames (Mike James)
  47.  * Part of Release Aug25_alpha
  48.  *
  49.  * Revision 1.18  2000/08/16  08:57:38  08:57:38  mjames (Mike James)
  50.  * Part of Release CD01_Aug2000
  51.  *
  52.  * Revision 1.17  2000/08/14  14:45:18  14:45:18  mjames (Mike James)
  53.  * Part of Release Aug_14_2000
  54.  *
  55.  * Revision 1.16  2000/08/11  08:30:38  08:30:38  mjames (Mike James)
  56.  * Part of Release Aug_11_2000
  57.  *
  58.  * Revision 1.15  2000/08/09  10:31:55  10:31:55  mjames (Mike James)
  59.  * Part of Release Aug__9_2000
  60.  *
  61.  * Revision 1.14  2000/05/31  11:43:08  11:43:08  mjames (Mike James)
  62.  * Part of Release May_31_2000
  63.  *
  64.  * Revision 1.13  2000/05/08  17:01:45  17:01:45  mjames (Mike James)
  65.  * Part of Release May__8_2000
  66.  *
  67.  * Revision 1.12  2000/05/08  16:59:38  16:59:38  mjames (Mike James)
  68.  * Part of Release May__8_2000
  69.  *
  70.  * Revision 1.11  2000/05/08  16:57:14  16:57:14  mjames (Mike James)
  71.  * Part of Release May__8_2000
  72.  *
  73.  * Revision 1.10  2000/03/08  16:19:26  16:19:26  mjames (Mike James)
  74.  * New version including PC
  75.  *
  76.  * Revision 1.7  2000/01/20  15:58:56  15:58:56  mjames (Mike James)
  77.  * Part of Release R22
  78.  *
  79.  * Revision 1.6  99/12/22  11:15:37  11:15:37  mjames (Mike James)
  80.  * Part of Release Dec_22_1999
  81.  *
  82.  * Revision 1.5  98/04/24  14:07:17  14:07:17  mjames (Mike James)
  83.  * Added a cal to pin name swapping code.
  84.  *
  85.  * Revision 1.4  98/02/11  11:27:09  11:27:09  mjames (Mike James)
  86.  * Checked in for version 6.2a
  87.  *
  88.  * Revision 1.3  97/04/23  08:44:44  08:44:44  mjames (Mike James)
  89.  * CHecked in for release rel23041997
  90.  *
  91.  * Revision 1.2  96/07/19  14:39:11  14:39:11  mjames (Mike James)
  92.  * Update to give to PRL
  93.  *
  94.  * Revision 1.1  96/05/29  11:01:49  11:01:49  mjames (Mike James)
  95.  * Initial revision
  96.  *  */
  97. /* globally renaming PCB netlist socket and net IDs when read in */
  98.  
  99. extern void mark_board_objects(void);
  100.  
  101. extern void set_board_suffix(char * s);
  102.  
  103.  
  104.  
  105.  
  106.  
  107. /*********************************************************************/
  108.  
  109. /* Pin_swapping : reverse A23 to 23a                                 */
  110.  
  111. /*********************************************************************/
  112. typedef enum { Want_A1,Want_1A } AlphaSwap_t;
  113.  
  114. extern void pin_id_swap(char  * chip_template,int lead_chars,AlphaSwap_t lead_alpha);
  115.  
  116.    
  117. /***************************************************************************************/
  118. /* Name nets after node name on device instead of pcb CAD name                         */
  119. /* Initially lookup all matching sockets                                               */
  120. /* If the prefix_opt is valid then this is used as the net identifier prefix */
  121.  
  122. extern void alter_net_to_socket_name(char * chip_id_template,char * prefix_opt);
  123.  
  124.  
  125. /***************************************************************************************/
  126. /* Prefix pin identifiers on socket with a string (needed for compatibility with Certify)    */
  127. /* Initially lookup all matching sockets                                               */
  128. /* If the prefix is valid then this is used as the pin identifier prefix */
  129. extern void edit_socket_pin_name(char * chip_id_template,char * pin_patt, char * pin_repl,property_t search_space);
  130.  
  131. /***************************************************************************************/
  132. /* allows for net renaming : currently in the routed list only  */
  133. extern void  edit_net_names(char * pin_patt, char * pin_repl,property_t search_space);
  134.