Ed said:
I would like to convert a lot of VHDL source files to HTML. I would like
the HTML to look the same as the VHDL source code does in the Xilinx ISE.
Can anyone recommend any programs to do such a conversion?
Ed,
I use vi (vim actually) to do pretty printing of most any language. VIM
comes with a command called 2html that works great. You might have to
adjust the default colors to suit your needs.
From 'syntax.txt' here is a little blurb on how to do it:
Here is an example how to run the script over all .c and .h files from a Unix shell:
for f in *.[ch]; do gvim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" $f; done
Change "[ch]" to "vhd" and you should be in business. Resulting files
are the same as the original with .html tagged on the end. There is a
windows version too if that's your preference at vim.org.
-m