Functions and procedures in outline view
Is there a way to show functions and procedures of a vhdl file in outline view (or somewhere else)? If not this would be a very much appreciated feature for sigasi.
Martin
- Forums:
Is there a way to show functions and procedures of a vhdl file in outline view (or somewhere else)? If not this would be a very much appreciated feature for sigasi.
Martin
Outline
Hi Martin,
where are you missing subprograms in the outline? We currently already display them in the declarative part of packages, architectures, ...
Hendrik.
I am using a testbench where
I am using a testbench where I use functions and procedures inside the architecture and the subprograms are not shown in the outline view, for example:
architecture...
begin
procedure xyz
is begin
...
end procedure xyz;
...
end architecture ...
Subprograms in outline
Functions an procedures should be visible in the outline view. They are grouped in a Declarations section.
Subprograms in outline: It
Hmm
Hmm, that's interesting. Could you send me this file (or a trimmed-down file) so that we can reproduce this problem?
Thanks.
The procedures are defined
The procedures are defined inside a process. Perhaps that could be the source of the problem?
Processes
Hi Martin,
we indeed do not show declarations and statements in a process in the outline view. I have logged your feature request as ticket:1072
Hendrik.
+1
I would like to second that. This is particularly important specially when coding testbenches, if you follow the approach described by Janick Bergeron in 'Writing Testbenches - Functional Verification of HDL Models'.
Thanks for your input. Note
Thanks for your input.
Note that you can usually put the procedure declarations in the declarative part of the architecture as well.
Thanks for pointing it out
Thanks for pointing it out; indeed, I could not recall why I had declared those procedures inside the process. However, when I tried to move them up to the architecture, Modelsim reminded me of the reason:
Simply put, if I choose to declare the process within the architecture, I must pass a multitude of signals as parameters, which might not be practical in the case of a testbench.
Post new comment