The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 2:20am
Pages: 1
Send Topic Print
Verilog-AMS equivalent to VHDL-AMS "ASSERT" and/or "REPORT"? (Read 2468 times)
eemikej
New Member
*
Offline



Posts: 1

Verilog-AMS equivalent to VHDL-AMS "ASSERT" and/or "REPORT"?
Jul 22nd, 2008, 10:02pm
 
I'm working on a Verilog-AMS model and want to use functionality similar to VHDL-AMS's ASSERT/REPORT capability to detect and report errors. As an example, I want to check for valid parameter values and report an error if needed (along with stopping design compilation/elaboration). Are there equivalent commands in Verilog-AMS? I know about the $display/$monitor/$strobe commands, but I can't see where any of these helps me with error detection (at least without some additional code) or, more importantly, stopping the compilation/elaboration process.

Thanks in advance...
Back to top
 
 
View Profile   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: Verilog-AMS equivalent to VHDL-AMS "ASSERT" and/or
Reply #1 - Jul 22nd, 2008, 11:30pm
 
This part of the language has not been defined yet..
you'll have to roll your own until something standard gets defined..
'sok .. thats how PSL (aka sugar) got started too!..

Bob Peruzzi and I have documented a couple of different styles of the roll your own style in papers presented at the 2006(I think) BMAS ..
www.bmas-conf.org
(separate papers.. )  

jbd
Back to top
 
 

jbdavid
Mixed Signal Design Verification
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.