- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
change your '\' to '/'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vmap is for mapping to an existing liubrary, not to create one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page