/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/mos2/ |
H A D | mos2supd.c | 22 int iparmno; in MOS2sUpdate() local 72 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS2sUpdate() 79 printf("iparmno = %d\n",iparmno); in MOS2sUpdate() 131 10 * (iparmno - 1)) = sxpgs; in MOS2sUpdate() 133 10 * (iparmno - 1)) = sxpgd; in MOS2sUpdate() 135 10 * (iparmno - 1)) = sxpbs; in MOS2sUpdate() 157 10 * (iparmno - 1) + 1)); in MOS2sUpdate() 160 10 * (iparmno - 1) + 1)); in MOS2sUpdate() 163 10 * (iparmno - 1) + 1)); in MOS2sUpdate() 166 10 * (iparmno - 1) + 1)); in MOS2sUpdate() [all …]
|
H A D | mos2sld.c | 27 int iparmno; in MOS2sLoad() local 464 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS2sLoad() 481 10*(iparmno - 1)) in MOS2sLoad() 483 10*(iparmno - 1) + 1); in MOS2sLoad() 486 10*(iparmno - 1)) in MOS2sLoad() 488 10*(iparmno - 1) + 1); in MOS2sLoad() 491 10*(iparmno - 1)) in MOS2sLoad() 493 10*(iparmno - 1) + 1); in MOS2sLoad() 496 10*(iparmno - 1)) in MOS2sLoad() 498 10*(iparmno - 1) + 1); in MOS2sLoad() [all …]
|
H A D | mos2sacl.c | 117 int iparmno; in MOS2sAcLoad() local 634 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS2sAcLoad() 641 (info->SEN_Sap[here->MOS2bNode][iparmno] in MOS2sAcLoad() 661 *(info->SEN_RHS[here->MOS2bNode] + iparmno) -= in MOS2sAcLoad() 663 *(info->SEN_iRHS[here->MOS2bNode] + iparmno) -= in MOS2sAcLoad() 666 *(info->SEN_RHS[here->MOS2gNode] + iparmno) -= in MOS2sAcLoad() 668 *(info->SEN_iRHS[here->MOS2gNode] + iparmno) -= in MOS2sAcLoad() 672 *(info->SEN_RHS[here->MOS2sNode] + iparmno) -= in MOS2sAcLoad() 684 *(info->SEN_RHS[here->MOS2dNode] + iparmno) -= in MOS2sAcLoad() 699 ,iparmno,here->MOS2senParmNo); in MOS2sAcLoad() [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/mos3/ |
H A D | mos3supd.c | 20 int iparmno; in MOS3sUpdate() local 70 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS3sUpdate() 77 printf("iparmno = %d\n",iparmno); in MOS3sUpdate() 129 10 * (iparmno - 1)) = sxpgs; in MOS3sUpdate() 131 10 * (iparmno - 1)) = sxpgd; in MOS3sUpdate() 133 10 * (iparmno - 1)) = sxpbs; in MOS3sUpdate() 157 10 * (iparmno - 1) + 1)); in MOS3sUpdate() 160 10 * (iparmno - 1) + 1)); in MOS3sUpdate() 163 10 * (iparmno - 1) + 1)); in MOS3sUpdate() 166 10 * (iparmno - 1) + 1)); in MOS3sUpdate() [all …]
|
H A D | mos3sld.c | 28 int iparmno; in MOS3sLoad() local 466 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS3sLoad() 483 10*(iparmno - 1)) in MOS3sLoad() 485 10*(iparmno - 1) + 1); in MOS3sLoad() 488 10*(iparmno - 1)) in MOS3sLoad() 490 10*(iparmno - 1) + 1); in MOS3sLoad() 493 10*(iparmno - 1)) in MOS3sLoad() 495 10*(iparmno - 1) + 1); in MOS3sLoad() 498 10*(iparmno - 1)) in MOS3sLoad() 500 10*(iparmno - 1) + 1); in MOS3sLoad() [all …]
|
H A D | mos3sacl.c | 117 int iparmno; in MOS3sAcLoad() local 638 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS3sAcLoad() 646 (info->SEN_Sap[here->MOS3bNode][iparmno] in MOS3sAcLoad() 666 *(info->SEN_RHS[here->MOS3bNode] + iparmno) -= in MOS3sAcLoad() 668 *(info->SEN_iRHS[here->MOS3bNode] + iparmno) -= in MOS3sAcLoad() 671 *(info->SEN_RHS[here->MOS3gNode] + iparmno) -= in MOS3sAcLoad() 673 *(info->SEN_iRHS[here->MOS3gNode] + iparmno) -= in MOS3sAcLoad() 677 *(info->SEN_RHS[here->MOS3sNode] + iparmno) -= in MOS3sAcLoad() 689 *(info->SEN_RHS[here->MOS3dNode] + iparmno) -= in MOS3sAcLoad() 704 iparmno,here->MOS3senParmNo); in MOS3sAcLoad() [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/mos9/ |
H A D | mos9supd.c | 21 int iparmno; in MOS9sUpdate() local 71 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS9sUpdate() 78 printf("iparmno = %d\n",iparmno); in MOS9sUpdate() 130 10 * (iparmno - 1)) = sxpgs; in MOS9sUpdate() 132 10 * (iparmno - 1)) = sxpgd; in MOS9sUpdate() 134 10 * (iparmno - 1)) = sxpbs; in MOS9sUpdate() 158 10 * (iparmno - 1) + 1)); in MOS9sUpdate() 161 10 * (iparmno - 1) + 1)); in MOS9sUpdate() 164 10 * (iparmno - 1) + 1)); in MOS9sUpdate() 167 10 * (iparmno - 1) + 1)); in MOS9sUpdate() [all …]
|
H A D | mos9sld.c | 28 int iparmno; in MOS9sLoad() local 466 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS9sLoad() 483 10*(iparmno - 1)) in MOS9sLoad() 485 10*(iparmno - 1) + 1); in MOS9sLoad() 488 10*(iparmno - 1)) in MOS9sLoad() 490 10*(iparmno - 1) + 1); in MOS9sLoad() 493 10*(iparmno - 1)) in MOS9sLoad() 495 10*(iparmno - 1) + 1); in MOS9sLoad() 498 10*(iparmno - 1)) in MOS9sLoad() 500 10*(iparmno - 1) + 1); in MOS9sLoad() [all …]
|
H A D | mos9sacl.c | 118 int iparmno; in MOS9sAcLoad() local 633 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS9sAcLoad() 641 (info->SEN_Sap[here->MOS9bNode][iparmno] in MOS9sAcLoad() 661 *(info->SEN_RHS[here->MOS9bNode] + iparmno) -= in MOS9sAcLoad() 663 *(info->SEN_iRHS[here->MOS9bNode] + iparmno) -= in MOS9sAcLoad() 666 *(info->SEN_RHS[here->MOS9gNode] + iparmno) -= in MOS9sAcLoad() 668 *(info->SEN_iRHS[here->MOS9gNode] + iparmno) -= in MOS9sAcLoad() 672 *(info->SEN_RHS[here->MOS9sNode] + iparmno) -= in MOS9sAcLoad() 684 *(info->SEN_RHS[here->MOS9dNode] + iparmno) -= in MOS9sAcLoad() 699 iparmno,here->MOS9senParmNo); in MOS9sAcLoad() [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/mos1/ |
H A D | mos1supd.c | 22 int iparmno; in MOS1sUpdate() local 72 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS1sUpdate() 79 printf("iparmno = %d\n",iparmno); in MOS1sUpdate() 131 10 * (iparmno - 1)) = sxpgs; in MOS1sUpdate() 133 10 * (iparmno - 1)) = sxpgd; in MOS1sUpdate() 135 10 * (iparmno - 1)) = sxpbs; in MOS1sUpdate() 161 10 * (iparmno - 1) + 1)); in MOS1sUpdate() 164 10 * (iparmno - 1) + 1)); in MOS1sUpdate() 167 10 * (iparmno - 1) + 1)); in MOS1sUpdate() 170 10 * (iparmno - 1) + 1)); in MOS1sUpdate() [all …]
|
H A D | mos1sld.c | 27 int iparmno; in MOS1sLoad() local 466 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS1sLoad() 483 10*(iparmno - 1)) in MOS1sLoad() 485 10*(iparmno - 1) + 1); in MOS1sLoad() 488 10*(iparmno - 1)) in MOS1sLoad() 490 10*(iparmno - 1) + 1); in MOS1sLoad() 493 10*(iparmno - 1)) in MOS1sLoad() 495 10*(iparmno - 1) + 1); in MOS1sLoad() 498 10*(iparmno - 1)) in MOS1sLoad() 500 10*(iparmno - 1) + 1); in MOS1sLoad() [all …]
|
H A D | mos1sacl.c | 117 int iparmno; in MOS1sAcLoad() local 637 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in MOS1sAcLoad() 645 (info->SEN_Sap[here->MOS1bNode][iparmno] in MOS1sAcLoad() 665 *(info->SEN_RHS[here->MOS1bNode] + iparmno) -= in MOS1sAcLoad() 667 *(info->SEN_iRHS[here->MOS1bNode] + iparmno) -= in MOS1sAcLoad() 670 *(info->SEN_RHS[here->MOS1gNode] + iparmno) -= in MOS1sAcLoad() 672 *(info->SEN_iRHS[here->MOS1gNode] + iparmno) -= in MOS1sAcLoad() 676 *(info->SEN_RHS[here->MOS1sNode] + iparmno) -= in MOS1sAcLoad() 688 *(info->SEN_RHS[here->MOS1dNode] + iparmno) -= in MOS1sAcLoad() 703 iparmno,here->MOS1senParmNo); in MOS1sAcLoad() [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/bjt/ |
H A D | bjtsupd.c | 25 int iparmno; in BJTsUpdate() local 66 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in BJTsUpdate() 73 printf("iparmno = %d \n",iparmno); in BJTsUpdate() 85 if(iparmno == here->BJTsenParmNo){ in BJTsUpdate() 96 here->BJTsensxpbe + 8*(iparmno -1)); in BJTsUpdate() 100 here->BJTsensxpbc + 8*(iparmno -1)); in BJTsUpdate() 108 here->BJTsensxpbx + 8*(iparmno -1)); in BJTsUpdate() 114 (iparmno - 1) + 1)); in BJTsUpdate() 117 (iparmno - 1) + 1)); in BJTsUpdate() 120 (iparmno - 1) + 1)); in BJTsUpdate() [all …]
|
H A D | bjtsacl.c | 82 int iparmno,i; in BJTsAcLoad() local 555 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in BJTsAcLoad() 567 (info->SEN_Sap[here->BJTbaseNode][iparmno] in BJTsAcLoad() 590 ,DvDp,flag,iparmno,here->BJTsenParmNo); in BJTsAcLoad() 598 ,*(info->SEN_RHS[here->BJTcolNode] + iparmno), in BJTsAcLoad() 616 *(info->SEN_RHS[here->BJTbaseNode] + iparmno) -= in BJTsAcLoad() 628 *(info->SEN_RHS[here->BJTcolNode] + iparmno) -= in BJTsAcLoad() 630 *(info->SEN_iRHS[here->BJTcolNode] + iparmno) -= in BJTsAcLoad() 640 *(info->SEN_RHS[here->BJTemitNode] + iparmno) -= in BJTsAcLoad() 650 *(info->SEN_RHS[here->BJTsubstNode] + iparmno) -= in BJTsAcLoad() [all …]
|
H A D | bjtsload.c | 29 int iparmno; in BJTsLoad() local 245 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in BJTsLoad() 247 8*(iparmno - 1)) in BJTsLoad() 249 8*(iparmno - 1) + 1); in BJTsLoad() 252 8*(iparmno - 1)) in BJTsLoad() 254 8*(iparmno - 1) + 1); in BJTsLoad() 257 8*(iparmno - 1)) in BJTsLoad() 259 8*(iparmno - 1) + 1); in BJTsLoad() 262 8*(iparmno - 1)) in BJTsLoad() 264 8*(iparmno - 1) + 1); in BJTsLoad() [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/ind/ |
H A D | indsupd.c | 27 int iparmno; in INDsUpdate() local 50 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in INDsUpdate() 85 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in INDsUpdate() 90 if(iparmno == muthere->MUTsenParmNo){ in INDsUpdate() 105 (iparmno - 1)) += sxp1; in INDsUpdate() 108 (iparmno - 1)) += sxp2; in INDsUpdate() 111 printf("iparmno = %d\n",iparmno); in INDsUpdate() 128 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in INDsUpdate() 132 (iparmno - 1) + 1) = 0; in INDsUpdate() 140 (iparmno - 1)), in INDsUpdate() [all …]
|
H A D | indsload.c | 24 int iparmno; in INDsLoad() local 127 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in INDsLoad() 129 + 2*(iparmno - 1)) in INDsLoad() 131 + 2*(iparmno - 1) + 1); in INDsLoad() 132 if(iparmno == here->INDsenParmNo) Osxp = Osxp - tag0 * cind; in INDsLoad() 137 *(info->SEN_RHS[here->INDbrEq] + iparmno) -= Osxp; in INDsLoad()
|
/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/dio/ |
H A D | diosupd.c | 25 int iparmno; in DIOsUpdate() local 55 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in DIOsUpdate() 57 sposprm = *(info->SEN_Sap[here->DIOposPrimeNode] + iparmno); in DIOsUpdate() 58 sneg = *(info->SEN_Sap[here->DIOnegNode] + iparmno); in DIOsUpdate() 60 if(iparmno == here->DIOsenParmNo) sxp += *(here->DIOdphidp); in DIOsUpdate() 61 *(ckt->CKTstate0 + here->DIOsensxp + 2 * (iparmno - 1)) = sxp; in DIOsUpdate() 63 (here->DIOsensxp + 2 * (iparmno -1 ))); in DIOsUpdate() 66 *(ckt->CKTstate1 + here->DIOsensxp + 2*(iparmno - 1)) = sxp; in DIOsUpdate() 67 *(ckt->CKTstate1 + here->DIOsensxp + 2*(iparmno - 1)+1) = 0; in DIOsUpdate() 70 printf("iparmno = %d\n",iparmno); in DIOsUpdate() [all …]
|
H A D | diosacl.c | 31 int iparmno; in DIOsAcLoad() local 214 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in DIOsAcLoad() 216 DvdDp = info->SEN_Sap[here->DIOposPrimeNode][iparmno] in DIOsAcLoad() 217 - info->SEN_Sap[here->DIOnegNode][iparmno]; in DIOsAcLoad() 219 if (here->DIOsenParmNo != iparmno) continue; in DIOsAcLoad() 227 *(info->SEN_RHS[here->DIOposNode] + iparmno) -= in DIOsAcLoad() 230 *(info->SEN_iRHS[here->DIOposNode] + iparmno) -= in DIOsAcLoad() 237 *(info->SEN_RHS[here->DIOposPrimeNode] + iparmno) -= in DIOsAcLoad() 243 *(info->SEN_RHS[here->DIOnegNode] + iparmno) -= in DIOsAcLoad() 246 *(info->SEN_iRHS[here->DIOnegNode] + iparmno) -= in DIOsAcLoad() [all …]
|
H A D | diosload.c | 27 int iparmno; in DIOsLoad() local 148 for(iparmno = 1;iparmno<=info->SENparms;iparmno++){ in DIOsLoad() 150 2*(iparmno - 1)) in DIOsLoad() 152 2*(iparmno - 1) + 1); in DIOsLoad() 155 fprintf(stdout,"\n iparmno=%d,Osxp=%.7e\n",iparmno,Osxp); in DIOsLoad() 158 if(iparmno == here->DIOsenParmNo) Osxp = Osxp - tag0 * DqdDp; in DIOsLoad() 163 *(info->SEN_RHS[here->DIOposPrimeNode] + iparmno) += Osxp; in DIOsLoad() 164 *(info->SEN_RHS[here->DIOnegNode] + iparmno) -= Osxp; in DIOsLoad()
|
/dports/cad/ngspice_rework/ngspice-35/src/spicelib/devices/cap/ |
H A D | capsupd.c | 24 int iparmno; in CAPsUpdate() local 53 for(iparmno=1;iparmno<=info->SENparms;iparmno++){ in CAPsUpdate() 55 s1 = *(info->SEN_Sap[here->CAPposNode] + iparmno); in CAPsUpdate() 56 s2 = *(info->SEN_Sap[here->CAPnegNode] + iparmno); in CAPsUpdate() 59 if(iparmno == here->CAPsenParmNo) sxp += vcap; in CAPsUpdate() 61 *(ckt->CKTstate0 + here->CAPsensxp + 2*(iparmno - 1)) = sxp; in CAPsUpdate() 64 *(ckt->CKTstate0 + here->CAPsensxp + 2*(iparmno - 1) + 1)=0; in CAPsUpdate() 68 (here->CAPsensxp + 2 * (iparmno -1 ))); in CAPsUpdate() 72 printf("iparmno = %d\n",iparmno); in CAPsUpdate() 76 2*(iparmno - 1) + 1)); in CAPsUpdate()
|
H A D | capsload.c | 28 int iparmno; in CAPsLoad() local 69 for(iparmno=1;iparmno<=info->SENparms;iparmno++){ in CAPsLoad() 71 + 2*(iparmno - 1)) in CAPsLoad() 73 + 2*(iparmno - 1) + 1); in CAPsLoad() 75 printf("iparmno = %d\n",iparmno); in CAPsLoad() 77 ,*(ckt->CKTstate1 + here->CAPsensxp + 2*(iparmno-1))); in CAPsLoad() 79 *(ckt->CKTstate1 + here->CAPsensxp + 2*(iparmno-1)+1)); in CAPsLoad() 83 if(iparmno == here->CAPsenParmNo) in CAPsLoad() 89 *(info->SEN_RHS[here->CAPposNode] + iparmno) += Osxp; in CAPsLoad() 90 *(info->SEN_RHS[here->CAPnegNode] + iparmno) -= Osxp; in CAPsLoad()
|