Filip,
I think that you need to use --!< to document after the member. Have a look at
http://www.stack.nl/~dimitri/doxygen/manual/docblocks.html#memberdoc
For example:
--! description for a type, which actually is a record
type my_record_1 is record
element_11 : std_logic; --!< comment for first element of my_record_1
element_12 : std_logic; --!< comment for second element of my_record_1
end record;
Alasdair
From: Fontaine, Filip [mailto:filip.fonta...@nlr.nl]
Sent: 23 April 2015 10:44
To: doxygen-users@lists.sourceforge.net
Subject: [Doxygen-users] VHDL: how to include elements of a record (and the
associated comment)?
Hi all,
I just started using Doxygen for documentation of a VHDL project. I'm having a
bit of a struggle documenting type definitions that consist of a record. Here's
an example of my VHDL-code (in a package):
----------------------------------------------------
--! @file
--! @brief Just a brief description of the file
library IEEE;
use IEEE.std_logic_1164.all;
--! @brief Here a brief description of the package
--! @details A more detailed description of the package
package pkg_test is
--! description of just a type (no record)
type just_a_type is (FIRST,SECOND);
--! description for a type, which actually is a record
type my_record_1 is record
element_11 : std_logic; --! comment for first element of my_record_1
element_12 : std_logic; --! comment for second element of my_record_1
end record;
--! Another type description, also a record
type my_record_2 is record
element_21 : std_logic; --! comment for first element of my_record_2
element_22 : std_logic; --! comment for second element of my_record_2
end record;
end package;
----------------------------------------------------
The individual element of the records are not included in Doxygen's output and
the comments associated with these elements seem to end up in the output in
places where you don't expect it (comment and code seems to get 'out of sync').
Is there anything wrong or missing in my comment-lines, or should I change some
configuration settings to get this right?
Thanks in advance,
Filip
P.S. I'm using Doxygen version 1.8.9.1 on Windows 7 (64-bit, Service Pack 1).
________________________________
________________________________
The NLR disclaimer is valid for NLR e-mail messages.
This message is only meant for providing information. Nothing in this e-mail
message amounts to a contractual or legal commitment on the part of the sender.
This message may contain information that is not intended for you. If you are
not the addressee or if this message was sent to you by mistake, you are
requested to inform the sender and delete the message. Sender accepts no
liability for damage of any kind resulting from the risks inherent in the
electronic transmission of messages.
________________________________
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users