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

Reply

VHDL - How to run Modelsim for VHDL without using GUI..

 
Thread Tools Search this Thread
Old 09-20-2005, 10:46 AM   #1
Default How to run Modelsim for VHDL without using GUI..


Hi all,

I am new to VHDl....But I am having knowleage in Verilog.
Here I have a doubt,How to run ModelSim for VHDL without using GUI.like
how to run modelsim for VHDL using Commandline operation.I am using
MOdelsim SE 6.1a version in Windows Xp.

For example like Verilog I worked Icarus Tool for simulating Verilog
code using Commandline mode..


like that way I need to run modelsim for VHDL?
and also I have to link the Fli with ModelSim VHDL..

Plz specify the commandline for Using FLI also.....

If anyone having answers,plz let me...


Thanks
Regards,
priya



priya
  Reply With Quote
Old 09-20-2005, 11:13 AM   #2
vizziee@gmail.com
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..


> How to run ModelSim for VHDL without using GUI.like
> how to run modelsim for VHDL using Commandline operation.I am using
> MOdelsim SE 6.1a version in Windows Xp.

You can use the command line to issue ModelSim commands (all of which
are enumerated in Command Reference Manual of ModelSim). Additionally,
you can write a script (where you can combine ModelSim commands with
appropriate Tcl constructs) for running commands in batch mode. This
file (which is saved in .do format) can then be used to perform a
number of operations in series.

> like that way I need to run modelsim for VHDL?

For VHDL, many of the commands are same except for compilation,
simulation etc. For example "vlog" is used for Verilog compilation
while "vcom" for VHDL. All these are well explained in Command
Reference. If the command is same for both the languages, it may be
some construct/switch which can differ. Essentially, there is not much
difference in running the software for either of the languages from
command line, provided you have license for both the languages!



vizziee@gmail.com
  Reply With Quote
Old 09-20-2005, 12:35 PM   #3
priya
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..
Hi,

thanks for ur response...I got the info from reference manual as u
said ...

Still i have one doubt ...when i type vsim in command line,the ModelSim
GUI editor opened automatically..So i Cound't type run command in
commandline.....I want to run vhdl code only in command line need not
to use Modelsim GUI editor to run the VHDL Code....



priya
  Reply With Quote
Old 09-20-2005, 12:37 PM   #4
Ajeetha
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..
Use vsim -c top_vhdl_cfg

Ajeetha
www.noveldv.com



Ajeetha
  Reply With Quote
Old 09-20-2005, 12:45 PM   #5
priya
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..

Hi ajeetha,

Thanks for ur reply...



priya
  Reply With Quote
Old 09-21-2005, 11:22 AM   #6
priya
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..
Hi all,

I want to display the VHDL input and output in commandline

like verilog we have function call $display,using $display we can
display the input and output..

is there any function to display the vhdl input and output in
commandline ?


regds,
priya



priya
  Reply With Quote
Old 09-21-2005, 01:12 PM   #7
Ajeetha
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..
See:

http://www.noveldv.com/verif/hdl_faq/index.html

HTH
Ajeetha
www.noveldv.com

priya wrote:
> Hi all,
>
> I want to display the VHDL input and output in commandline
>
> like verilog we have function call $display,using $display we can
> display the input and output..
>
> is there any function to display the vhdl input and output in
> commandline ?
>
>
> regds,
> priya




Ajeetha
  Reply With Quote
Old 09-22-2005, 08:42 AM   #8
priya
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..
Hi all,

I have one more doubt..I want to send input to the VHDL code
using FLI Call.I have writen fli code ,it is in example.c file.I am
having two .vhd code called as test.vhd,foreigh.vhdl..

I am using gcc compiler to compile the FLI code.how to link fli and
vhdl code in the command line...


regds,
priya



Ajeetha wrote:
> See:
>
> http://www.noveldv.com/verif/hdl_faq/index.html
>
> HTH
> Ajeetha
> www.noveldv.com
>
> priya wrote:
> > Hi all,
> >
> > I want to display the VHDL input and output in commandline
> >
> > like verilog we have function call $display,using $display we can
> > display the input and output..
> >
> > is there any function to display the vhdl input and output in
> > commandline ?
> >
> >
> > regds,
> > priya




priya
  Reply With Quote
Old 09-22-2005, 07:03 PM   #9
Ajeetha
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..
Priya,
Look little more in my HDL FAQ:

http://www.noveldv.com/verif/hdl_faq/FAQ00007.htm
http://www.noveldv.com/verif/hdl_faq/pr_dt.tar

This has one FLI example.

HTH
Ajeetha
www.noveldv.com



Ajeetha
  Reply With Quote
Old 09-23-2005, 01:49 PM   #10
priya
 
Posts: n/a
Default Re: How to run Modelsim for VHDL without using GUI..
Thanks ..I am able run fli code using gcc compiler...

Here I have one more doubt.Here i am pasting sample results

D:\Modeltech_eval_6.1a\projectfolder\foreign>vsim -c test
Reading D:/Modeltech_eval_6.1a/tcl/vsim/pref.tcl

# 6.1a

# vsim -c test
# // ModelSim SE 6.1a Jul 19 2005
# //
# // Copyright Mentor Graphics Corporation 2005
# // All Rights Reserved.
# //
# // THIS WORK CONTAINS TRADE SECRET AND
# // PROPRIETARY INFORMATION WHICH IS THE PROPERTY
# // OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS
# // AND IS SUBJECT TO LICENSE TERMS.
# //
# Loading D:\Modeltech_eval_6.1a\win32/../std.standard
# Loading D:\Modeltech_eval_6.1a\win32/../std.textio(body)
# Loading work.pkg(body)
# Loading test
# Loading work.test(only)
VSIM 1> run
# Integer = 0
# Enum = NOTE
# Real = 0
# String = abcde
VSIM 2>

after this line I have to exit the modelsim automatically....is there
any command avilable for exitting the modelsim by default?
I dont want to type exit to exit modelsim...


regds
priya



priya
  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