KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SIM_DECOMPOSITION Struct Reference

Per-component decomposition descriptor stored in the Sim.Decomposition field. More...

#include <sim_model_multiunit.h>

Public Types

enum class  MODE { WHOLE_DEVICE , REPEAT_PER_UNIT }
 

Public Member Functions

wxString Format () const
 

Static Public Member Functions

static SIM_DECOMPOSITION Parse (const wxString &aField)
 

Public Attributes

MODE mode = MODE::WHOLE_DEVICE
 
std::vector< wxString > sharedModelPins
 

Detailed Description

Per-component decomposition descriptor stored in the Sim.Decomposition field.

It selects how a multi-unit symbol is turned into SPICE. WHOLE_DEVICE is the default and historic behavior (the per-unit Sim.Pins are merged into a single instance of a hand-built whole-device model). REPEAT_PER_UNIT instantiates a single-unit vendor model once per functional unit, sharing the listed model pins (typically the supply rails) across all instances.

Unknown or empty fields resolve to WHOLE_DEVICE so older and newer files alike keep today's safe behavior.

Definition at line 57 of file sim_model_multiunit.h.

Member Enumeration Documentation

◆ MODE

enum class SIM_DECOMPOSITION::MODE
strong
Enumerator
WHOLE_DEVICE 
REPEAT_PER_UNIT 

Definition at line 59 of file sim_model_multiunit.h.

Member Function Documentation

◆ Format()

◆ Parse()

Member Data Documentation

◆ mode

◆ sharedModelPins


The documentation for this struct was generated from the following files: