Printing Integer....

J

Jannick

How do I print an integer to the command window or similar in
Modelsim......? If this is done with the TextIO package, then how?

Best Regards
J
 
C

Clyde R. Shappee

Do a search on the web for Ben Cohen's package image_pb.vhd. It is a
handy package for doing exactly that with an assert, report, severity
statement.

HTH

Clyde
 
M

Mike Treseler

Jannick said:
How do I print an integer to the command window or similar in
Modelsim......?

report("integer is "& integer'image(my_int));


-- 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,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top