Device Model Component
Note
Source : /src/kicadtoNgspice/DeviceModel.py
- class kicadtoNgspice.DeviceModel.DeviceModel(*args: Any, **kwargs: Any)
This class creates Device Library Tab in KicadtoNgspice Window It dynamically creates the widget for device like diode,mosfet, transistor and jfet.
Same function as the subCircuit file, except for this takes different parameters in the if block
q TRANSISTOR
d DIODE
j JFET
m MOSFET
s SWITCH
tx single lossy transmission line
- Other 2 functions same as the ones in subCircuit
trackLibrary
trackLibraryWithoutButton
- eSim_ihp(schematicInfo)
Handle IHP SG13G2 PDK components. Each IHP device gets its own library selection UI with: - Library path + Add/Add Default buttons - Corner selection dropdown - Device parameters (W, L, nf)
- ihpCornerChanged(corner)
Handle IHP corner selection change.
- ihpParamChanged(params)
Handle IHP parameter change.
- trackDefaultIHPDeviceLib()
Set default IHP PDK library path for a specific device.
- trackIHPDeviceLibrary()
Browse for IHP PDK library file for a specific device.
- trackLibrary()
This function is use to keep track of all Device Model widget
- trackLibraryWithoutButton(iter_value, path_value)
This function is use to keep track of all Device Model widget