Forum Discussion

MAlas1's avatar
MAlas1
Icon for New Contributor rankNew Contributor
6 years ago

I need the way to add unisim library or library like it.

this is the error "Error (10481): VHDL Use Clause error at clk_wiz_0_tmp.vhd(72): design library "unisim" does not contain primary unit "vcomponents". Verify that the primary unit exists in the library and has been successfully compiled".

I use Quartus 18.1

5 Replies

  • In the VHDL Desgin Files (.vhd), clk_wlz_0_tmp.vhd, you tried to access the specified primary unit of the specified design library. However, the design library does not contain the primary unit, or the primary unit has not been successfully compiled.

    For example, the Use Clause in the following code attempts to access the primary unit example, but the ieee design library does not contain the primary unit example:

    LIBRARY ieee;

    USE ieee.example;

    You can also refer to the forum case below:

    https://forums.intel.com/s/question/0D50P00003yyQPaSAM/custom-library-in-altera?language=en_US

  • MAlas1's avatar
    MAlas1
    Icon for New Contributor rankNew Contributor

    Thanks for reply, is it passable to add vcomponents unisim library?

  • ahaa's avatar
    ahaa
    Icon for Occasional Contributor rankOccasional Contributor

    Have you solved this problem? I meet the same question now ,and when I copy unisim vhdl library from vivado to quartus library, but more detail errors were reported and some previous errors.

    Do you have some suggestions or solutions?

    Thanks very much!