The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 4th, 2024, 12:47am
Pages: 1
Send Topic Print
How to do parametric sweep in Spectre language? (Read 1170 times)
James
Guest




How to do parametric sweep in Spectre language?
Mar 24th, 2005, 2:16am
 
I want to know the syntax of Parametric Sweep in Spectre language.

I need to add Parametric Sweep commonds in a spectre simulation file, but dont know how.

Does anybody know?. I mean do not use the simulation tool of Analog Design Enviroment, just insert the commonds into the spectre simulation file.

Thanks
Back to top
 
 
  IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: How to do parametric sweep in Spectre language
Reply #1 - Mar 24th, 2005, 5:32am
 
Code:
spectre -h sweep 

will answer your question.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
James
Guest




Re: How to do parametric sweep in Spectre language
Reply #2 - Mar 24th, 2005, 5:07pm
 
Thanks, but I need more details.

For Example:

I want to change the voltage of signal Vctr from 0V to 1V with the step 100mV. At each voltage, I need to simulate the ckts 100ns.

How to write the code to achieve the above setting?

Many thanks
Back to top
 
 
  IP Logged
James
Community Member
***
Offline

snowfiled

Posts: 32

Re: How to do parametric sweep in Spectre language
Reply #3 - Mar 26th, 2005, 5:11pm
 
Who know how to write these commonds?

Thanks
Back to top
 
 

James
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: How to do parametric sweep in Spectre language
Reply #4 - Mar 27th, 2005, 10:17pm
 
Well, reading the documentation (cdsdoc) would have allowed you to work this out for yourself.

For those unable to research simple things themselves, here's what you'd do:

Code:
// your circuit is here somewhere
// this source may already be in your circuit, but this
// is for illustration
vctr1 (Vctr 0) vsource dc=0

ctrsweep sweep dev=vctr1 param=dc start=0 stop=1 step=100m {
  tran1 tran stop=100n
}
 



Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
James
Community Member
***
Offline

snowfiled

Posts: 32

Re: How to do parametric sweep in Spectre language
Reply #5 - Mar 28th, 2005, 4:53pm
 
Embarrassed
I'm so shame
Back to top
 
 

James
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.