Altera_Forum
Honored Contributor
10 years agolibrary use clause errors
I am using Altera version 13.0.0.
The compiler is complaining about this code: library ieee; use ieee.std_logic_1164.all; library basicblocks; use basicblocks.d_flipflop.all; use basicblocks.inverter.all; entity ... with errors VHDL Use Clause error at tps2834.vhdl(5): design library "basicblocks" does not contain primary unit "d_flipflop" VHDL error at tps2834.vhdl(5): selected name in use clause is not an expanded name Under Assignments|Settings|Libraries, I have placed a directory c:\hdl\libraries\basicblocks in the global libraries section. This directory contains a file d_flipflop.vhdl which contains the required entity d_flipflop. I am getting similar errors for the inverter clause as well. I had a bunch of small functions in a file basicblocks.vhdl, but that failed with the same errors. What am I doing wrong?