Continue to Site

Welcome to EDAboard.com

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.

How to use alter statement in spectre?

Status
Not open for further replies.

didibabawu

Member level 5
Joined
Dec 21, 2005
Messages
90
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,286
Activity points
1,851
I run the spectre in command line, and when I use the alter statement in spectre , it doesn't work. Can anybody give me some advise about the staement? The following is the statement I use:

aa alter param=k1 value=2

The k1 is the parameter and was set 1 in the netlist.
 

try using altergroup instead:

alter_1 altergroup {
parameters k1=2
}
 

aa alter param=k1 value=2

I think this should work. I believe that one difference between HSPICE and Spectre is that in HSPICE, I believe the .alter command automatically kicks off a 2nd analysis, while in Spectre, you need to invoke it explicitly.

So, you'd need something like:

aa alter param=vg value=1
dcsweep_aa dc param=vd start=0 stop =2 step=0.1

Works for me, anyhow. Good luck!
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top