Forum Discussion
Altera_Forum
Honored Contributor
18 years agoHello,
I found, that the problem was due to Modelsim VHDL and Verilog libraries using the same directory below fpgalibs. With VHDL version compiled last, the simulation fails. You have to recompile the Verilog version of altera_mf and lpm first. This is not obvious, cause Modelsim generally can include VHDL modules and libraries (with mixed language option license) but can't use generics with defparam (why ever). Instantiating Verilog modules with defparam always works. For this reason, Altera generally uses old style# parameter syntax in Verilog VHDL-wrapper modules. Verilog experts probably would have known... Regards, Frank