These notes are primarily intended for LTspice®, but are generally valid for most other SPICE-based simulators.

A nice web version of the LTspice XVII help files is found at LTwiki: LTspiceXVII Help

1. .model card syntax

verbatim text

.model card syntax
        .-- name of this particular model
        |  .-- device type
        |  |    .-- space separated model key=value parameters
        |  |    |
".model N NMOS(...)"
spice model card
Figure 1. another

2. Voltage source syntax

spice pulse
Figure 2. Voltage source pulse syntax