Hi, Dear all:
I want to use a model which implements a frequency domain function as:
f(f)=1+cos(f/T)
where 'f' is the frequency, and T is a constant.
Is there such a model? analogLib or verilogA is prefered
The HSPICE® User Guide: Simulation and Analysis (B-2008.09) on pp. 237-239 shows several examples of behavioral (E-element with a SIN source) and Verilog-A examples.
It could be as simple as
Code:
Eosc n+ n- VOL='SIN(1+cos(freq/T))'
... but I'm not sure if it works with changing frequencies. Just try it!