Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
In Verilog simulation, you have to care to import the necessary libraries. In VHDL simulation, this is mostly done from library USE statements automaticly. However dffeas seems to be an Altera primitive that should be present in the default Verilog libraries.
- Altera_Forum
Honored Contributor
hi fvm,
i recompiled the altera_ver library in modelsim_ae. the "dffeas" component was present. but the vsim command is somehow searching "dffeas" in a library called gate_work instead of work. can u suggest means to work around this problem? thanks, sumanth - Altera_Forum
Honored Contributor
I see, that you already spend some effort on the issue. Unfortunately, I'm not so familiar to the hierarchy of Verilog ModelSim libraries. I'm using ModelSim mostly with VHDL and also needed several attempts when occasionally simulating pure Verilog designs.
However, I think, Altera primitives can't be found in a work library. There should be additional libraries imported by vsim that contains them. May be, another forum member is more experienced to Verilog simulation. Good luck! - Altera_Forum
Honored Contributor
hi all,
i tried a different approach this time around. i created a modelsim project and included the required libraries in the project itself. but now, modelsim is showing an error say that compiled sdf file is not found. i included all the necessary sdo files generated by the time quest time analyser tool in the SDF tab. can anyone help me solving this problem? thanks, Sumanth. - Altera_Forum
Honored Contributor
For adding libraries, I always use the following as a template:
http://www.altera.com/support/examples/tcl/tcl-modelsim.html?gsa_pos=1&wt.oss_r=1&wt.oss=tcl%20modelsim It's a little outdated, I think, and by default loads in way too much, but really gets you started. When adding the .sdf files, did you apply/bind them to the proper hierarchy? I haven't done timing sims in a while, but thought this had to be done(i.e. you didn't just add them and let the tool figure it out.) Be sure to go through the using Modelsim portion of the handbook(although you may already have).