Thanks.
I need square wave vco for PLL tests. Currently I am using:
V=u(sin(2*pi*(fc*time+df*idt(V(m)))))
It can be dome in many ways wit B sources, although I am not sure how to add FM:
?
Triangle wave with period 1/fc:
V=fc* idtmod(1,0,1/fc)
?
Square wave with period 1/fc:
V=u(fc* idtmod(1,0,1/fc) - 0.5)
?
Staircase with period 1/fc:
V= floor(time*fc)
But as I remember in the good old Circuit Maker there was square/triangle vco, latter adopted by Altium.
I thought I could use it with LTSpice.