Output Display - verilog

This is a discussion on Output Display - verilog ; Is there a way to display simulator (VCS preferably) output so a particular line is replaced, rather than added to the end of a log? For instance, instead of 5% done 10% done ....and so on 95% done It just ...

+ Reply to Thread
Results 1 to 3 of 3

Output Display

  1. Default Output Display

    Is there a way to display simulator (VCS preferably) output so a
    particular line is replaced, rather than added to the end of a log? For
    instance, instead of

    5% done
    10% done
    ....and so on
    95% done


    It just displays

    <percentage done>% done

    where <percentage done> is updated as the simulation runs. I don't care
    too much about what the log file looks like, just the run-time terminal
    output.

  2. Default Re: Output Display

    Try something like this:

    $write("%0d%% done\015", pct_done);

    \015 is octal for a carriage return.

    -cb


  3. Default Re: Output Display

    Awesome, thanks.Works great.


    Chris Briggs wrote:
    > Try something like this:
    >
    > $write("%0d%% done\015", pct_done);
    >
    > \015 is octal for a carriage return.
    >
    > -cb
    >


+ Reply to Thread

Similar Threads

  1. A simple, scrollable, output display window
    By Application Development in forum CSharp
    Replies: 6
    Last Post: 11-17-2007, 01:56 PM
  2. php to display mysql output text as hyperlink
    By Application Development in forum PHP
    Replies: 1
    Last Post: 08-23-2007, 11:35 AM
  3. get tclapp-wrapped app to display output in DOS console?
    By Application Development in forum TCL
    Replies: 11
    Last Post: 03-24-2007, 11:00 AM
  4. Output display PLI?
    By Application Development in forum verilog
    Replies: 0
    Last Post: 08-14-2006, 10:07 AM
  5. Re: How to execute C program and display output to webpage?
    By Application Development in forum Perl
    Replies: 5
    Last Post: 09-10-2003, 01:38 PM