ModelSim Newbie , Need Help in Simulation

This is a discussion on ModelSim Newbie , Need Help in Simulation within the vhdl forums in Programming Languages category; Hi, I'm new to testbenches so I set a goal to get some examples to work under ModelSim PE Student Edition 6.4. I'm trying to do the simplest of things - to simulate a vhdl file. However once compiled, I have no objects hence nothing that can be added to the waveform. I get no errors at all, just no objects after I compile. I see the file under my library, I can click on the testbench file and it opens in SIM but objects window is simply empty. Please Help !!!...

Go Back   Application Development Forum > Programming Languages > vhdl

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-25-2008, 12:39 PM
KellyB
Guest
 
Default ModelSim Newbie , Need Help in Simulation

Hi,

I'm new to testbenches so I set a goal to get some examples
to work under ModelSim PE Student Edition 6.4.

I'm trying to do the simplest of things - to simulate a vhdl file.
However once compiled, I have no objects hence nothing that can be added
to the waveform.

I get no errors at all, just no objects after I compile. I see the file
under my library, I can click on the testbench file and it opens
in SIM but objects window is simply empty.

Please Help !!!
Reply With Quote
  #2  
Old 08-25-2008, 01:36 PM
rickman
Guest
 
Default Re: ModelSim Newbie , Need Help in Simulation

KellyB wrote:
> Hi,
>
> I'm new to testbenches so I set a goal to get some examples
> to work under ModelSim PE Student Edition 6.4.
>
> I'm trying to do the simplest of things - to simulate a vhdl file.
> However once compiled, I have no objects hence nothing that can be added
> to the waveform.
>
> I get no errors at all, just no objects after I compile. I see the file
> under my library, I can click on the testbench file and it opens
> in SIM but objects window is simply empty.


I don't recall ModelSim exactly, but in ActiveHDL there is a view of
files and a separate view of the compiled entities. Can you see any
tabs for a different view or is there another window you can open?

Rick
Reply With Quote
  #3  
Old 08-25-2008, 03:28 PM
KellyB
Guest
 
Default Re: ModelSim Newbie , Need Help in Simulation

rickman wrote:
> KellyB wrote:

...snip..

>> I get no errors at all, just no objects after I compile. I see the file
>> under my library, I can click on the testbench file and it opens
>> in SIM but objects window is simply empty.

>
> I don't recall ModelSim exactly, but in ActiveHDL there is a view of
> files and a separate view of the compiled entities. Can you see any
> tabs for a different view or is there another window you can open?
>
> Rick


Thanks for the reply.
After some tinkering , i've managed to obtain the compiled objects but
now i have a different problem.

# Compile of test.v was successful.
vsim test.v
# vsim test.v
# ** Error: (vsim-19) Failed to access library 'test' at "test".
# No such file or directory. (errno = ENOENT)
# Error loading design



Can anyone using ModelSim Please help ?

Reply With Quote
  #4  
Old 08-25-2008, 04:16 PM
smqasim
Guest
 
Default Re: ModelSim Newbie , Need Help in Simulation

On Aug 25, 10:28*pm, KellyB <kel...@gmail.com> wrote:
> rickman wrote:
> > KellyB wrote:

>
> ..snip..
>
> >> I get no errors at all, just no objects after I compile. I see the file
> >> under my library, I can click on the testbench file and it opens
> >> in SIM but objects window is simply empty.

>
> > I don't recall ModelSim exactly, but in ActiveHDL there is a view of
> > files and a separate view of the compiled entities. *Can you see any
> > tabs for a different view or is there another window you can open?

>
> > Rick

>
> Thanks for the reply.
> After some tinkering , i've managed to obtain the compiled objects but
> now i have a different problem.
>
> # Compile of test.v was successful.
> vsim test.v
> # vsim test.v
> # ** Error: (vsim-19) Failed to access library 'test' at "test".
> # No such file or directory. (errno = ENOENT)
> # Error loading design
>
>
>
> Can anyone using ModelSim Please help ?


Did you save your verilog or vhdl file under the working directory.
If not thn do it, hope it will solve the problem
Reply With Quote
  #5  
Old 08-25-2008, 11:18 PM
KellyB
Guest
 
Default Re: ModelSim Newbie , Need Help in Simulation

smqasim wrote:
> On Aug 25, 10:28 pm, KellyB <kel...@gmail.com> wrote:
>> rickman wrote:
>>> KellyB wrote:

>> ..snip..
>>
>>>> I get no errors at all, just no objects after I compile. I see the file
>>>> under my library, I can click on the testbench file and it opens
>>>> in SIM but objects window is simply empty.
>>> I don't recall ModelSim exactly, but in ActiveHDL there is a view of
>>> files and a separate view of the compiled entities. Can you see any
>>> tabs for a different view or is there another window you can open?
>>> Rick

>> Thanks for the reply.
>> After some tinkering , i've managed to obtain the compiled objects but
>> now i have a different problem.
>>
>> # Compile of test.v was successful.
>> vsim test.v
>> # vsim test.v
>> # ** Error: (vsim-19) Failed to access library 'test' at "test".
>> # No such file or directory. (errno = ENOENT)
>> # Error loading design
>>
>>
>>
>> Can anyone using ModelSim Please help ?

>
> Did you save your verilog or vhdl file under the working directory.
> If not thn do it, hope it will solve the problem


Thanks rickman and smqasim (I'm Sorry I don't know the names) for the
reply. I've managed to pin down the issue. Its working fine now.

Thanks Again
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:21 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.