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

F

fl

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

Mike Treseler

fl said:
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
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top