|
From: Marco A. <mar...@gm...> - 2014-07-08 07:52:17
|
On 08/07/2014 03:20, Paul ZHANG wrote:
> Check the following code in inpdomod.c (ngspice version 25)
> -------------------------------------------------
> case 8: case 49:
> err = INPfindVer(line, ver);
>
> if ( strcmp(ver, "3.0") == 0 ) {
> type = INPtypelook("BSIM3v0");
> }
> if ( strcmp(ver, "3.1") == 0 ) {
> type = INPtypelook("BSIM3v1");
> }
> if ( prefix("3.2", ver)) { /* version string ver has to start with
> 3.2 */
> type = INPtypelook("BSIM3v32");
> }
> if ( (strstr(ver, "default")) || (prefix("3.3", ver)) ) {
> type = INPtypelook("BSIM3");
> }
> if (type < 0) {
> err = TMALLOC(char, 60 + strlen(ver));
> sprintf(err,"Device type BSIM3 version %s not available in this
> binary\n",ver);
> }
> break;
> ------------------------------------------------
>
> %----------------------------------------------------------------------------------------------
> Lining Zhang, Research Associate,
Thanks,
I was sure to have seen a difference previously, but retesting
8 and 49 behave the same as I should have expected by the code.
Regards
Marco
|