Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12596 Discussions

Create new library / ieee_proposed not found.

Altera_Forum
Honored Contributor II
2,144 Views

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 II
694 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.
0 Kudos
Altera_Forum
Honored Contributor II
694 Views

change your '\' to '/'

0 Kudos
Altera_Forum
Honored Contributor II
694 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
694 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
0 Kudos
Altera_Forum
Honored Contributor II
694 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.
0 Kudos
Reply