In the name of God, the Most Gracious, the Most Merciful
QSpice: Mixed-Signal `.DLL` Custom Devices
QSpice runs a compiled C or C++ model as a .DLL custom-device block.
The symbol is the contract.
Pin names in the symbol must match the source port list.
When to use
Use this skill when a circuit needs a controller, a state machine, or a behavioral block.
Use this skill when that block is easier in code than in SPICE primitives.
Use this skill when you must check a symbol against its C++ source.
When not to use
Do not use this skill for pure analog placement.
Open qspice-getting-started for that placement.
Open qspice-schematic-layout for that placement.
Open qspice-convergence-debugging when the simulation runs but does not converge.
Reference files
workflow.md— device spec, manual pins, scaffold, build, and validatesymbol-reuse.md— export and place standalone.qsymsymbols