Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17257 Discussions

Modelsim and sqrt function

Altera_Forum
Honored Contributor II
1,993 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,303 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
1,303 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,303 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,303 Views

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

0 Kudos
Reply