home *** CD-ROM | disk | FTP | other *** search
- PADS LOGIC - SPICE NETLIST REPORT
-
- 1.0 INTRODUCTION
- ----------------
-
- This document describes the process for generating a SPICE circuit
- file (.CIR) using the "REPORT - NETLIST" option in PADS LOGIC. This
- file can be used as a netlist input file for any standard SPICE dialect.
- In order to accomodate the special needs of SPICE programs, PADS LOGIC
- offers options with regards to Nodes and Parts.
-
-
- 2.0 NODES
- -----------------
- Some dialects of SPICE require that nodes are input as integers and not
- alphanumerics. The SPICE .CIR file can be generated either with node names
- or node integers. This is controlled by the file "XLATE.DAT", located in
- the PADS LOGIC directory.
-
-
- 2.1 OUPTPTING NODE NAMES
- ------------------------
- In order to disable the automatic translation of node names to integers,
- and just output the node name assigned in PADS LOGIC, "XLATE.DAT" should
- contain the following line:
-
- #DISABLE NODE TRANSLATION
-
-
- 2.2 OUTPUTING NODE NUMBERS
- --------------------------
- In order to enable the automatic translation of node names to integers,
- "XLATE.DAT" should contain the following line:
-
- #ENABLE NODE TRANSLATION
-
- This option automatically assigns sequential integers to all the nodes in
- a circuit. An additional output file is generated called "OUTPUT.XRF",
- where OUTPUT is the netlist file name entered in PADS LOGIC. This file
- lists all the nodes in the circuit and their assigned integers. The nodes
- are listed two ways: sorted by node name and sorted by node number.
-
- The following is an example of a typical ".XRF" file:
-
- **************************************************************************
- PSPICE Cross Reference File (Version 2.0)
-
- PSPICE Net Number PADS LOGIC Net Name
- ----------------- -------------------
- 0 GND
- 1 OUT
- 2 IN
- 101 VCC
-
-
- PADS LOGIC Net Name PSPICE Net Number
- ------------------- --------------------
- GND 0
- IN 2
- OUT 1
- VCC 101
- **************************************************************************
-
-
- 2.3 CONTROLLING NODE NAME TRANSLATION
- -------------------------------------
- SPICE dialects often require certain nodes to be assigned particular numbers.
- For example, most SPICE dialects assume node 0 is GROUND. Nodes can be
- assigned a particular integer by passing the information in "XLATE.DAT"
- according to the following syntax:
-
- NODENAME = INTEGER
-
- An example "XLATE.DAT" file:
-
- **************************************************************************
- #ENABLE NODE TRANSLATION
- *
- * Sample File
- *
- GND = 0
- VSS = 101
- VPOWER = 102
- **************************************************************************
-
- In addition, any node that has a numeric only name in PADS LOGIC, for
- example "12", will automatically be assigned that number during translation.
-
-
- 3.0 PARTS
- -----------------
- Various parameters can be specified for each part which control how the
- part is described in the SPICE ".CIR" file. These parameters are set
- via "TEXT EDIT" on parts in PADS LOGIC. The following parameters are
- recognized by the SPICE report generator:
-
- VALUE
- SPICE MODEL
- SPICE QUALIFIER
- SPICE PIN ORDER
- SPICE PAR1
-
- Every PART in a PADS LOGIC schematic is listed in the SPICE ".CIR" file
- as follows:
-
- PARTNAME NODE1 NODE2 NODE3... [SPICE MODEL] [VALUE] [SPICE PAR1]
-
- WHERE: "SPICE MODEL", "VALUE" and "SPICE PAR1" are optional alphanumeric
- strings which are simply passed to the output file.
-
- "SPICE QUALIFIER" is an optional alpha character used to force
- the first letter of a partname to coincide with SPICE conventions.
- For example bipolar transistors must start with a "Q", while inductors
- must start with an "L", etc. If these conventions where not followed
- when the parts were named in PADS LOGIC, the "SPICE QUALIFIER"
- character is prepended to the part name.
-
- "SPICE PIN ORDER" is used to override the pin order as stored in
- the PADS LOGIC parts library. SPICE requires that nodes for various
- parts be listed in a particular order. For example FETs are listed
- in the order DRAIN GATE SOURCE. If this is not the order used in
- creating the part, the "SPICE PIN ORDER" parameter is used
- to reorder the pins. The format of this parameter is:
-
- pin1, pin2, pin3, etc...
-
- For example, if a FET is created with the following pins:
-
- 1 = GATE
- 2 = SOURCE
- 3 = DRAIN
-
- Setting the "SPICE PIN ORDER" parameter to "3, 1, 2" will output
- the pins in the correct SPICE order.
-
-
- 4.0 CAVEATS
- -----------------
- Currently, only PADS LOGIC parts with numeric pins are supported during
- SPICE report generation. Parts with alphanumeric pins must be disabled.
-