Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > What is the difference between XX'image() and to_string()

Reply
Thread Tools

What is the difference between XX'image() and to_string()

 
 
fl
Guest
Posts: n/a
 
      09-04-2008
Hi,
From the book of Peter's The designer's guide to VHDL, I cannot tell
the difference between attribute: XX'image and to_string. Could anyone
explain that for me? Thanks a lot.
 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      09-04-2008
fl wrote:
> Hi,
> From the book of Peter's The designer's guide to VHDL, I cannot tell
> the difference between attribute: XX'image and to_string.


The image attribute converts vhdl types to string equivalents.
This is built into the language for some types.
I expect that to_string is an example function
that does something similar, maybe on some other type.

-- Mike Treseler

 
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
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 04-15-2011 04:00 AM
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 01-06-2011 05:00 PM
difference between between these "char"s arnuld C++ 33 03-05-2007 03:11 PM
Difference between bin and obj directories and difference between project references and dll references jakk ASP .Net 4 03-22-2005 09:23 PM
Exact difference between 'const char *' and 'char *', also diff between 'const' and 'static' Santa C Programming 1 07-17-2003 02:10 PM



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