bug-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnucap] "no match" error attempting to printing named nodes


From: Kenelm L. McKinney
Subject: [Bug-gnucap] "no match" error attempting to printing named nodes
Date: Sat, 25 Jan 2003 11:45:32 -0500

Hi,

I am having a simple problem which I think is a bug.  Before starting the
process of fixing it I thought I would see if anyone on the list has seen
the problem, fixed the problem, or has any thoughts on the problem.

Summary:
  Running gnucap-0.33
   When using "numbered nodes"  circuit simulates correctly and prints node
values correctly.
   When using "named nodes"        circuit simulates correctly  but gives
"no match" errors in .PRINT statement

Here is short test that shows problem:
do "sh  x.sh"

Here are the relevant files
  x.sh
  x.gcap
  good.ckt
  bad.ckt
  log


x.sh:
#This demonstrates the problem
gnucap <x.gcap >log
grep -n "no match" log
#Note the "no match" problem at lines 66 and 68
#The simulation runs correctly but the print command is troubled...

x.gcap:
opt nonamednodes
options
<good.ckt
clear
opt namednodes
options
<bad.ckt

good.ckt:
GOOD
V1 999 0 1
R1 999 0 1
.PRINT AC  V(999)
.PRINT DC  V(999) I(V1)
.DC V1 1 2 0.1
.end

bad.ckt:
BAD
V1 NodeB 0 1
R1 NodeB 0 1
.PRINT AC  V(NodeB)
.PRINT DC  V(NodeB) I(V1)
.DC V1 1 2 0.1
.end

log:
Gnucap 0.33
The Gnu Circuit Analysis Package
Never trust any version less than 1.0
Copyright 1982-2002, 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
gnucap>
gnucap>
gnucap>
.options  noacct  nolist  mod  nopage  nonode  noopts  gmin= 1.p
+  reltol= 0.001  abstol= 1.p  vntol= 1.u  trtol= 7.  chgtol= 10.f
+  pivtol= 100.f  pivrel= 0.001  numdgt=5  tnom= 27.  cptime=30000
+  limtim=2  limpts=201  lvlcod=2  lvltim=2  method=trap  maxord=2
+  itl1=100  itl2=50  itl3=6  itl4=20  itl5=5000  itl6=0  itl7=1
+  itl8=99  defl= 100.u  defw= 100.u  defad= 0.  defas= 0.  seed=1
noclobber
+  nonamednodes  wczero= 1.n  dampmax= 1.  dampmin= 0.5
+  dampstrategy=0  roundofftol= 100.f  tempamb= 27.  short= 10.u
+  in=80  out=80  xdivisions= 4.  ydivisions= 4.  phase=degrees
+  order=auto  mode=mixed  transits=2  nodupcheck  bypass  incmode  lubypass
+  fbbypass  traceload  itermin=1  limit= 100.E+18  vmax= 5.  vmin=-5.
+  dtmin= 1.p  dtratio= 1.G  rstray  cstray  harmonics=9
+  trstepgrow= 2.  trstepshrink= 2.  trreject= 0.5  diodeflags=0
+  mosflags=0  noquitconvfail
gnucap>
gnucap>
GOOD
#           V(999)     I(V1)
 1.         0.99999   -0.99999
 1.1        1.1       -1.1
 1.2        1.2       -1.2
 1.3        1.3       -1.3
 1.4        1.4       -1.4
 1.5        1.5       -1.5
 1.6        1.6       -1.6
 1.7        1.7       -1.7
 1.8        1.8       -1.8
 1.9        1.9       -1.9
 2.         2.        -2.
gnucap>
gnucap>
gnucap>
gnucap>
gnucap>
gnucap>
.options  noacct  nolist  mod  nopage  nonode  noopts  gmin= 1.p
+  reltol= 0.001  abstol= 1.p  vntol= 1.u  trtol= 7.  chgtol= 10.f
+  pivtol= 100.f  pivrel= 0.001  numdgt=5  tnom= 27.  cptime=30000
+  limtim=2  limpts=201  lvlcod=2  lvltim=2  method=trap  maxord=2
+  itl1=100  itl2=50  itl3=6  itl4=20  itl5=5000  itl6=0  itl7=1
+  itl8=99  defl= 100.u  defw= 100.u  defad= 0.  defas= 0.  seed=1
noclobber
+  namednodes  wczero= 1.n  dampmax= 1.  dampmin= 0.5
+  dampstrategy=0  roundofftol= 100.f  tempamb= 27.  short= 10.u
+  in=80  out=80  xdivisions= 4.  ydivisions= 4.  phase=degrees
+  order=auto  mode=mixed  transits=2  nodupcheck  bypass  incmode  lubypass
+  fbbypass  traceload  itermin=1  limit= 100.E+18  vmax= 5.  vmin=-5.
+  dtmin= 1.p  dtratio= 1.G  rstray  cstray  harmonics=9
+  trstepgrow= 2.  trstepshrink= 2.  trreject= 0.5  diodeflags=0
+  mosflags=0  noquitconvfail
gnucap>
gnucap>
BAD
PRINT AC  V(NodeB)
            ^ ? no match
PRINT DC  V(NodeB) I(V1)
            ^ ? no match
#           I(V1)
 1.        -0.99999
 1.1       -1.1
 1.2       -1.2
 1.3       -1.3
 1.4       -1.4
 1.5       -1.5
 1.6       -1.6
 1.7       -1.7
 1.8       -1.8
 1.9       -1.9
 2.        -2.
gnucap>
gnucap> EOF on stdin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]