I am trying to compile vhdl code using ghdl compiler. However I am missing two util libraries:
util.misc_conv_pkg and
util.vstring.
therefore this code is not working
LIBRARY util;
USE util.misc_conv_pkg.ALL;
USE util.vstring.ALL;
I have tried all possible installations methods I found: http://ghdl.free.fr/site/pmwiki.php?n=Main.Installation or https://sourceforge.net/p/ghdl-updates/wiki/Installing%20ghdl/
But it is still not working. How do i fix this.
You need to find the source for those packages and compile them into the util
library. They are part of the project you're working on, not part of VHDL.
If you can't find them, just comment out the USE
clauses. Then one of two things will happen...
std_logic_arith
packages.Normally with a "util" library, the functionality is fairly obvious, so you can either find a more standard or more portable way of doing it, or you can write your own package that fulfils JUST the bits required for this project.