Forum Discussion

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

Create new library / ieee_proposed not found.

Hello,

i'm doing a design which uses sfixed, so it needs the IEEE_PROPOSED library in the fixed_pkg_c.vhdl file exactly, so i've run into problems by generating a Testbench for my project that the modelsim complains, of not having that library:

** Error: C:/Users/Alfonso/Desktop/PFC/altera/fixed_pkg_c.vhdl(22): Library ieee_proposed not found.# ** Error: C:/Users/Alfonso/Desktop/PFC/altera/fixed_pkg_c.vhdl(23): (vcom-1136) Unknown identifier "IEEE_PROPOSED".# ** Error: C:/Users/Alfonso/Desktop/PFC/altera/fixed_pkg_c.vhdl(28): VHDL Compiler exiting# ** Error: E:/altera/11.1sp2/modelsim_ase/win32aloem/vcom failed.

while the compilation ends succesfully.

I think is something related to libraries for some google i've done.

Thank you

Alfonso.

5 Replies

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

    you could just follow those commands. They will solve your problem.

    Those commands need to be typed into the modelsim command window. Its nothing to do with managing C libraries.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    navigate (in modelsim) to the directory where you have the ieee_proposed code

    vlib ieee_proposed

    vlib work

    vmap work ieee_proposed

    vcom <vhdl files .vhd> # do this for all the files

    navigate back to your project

    vmap ieee_proposed directory/of/ieee_proposed
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    the warnings you see in fixed_pkg_c.vhdl aredeliberate. Ignore them.

    THe warnings in PFC_main are a problem. You need to fix them.