Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Modelsim and sqrt function

Altera_Forum
Honored Contributor II
2,022 Views

Dear Sir 

 

I want to simulation with modelsim. I used megafunction sqrt, when I compile it's ok but when I run it, it will show the component "sqrt" are not bound. How can I fix it now?  

 

Thank in advance
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,332 Views

make sure you have the lpm and altera_mf libraries mapped in modelsim.

0 Kudos
Altera_Forum
Honored Contributor II
1,332 Views

 

--- Quote Start ---  

make sure you have the lpm and altera_mf libraries mapped in modelsim. 

--- Quote End ---  

 

I already have lpm library mapped to modelsim. (220model.vhd and 220pack.vhd) 

Which is altera_mf library? Can you explain for me. Thank you very much
0 Kudos
Altera_Forum
Honored Contributor II
1,332 Views

Sorry. Because I saw a lot of file (altea_mf.vhd, altera_mf_87.vhd and altera_mf_component.vhd) Three of them also have sqrt function. I don't know which one should be used.

0 Kudos
Altera_Forum
Honored Contributor II
1,332 Views

you need the whole library, not just one or two files.

0 Kudos
Reply