ABSTRACT

Electronic circuit designs often involve the use of similar, or even identical, blocks of circuitry. PSpice provides the user with a powerful set of commands to allow repetitive circuitry or design iteration to be done efficiently. It is possible to “program” PSpice, and there are three main statements available to do this. The chapter discusses such PSpice statements. It shows, through worked examples, how PSpice can improve efficiency in circuit simulation by the use of subcircuits and step parameter statements. In order to describe repetitive blocks of circuitry, the subcircuit approach offers the designer flexibility and ease of use. In this approach, by writing a single PSpice statement, a repetitive or an often-used circuit block can be defined once and then used each time the circuit block is required. The concept of subcircuits is similar to that of subroutines in conventional computer programming.