rewrite, using IFerrorf()
This commit is contained in:
parent
157aedd72d
commit
eedb80a2ba
|
|
@ -919,14 +919,11 @@ int HSMHVsetup(
|
||||||
if ( here->HSMHV_cosubnode == 0 && here->HSMHVsubNode >= 0 ) {
|
if ( here->HSMHV_cosubnode == 0 && here->HSMHVsubNode >= 0 ) {
|
||||||
if ( here->HSMHVtempNode >= 0 ) {
|
if ( here->HSMHVtempNode >= 0 ) {
|
||||||
/* FATAL Error when 6th node is defined and COSUBNODE=0 */
|
/* FATAL Error when 6th node is defined and COSUBNODE=0 */
|
||||||
IFuid namarr[2];
|
SPfrontEnd->IFerrorf
|
||||||
namarr[0] = here->HSMHVname;
|
|
||||||
namarr[1] = model->HSMHVmodName;
|
|
||||||
(*(SPfrontEnd->IFerror))
|
|
||||||
(
|
(
|
||||||
ERR_FATAL,
|
ERR_FATAL,
|
||||||
"HiSIM_HV: MOSFET(%s) MODEL(%s): 6th node is defined and COSUBNODE=0",
|
"HiSIM_HV: MOSFET(%s) MODEL(%s): 6th node is defined and COSUBNODE=0",
|
||||||
namarr
|
here->HSMHVname, model->HSMHVmodName
|
||||||
);
|
);
|
||||||
return (E_BADPARM);
|
return (E_BADPARM);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue