Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Simulation Help with modelsimSE and quartus II and large project

Reply
Thread Tools

Simulation Help with modelsimSE and quartus II and large project

 
 
Kamachi923@gmail.com
Guest
Posts: n/a
 
      02-09-2006
I have a large project that I am trying to simulate either directly in
modelsim or through quartus to modelsim. I have never done it before
in quartus but when trying to do it in modelsim directly I get errors
that it can't find Altera_mf or altera_mf_components. I have run
modelsim before with smaller projects one two files. but that was with
the altera version and also it didn't have any sort of rar altsyncram
in it.

I am trying to run a behavioral, but not sure how to set it up. Does
anybody have a link to a guide or can give me somewhat detailed steps
to setup modelsim to run a behavioral simulation like what/where
libraries to add, and ordering of compilation.

I thought If it were possible to run it through quartus like you can
with ise because then it would set up all the libraries and everything
for me. Thanks for your responses in advance.

 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      02-09-2006
wrote:
> I have a large project that I am trying to simulate either directly in
> modelsim


That's the way to do it.

> or through quartus to modelsim.


no. Quartus is the last step, not the first.

> I am trying to run a behavioral, but not sure how to set it up.


As a tutorial, compile the reference design and testbench here:
http://home.comcast.net/~mike_treseler/

and run vsim as described in the testbench comments.
Good luck.

-- Mike Treseler
 
Reply With Quote
 
 
 
 
Kamachi923@gmail.com
Guest
Posts: n/a
 
      02-09-2006
Thank you for your response, but I'm not sure I understand how your
tutorial helps me. I can run basic vhd files in modelsim standalone.
What I am having trouble with is this new project that I did not right
has altsyncram and other memory for the code megafunctions, etc. as
well as it is trying to run on a cylcone device. I don't think the
device matter since I am trying to run behavioral but I get errors
asking about altera_mf files missing or no library that I don't
understand. I found a file with this name but tried adding it or
placing it where I thought it should go but it still doesn't recognize
that its there. So my basic question is how do I run an project created
in quartus that is supposed to run on a altera device, that has
megafunctions and/or altsyncram in functional mode. thanks agian for
trying to help.

 
Reply With Quote
 
Mike Treseler
Guest
Posts: n/a
 
      02-09-2006
wrote:
> I get errors
> asking about altera_mf files missing or no library that I don't
> understand.


Maybe you forgot to compile or vmap the libraries.
Altera has the app notes.
http://groups.google.com/groups?q=vm...ra_mf+lpm+work

-- Mike Treseler
 
Reply With Quote
 
Kamachi923@gmail.com
Guest
Posts: n/a
 
      02-09-2006
Well I got a little farther, on a later compiled I get an error. I have
three files tbl.vhd tbl_inst.vhd, and the toplevel of those files. i
didn't create the bottom two quartus did. the agctbl.vhd was the one
asking for the altera_mf file that I added and now it compiles, the
tbl_inst.vhd has this error:

expecting: ARCHITECTURE CONFIGURATION ENTITY LIBRARY PACKAGE USE

and the top level has this error:

** Error: top.vhd(176): Actual (prefix expression) for formal "clock"
is not a globally static expression.
** Error: top.vhd(921): VHDL Compiler exiting

I believe I get the second set of errors because of the first error on
the tbl.vhd file. and I beleive i get the error on the first file
because there are no libraries specified in the file. but I didn't make
this file quartus did so how would i go about fixing this without
changing the files. thanks.

 
Reply With Quote
 
Mike Treseler
Guest
Posts: n/a
 
      02-10-2006
wrote:

> but I didn't make
> this file quartus did so how would i go about fixing this without
> changing the files. thanks.
>


I would skip the megawizards and
write my own vhdl description.
Quartus synthesis will infer
these things and wire them up for you
with much less trouble. No components, complexity
or Altera copyright on your source code.
Use the Quartus rtl viewer for an
automatically generated schematic
view of your vhdl description.


See
http://www.altera.com/literature/hb/...s_qii51007.pdf
or my previous code examples.

-- Mike Treseler
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! VHDL analysis on quartus II won't work, 3 errors mangoflango VHDL 1 10-06-2010 04:04 PM
Quartus II LPM simulation feiman VHDL 0 02-12-2009 11:06 AM
Problem with post-route simulation / timing simulation jasperng VHDL 0 11-27-2008 06:23 AM
help regarding quartus ide mk.supriya@gmail.com VHDL 1 08-28-2007 03:53 PM
Running testbench simulation problem with Quartus II 4.2 and Modelsim 6.0d Guido VHDL 3 01-30-2006 06:39 PM



Advertisments
 



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 47 48 49 50 51 52 53 54 55 56 57