* XSPICE A-device: a 'gain' code model V1 in 0 DC 0.5 A1 in out gainblk .model gainblk gain(gain=3.0) .control op print v(out) .endc .end