Fix BSIM4v7 to work with 'alter' command in CUSPICE (part 2)

This commit is contained in:
Francesco Lannutti 2018-05-06 20:45:05 +02:00
parent 592afc0a84
commit ac1e2b660a
1 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,10 @@
#include "ngspice/suffix.h"
#include "ngspice/fteext.h"
#ifdef USE_CUSPICE
#include "ngspice/CUSPICE/CUSPICE.h"
#endif
int
BSIM4v7param(
int param,
@ -213,7 +217,6 @@ IFvalue *select)
if (model->gen.GENinitCUDA) {
model->BSIM4v7paramCPU.BSIM4v7nfArray[here->gen.GENcudaIndex] = here->BSIM4v7nf;
model->BSIM4v7paramCPU.BSIM4v7offArray[here->gen.GENcudaIndex] = here->BSIM4v7off;
model->BSIM4v7paramCPU.BSIM4v7sbArray[here->gen.GENcudaIndex] = here->BSIM4v7sb;
model->BSIM4v7paramCPU.BSIM4v7trnqsModArray[here->gen.GENcudaIndex] = here->BSIM4v7trnqsMod;
model->BSIM4v7paramCPU.BSIM4v7acnqsModArray[here->gen.GENcudaIndex] = here->BSIM4v7acnqsMod;
model->BSIM4v7paramCPU.BSIM4v7rbodyModArray[here->gen.GENcudaIndex] = here->BSIM4v7rbodyMod;