Sim: Fix unhandled MODEL_TYPE in SIM_MODEL_NGSPICE

This commit is contained in:
Mikolaj Wielgus 2022-11-28 07:59:24 +01:00
parent d836fbaaaa
commit 7b1a460649
1 changed files with 3 additions and 0 deletions

View File

@ -242,6 +242,8 @@ SIM_MODEL_NGSPICE::MODEL_TYPE SIM_MODEL_NGSPICE::getModelType() const
case TYPE::NMES_HFET2: case TYPE::NMES_HFET2:
case TYPE::PMES_HFET2: return MODEL_TYPE::HFET2; case TYPE::PMES_HFET2: return MODEL_TYPE::HFET2;
case TYPE::NMOS_VDMOS:
case TYPE::PMOS_VDMOS: return MODEL_TYPE::VDMOS;
case TYPE::NMOS_MOS1: case TYPE::NMOS_MOS1:
case TYPE::PMOS_MOS1: return MODEL_TYPE::MOS1; case TYPE::PMOS_MOS1: return MODEL_TYPE::MOS1;
case TYPE::NMOS_MOS2: case TYPE::NMOS_MOS2:
@ -295,6 +297,7 @@ bool SIM_MODEL_NGSPICE::getIsOtherVariant()
case TYPE::PMES_YTTERDAL: case TYPE::PMES_YTTERDAL:
case TYPE::PMES_HFET1: case TYPE::PMES_HFET1:
case TYPE::PMES_HFET2: case TYPE::PMES_HFET2:
case TYPE::PMOS_VDMOS:
case TYPE::PMOS_MOS1: case TYPE::PMOS_MOS1:
case TYPE::PMOS_MOS2: case TYPE::PMOS_MOS2:
case TYPE::PMOS_MOS3: case TYPE::PMOS_MOS3: