Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,547 Views

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.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor I
97 Views

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
Honored Contributor I
97 Views

change your '\' to '/'

Altera_Forum
Honored Contributor I
97 Views

vmap is for mapping to an existing liubrary, not to create one

Altera_Forum
Honored Contributor I
97 Views

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
Honored Contributor I
97 Views

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.
Reply