hspice .alter
.alter command is very useful for hspice simulation, it can replace the temp, power_val, model corner and other parameters define, below is a sample of simulation netlist:
.temp 27
.lib 'model' tt
.param pow_val=3.3
............. transistor describe
.op
.save
.tran 0.01n 10n
.opt post
.alter
.temp 0
.lib 'model' ss
.param pow_val=2.3
.atler
.temp 100
.lib 'model' 100
.param pow_val=3.6
.end
there are 3 corner groups simulation, it is tt, ss, ff corner,
the temp ,model corner, pow_val are replaced by every alter
BTW, the .alter command have to just before the .end .
best regards