VHDL to HTML

E

Ed

Hi,

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?

Thanks,
 
E

Ed

Ed said:
Hi,

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?

Thanks,

It's okay, I've made my own program to do it. I did find one program but it
was Linux based. I needed a Windows based application (yes I know, Linux is
better than Windows).
 
S

Sebastian Schildt

Ed said:
Hi,

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?

Thanks,

ConText http://www.context.cx/
Export to HTML

HTH

Sebastian
 
E

Ed

Don Golding said:
What is the purpose of this exercise?

Just curious...
Don

but Linux

I have a lot of VHDL code which I want to put on a website. I wanted the
website to show the code with the same syntax highlighting as the Xilinx ISE
editor.
 
M

Max Baker

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
 
E

Ed

Symon said:
Hi Ed,
Are you giving your program away?
Cheers, Syms.

Hi Symon,

I'm going to put the source code and executable on my website (it's a pretty
simple program). Currently the website is offline, but it should be backup
this week, hopefully by Friday. I'll post a message with the URL when it's
online. It also gives me time to make sure the code is bug free before I
give it away.

Regards,
 
J

jacky Renaux

Try beeing in touch with that guy
(e-mail address removed)
he created a hdl2html program this might help

jacky
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,427
Latest member
HildredDic

Latest Threads

Top