Device Model Component

class kicadtoNgspice.DeviceModel.DeviceModel(schematicInfo, clarg1)
  • 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
  • Other 2 functions same as the ones in subCircuit
    • trackLibrary
    • trackLibraryWithoutButton
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