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

how to simulate megafunction...

Altera_Forum
Honored Contributor II
1,742 Views

I am using Subscription Quartus with Free Modelsim Altera. I am using the LPM_CLSHIFT MegaFunction in my design. I want to simulate using the LPM_CLSHIFT running command-line Modelsim OUTSIDE of Quartus. How do I do this? I believe I need to add a library to my search path or file list, but I can't find the right name. 

 

Thanks! 

/j
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
911 Views

hmm. i was about to point you to the EDA tab of the LPM_CLSHIFT which says it does not require any simulation libraries. looking at the RTL generated by the Wizard, you can see that it instantiates an lpm_clshift module which is part of the LPM or 220model library 

 

the rest is in here: 

 

http://www.altera.com/literature/hb/qts/qts_qii53001.pdf
0 Kudos
Altera_Forum
Honored Contributor II
911 Views

thanks - model220.v did the trick

0 Kudos
Reply