Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I ran my first successful ModelSim simulation yesterday (on a lazy Sunday afternoon ...) and you are quite right (as usual) generating repetitive signals is quite easy and very neat. --- Quote End --- Glad to hear it! --- Quote Start --- I used the native link in QII and that runs fine. Today I decided to continue on the momentum and tried to simulate the other part of the project. So I went through exactly the same motions, copy-paste-edited some of the first testbench into the second. Started the (gate-level) simulation but got this error: # ** Error: (vsim-13) Recompile work.iddramread because work.iddramread_data_type has changed.# ** Error: (vsim-13) Recompile work.iddramread(structure) because work.iddramread_data_type has changed. --- Quote End --- Its not so much an 'error' in the sense of a coding error as it is a dependency error. Modelsim is telling you that you edited and rebuilt a package, but did not then recompile the components that use (depend on) that package. What is missing in some of these tools is the ability to create a dependency list from .vhd files. Modelsim has a tool called vmake which can create this list from a working design, but I'd really like something that can take a list of .vhd files in a directory and figure out the build order from scratch. Take a look at vmake to get your dependencies figured out for now. I'll probably write a Tcl script to figure out dependencies in general, but I won't have time to do that just yet. If anyone has a .vhd dependency generator, I'd like to hear about it. Cheers, Dave