Surface Impedance Method for Interconnect Analysis. SIMIAN is a two dimensional frequency dependent series impedance extraction tool for inerconnects and transmission lines using conductors of rectangular or circular cross section. The use of the surface ribbon method (SRM) greatly enhances the speed of computation relative to the volume filament method (VFM).
38 lines
1.4 KiB
Text
38 lines
1.4 KiB
Text
$NetBSD: patch-ad,v 1.1.1.1 2001/04/28 02:36:35 dmcmahill Exp $
|
|
|
|
--- reader.cc.orig Thu Dec 10 04:02:44 1998
|
|
+++ reader.cc Fri Apr 27 17:00:23 2001
|
|
@@ -213,5 +213,5 @@
|
|
fl >> s1;
|
|
if (strcmp(s1,"=")==0) fl >> conduc->dx;
|
|
- else sscanf(s1,"%c%ld",&dum,&conduc->dx);
|
|
+ else sscanf(s1,"%c%d",&dum,&conduc->dx);
|
|
}
|
|
else if (strcmp(s1,"ny=")==0) fl >> conduc->dy;
|
|
@@ -219,5 +219,5 @@
|
|
fl >> s1;
|
|
if (strcmp(s1,"=")==0) fl >> conduc->dy;
|
|
- else sscanf(s1,"%c%ld",&dum,&conduc->dy);
|
|
+ else sscanf(s1,"%c%d",&dum,&conduc->dy);
|
|
}
|
|
else if (strcmp(s1,"nr=")==0) fl >> conduc->nr;
|
|
@@ -225,5 +225,5 @@
|
|
fl >> s1;
|
|
if (strcmp(s1,"=")==0) fl >> conduc->nr;
|
|
- else sscanf(s1,"%c%ld",&dum,&conduc->nr);
|
|
+ else sscanf(s1,"%c%d",&dum,&conduc->nr);
|
|
}
|
|
else if ((strncmp(s1,"*",1)==0)||(strncmp(s1,".",1)==0)) {
|
|
@@ -266,9 +266,9 @@
|
|
sscanf(s1,"%c%c%le",&dum,&dum,&conduc->v);
|
|
else if (strncmp(s1,"nx=",3)==0)
|
|
- sscanf(s1,"%c%c%c%ld",&dum,&dum,&dum,&conduc->dx);
|
|
+ sscanf(s1,"%c%c%c%d",&dum,&dum,&dum,&conduc->dx);
|
|
else if (strncmp(s1,"ny=",3)==0)
|
|
- sscanf(s1,"%c%c%c%ld",&dum,&dum,&dum,&conduc->dy);
|
|
+ sscanf(s1,"%c%c%c%d",&dum,&dum,&dum,&conduc->dy);
|
|
else if (strncmp(s1,"nr=",3)==0)
|
|
- sscanf(s1,"%c%c%c%ld",&dum,&dum,&dum,&conduc->nr);
|
|
+ sscanf(s1,"%c%c%c%d",&dum,&dum,&dum,&conduc->nr);
|
|
else if (strncmp(s1,"rx=",3)==0)
|
|
sscanf(s1,"%c%c%c%le",&dum,&dum,&dum,&conduc->rx);
|