Verification Guild
A Community of Verification Professionals

 Create an AccountHome | Calendar | Downloads | FAQ | Links | Site Admin | Your Account  

Login
Nickname

Password

Security Code: Security Code
Type Security Code
BACKWARD

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Modules
· Home
· Downloads
· FAQ
· Feedback
· Recommend Us
· Web Links
· Your Account

Advertising

Who's Online
There are currently, 45 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

  
Verification Guild: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile  ProfileDigest    Log inLog in 

Looking for Verilog/VHDL Documentation Extraction tool

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Verification Guild Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
dd-mj
Newbie
Newbie


Joined: Jul 21, 2004
Posts: 2

PostPosted: Wed Jul 21, 2004 12:27 pm    Post subject: Looking for Verilog/VHDL Documentation Extraction tool Reply with quote

I am looking for a tool like Doxygen for extracting design implementation information directly from my Verilog and VHDL code.

Design documentation is a time suck and most of the time the design docs are not in sync with the actual design, so i would like to simply extract the docs from the design.

Any ideas here?
Back to top
View user's profile
EdA
Senior
Senior


Joined: Jan 06, 2004
Posts: 64

PostPosted: Thu Jul 22, 2004 8:40 am    Post subject: As seen in the archives... Reply with quote

I've done some poking around (mostly looking at the links page on the DOxygen site) and found two language independent documentation generators.

SDoc - http://www.cit.uws.edu.au/~blilburn/sdoc/

and

ROBODoc - http://www.xs4all.nl/~rfsber/Robo/robodoc.html

Both seem pretty reasonable. Its just a matter of documenting your code!

/Ed
Back to top
View user's profile
cabriggs
Senior
Senior


Joined: Jan 12, 2004
Posts: 96
Location: Massachusetts

PostPosted: Thu Jul 22, 2004 9:31 am    Post subject: Re: Looking for Verilog/VHDL Documentation Extraction tool Reply with quote

Our software group uses doc++ - http://docpp.sourceforge.net/. It seems pretty simple to use.

-cb
Back to top
View user's profile
dd-mj
Newbie
Newbie


Joined: Jul 21, 2004
Posts: 2

PostPosted: Thu Jul 22, 2004 11:48 am    Post subject: Reply with quote

Thanks for the reply, but maybe I was not clear. I know all about the doxygen links and we are using doxygen for our C/C++/SystemC code.

I am looking for a tool to extract docs from Verilog and VHDL.

Any other ideas?
Back to top
View user's profile
cabriggs
Senior
Senior


Joined: Jan 12, 2004
Posts: 96
Location: Massachusetts

PostPosted: Thu Jul 22, 2004 3:47 pm    Post subject: Reply with quote

dd-mj wrote:
Thanks for the reply, but maybe I was not clear. I know all about the doxygen links and we are using doxygen for our C/C++/SystemC code.

I am looking for a tool to extract docs from Verilog and VHDL.

Any other ideas?


I believe the tools Ed and I mentioned will actually work with any language that supports the /* */ comment style. At least in the case of doc++, the tool simply looks for certain comment pragmas and therefore should work with Verilog.

-cb
Back to top
View user's profile
RCIngham
Senior
Senior


Joined: Feb 19, 2004
Posts: 194
Location: England (UK)

PostPosted: Mon Jul 26, 2004 3:03 am    Post subject: Reply with quote

VHDL is VHSIC Hardware Description Language, and was originally meant for documenting large ASICs. It only became a simulation and synthesis source language later. Only 2 problems:

1. Many people write VHDL which is difficult to follow, due to poor choice of signal/process/component/etc. names among other reasons.

2. There are managers and others who can't read VHDL.

It is possible to write VHDL that is virtually self-documenting, but - partly because of timescale pressures and poor standards/training - this is seldom achieved.
Back to top
View user's profile
vhdlcohen
Industry Expert
Industry Expert


Joined: Jan 05, 2004
Posts: 1238
Location: Los Angeles, CA

PostPosted: Mon Jul 26, 2004 10:50 am    Post subject: Reply with quote

Quote:
It is possible to write VHDL that is virtually self-documenting, ...


I recommend one level higher than HDL, and that is the use of assertions to express the design intent and requirements. PSL or SystemVerilog Assertion is highly readable, but yoet not only provide good documentation, but those languages represent an "executable documentation" that does catch errors in both simulation and formal verification.
Ben Cohen
_________________
Ben Cohen http://www.systemverilog.us/
* SystemVerilog Assertions Handbook, 3rd Edition, 2013
* A Pragmatic Approach to VMM Adoption
* Using PSL/SUGAR ... 2nd Edition
* Real Chip Design and Verification
* Cmpt Design by Example
* VHDL books
Back to top
View user's profile Send e-mail Visit poster's website
Andreas
Newbie
Newbie


Joined: Mar 19, 2004
Posts: 1

PostPosted: Tue Jul 27, 2004 8:16 am    Post subject: Reply with quote

I'm not really sure, if it fits your wishes, but perhaps you can look at http://schwick.home.cern.ch/schwick/vhdldoc/ to find it out.
Back to top
View user's profile
RCIngham
Senior
Senior


Joined: Feb 19, 2004
Posts: 194
Location: England (UK)

PostPosted: Thu Aug 05, 2004 2:53 am    Post subject: Reply with quote

vhdlcohen wrote:

I recommend one level higher than HDL, and that is the use of assertions to express the design intent and requirements.


VHDL assertions good.

SystemVerilog assertions better.
Back to top
View user's profile
vhdlcohen
Industry Expert
Industry Expert


Joined: Jan 05, 2004
Posts: 1238
Location: Los Angeles, CA

PostPosted: Thu Aug 05, 2004 12:55 pm    Post subject: Reply with quote

Quote:
VHDL assertions good.
SystemVerilog assertions better.

VHDL and SystemVerilog Assertions are 2 different beasts, as VHDL does not support assertions of temporal properties.
You probably meant to say
Quote:
PSL with VHDL assertions good.
SystemVerilog assertions better.

The two Accellera standards PSL and SV with SVA both support Assertion-Based Verification, however, they each serve different users.
PSL serves the communitty that uses VHDL, Verilog and is compatible with SystemVerilog (even though tools my not support that last one yet).

SVA only works with SystemVerilog because it is an integral part of SV. SVA uses SV methods, and the assertion timing is well defined in the SV cycle timing evaluation.

Which is "better"? That is really a matter of definition because there are several factors that influence the "better". These include:
- Language of preference (VHDL, Verilog, SystemVerilog)
- Tool support, availability, cost, training
- Legacy code
- Language Training

On a personal level, I feel comfortable with both PSL and SVA, as I wrote 2 books on PSL, and am currently writing a similar book on SVA to be published in beginning of 4th quarter 04. However, I don't like to use the word "better" because there are several issues to consider. BTW, VHDL200x is using PSL for its assertion language.
Ben Cohen
_________________
Ben Cohen http://www.systemverilog.us/
* SystemVerilog Assertions Handbook, 3rd Edition, 2013
* A Pragmatic Approach to VMM Adoption
* Using PSL/SUGAR ... 2nd Edition
* Real Chip Design and Verification
* Cmpt Design by Example
* VHDL books
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Verification Guild Forum Index -> Miscellaneous All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Verification Guild © 2006 Janick Bergeron
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.302 Seconds