Forum Discussion

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

Modelsim compilation error

Hello sir

i am compiling my project in Modelsim PE Student Edition 10.0d it is giving me some errors

it is compiling the whole project except two files mention below# Compile of Input_portx8_package.vhd failed with 2 errors.# Compile of output_fifo.vhd failed with 2 errors.# 10 compiles, 2 failed with 4 errors.

saying failed to open library file input-portx8_package in read/write/execute mode

what could be the error.....

thank you sir

3 Replies

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

    Looks like it cant find the input_portx8_package.vhd file

    Is this the only error?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello Sir,

    there are two errors

    1 Compile of Input_portx8_package.vhd failed

    for error 1 it says failed to open library file input-portx8_package in read/write/execute mode

    2 Compile of output_fifo.vhd failed

    and for second error it says failed to open library file input-portx8_package/_primary.dat in read mode
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    for the first error, its because it cannot find the Input_portx8_package.vhd file. Are you sure the path is correct?