The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 9:38pm
Pages: 1
Send Topic Print
How can I sweep actimes in trans analysis? (Read 3177 times)
aaron_do
Senior Fellow
******
Offline



Posts: 1398

How can I sweep actimes in trans analysis?
Feb 11th, 2014, 12:57am
 
Hi all,


I'm using Spectre Trans analysis, and I want to sweep the option actimes. Does anybody know how?


thanks,
Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: How can I sweep actimes in trans analysis?
Reply #1 - Feb 16th, 2014, 12:38am
 
Well, you can add a sweep around the analyses which is varying the actimes - as follows:
Code:
//
parameters act=0.5u
V1 (in 0) vsource type=sine mag=1 freq=1M ampl=1.2
R1 (in out) resistor r=1k
C1 (out 0) capacitor c=1p

sweepact sweep param=act start=0.1u stop=0.8u step=0.1u {
    ac ac start=1 stop=1G
    tran tran stop=1u acnames=[ac] actimes=[act]
} 



Of course this is a completely silly example...

I suspect this is not what you're asking (it wasn't very precise). Are you asking to do a single transient where the actimes is a sweep rather than a list of literal values? If so, you can't do that... you should contact http://support.cadence.com as it's a reasonable request for an enhancement.

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: How can I sweep actimes in trans analysis?
Reply #2 - Feb 16th, 2014, 6:06pm
 
Hi Andrew,


thanks for the reply. Yeah I see that in your example I would need to run N times as many analyses. Right now I need to type in each actime that I want included. See if I get around to contacting support...


thanks,
Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: How can I sweep actimes in trans analysis?
Reply #3 - Feb 18th, 2014, 10:50am
 
Hi Aaron,
I recently asked the support for that. The answer I got:
"as for tran and actimes there is yet no such advanced “acperiod” option, you could also do a for loop and run a tran for each code."
- B O E
Back to top
 
 
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.