Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
.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:
.alter is Used to re-run simulation with a modified netlist. All simulation statements between the .ALTER command line and either the next .ALTER or .END command are back-substituted in the original netlist
Examples
alter command example
r1 1 2 1k
r2 2 0 1k
c1 2 0 1n
.ac dec 10 200 1000meg
vin 1 0 ac 1
.plot ac vdb(2) (-90, 0)
.alter
r1 1 2 10k
c1 2 0 100p
.ac dec 15 200 1500meg
.end
Specifies two simulation runs. Both perform an AC analysis but certain
component values, the number of points and stop frequency of the AC analysis are
changed using the .alter command for the second run.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.