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

Reply

VHDL - ModelSim Newbie , Need Help in Simulation

 
Thread Tools Search this Thread
Old 08-25-2008, 05:39 PM   #1
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 !!!


KellyB
  Reply With Quote
Old 08-25-2008, 06:36 PM   #2
rickman
 
Posts: n/a
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


rickman
  Reply With Quote
Old 08-25-2008, 08:28 PM   #3
KellyB
 
Posts: n/a
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 ?



KellyB
  Reply With Quote
Old 08-25-2008, 09:16 PM   #4
smqasim
 
Posts: n/a
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


smqasim
  Reply With Quote
Old 08-26-2008, 04:18 AM   #5
KellyB
 
Posts: n/a
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


KellyB
  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
Simulation question Issue Rahul MCITP 9 06-30-2008 09:53 PM
Post-Route Simulation does not give output for the first clock cycle Options velocityreviews Software 0 04-17-2007 05:47 PM
simprim problems on modelsim saiyijinprince Hardware 2 04-05-2007 02:24 PM
simulation Tom MCITP 0 04-05-2007 01:40 AM




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