The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 4:29pm
Pages: 1
Send Topic Print
new to verilog ams (Read 3156 times)
thomasT
New Member
*
Offline



Posts: 7

new to verilog ams
Jan 27th, 2012, 5:16am
 
what does the below mentioned statements signify:

@(above(V(ina) - VTH))  ...does it means V(ina)> VTH then execute ??

@(cross(V(clk_en) - VTH, +1)) what is the meaning of this statement?

please also give some reference to a good book to learn. but please explain these two with athe above example.

thanks
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: new to verilog ams
Reply #1 - Jan 27th, 2012, 6:58am
 
The best book to read is Ken's "Designer's Guide to Verilog-AMS"

But your questions can be answered by simply reading the Language Reference Manual (LRM), which is available from this site.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
afridi
Junior Member
**
Offline



Posts: 24

Re: new to verilog ams
Reply #2 - Jan 28th, 2012, 2:05am
 
Quote:
@(cross(V(clk_en) - VTH, +1)) what is the meaning of this statement?


It means when the V(clk_en)-VTH is a positve change it will cause the subsequent statements to occur.

I dont understand the first one.
Back to top
 
 

The more things you do, the more you can do.(Lucille Ball)
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: new to verilog ams
Reply #3 - Jan 30th, 2012, 10:49am
 
@(above) also works during a dc analysis (including time=0); if V(clk_en) > VTH at t=0, the cross event will not be triggered (until the next time clk_en crosses).
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
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.