subcircuit
A subcircuit is a self-contained portion of an electrical circuit whose internal structure is abstracted from the rest of the design. It represents a function or a device model as a single entity with a defined set of external connection points, or ports, through which it interacts with the surrounding circuit. Subcircuits enable modular design, reuse, and easier management of complex circuits.
In schematic capture and circuit simulation, subcircuits are used to encapsulate recurring building blocks such as
In SPICE and many EDA tools, a subcircuit is defined with a header that lists its port
Key advantages include abstraction, modularity, and easier maintenance, as changes to the subcircuit only need to
Limitations include potential performance overhead for deep hierarchies and the need for clear documentation of interfaces.