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

Discussion in 'VHDL' started by fl, Sep 4, 2008.

  1. fl

    fl Guest

    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.
     
    fl, Sep 4, 2008
    #1
    1. Advertisements

  2. 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
     
    Mike Treseler, Sep 4, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeffry van de Vuurst
    Replies:
    0
    Views:
    2,271
    Jeffry van de Vuurst
    May 18, 2004
  2. jakk
    Replies:
    4
    Views:
    13,787
  3. Santa
    Replies:
    1
    Views:
    1,418
    Mark A. Odell
    Jul 17, 2003
  4. Replies:
    7
    Views:
    588
    Keith Thompson
    Oct 3, 2006
  5. arnuld
    Replies:
    33
    Views:
    1,508
  6. Ganesh
    Replies:
    3
    Views:
    1,466
    Masudur
    Jul 15, 2007
  7. PerlFAQ Server
    Replies:
    0
    Views:
    542
    PerlFAQ Server
    Jan 6, 2011
  8. PerlFAQ Server
    Replies:
    0
    Views:
    465
    PerlFAQ Server
    Apr 15, 2011
Loading...