[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: Simulation questions using gnucap



Below is the output from gnetlist and gnucap.  Toward the bottom is the gnucap output where it lists "?" faults.  I suspect the problem is with the TL072's subcircuit I downloaded from TI.  I am not able to find any info on the components used in the subcircuit and therefore am having a tough time finding what is causing the faults.  Also gnucap's documentation refers you to a tutorial that I haven't been able to find.


------------------------------------------------------------------------------------------

- Starting internal netlist creation
 C CpnPpnnP CpnP CpnP CpnP CpnP CpnnnPPpnP CpnnnPPpnP CpnnnPPpnP CpnnnPPpnP C CpnP CpnnnnP
PpnP CpnnnnnnPPpnP CpnP CpnP CpnPpnnP CpnnPpnP CpnP CpnnnPPpnPpnnPnnPpnnnPPpnnnPP Cpn
nnnnnPPpnPpnnnnnPnPpnnnPPpnnnPP CpnnnPP CpnnnPP CpnnnPP CpnnnPP CpnnnnPPpnnnPP Cpnn
nPPpnnP CpnnP CpnnPpnP DONE

- Staring post processing
- Naming nets:
pnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnpnp
npnpnpnpnpnpnpnpn DONE
- Renaming nets:
 DONE
- Resolving hierarchy:
 DONE
 DONE

- Staring post processing
- Naming nets of graphical objects:
 DONE

Internal netlist representation:

component R1
        pin 2 (2) 1
                R1 2 [1277]
                X1 2 [4663]
        pin 1 (1) V1
                R1 1 [1286]
                V1 1 [6455]

component SPECIAL
        pin 1 (1) Null net name
                C4 2 [1542]

component SPECIAL
        pin 1 (1) Null net name
                C2 2 [2022]

component SPECIAL
        pin 1 (1) Null net name
                C3 2 [1782]

component SPECIAL
        pin 1 (1) Null net name
                C1 2 [2236]

component C4
        pin 1 (+) -Vcc
                C4 1 [1527]
                X1 4 [5269]
        pin 2 (-) GND
                C4 2 [1542]

component C3
        pin 1 (+) Vcc
                C3 1 [1767]
                X1 8 [5280]
        pin 2 (-) GND
                C3 2 [1782]

component C2
        pin 1 (+) -Vcc
                C2 1 [2007]
                X1 4 [4699]
        pin 2 (-) GND
                C2 2 [2022]

component C1
        pin 1 (+) Vcc
                C1 1 [2221]
                X1 8 [4710]
        pin 2 (-) GND
                C1 2 [2236]

component A1

component SPECIAL
        pin 1 (1) Null net name
                V1 2 [6474]

component R5
        pin 2 (2) computerMic
                R5 2 [3258]
                R3 2 [6123]
                X1 1 [4688]
        pin 1 (1) GND
                R5 1 [3267]

component R6
        pin 2 (2) ecuMic
                R6 2 [3429]
                X1 5 [5198]
                X1 7 [5258]
        pin 1 (1) GND
                R6 1 [3438]

component SPECIAL
        pin 1 (1) Null net name
                R6 1 [3438]

component SPECIAL
        pin 1 (1) Null net name
                R5 1 [3267]

component R4
        pin 2 (2) 2
                R4 2 [3661]
                X1 6 [5233]
        pin 1 (1) V2
                R4 1 [3670]
                V2 1 [3840]

component V2
        pin 1 (+) V2
                V2 1 [3840]
                R4 1 [3670]
        pin 2 (-) GND
                V2 2 [3862]

component SPECIAL
        pin 1 (1) Null net name
                V2 2 [3862]

component X1
        pin 3 () 3
                X1 3 [4628]
                R3 1 [6132]
                R2 2 [6266]
        pin 2 () 1
                X1 2 [4663]
                R1 2 [1277]
        pin 1 () computerMic
                X1 1 [4688]
                R5 2 [3258]
                R3 2 [6123]
        pin 4 () -Vcc
                X1 4 [4699]
                C2 1 [2007]
        pin 8 () Vcc
                X1 8 [4710]
                C1 1 [2221]

component X1
        pin 5 () ecuMic
                X1 5 [5198]
                R6 2 [3429]
                X1 7 [5258]
        pin 6 () 2
                X1 6 [5233]
                R4 2 [3661]
        pin 7 () ecuMic
                X1 7 [5258]
                X1 5 [5198]
                R6 2 [3429]
        pin 4 () -Vcc
                X1 4 [5269]
                C4 1 [1527]
        pin 8 () Vcc
                X1 8 [5280]
                C3 1 [1767]

component SPECIAL
        pin 1 (1) Null net name
                C2 1 [2007]
                X1 4 [4699]

component SPECIAL
        pin 1 (1) Null net name
                C1 1 [2221]
                X1 8 [4710]

component SPECIAL
        pin 1 (1) Null net name
                C3 1 [1767]
                X1 8 [5280]

component SPECIAL
        pin 1 (1) Null net name
                C4 1 [1527]
                X1 4 [5269]

component R3
        pin 2 (2) computerMic
                R3 2 [6123]
                R5 2 [3258]
                X1 1 [4688]
        pin 1 (1) 3
                R3 1 [6132]
                X1 3 [4628]
                R2 2 [6266]

component R2
        pin 2 (2) 3
                R2 2 [6266]
                X1 3 [4628]
                R3 1 [6132]
        pin 1 (1) GND
                R2 1 [6275]

component SPECIAL
        pin 1 (1) Null net name
                R2 1 [6275]

component V1
        pin 1 (+) V1
                V1 1 [6455]
                R1 1 [1286]
        pin 2 (-) GND
                V1 2 [6474]


Using SPICE backend by SDB -- Version of 4.28.2007
schematic-type = normal schematic
found normal type schematic
Make first pass through design and create list of all model files referenced.
found file attribute for A1.  File name = micSwitch4Sim.cmd
In get-file-type, first-char = .
File is new.  New file type is OTHER
File type is OTHER, and therefore will not be entered in known model file list.
found file attribute for X1.  File name = TL072.subckt
In get-file-type, first-char = .
File is new.  New file type is .SUBCKT
Inserting TL072.subckt into list of known model files.
Done creating file-info-list.

Now process the items in model file list -- stick appropriate references to models in output SPICE file.
Handling spice model file TL072.subckt
Done processing items in model file list.
Make second pass through design and write out a SPICE card for each component found.
--- checking package = V2
    device = vac
Found independent voltage source.  Refdes = V2
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = V2
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 0
--- checking package = R5
    device = RESISTOR
Found resistor.  Refdes = R5
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = 0
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = computerMic
--- checking package = V1
    device = vac
Found independent voltage source.  Refdes = V1
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = V1
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 0
--- checking package = R4
    device = RESISTOR
Found resistor.  Refdes = R4
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = V2
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 2
--- checking package = R3
    device = RESISTOR
Found resistor.  Refdes = R3
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = 3
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = computerMic
--- checking package = R2
    device = RESISTOR
Found resistor.  Refdes = R2
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = 0
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 3
--- checking package = A1
    device = include
Found SPICE include box.  Refdes = A1
placing .include directive string into netlist.
--- checking package = C4
    device = POLARIZED_CAPACITOR
Found capacitor.  Refdes = C4
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = -Vcc
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 0
--- checking package = R1
    device = RESISTOR
Found resistor.  Refdes = R1
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = V1
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 1
--- checking package = X1
    device = TL072
Found subcircuit.  Refdes = X1
Found .SUBCKT with model-file and model-name for X1
Checking prefix.  Package prefix =X
                  correct prefix =X
   nomunge mode = #f
  different-prefix=#f
In write-component-slotted-no-value. . . .
     pins per slot = 5
     slot = 1
     beginning-pos = 5
     end-pos = 1
  In write-net-names-on-component-slotted. . . .
     this-pin = 1
     end-pin = 1
     pin-name = 1
     pinnumber = 1
     netname = computerMic
  In write-net-names-on-component-slotted. . . .
     this-pin = 2
     end-pin = 1
     pin-name = 2
     pinnumber = 2
     netname = 1
  In write-net-names-on-component-slotted. . . .
     this-pin = 3
     end-pin = 1
     pin-name = 3
     pinnumber = 3
     netname = 3
  In write-net-names-on-component-slotted. . . .
     this-pin = 4
     end-pin = 1
     pin-name = 4
     pinnumber = 4
     netname = -Vcc
  In write-net-names-on-component-slotted. . . .
     this-pin = 5
     end-pin = 1
     pin-name = 5
     pinnumber = 8
     netname = Vcc
Checking prefix.  Package prefix =X
                  correct prefix =X
   nomunge mode = #f
  different-prefix=#f
In write-component-slotted-no-value. . . .
     pins per slot = 5
     slot = 2
     beginning-pos = 10
     end-pos = 6
  In write-net-names-on-component-slotted. . . .
     this-pin = 6
     end-pin = 6
     pin-name = 6
     pinnumber = 7
     netname = ecuMic
  In write-net-names-on-component-slotted. . . .
     this-pin = 7
     end-pin = 6
     pin-name = 7
     pinnumber = 6
     netname = 2
  In write-net-names-on-component-slotted. . . .
     this-pin = 8
     end-pin = 6
     pin-name = 8
     pinnumber = 5
     netname = ecuMic
  In write-net-names-on-component-slotted. . . .
     this-pin = 9
     end-pin = 6
     pin-name = 9
     pinnumber = 4
     netname = -Vcc
  In write-net-names-on-component-slotted. . . .
     this-pin = 10
     end-pin = 6
     pin-name = 10
     pinnumber = 8
     netname = Vcc
We'll handle the file contents later . . .
--- checking package = C3
    device = POLARIZED_CAPACITOR
Found capacitor.  Refdes = C3
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = Vcc
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 0
--- checking package = C2
    device = POLARIZED_CAPACITOR
Found capacitor.  Refdes = C2
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = -Vcc
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 0
--- checking package = C1
    device = POLARIZED_CAPACITOR
Found capacitor.  Refdes = C1
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = Vcc
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = 0
--- checking package = R6
    device = RESISTOR
Found resistor.  Refdes = R6
  In write-net-names-on-component. . . .
     pin-name = 1
     pinnumber = 1
     pinseq = 1
     netname = 0
  In write-net-names-on-component. . . .
     pin-name = 2
     pinnumber = 2
     pinseq = 2
     netname = ecuMic
Done writing SPICE cards . . .


Output file is written.  We are done.
[rob@localhost project-micSwitch]$

[rob@localhost project-micSwitch]$ gnucap micSwitch4Sim.cirGnucap 0.35
The Gnu Circuit Analysis Package
Never trust any version less than 1.0
Copyright 1982-2006, Albert Davis
Gnucap comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome
to redistribute it under certain conditions
according to the GNU General Public License.
See the file "COPYING" for details.
* gnetlist -v -g spice-sdb -o micSwitch4Sim.cir micSwitch4Sim.sch
  EGND 99  0 POLY(2) (3,0) (4,0) 0 .5 .5
                     ^ ? need 1 more nodes
  EGND 99  0 POLY(2) (3,0) (4,0) 0 .5 .5
                           ^ ? what's this?
  FB    7 99 POLY(5) VB VC VE VLP VLN 0 4.715E6 -5E6 5E6 5E6
                     ^ ? what's this?
  J1   11  2 10 JX
  ^ ? illegal type
  J2   12  1 10 JX
  ^ ? illegal type
.MODEL JX PJF(IS=15.00E-12 BETA=270.1E-6 VTO=-1)
             ^ ? not implemented
gnucap>
------------------------------------------------------------------------------------------

Thanks for any help!

_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user