Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

Create new library / ieee_proposed not found.

Altera_Forum
Honored Contributor II
1,624 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
174 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 II
174 Views

change your '\' to '/'

Altera_Forum
Honored Contributor II
174 Views

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

Altera_Forum
Honored Contributor II
174 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 II
174 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