Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > assert false report "blah blah blah" severity note;

Reply
Thread Tools

assert false report "blah blah blah" severity note;

 
 
A. Kong
Guest
Posts: n/a
 
      10-11-2004
Hi, all,

I want to use the statment " assert false report "blah blah blah"
severity note;" as a way to print some information in ModelSim. However,
Xilinx, upon compiling the source, says:

Assertion st
atement ignored.


My questions are:
1) Is there any restriction on how to use assert statement? e.g. cannot
be used in process? if loop? Or is it just Xilinx?
2) Is there a better to print debug info? Utlimately I want to examine
the content of a region of memory...

Maybe I am not reading carefully but vhdl cookbook seems to only only
provide description of usage of assert.


Cheers,
Anthony
 
Reply With Quote
 
 
 
 
Srinivasan Venkataramanan
Guest
Posts: n/a
 
      10-11-2004
Hi,

"A. Kong" <ahwkong2x1000-at-anti-spam-yahoo.com> wrote in message
news:416a2152$...
> Hi, all,
>
> I want to use the statment " assert false report "blah blah blah"
> severity note;" as a way to print some information in ModelSim. However,
> Xilinx, upon compiling the source, says:
>
> Assertion st
> atement ignored.
>


Assert stuff is meant for simulation only and hence during synthesis it is
ignored.

>
> My questions are:
> 1) Is there any restriction on how to use assert statement? e.g. cannot
> be used in process? if loop? Or is it just Xilinx?


I would say any synthesis tool.

>2) Is there a better to print debug info? Utlimately I want to examine
>the content of a region of memory...


You may want to try:

http://www.easics.com/webtools/freesics/PCK_FIO-2002.7

They have a neat printf like package. Also a google search for "printf vhdl
package" yielded: http://bear.ces.cwru.edu/vhdl/source/debugio_h.vhd

HTH,
Srinivasan
--
Srinivasan Venkataramanan
Corp. Appl. Engineer
Synopsys India Pvt. Ltd.
Bangalore, India
email:synopsys.com@svenkat
I own my words and not my employer, unless specifically mentioned


 
Reply With Quote
 
 
 
 
Iwo Mergler
Guest
Posts: n/a
 
      10-11-2004
A. Kong wrote:
> Hi, all,
>
> I want to use the statment " assert false report "blah blah blah"
> severity note;" as a way to print some information in ModelSim. However,
> Xilinx, upon compiling the source, says:
>
> Assertion st
> atement ignored.
>
>
> My questions are:
> 1) Is there any restriction on how to use assert statement? e.g. cannot
> be used in process? if loop? Or is it just Xilinx?
> 2) Is there a better to print debug info? Utlimately I want to examine
> the content of a region of memory...
>
> Maybe I am not reading carefully but vhdl cookbook seems to only only
> provide description of usage of assert.
>
>
> Cheers,
> Anthony


If you just want to output a string in the simulator, use
report "Whatever" severity note. The assert is not necessary.
It should work for simulation. If you synthesize the design,
it gets indeed ignored.

Kind regards,

Iwo
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: The Truth About Weyoun the Dancing Borg <blah@blah.blah> Soapy Digital Photography 0 08-25-2004 12:21 PM
Looking for "full lifecycle".....blah blah blah. Hylander Java 0 01-16-2004 11:06 PM
Re: blah blah blah S. O'Brien MCSE 12 11-06-2003 04:13 PM
Re: blah blah blah S. O'Brien MCSD 12 11-06-2003 04:13 PM
c#:only put "using blah.blah.blah" once instead of every page? evolve ASP .Net 2 11-02-2003 04:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57