How to declare a two-tone power source in H-Spice?
I don't think you can. Why not just use a three way resistive splitter to combine two sources?
use a transient analysis of HSPICE and after some periods see the FFT of output. because it may get much time it is better to take the FFT in MATLAB.
mkhafaji, what I mean is how to set a voltage source with two different tones in H-Spice, in order to check the output spectrum to calculate IM3. Similar to ADS, where a power source can be declared with 2-tones, like 2 sources were combined.
May it be possible by adding two sources by writting a polynom or something similar ?
use 2 transient inputs in series, each with a single frequency.
For example: net in is the input net for the circuit,
rs net0 in 50 ***source resistance
v1 net0 net1 sin(0 10m 100meg) **tone 1
v2 net1 0 sin(0 10m 101meg) ***tone 2
if for a differential input amplifier, a balun is needed.
Best regards
