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. Advertising

  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. Advertising

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. jakk
    Replies:
    4
    Views:
    12,388
  2. Tadzio
    Replies:
    0
    Views:
    410
    Tadzio
    Feb 28, 2004
  3. Santa
    Replies:
    1
    Views:
    1,121
    Mark A. Odell
    Jul 17, 2003
  4. PerlFAQ Server
    Replies:
    0
    Views:
    375
    PerlFAQ Server
    Jan 6, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    282
    PerlFAQ Server
    Apr 15, 2011
Loading...

Share This Page