Expressions and parameters

Use .param, .func and {…} so values follow from each other.

Put parameters in a SPICE directive part, then use them in any part’s value inside braces.

.param R = 10k  C = 100n
.func fc(r, c) = 1/(2*pi*r*c)

Then give a resistor the value {R} and a capacitor {C}, or a second resistor {R*2}. Change one line and every value that uses it follows.

  • Several parameters can go on one .param line.
  • .func defines a function you can call in braces.
  • Values also accept tolerance and temperature coefficients.
  • Mistakes become plain notes in the Log, such as Write .param as name = value, such as .param R = 10k.

Applies to Coppa 0.1 Preview 14. Last updated 22 November 2026.