Printing Integer....

J

Jannick

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

Jannick wrote:

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
 
Jannick wrote:
How do I print an integer to the command window or similar in
Modelsim......?
report("integer is "& integer'image(my_int));


-- Mike Treseler
 
"Mike Treseler" <tres@tc.fluke.com> wrote in message
news:3F807A35.3040809@tc.fluke.com...
Jannick wrote:
How do I print an integer to the command window or similar in
Modelsim......?

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


-- Mike Treseler

Thanx all :), this works.
 

Welcome to EDABoard.com

Sponsor

Back
Top