FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-21-2006, 10:26 AM
Guest
 
Posts: n/a
Default Modelsim SE Simulation

Hi,

I use Modelsim SE 6.0 simulator for my projects.
My Project is very big and it takes nearly 15 min for compilation.
As the license is network one, after compilation, it says simulation
license error - if license is not available. Is there a command
available in modelsim to check license on network?
Next, In my project only 3 to 4 files are changed frequently. Rest
other files are not disturbed at all.
But still I am recompiling all files. Are there any commands available
so that I can skip compiling files which are not changed at all?

Please help..

Regards,
JK

Reply With Quote
  #2 (permalink)  
Old 08-21-2006, 11:24 AM
KJ
Guest
 
Posts: n/a
Default Re: Modelsim SE Simulation

> Next, In my project only 3 to 4 files are changed frequently. Rest
> other files are not disturbed at all.
> But still I am recompiling all files. Are there any commands available
> so that I can skip compiling files which are not changed at all?
>

If you use Modelsim's project file you can simply right click and select
'Compile->Out of Date'. If not, then you need to use make.

KJ


Reply With Quote
  #3 (permalink)  
Old 08-21-2006, 08:01 PM
MikeJ
Guest
 
Posts: n/a
Default Re: Modelsim SE Simulation


>>

> If you use Modelsim's project file you can simply right click and select
> 'Compile->Out of Date'. If not, then you need to use make.
>

I'm using PE 5.8e and I just call VCOM from my editor to recompile the one
file I have edited, restart and ModelSim picks up the change just fine.
You see it saying "# Loading work.whatever"
/MikeJ


Reply With Quote
  #4 (permalink)  
Old 08-21-2006, 08:07 PM
Hans
Guest
 
Posts: n/a
Default Re: Modelsim SE Simulation

Hi JK,

<[email protected]> wrote in message
news:[email protected] ps.com...
> Hi,
>
> I use Modelsim SE 6.0 simulator for my projects.


Update to 6.1f if you can, 6.0 has some annoying GUI bugs.

> My Project is very big and it takes nearly 15 min for compilation.
> As the license is network one, after compilation, it says simulation
> license error - if license is not available. Is there a command
> available in modelsim to check license on network?


Sound like a network issue, you can issue "lmstat -f" to see how many
Modelsim licenses are available, perhaps they are all used? Under windows
(Dosbox/Cygwin) you need to change the command to "lmutil lmstat -f".

> Next, In my project only 3 to 4 files are changed frequently. Rest
> other files are not disturbed at all.
> But still I am recompiling all files. Are there any commands available
> so that I can skip compiling files which are not changed at all?


Yes, look in the manual for the vmake command.

Hans
www.ht-lab.com


>
> Please help..
>
> Regards,
> JK
>



Reply With Quote
  #5 (permalink)  
Old 08-22-2006, 09:36 AM
Joseph
Guest
 
Posts: n/a
Default Re: Modelsim SE Simulation

[email protected] wrote:
> Hi,
>
> I use Modelsim SE 6.0 simulator for my projects.
> My Project is very big and it takes nearly 15 min for compilation.
> As the license is network one, after compilation, it says simulation
> license error - if license is not available. Is there a command
> available in modelsim to check license on network?
> Next, In my project only 3 to 4 files are changed frequently. Rest
> other files are not disturbed at all.
> But still I am recompiling all files. Are there any commands available
> so that I can skip compiling files which are not changed at all?
>
> Please help..
>
> Regards,
> JK
>



Hi there,

I guess you are trying to compile your design within
the Modelsim GUI (vsim), and then run the simulation.
Maybe it is better to separate it into two stages?

When you compile the verilog design, run vlog with -incr
option ("incremental").

When running vsim, if using VHDL, you can use -lic_vhdl,
and for verilog you can use -lic_vlog.

It might be useful to tell us
- which OS you are using?
- VHDL / verilog/ mix language
- how do you compiling the design? Within Modelsim GUI
or inside C-shell / Windows CMD?

In addition, is a lot of the design files you are compiling
are the xilinx / Altera libraries? If yes, you maybe able
to use library feature instead of compiling everything in
work. And the library will only need to be compiled once.

Joseph
Reply With Quote
  #6 (permalink)  
Old 08-22-2006, 02:08 PM
Guest
 
Posts: n/a
Default Re: Modelsim SE Simulation

Thank you all for your prompt replies.

@ Hans - Thank you - license command works - but MAKE always fail..
gives weird errors.

@ Joseph -
You are right - I am using Modelsim GUI for both compilation &
simulation.
Is it faster - compilation from command prompt??
Modelsim GUI uses a script file which consists of compilation order.
My project is having both Verilog & VHDL files - that is Mixed..
I am uisng Modelsim SE PLUS 6.0C - Linux OS.

Regards,
Krishna Janumanchi

>
> Hi there,
>
> I guess you are trying to compile your design within
> the Modelsim GUI (vsim), and then run the simulation.
> Maybe it is better to separate it into two stages?
>
> When you compile the verilog design, run vlog with -incr
> option ("incremental").
>
> When running vsim, if using VHDL, you can use -lic_vhdl,
> and for verilog you can use -lic_vlog.
>
> It might be useful to tell us
> - which OS you are using?
> - VHDL / verilog/ mix language
> - how do you compiling the design? Within Modelsim GUI
> or inside C-shell / Windows CMD?
>
> In addition, is a lot of the design files you are compiling
> are the xilinx / Altera libraries? If yes, you maybe able
> to use library feature instead of compiling everything in
> work. And the library will only need to be compiled once.
>
> Joseph


Reply With Quote
  #7 (permalink)  
Old 08-22-2006, 02:08 PM
Guest
 
Posts: n/a
Default Re: Modelsim SE Simulation

Thank you all for your prompt replies.

@ Hans - Thank you - license command works - but MAKE always fail..
gives weird errors.

@ Joseph -
You are right - I am using Modelsim GUI for both compilation &
simulation.
Is it faster - compilation from command prompt??
Modelsim GUI uses a script file which consists of compilation order.
My project is having both Verilog & VHDL files - that is Mixed..
I am uisng Modelsim SE PLUS 6.0C - Linux OS.

Regards,
Krishna Janumanchi

>
> Hi there,
>
> I guess you are trying to compile your design within
> the Modelsim GUI (vsim), and then run the simulation.
> Maybe it is better to separate it into two stages?
>
> When you compile the verilog design, run vlog with -incr
> option ("incremental").
>
> When running vsim, if using VHDL, you can use -lic_vhdl,
> and for verilog you can use -lic_vlog.
>
> It might be useful to tell us
> - which OS you are using?
> - VHDL / verilog/ mix language
> - how do you compiling the design? Within Modelsim GUI
> or inside C-shell / Windows CMD?
>
> In addition, is a lot of the design files you are compiling
> are the xilinx / Altera libraries? If yes, you maybe able
> to use library feature instead of compiling everything in
> work. And the library will only need to be compiled once.
>
> Joseph


Reply With Quote
  #8 (permalink)  
Old 08-22-2006, 02:47 PM
Joseph
Guest
 
Posts: n/a
Default Re: Modelsim SE Simulation

[email protected] wrote:
> Thank you all for your prompt replies.
>
> @ Hans - Thank you - license command works - but MAKE always fail..
> gives weird errors.
>
> @ Joseph -
> You are right - I am using Modelsim GUI for both compilation &
> simulation.
> Is it faster - compilation from command prompt??
> Modelsim GUI uses a script file which consists of compilation order.
> My project is having both Verilog & VHDL files - that is Mixed..
> I am uisng Modelsim SE PLUS 6.0C - Linux OS.
>
> Regards,
> Krishna Janumanchi
>
>


Hi Krishna,

It won't be much faster, but by doing that you can avoid
your license problem.

Assumed your top level is "testbench". When you run (in Linux shell)

$> vsim -gui testbench

By default Modelsim will wait if the required license is not available,
and queue for a license. When the license is becoming available, it
will then start to load the design.

Another advantage of separating the compile stage is that you can
easily redirect stdout messages to a log file. And examine it if
things goes wrong. While inside the GUI, the console display inside
the GUI wondows will have limited number of text lines. Older error
or warning messages could be lost.

Joseph
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modelsim Simulation Yaseen Zaidi FPGA 1 04-27-2006 06:39 AM
Modelsim simulation question Marco FPGA 0 09-02-2005 03:38 PM
Modelsim simulation problem FGreen FPGA 4 10-20-2004 04:38 AM
EDK 3.2 and modelsim ppc simulation Mancini Stephane FPGA 2 09-13-2004 02:20 PM
Post Simulation in ModelSim 5.4d Mehmood Verilog 1 10-17-2003 12:07 PM


All times are GMT +1. The time now is 12:01 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved