During the cosimWizard creation when we arrive at the third step ( HDL compilation ) we didn't arrive to compile the project. My project is build of 28 VHDL files, certains files came from Altera. These files give me problems during the compilation, I will show you the Error message
Error:Failed to compile HDL files with the following message:Model Technology ModelSim SE vcom 6.6c Compiler 2010.08 Aug 23 2010-- Loading package standard-- Loading package std_logic_1164** Error: (vcom-11) Could not find lpm.lpm_components.** Error: c:/Users/to103985/Desktop/modelsim_test/mux_test.vhd(40): (vcom-1195) Cannot find expanded name "lpm.lpm_components".** Error: c:/Users/to103985/Desktop/modelsim_test/mux_test.vhd(40): Unknown expanded name.** Error: c:/Users/to103985/Desktop/modelsim_test/mux_test.vhd(42): VHDL Compiler exiting
I will show you the compilation commands, we add the package where is normally placed the lpm package. In fact we didn't arrive to find lpm.lpm_components but with ModelSim we have no problem to compile and simulate the project.
vlib workvcom -bindAtLoad "Z:/Altera/11.1/Windows/quartus/eda/sim_lib/220pack.vhd"vcom -bindAtLoad "Z:/Altera/11.1/Windows/quartus/eda/sim_lib/220model.vhd"vlog -incr "Z:/Altera/11.1/Windows/quartus/eda/sim_lib/220model.v"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/fixed_pkg_c.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/math_utility_pkg.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/float_pkg_c.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/conv_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/valid_conv_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/synchro_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/fp_sub_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/valid_fp_sub_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/subtraction_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/fp_mult_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/valid_fp_mult_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/valid1_fp_mult_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/mux_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/valid_mux_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/fp_add_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/valid_fp_add_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/lock_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/sat_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/conv_integer_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/valid_conv_integer_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/adder_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/synchro1_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/triangle_function_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/compare_test.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/block1.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/block2.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/block3.vhd"vcom -bindAtLoad "c:/Users/to103985/Desktop/modelsim_test/block_total.vhd"
Thank you in advance for your help and time,
Faithfully,
Gautier
Best Answer