What is the language/syntax? The user manual has a statement that
makes me think this is TCL. But the tutorial uses an example where
the comments are "--". That is not a valid TCL comment.
Will someone please illuminate? Basically, I'm interested in running
Modelsim from a cygwin shell, but any batch mode info will be useful.
Thanks,
Gil
It's TCL 8.3 in the current version of Modelsim.
You even get Tk if if you are using SE (but not in PE :(
The Modelsim GUI has a TCL shell, so you can type in TCL commands,
etc.
E.g.
set tk_patchLevel
# 8.3.4
I guess the '--' comment in the tutorial was a typo from a frustrated
VHDL programmer. Did it run without error?
Regards,
Allan.
"Allan Herriman" <allan_herrim...@agilent.com> wrote in message
news:3d3e0633....@netnews.agilent.com...
> On Tue, 23 Jul 2002 20:36:55 GMT, Gil Herbeck <g...@radix20.com> wrote:
>
<SNIP>
>
> I guess the '--' comment in the tutorial was a typo from a frustrated
> VHDL programmer. Did it run without error?
>
No, I think Modelsim supports VHDL Style comments in its do file(s). I
have used it.
Regards,
Srinivasan
> Regards,
> Allan.
--
Srinivasan Venkataramanan
ASIC Design Engineer
Software & Silicon Systems India Pvt Ltd. - an Intel company
Bangalore, India
I don't speak for Intel
"Gil Herbeck" <g...@radix20.com> wrote in message
news:3D3DBE66...@radix20.com...
> What's with these Modelsim "do" files? The tutorial, user manual,
> and command reference combine to provide little concrete info.
>
Did you look at se_man.pdf file? There is an appendix "Tips & Techniques"
and it has a section on DO files (aka macros).
> What is the language/syntax? The user manual has a statement that
> makes me think this is TCL. But the tutorial uses an example where
> the comments are "--". That is not a valid TCL comment.
>
Yes it is TCL, as I mentioned in another post Modelsim seems to support
this VHDL Style comment as well (which I find very useful). There is a whole
chapter in Modelsim Manual, "TCL & Modelsim".
> Will someone please illuminate? Basically, I'm interested in running
> Modelsim from a cygwin shell, but any batch mode info will be useful.
>
I do that often.
> Thanks,
> Gil
>
HTH,
Srinivasan
I'm using a very simple approach. I'm running Modelsim from
Cygwin using a /bin/tcsh script. The script creates a TCL
script for Modelsim then runs something like:
vsim -l $m.log -do "source $m.tcl"
Everything seems fine. Is there a way to keep the main GUI
window from opening? My TCL script ends with 'quite -f' so I
know how to close the window. I just don't know how to keep
it from opening in the first place.
Any other batch advice is appreciated.
Cheers,
Gil
"Gil Herbeck" <g...@radix20.com> wrote in message
news:3D3EBD6A...@radix20.com...
> Thanks to both. Yes, I reviewed the user manual and tutorial.
> Counting the appendix that you point out, the user manual has a
> total of 4 pages on the subject. And the tutorial has 2 or 3.
>
Well, never counted that :-)
> I'm using a very simple approach. I'm running Modelsim from
> Cygwin using a /bin/tcsh script. The script creates a TCL
> script for Modelsim then runs something like:
> vsim -l $m.log -do "source $m.tcl"
>
> Everything seems fine. Is there a way to keep the main GUI
> window from opening? My TCL script ends with 'quite -f' so I
> know how to close the window. I just don't know how to keep
> it from opening in the first place.
>
Try vsim -c <options>
That will do it in command line.
HTH,
Srinivasan
> Any other batch advice is appreciated.
>
> Cheers,
> Gil
>
>
> Srinivasan Venkataramanan wrote:
>
> > Hi Gil,
> >
> > "Gil Herbeck" <g...@radix20.com> wrote in message
> > news:3D3DBE66...@radix20.com...
> >
> >>What's with these Modelsim "do" files? The tutorial, user manual,
> >>and command reference combine to provide little concrete info.
> >>
> >>
> >
> > Did you look at se_man.pdf file? There is an appendix "Tips &
Techniques"
> > and it has a section on DO files (aka macros).
> >
> >
> >>What is the language/syntax? The user manual has a statement that
> >>makes me think this is TCL. But the tutorial uses an example where
> >>the comments are "--". That is not a valid TCL comment.
> >>
> >>
> >
> > Yes it is TCL, as I mentioned in another post Modelsim seems to
support
> > this VHDL Style comment as well (which I find very useful). There is a
whole
> > chapter in Modelsim Manual, "TCL & Modelsim".
> >
> >
> >
> >>Will someone please illuminate? Basically, I'm interested in running
> >>Modelsim from a cygwin shell, but any batch mode info will be useful.
> >>
> >>
> >
> > I do that often.
>
I also dropped the 'do' and the TCL script completely
in favor of something like this (inside a /bin/tcsh
script):
vsim -c -l $m.log << EOF
vsim ${m}_tb
run -all
quit -f
EOF