pudding
Member level 2
Hi Everyone,
I try to run an example from hspice@RF user guide. It is example 2, Power Amplifier.
.options POST accurate
.param f0=950e6 PI=3.1415926 Ld=2e-9 Rload=5 Vin=3.0
.param Lin=0.1n Vdd=2 Cd='1.0/(4*PI*PI*f0*f0*Ld)'
M1 drain gt 0 0 CMOSN L=0.35u W=50u AS=100p AD=100p
+PS=104u PD=104u M=80
Ls in gt Lin $ gate tuning
Ld drain vdd Ld $ drain tuning
Cd drain 0 Cd
Cb drain out INFINITY $ DC block
Rload out 0 Rload
Vdd vdd 0 DC Vdd
Vrf1 in 0 DC 'Vin/2.0'
+ SIN ('Vin/2' 'Vin/2' 'f0' 0 0 90)
+ HB 'Vin/2' 0.0 1 1
.hb tones=f0 nharms=10
.tran 10p 10n
.probe hb p(Rload)
.probe tran p(Rload)
.include cmos49_model.inc
.end
I defined a CMOS model. This file runs well with HSPICERF, but I cannot get .hb0 file. What I got is only .tr0 file. Can anyone tell me why? By the way, is there other good tutorial about hspicerf? Thanks a lot!!!
I try to run an example from hspice@RF user guide. It is example 2, Power Amplifier.
.options POST accurate
.param f0=950e6 PI=3.1415926 Ld=2e-9 Rload=5 Vin=3.0
.param Lin=0.1n Vdd=2 Cd='1.0/(4*PI*PI*f0*f0*Ld)'
M1 drain gt 0 0 CMOSN L=0.35u W=50u AS=100p AD=100p
+PS=104u PD=104u M=80
Ls in gt Lin $ gate tuning
Ld drain vdd Ld $ drain tuning
Cd drain 0 Cd
Cb drain out INFINITY $ DC block
Rload out 0 Rload
Vdd vdd 0 DC Vdd
Vrf1 in 0 DC 'Vin/2.0'
+ SIN ('Vin/2' 'Vin/2' 'f0' 0 0 90)
+ HB 'Vin/2' 0.0 1 1
.hb tones=f0 nharms=10
.tran 10p 10n
.probe hb p(Rload)
.probe tran p(Rload)
.include cmos49_model.inc
.end
I defined a CMOS model. This file runs well with HSPICERF, but I cannot get .hb0 file. What I got is only .tr0 file. Can anyone tell me why? By the way, is there other good tutorial about hspicerf? Thanks a lot!!!