Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Errors in vhdl code

Hi.

i am compiling a vhdl file and getting some errors regrading packages

following is the error...

Error (10481): VHDL Use Clause error at output_fifo.vhd(13): design library "work" does not contain primary unit "Input_portx8_package"

can any one pls help me.......

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes

    The error is that you have not compiled the Input_portx8_package, but you are trying to use it elsewhere.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi

    work directory contains a file in .cat extension and it is not opening
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The work directory will just be the location of the compiled code, not the source. You need to find the source VHD file.