// Ideal Voltage Controlled Oscillator
module	vco(in, out)(GAIN, FC)
node [V,I] in,out ;
parameter real GAIN = 1, FC = 1e3 ;
{
   analog
      V(out) <- sin(2*3.14159*(integ(FC+GAIN*V(in),0))) ;
   }