Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Printing Integer....

 
Thread Tools Search this Thread
Old 10-05-2003, 02:47 PM   #1
Default Printing Integer....


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
  Reply With Quote
Old 10-05-2003, 04:29 PM   #2
Clyde R. Shappee
 
Posts: n/a
Default Re: Printing Integer....
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




Clyde R. Shappee
  Reply With Quote
Old 10-05-2003, 09:08 PM   #3
Mike Treseler
 
Posts: n/a
Default Re: Printing Integer....
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
  Reply With Quote
Old 10-07-2003, 02:50 PM   #4
Jannick
 
Posts: n/a
Default Re: Printing Integer....
"Mike Treseler" <> wrote in message
news:...
> 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.




Jannick
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert string contain Hex data into integer asifjavaid Software 0 09-09-2008 08:50 AM
Control Printing and Require Authentication for printing with using Java transformer Software 0 07-02-2007 04:33 AM
"Self-Paced Training Kit" - 3rd printing errata? Zimri MCTS 0 03-25-2007 02:13 AM
getting integer values from electronic weigh scale through serial port dotnet_smart Software 2 09-17-2006 05:24 AM
getting integer values from electrolnic weigh scale through serial port dotnet_smart Hardware 0 07-28-2006 11:54 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46