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

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.