Browse Source

use utf-8 encoding

rlar 14 years ago
parent
commit
a394d79c56
  1. 2
      ChangeLog
  2. 2
      src/frontend/inpcom.c
  3. 6
      src/maths/misc/randnumb.c
  4. 2
      src/spicelib/devices/bsim3soi/BsimTerms_use
  5. 14
      src/spicelib/devices/bsim3soi_dd/BsimTerms_use
  6. 14
      src/spicelib/devices/bsim3soi_fd/BsimTerms_use
  7. 14
      src/spicelib/devices/bsim3soi_pd/BsimTerms_use
  8. 2
      src/spicelib/devices/cpl/cplsetup.c
  9. 2
      src/spicelib/devices/isrc/isrcacct.c
  10. 2
      src/spicelib/devices/vsrc/vsrcacct.c

2
ChangeLog

@ -3068,7 +3068,7 @@ M visualc/vngspice.vcproj
2010-11-06 Robert Larice 2010-11-06 Robert Larice
* src/frontend/inpcom.c : * src/frontend/inpcom.c :
Thank you Éric Larouche, for the report and fix of a bug concerning
Thank you Éric Larouche, for the report and fix of a bug concerning
the number of terminals of the current-controlled switch device the number of terminals of the current-controlled switch device
(`w' device) (committed at 2007-10-08) (`w' device) (committed at 2007-10-08)

2
src/frontend/inpcom.c

@ -911,7 +911,7 @@ inp_fix_gnd_name(struct line *deck)
c = c->li_next; c = c->li_next;
continue; continue;
} }
// replace "§gnd§" by "§ 0 §", § being a ' ' ',' '(' ')'.
// replace "?gnd?" by "? 0 ?", ? being a ' ' ',' '(' ')'.
while ((gnd = strstr(gnd, "gnd")) != NULL) { while ((gnd = strstr(gnd, "gnd")) != NULL) {
if ((isspace(*(gnd-1)) || *(gnd-1) == '(' || *(gnd-1) == ',') && if ((isspace(*(gnd-1)) || *(gnd-1) == '(' || *(gnd-1) == ',') &&
(isspace(*(gnd+3)) || *(gnd+3) == ')' || *(gnd+3) == ',')) { (isspace(*(gnd+3)) || *(gnd+3) == ')' || *(gnd+3) == ',')) {

6
src/maths/misc/randnumb.c

@ -13,13 +13,13 @@ Copyright 2008 Holger Vogt
Algorithm has been suggested in: Algorithm has been suggested in:
GPUGems 3, Addison Wesley, 2008, Chapter 37. GPUGems 3, Addison Wesley, 2008, Chapter 37.
It combines a three component Tausworthe generator taus88 It combines a three component Tausworthe generator taus88
(see P. L'Ecuyer: "Maximally equidistributed combined Tausworthe
(see P. LâEcuyer: "Maximally equidistributed combined Tausworthe
generators", Mathematics of Computation, 1996, generators", Mathematics of Computation, 1996,
www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme.ps)
http://www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme.ps )
and a quick linear congruent generator (LCG), decribed in: and a quick linear congruent generator (LCG), decribed in:
Press: "Numerical recipes in C", Cambridge, 1992, p. 284. Press: "Numerical recipes in C", Cambridge, 1992, p. 284.
Generator has passed the bbattery_SmallCrush(gen) test of the Generator has passed the bbattery_SmallCrush(gen) test of the
TestU01 library from Pierre LEcuyer and Richard Simard,
TestU01 library from Pierre LâEcuyer and Richard Simard,
http://www.iro.umontreal.ca/~simardr/testu01/tu01.html http://www.iro.umontreal.ca/~simardr/testu01/tu01.html
*/ */

2
src/spicelib/devices/bsim3soi/BsimTerms_use

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following.
The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable

14
src/spicelib/devices/bsim3soi_dd/BsimTerms_use

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following.
The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable
@ -15,15 +15,15 @@ and redistribute the software and documentation, both within the user's
organization and externally, subject to the following restrictions organization and externally, subject to the following restrictions
1. The users agree not to charge for the University of California code 1. The users agree not to charge for the University of California code
   itself but may charge for additions, extensions, or support.
itself but may charge for additions, extensions, or support.
2. In any product based on the software, the users agree to acknowledge 2. In any product based on the software, the users agree to acknowledge
   the UC Berkeley BSIM Research Group that developed the software. This
   acknowledgment shall appear in the product documentation.
the UC Berkeley BSIM Research Group that developed the software. This
acknowledgment shall appear in the product documentation.
3. The users agree to obey all U.S. Government restrictions governing 3. The users agree to obey all U.S. Government restrictions governing
   redistribution or export of the software.
redistribution or export of the software.
4. The users agree to reproduce any copyright notice which appears on 4. The users agree to reproduce any copyright notice which appears on
   the software on any copy or modification of such made available
   to others.
the software on any copy or modification of such made available
to others.

14
src/spicelib/devices/bsim3soi_fd/BsimTerms_use

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following.
The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable
@ -15,15 +15,15 @@ and redistribute the software and documentation, both within the user's
organization and externally, subject to the following restrictions organization and externally, subject to the following restrictions
1. The users agree not to charge for the University of California code 1. The users agree not to charge for the University of California code
   itself but may charge for additions, extensions, or support.
itself but may charge for additions, extensions, or support.
2. In any product based on the software, the users agree to acknowledge 2. In any product based on the software, the users agree to acknowledge
   the UC Berkeley BSIM Research Group that developed the software. This
   acknowledgment shall appear in the product documentation.
the UC Berkeley BSIM Research Group that developed the software. This
acknowledgment shall appear in the product documentation.
3. The users agree to obey all U.S. Government restrictions governing 3. The users agree to obey all U.S. Government restrictions governing
   redistribution or export of the software.
redistribution or export of the software.
4. The users agree to reproduce any copyright notice which appears on 4. The users agree to reproduce any copyright notice which appears on
   the software on any copy or modification of such made available
   to others.
the software on any copy or modification of such made available
to others.

14
src/spicelib/devices/bsim3soi_pd/BsimTerms_use

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following.
The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable
@ -15,15 +15,15 @@ and redistribute the software and documentation, both within the user's
organization and externally, subject to the following restrictions organization and externally, subject to the following restrictions
1. The users agree not to charge for the University of California code 1. The users agree not to charge for the University of California code
   itself but may charge for additions, extensions, or support.
itself but may charge for additions, extensions, or support.
2. In any product based on the software, the users agree to acknowledge 2. In any product based on the software, the users agree to acknowledge
   the UC Berkeley BSIM Research Group that developed the software. This
   acknowledgment shall appear in the product documentation.
the UC Berkeley BSIM Research Group that developed the software. This
acknowledgment shall appear in the product documentation.
3. The users agree to obey all U.S. Government restrictions governing 3. The users agree to obey all U.S. Government restrictions governing
   redistribution or export of the software.
redistribution or export of the software.
4. The users agree to reproduce any copyright notice which appears on 4. The users agree to reproduce any copyright notice which appears on
   the software on any copy or modification of such made available
   to others.
the software on any copy or modification of such made available
to others.

2
src/spicelib/devices/cpl/cplsetup.c

@ -94,7 +94,7 @@ static void poly_W(int, int);
static void eval_frequency(int, int); static void eval_frequency(int, int);
static void store(int, int); static void store(int, int);
static void store_SiSv_1(int, int); static void store_SiSv_1(int, int);
/*static int check(); quale è il prototipo ?*/
/*static int check(); quale è il prototipo ?*/
static int coupled(int); static int coupled(int);
static int generate_out(int, int); static int generate_out(int, int);
static int ReadCpL(CPLinstance*, CKTcircuit*); static int ReadCpL(CPLinstance*, CKTcircuit*);

2
src/spicelib/devices/isrc/isrcacct.c

@ -83,7 +83,7 @@ ISRCaccept(CKTcircuit *ckt, GENmodel *inModel)
tshift = TD; tshift = TD;
#ifdef XSPICE #ifdef XSPICE
/* normalize phase to 0 - 360° */
/* normalize phase to 0 - 360° */
/* normalize phase to cycles */ /* normalize phase to cycles */
phase = PHASE / 360.0; phase = PHASE / 360.0;
phase = fmod(phase, 1.0); phase = fmod(phase, 1.0);

2
src/spicelib/devices/vsrc/vsrcacct.c

@ -83,7 +83,7 @@ VSRCaccept(CKTcircuit *ckt, GENmodel *inModel)
tshift = TD; tshift = TD;
#ifdef XSPICE #ifdef XSPICE
/* normalize phase to 0 - 360° */
/* normalize phase to 0 - 360° */
/* normalize phase to cycles */ /* normalize phase to cycles */
phase = PHASE / 360.0; phase = PHASE / 360.0;
phase = fmod(phase, 1.0); phase = fmod(phase, 1.0);

Loading…
Cancel
Save