automatic documentation for vhdl

Guest
Hi there!
I would like to know if there are any automatic documentation
generators
similar to Doxygen for vhdl.

Many thanks
 
<kjangkun@gmail.com> wrote in message
news:1185460587.380992.75860@z24g2000prh.googlegroups.com...
Hi there!
I would like to know if there are any automatic documentation
generators
similar to Doxygen for vhdl.
The only one I know of is VHDLDOC
(http://schwick.web.cern.ch/schwick/vhdldoc/) but this generates HTML which
is probably not something you want. If there isn't one and you have access
to Modelsim then have a look at vcom's gen_xml switch. You might be able to
use the XML output to put something together yourself? Nice weekend project
:)

Hans
www.ht-lab.com




Many thanks
 
kjangkun@gmail.com writes:

Hi there!
I would like to know if there are any automatic documentation
generators
similar to Doxygen for vhdl.
I'm using Naturaldocs - it doesn't understand VHDL directly, although
one day I might get around to writing an extension for it. However, it
does allow you to use very natural comments in your code (I even put
ascii art timing diagrams in :) and produce nice HTML out the back
end with an index and even a search engine! Most of the other doc
generators I looked at were either full of weird symbols to make it
work, which makes the code look bizarre to outsiders who pick it up,
or worked very badly on Windows, which is a bad thing where I work...

With ND, I have an emacs macro which takes my entity defintion (with
comments on the end of each port/generic item) and creates a
Naturaldocs comment automatically like this:

-- Entity: adder
-- Port:
-- clk - clock signal
-- A - input A
-- B - input B
-- Y - the result of adding A+B
-- then I can write more documentation here...

and ND creates me a nicely formatted set of HTML files. So the
incremental effort of using ND is very small, given you've already
written some decent comments in your code (we all do that don't we :)

Cheers,
Martin

--
martin.j.thompson@trw.com
TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.conekt.net/electronics.html
 
I'm using Naturaldocs - it doesn't understand VHDL directly, although
I'd like to cast a second vote for Naturaldocs.

Also, with the latest version, you can display Visio digrams (just
save as one of the supported formats) in the HTML files, and place
hyper links in your comments/descriptions. Develop your design
description document in Naturaldocs, and the framework for the design
will be ready and waiting for the VHDL code! The result is more of a
"living document" instead of a Word document that will be updated at
the end of the design phase.

Good Luck
Bill
 

Welcome to EDABoard.com

Sponsor

Back
Top