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

Reply

VHDL - Command log in MODELSIM

 
Thread Tools Search this Thread
Old 01-11-2007, 07:23 PM   #1
Default Command log in MODELSIM


Hi all! I am just learning to use Modelsim SE, and I wanted to know if
there is any option to record all the commands (but only commands, not
other outputs such as errors or warnings) issued in the command window,
or if these get logged into a log file anywhere.
I need this information because I often need to take note of the
sequences of commands run by other people while working together, but I
cannot just copy & paste them from the command window because most of
them "get lost" after some scrolling of lines, frequently because of
unimportant outputs such as warnings (which by the way I get a lot in
the project I am working on right now).

Any ideas are welcomed!

Thanks in advance,

JL.



spectrallypure
  Reply With Quote
Old 01-11-2007, 07:53 PM   #2
Jonathan Bromley
 
Posts: n/a
Default Re: Command log in MODELSIM
On 11 Jan 2007 11:23:00 -0800, "spectrallypure" <>
wrote:

>Hi all! I am just learning to use Modelsim SE, and I wanted to know if
>there is any option to record all the commands (but only commands, not
>other outputs such as errors or warnings) issued in the command window,
>or if these get logged into a log file anywhere.
>I need this information because I often need to take note of the
>sequences of commands run by other people while working together, but I
>cannot just copy & paste them from the command window because most of
>them "get lost" after some scrolling of lines, frequently because of
>unimportant outputs such as warnings (which by the way I get a lot in
>the project I am working on right now).


You should find a file called "transcript" in the current working
directory. If you're not sure where that is, simply issue the
command "pwd" in the console to find out.

The transcript logs everything that went to the console, but
anything that is not a command - errors, etc - is prefixed
by a # (comment) character in the transcript file, so you
can use the transcript directly as a Tcl command script.
Of course it's also easy to edit away those unwanted lines.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK

http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.


Jonathan Bromley
  Reply With Quote
Old 01-14-2007, 03:18 AM   #3
spectrallypure
 
Posts: n/a
Default Re: Command log in MODELSIM
Thanks a lot for your response Jonathan! Unluckily, the transcript
files that you point out seem to only record the first few lines of
output text. For instance, here is a tipical content of such files:

# // ModelSim SE-64 5.8b Jan 01 2004 SunOS 5.8
# //
# // Copyright Model Technology, a Mentor Graphics Corporation
company, 2004
# // All Rights Reserved.
# // UNPUBLISHED, LICENSED SOFTWARE.
# // CONFIDENTIAL AND PROPRIETARY INFORMATION WHICH IS THE
# // PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS.
# //

Am I missing something? Maybe there is some option that I should setup
in order to enable the dumping of the output text to these transcript
files... Thanks in advance for your help!

Regards,

JL.


Jonathan Bromley wrote:
> On 11 Jan 2007 11:23:00 -0800, "spectrallypure" <>
> wrote:
>
> >Hi all! I am just learning to use Modelsim SE, and I wanted to know if
> >there is any option to record all the commands (but only commands, not
> >other outputs such as errors or warnings) issued in the command window,
> >or if these get logged into a log file anywhere.
> >I need this information because I often need to take note of the
> >sequences of commands run by other people while working together, but I
> >cannot just copy & paste them from the command window because most of
> >them "get lost" after some scrolling of lines, frequently because of
> >unimportant outputs such as warnings (which by the way I get a lot in
> >the project I am working on right now).

>
> You should find a file called "transcript" in the current working
> directory. If you're not sure where that is, simply issue the
> command "pwd" in the console to find out.
>
> The transcript logs everything that went to the console, but
> anything that is not a command - errors, etc - is prefixed
> by a # (comment) character in the transcript file, so you
> can use the transcript directly as a Tcl command script.
> Of course it's also easy to edit away those unwanted lines.
> --
> Jonathan Bromley, Consultant
>
> DOULOS - Developing Design Know-how
> VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services
>
> Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
>
> http://www.MYCOMPANY.com
>
> The contents of this message may contain personal views which
> are not the views of Doulos Ltd., unless specifically stated.




spectrallypure
  Reply With Quote
Old 01-15-2007, 03:11 AM   #4
chriskoh
 
Posts: n/a
Default Re: Command log in MODELSIM
Hi,
did you try typing any commands yet before looking at your logfile?
Jonathan is right. alternatively, you can simulate with

vsim -l abc.log <your testbench>

the above command will create abc.log instead of your transcript
file. hope this helps you. this is the only way to enable log in
modelsim.

chris.

spectrallypure wrote:
> Thanks a lot for your response Jonathan! Unluckily, the transcript
> files that you point out seem to only record the first few lines of
> output text. For instance, here is a tipical content of such files:
>
> # // ModelSim SE-64 5.8b Jan 01 2004 SunOS 5.8
> # //
> # // Copyright Model Technology, a Mentor Graphics Corporation
> company, 2004
> # // All Rights Reserved.
> # // UNPUBLISHED, LICENSED SOFTWARE.
> # // CONFIDENTIAL AND PROPRIETARY INFORMATION WHICH IS THE
> # // PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS.
> # //
>
> Am I missing something? Maybe there is some option that I should setup
> in order to enable the dumping of the output text to these transcript
> files... Thanks in advance for your help!
>
> Regards,
>
> JL.
>
>
> Jonathan Bromley wrote:
> > On 11 Jan 2007 11:23:00 -0800, "spectrallypure" <>
> > wrote:
> >
> > >Hi all! I am just learning to use Modelsim SE, and I wanted to know if
> > >there is any option to record all the commands (but only commands, not
> > >other outputs such as errors or warnings) issued in the command window,
> > >or if these get logged into a log file anywhere.
> > >I need this information because I often need to take note of the
> > >sequences of commands run by other people while working together, but I
> > >cannot just copy & paste them from the command window because most of
> > >them "get lost" after some scrolling of lines, frequently because of
> > >unimportant outputs such as warnings (which by the way I get a lot in
> > >the project I am working on right now).

> >
> > You should find a file called "transcript" in the current working
> > directory. If you're not sure where that is, simply issue the
> > command "pwd" in the console to find out.
> >
> > The transcript logs everything that went to the console, but
> > anything that is not a command - errors, etc - is prefixed
> > by a # (comment) character in the transcript file, so you
> > can use the transcript directly as a Tcl command script.
> > Of course it's also easy to edit away those unwanted lines.
> > --
> > Jonathan Bromley, Consultant
> >
> > DOULOS - Developing Design Know-how
> > VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services
> >
> > Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
> >
> > http://www.MYCOMPANY.com
> >
> > The contents of this message may contain personal views which
> > are not the views of Doulos Ltd., unless specifically stated.




chriskoh
  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
Error in Modelsim 6.0a boitsas Software 1 10-26-2009 05:36 AM
simprim problems on modelsim saiyijinprince Hardware 2 04-05-2007 02:24 PM
Need help on Modelsim VHDL syntax? ASAP:) kaji General Help Related Topics 0 03-14-2007 10:43 PM
Need help on a Modelsim VHDL Syntax? ASAP:) kaji Software 0 03-14-2007 10:43 PM
Need Help on a Modelsim VHDL Syntax....ASAP:) kaji Hardware 0 03-14-2007 10:41 PM




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