Compiling *.vhdl into a library, using Altera Quartus II

安稳与你 提交于 2019-11-29 14:57:56

Using Altera Quartus II GUI you can add the 'fixed_float_types_c.vhdl', 'fixed_pkg_c.vhdl' and 'float_pkg_c.vhdl' files to the project through the "Project Navigator" tab called "Files". See figure below.

When you add the files you can specify the target library under "Properties". See figure below.

You can also modify the Quartus II settings (".qsf") file for the project, and add the lines:

set_global_assignment -name VHDL_FILE fixed_float_types_c.vhdl -library ieee_proposed
set_global_assignment -name VHDL_FILE fixed_pkg_c.vhdl -library ieee_proposed
set_global_assignment -name VHDL_FILE float_pkg_c.vhdl -library ieee_proposed

However, you may want to determine if compiling into the "ieee_proposed" library is required, and otherwise you can just compile them into the "work" library with other files.

Just compile them into work as you would any other files in your project and refer to them by use work._library_name_.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!