SPICEModel#
- class ansys.edb.core.hierarchy.spice_model.SPICEModel(msg)#
Represents a SPICE model object.
Methods
SPICEModel.add_terminal
(terminal, pin)Add a terminal with a pin number.
Clone a model.
SPICEModel.create
(name, path, sub_circuit)Create a SPICE model.
SPICEModel.remove_terminal
(terminal)Remove a terminal.
Attributes
int
: Unique ID of the EDB object.bool
: Flag indicating if the object exists in the database.str
: Name of the SPICE model file.str
: Path to the SPICE model file.EDBObjMessage
: Protobuf message that represents the object's ID.str
: Name of the subcircuit in the SPICE model.dict
of {str
:str
}: A dictionary showing the mapping of terminals in the layout to pins in the spice model by name.