The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 5th, 2024, 1:44am
Pages: 1
Send Topic Print
How to generayte uramp usingSpectreRF?? (Read 2436 times)
fchirouf
Junior Member
**
Offline



Posts: 15

How to generayte uramp usingSpectreRF??
Feb 02nd, 2005, 1:31am
 
Hello all!
I need to use uramp function in spectreRF, so I don't know who to generate it. So, as well know that uramp is a specifique function to SPICE (berkeley).  
Can any body tel me how to generate this function by SpectreRF.
Advance thinks
Back to top
 
 

OX Designer
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: How to generayte uramp usingSpectreRF??
Reply #1 - Feb 2nd, 2005, 10:02am
 
I did some searching on google, having never come across uramp before. As far as I can see from http://www.beigebag.com/case_logical_3.htm it is simply:

uramp(f(a)) == f(a) if f(a)>0, else 0.

http://www.anasoft.co.uk/Spice3F5Manual.html says the same thing.

So in spectre, that would be:

Code:
// model of what I think uramp does
//

v1 (1 0) vsource type=sine freq=1M ampl=1
v2 (2 0) bsource v=v(1)>0?v(1):0

tran tran stop=5u maxstep=10n 



Regards,

Andrew.
Back to top
 
 
View Profile WWW   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.