This patch converts the vhld_table.cc file to C code and also frees the allocated memory at the end of simulation time to make valgrind happy.
This is only for development and there are no test suite changes.
enums and UDPs still have memory issues that I plan to look at eventually.
patch file
Applied to git master.