home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p082 / 2.img / PADS / LOGIC.EXE / XLATE.DOC < prev    next >
Encoding:
Text File  |  1991-04-30  |  4.9 KB  |  141 lines

  1. PADS LOGIC - SPICE NETLIST REPORT
  2.  
  3. 1.0 INTRODUCTION
  4. ----------------
  5.  
  6. This document describes the process for generating a SPICE circuit 
  7. file (.CIR) using the "REPORT - NETLIST" option in PADS LOGIC. This
  8. file can be used as a netlist input file for any standard SPICE dialect.
  9. In order to accomodate the special needs of SPICE programs, PADS LOGIC
  10. offers options with regards to Nodes and Parts.
  11.  
  12.  
  13. 2.0 NODES
  14. -----------------
  15. Some dialects of SPICE require that nodes are input as integers and not
  16. alphanumerics. The SPICE .CIR file can be generated either with node names
  17. or node integers. This is controlled by the file "XLATE.DAT", located in
  18. the PADS LOGIC directory. 
  19.  
  20.  
  21. 2.1 OUPTPTING NODE NAMES
  22. ------------------------
  23. In order to disable the automatic translation of node names to integers, 
  24. and just output the node name assigned in PADS LOGIC, "XLATE.DAT" should 
  25. contain the following line:
  26.  
  27. #DISABLE NODE TRANSLATION
  28.  
  29.  
  30. 2.2 OUTPUTING NODE NUMBERS 
  31. -------------------------- 
  32. In order to enable the automatic translation of node names to integers,  
  33. "XLATE.DAT" should contain the following line: 
  34.  
  35. #ENABLE NODE TRANSLATION
  36.  
  37. This option automatically assigns sequential integers to all the nodes in
  38. a circuit. An additional output file is generated called "OUTPUT.XRF", 
  39. where OUTPUT is the netlist file name entered in PADS LOGIC. This file
  40. lists all the nodes in the circuit and their assigned integers. The nodes
  41. are listed two ways: sorted by node name and sorted by node number. 
  42.  
  43. The following is an example of a typical ".XRF" file:
  44.  
  45. **************************************************************************
  46. PSPICE Cross Reference File (Version 2.0)
  47.  
  48. PSPICE Net Number       PADS LOGIC Net Name
  49. -----------------       -------------------
  50. 0                        GND
  51. 1                        OUT
  52. 2                        IN
  53. 101                      VCC
  54.  
  55.  
  56. PADS LOGIC Net Name     PSPICE Net Number
  57. -------------------     --------------------
  58. GND                      0                   
  59. IN                       2                   
  60. OUT                      1                   
  61. VCC                      101                 
  62. **************************************************************************
  63.  
  64.  
  65. 2.3 CONTROLLING NODE NAME TRANSLATION
  66. -------------------------------------
  67. SPICE dialects often require certain nodes to be assigned particular numbers.
  68. For example, most SPICE dialects assume node 0 is GROUND. Nodes can be 
  69. assigned a particular integer by passing the information in "XLATE.DAT" 
  70. according to the following syntax:
  71.  
  72. NODENAME = INTEGER
  73.  
  74. An example "XLATE.DAT" file:
  75.  
  76. **************************************************************************
  77. #ENABLE NODE TRANSLATION
  78. *
  79. * Sample File
  80. *
  81. GND     = 0
  82. VSS     = 101
  83. VPOWER  = 102
  84. **************************************************************************
  85.  
  86. In addition, any node that has a numeric only name in PADS LOGIC, for
  87. example "12", will automatically be assigned that number during translation.
  88.  
  89.  
  90. 3.0 PARTS
  91. -----------------
  92. Various parameters can be specified for each part which control how the
  93. part is described in the SPICE ".CIR" file. These parameters are set 
  94. via "TEXT EDIT" on parts in PADS LOGIC. The following parameters are 
  95. recognized by the SPICE report generator:
  96.  
  97.      VALUE
  98.      SPICE MODEL
  99.      SPICE QUALIFIER
  100.      SPICE PIN ORDER
  101.      SPICE PAR1
  102.  
  103. Every PART in a PADS LOGIC schematic is listed in the SPICE ".CIR" file
  104. as follows:
  105.  
  106. PARTNAME NODE1 NODE2 NODE3... [SPICE MODEL] [VALUE] [SPICE PAR1]
  107.  
  108. WHERE: "SPICE MODEL", "VALUE" and "SPICE PAR1" are optional alphanumeric 
  109.          strings which are simply passed to the output file.
  110.  
  111.          "SPICE QUALIFIER" is an optional alpha character used to force 
  112.         the first letter of a partname to coincide with SPICE conventions. 
  113.         For example bipolar transistors must start with a "Q", while inductors 
  114.         must start with an "L", etc. If these conventions where not followed 
  115.         when the parts were named in PADS LOGIC, the "SPICE QUALIFIER" 
  116.         character is prepended to the part name.
  117.  
  118.         "SPICE PIN ORDER" is used to override the pin order as stored in
  119.         the PADS LOGIC parts library. SPICE requires that nodes for various
  120.         parts be listed in a particular order. For example FETs are listed
  121.         in the order DRAIN GATE SOURCE. If this is not the order used in 
  122.         creating the part, the "SPICE PIN ORDER" parameter is used
  123.         to reorder the pins. The format of this parameter is:
  124.  
  125.         pin1, pin2, pin3, etc...
  126.  
  127.         For example, if a FET is created with the following pins:
  128.  
  129.              1 = GATE
  130.              2 = SOURCE
  131.              3 = DRAIN
  132.  
  133.         Setting the "SPICE PIN ORDER" parameter to "3, 1, 2" will output
  134.         the pins in the correct SPICE order.
  135.  
  136.  
  137. 4.0 CAVEATS
  138. -----------------
  139. Currently, only PADS LOGIC parts with numeric pins are supported during 
  140. SPICE report generation. Parts with alphanumeric pins must be disabled.
  141.