How to create an ASK source in hspice?

Status
Not open for further replies.

whaler

Newbie level 4
Joined
Feb 6, 2005
Messages
5
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
48
hspice fm source function

I want to simulate a ASK singnal using hspice, but I can't find the way to create such an ASK signal. Please help me, thanks a lot!

Added after 38 minutes:

I have found one way:

Code:
Vpulse v1 0 pulse(0 1 0 1n 1n 100n 200n)
Vsin v2 0 sin(0 1 100MEG) 
Eout out 0 VOL='V(v1)*V(v2)'
 

hspice ask amplitude

Amplitude Modulation Source Function
The general syntax for including a single-frequency, frequency-modulated
source in an independent voltage or current source is:
Syntax
Vxxx n+ n- AM < (> sa oc fm fc <td> <)>
or
Ixxx n+ n- AM < (> sa oc fm fc <td> <)>
The arguments are:
Vxxx, Ixxx Independent voltage source, which exhibits the amplitudemodulated
response.
AM Keyword for an amplitude-modulated, time-varying source.
sa Signal amplitude, in volts or amps. Default=0.0.
fc Carrier frequency, in hertz. Default=0.0.
fm Modulation frequency, in hertz. Default=1/TSTOP.
oc Offset constant, a unitless constant that determines the absolute
magnitude of the modulation. Default=0.0.
td Delay time before the start of the signal, in seconds. Default=0.0.

Example:

V1 1 0 AM(10 1 100 1K 1M)
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…