CfgSpiceModel#

class pyedb.configuration.cfg_spice_models.CfgSpiceModel(/, **data: Any)#

Bases: pyedb.configuration.cfg_common.CfgBaseModel

Represent one SPICE subcircuit model assignment.

Overview#

model_post_init

Set private runtime attributes from excluded fields.

apply

Apply Spice model on layout.

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name

component_definition

file_path

sub_circuit_name

apply_to_all

components

terminal_pairs

pedb

path_lib

Import detail#

from pyedb.configuration.cfg_spice_models import CfgSpiceModel

Attribute detail#

CfgSpiceModel.model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

CfgSpiceModel.name: str = ''#
CfgSpiceModel.component_definition: str = ''#
CfgSpiceModel.file_path: str = ''#
CfgSpiceModel.sub_circuit_name: str = ''#
CfgSpiceModel.apply_to_all: bool = True#
CfgSpiceModel.components: list = None#
CfgSpiceModel.terminal_pairs: Any | None = None#
CfgSpiceModel.pedb: Any | None = None#
CfgSpiceModel.path_lib: str | None = None#

Method detail#

CfgSpiceModel.model_post_init(__context: Any) None#

Set private runtime attributes from excluded fields.

CfgSpiceModel.apply()#

Apply Spice model on layout.