Skip to content

Instantly share code, notes, and snippets.

@iDoka
Created January 14, 2020 14:49
Show Gist options
  • Save iDoka/4667f98810de8de81ad3bea96df5f845 to your computer and use it in GitHub Desktop.
Save iDoka/4667f98810de8de81ad3bea96df5f845 to your computer and use it in GitHub Desktop.
How to build vhd2vl on modern system (RHEL/CentOS 7)
  1. I need to convert a bunch of VHDL files to Verilog.
  2. Found tool http://doolittle.icarus.com/~larry/vhd2vl/
  3. wget http://doolittle.icarus.com/~larry/vhd2vl/vhd2vl-2.5.tar.gz
  4. tar xzf vhd2vl-2.5.tar.gz
  5. cd vhd2vl-2.5/src
  6. try make
  7. If bison & flex are uninstalled, you should run sudo yum install -y flex bison
  8. try make again
  9. If you get /usr/bin/ld: cannot find -lfl it case to hard way: fl mean reffer to library libfl.so but you canot search any mentions of this library:
  • yum search libfl doesnt work
  • yum provides */libfl.so also doesnt work
  1. After hours of googling you will know magic cmd: sudo yum install -y bison-runtime bison-devel
  2. Profit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment