Printing Integer....

Discussion in 'VHDL' started by Jannick, Oct 5, 2003.

  1. Jannick

    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
     
    Jannick, Oct 5, 2003
    #1
    1. Advertising

  2. 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, Oct 5, 2003
    #2
    1. Advertising

  3. 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, Oct 5, 2003
    #3
  4. Jannick

    Jannick Guest

    "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, Oct 7, 2003
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Sm9l?=

    CType(x,Integer) vs. Integer.Parse(x)

    =?Utf-8?B?Sm9l?=, Feb 6, 2006, in forum: ASP .Net
    Replies:
    7
    Views:
    5,987
    =?Utf-8?B?RGF2aWQgQW50b24=?=
    Feb 7, 2006
  2. =?ISO-8859-1?Q?Thomas_Gagn=E9?=

    No Math.min(Integer, Integer)?

    =?ISO-8859-1?Q?Thomas_Gagn=E9?=, Jul 29, 2003, in forum: Java
    Replies:
    0
    Views:
    542
    =?ISO-8859-1?Q?Thomas_Gagn=E9?=
    Jul 29, 2003
  3. Sebastian Stelzer

    How do I add an Integer to another Integer?

    Sebastian Stelzer, Oct 14, 2004, in forum: Java
    Replies:
    2
    Views:
    532
    Yu SONG
    Oct 15, 2004
  4. Sebastian Stelzer

    How do I add an Integer to another Integer?

    Sebastian Stelzer, Oct 14, 2004, in forum: Java
    Replies:
    6
    Views:
    45,943
    JavaBean2010
    Apr 7, 2010
  5. Johannes Zellner
    Replies:
    22
    Views:
    3,763
Loading...

Share This Page