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: LTspice Annotated and Expanded Help

1. .model card syntax

spice model card
Figure 1. .model card syntax

2. Voltage source syntax

spice pulse
Figure 2. Voltage source pulse syntax